View previous topic :: View next topic |
Author |
Message |
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3457 Location: Canada
|
Posted: Wed Dec 18, 2024 11:43 pm Post subject: Local overlay for obsolete packages download problem [SOLVD] |
|
|
For some legacy software I need printproto and libXp that I keep in my local overlay.
The ebuilds, copied some time ago somewhere, use eclass xorg-3 and EAPI=7. Today after sync it seems xorg-3 dropped support for EAPI=7. I wanted to check if just changing EAPI to 8 in ebuild will work
So I did that and tried to remake the Manifest, and that suddently failed.
It failed on being unable to download the source file
Code: |
ebuild printproto-1.0.5-r1.ebuild manifest
>>> Downloading 'http://distfiles.gentoo.org/distfiles/06/printproto-1.0.5.tar.xz'
--2024-12-18 16:34:48-- http://distfiles.gentoo.org/distfiles/06/printproto-1.0.5.tar.xz
Resolving distfiles.gentoo.org... 212.102.46.11
Connecting to distfiles.gentoo.org|212.102.46.11|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-12-18 16:34:48 ERROR 404: Not Found.
>>> Downloading 'https://www.x.org/releases/individual/xserver/printproto-1.0.5.tar.xz'
--2024-12-18 16:34:48-- https://www.x.org/releases/individual/xserver/printproto-1.0.5.tar.xz
Resolving www.x.org... 131.252.210.176
Connecting to www.x.org|131.252.210.176|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-12-18 16:34:48 ERROR 404: Not Found.
!!! Couldn't download 'printproto-1.0.5.tar.xz'. Aborting.
!!! Fetch failed for printproto-1.0.5.tar.xz, can't update Manifest
|
However, the ebuild reads
Code: |
cat printproto-1.0.5-r1.ebuild
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="X.Org Print protocol headers"
SRC_URI="https://www.x.org/releases/individual/proto/${P}.tar.bz2"
XORG_MULTILIB=yes
inherit xorg-3
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
|
pointing to repository that DOES have the necessary disfile, moreover I already has it locally. So why does ebuild command decided to download from https://www.x.org/releases/individual/xserver/printproto-1.0.5.tar.xz (which indeed does not exist)
and not from https://www.x.org/releases/individual/proto/${P}.tar.bz2 that ebuild file specifies ??
Last edited by dmpogo on Thu Dec 19, 2024 2:02 am; edited 1 time in total |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1954
|
Posted: Thu Dec 19, 2024 12:59 am Post subject: |
|
|
Because the inherit comes after the SRC_URI, its code is likely setting the SRC_URI value to something else. Move SRC_URI below the inherit if the eclass is wrong. |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3457 Location: Canada
|
Posted: Thu Dec 19, 2024 2:01 am Post subject: |
|
|
grknight wrote: |
Because the inherit comes after the SRC_URI, its code is likely setting the SRC_URI value to something else. Move SRC_URI below the inherit if the eclass is wrong. |
Thanks, that solves it ! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|