Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 851714 - proposed changes to gcc-12.1.0.ebuild
Summary: proposed changes to gcc-12.1.0.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-13 14:07 UTC by hsk17
Modified: 2022-06-16 05:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hsk17 2022-06-13 14:07:04 UTC
gcc-12.1.0.ebuild has arrived in prefix tree.  a good thing.  may i
propose 2 changes that were necessary for my prefix installation and
have worked well here for some time now.

1st.  EAPI should be set to 8, as in main gentoo.  if, for whatever
reason, this seems not feasible, TOOLCHAIN_PATCH_SUFFIX=xz must be added
to the settings of PATCH_VER etc.  otherwise the toolchain fails to fetch
the gentoo patchset files.

2nd.  the sys-libs/glibc dependency should be guarded further.  i am
running, on top of some x86_64 linux, classic, i.e. non-rap prefix and so
do not have installed sys-libs/glibc.  from looking at virtual/libc,
i propose:

RDEPEND="!prefix-guest? ( elibc_glibc? ( sys-libs/glibc[cet(-)?] ) )"

(and leave it to the knowlegeable discretion of the user if an eventual
setting of the cet USE flag for his prefix gcc makes sense...)

thanks, regards,
fritz
Comment 1 Fabian Groffen gentoo-dev 2022-06-13 20:04:17 UTC
I ran into prefix' portage not supporting EAPI=8 or something, so I dropped it to 7, and re-ran the patchsets to bz2.  Now I get why this appeared such a mess.

The RDEPEND suggestion is good, I'll try to address them soon.
Comment 2 Larry the Git Cow gentoo-dev 2022-06-16 05:52:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=18a9f3cf4f5ceb7b72fea4ce24b352ba7794b200

commit 18a9f3cf4f5ceb7b72fea4ce24b352ba7794b200
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2022-06-16 05:52:11 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2022-06-16 05:52:11 +0000

    sys-devel/gcc-12.1.0: use EAPI=8, fix PDEPEND
    
    Closes: https://bugs.gentoo.org/851714
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 sys-devel/gcc/Manifest          | 4 ++--
 sys-devel/gcc/gcc-12.1.0.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)