Summary: | sys-devel/gcc-config pkg-postinst rm -f /usr/sbin/gcc-config breaks when using /usr/sbin->bin symlinks | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Duncan <1i5t5.duncan> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Duncan
2015-07-09 14:49:29 UTC
Bump. 8 months later and I remerged gcc-5.3.0-r1 and noticed that it couldn't find gcc-config. Obviously I have reinstalled or updated gcc-config since then and it deleted its own executable again. =:^( But I had forgotten this bug, and only found it on doing a pre-bug-filing bug search on ALL sys-devel/gcc-config. 8 months is a long time to wait on a simple fix such as this for such a critical package and bug. Today at work I remembered the automated post-sync ebuild-patching infrastructure I setup back when gentoo/kde was trying to force semantic-desktop down the gentoo/kde user's throats despite upstream making it optional. Gentoo/kde eventually reversed course[1], but meanwhile, I set things up so the no-semantic patches would be applied to the ebuilds automatically. So when I got home I created a patch for /etc/portage/patches.ebuild/sys-devel/gcc-config/ that deleted the offending line from the ebuild. Long story short, 8 more months or 8 more years until my "gentoo upstream" fixes it, it's fixed here via automated ebuild patching, and I won't have to worry about it until my patch quits applying. --- [1] Reversed course: At least for kde4. Seems they're trying it again for kde/plasma5, but that's far more modular and the damage much more limited there, so it has been easy to patch out via conventional sources patches and I'd not needed ebuild patches in quite some time... until now, for gcc-config, not various kde packages. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26acb19b0b76c6adde2622da07dcfec25bdc102c commit 26acb19b0b76c6adde2622da07dcfec25bdc102c Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2017-10-02 20:39:43 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2017-10-02 20:40:29 +0000 sys-devel/gcc-config: Remove ugly workaround for 12 years gone bug, bug 554334 Closes: https://bugs.gentoo.org/554334 Package-Manager: Portage-2.3.10, Repoman-2.3.3 sys-devel/gcc-config/gcc-config-1.7.3.ebuild | 5 +---- sys-devel/gcc-config/gcc-config-1.8-r1.ebuild | 5 +---- sys-devel/gcc-config/gcc-config-1.8.ebuild | 5 +---- sys-devel/gcc-config/gcc-config-1.9.0.ebuild | 3 --- 4 files changed, 3 insertions(+), 15 deletions(-) Just confirming the fix. Thanks. =:^) |