Summary: | app-shells/pdmenu-1.3.4-r1 : fails to build with -fno-common or gcc-10 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Patrice Clement <monsieurp> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 1i5t5.duncan, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 705764, 762907 | ||
Attachments: |
emerge-info.txt
app-shells:pdmenu-1.3.4-r1:20200128-170444.log emerge-history.txt environment etc.portage.tbz2 logs.tbz2 temp.tbz2 pdmenu-9999.ebuild using git-r3.eclass |
Description
Toralf Förster
2020-01-28 18:24:12 UTC
Created attachment 606148 [details]
emerge-info.txt
Created attachment 606150 [details]
app-shells:pdmenu-1.3.4-r1:20200128-170444.log
Created attachment 606152 [details]
emerge-history.txt
Created attachment 606154 [details]
environment
Created attachment 606156 [details]
etc.portage.tbz2
Created attachment 606158 [details]
logs.tbz2
Created attachment 606160 [details]
temp.tbz2
Fixed in 1.3.6: https://joeyh.name/code/pdmenu/news/version_1.3.6/. Please bump. (In reply to Sam James from comment #8) > Fixed in 1.3.6: https://joeyh.name/code/pdmenu/news/version_1.3.6/. > > Please bump. Yes please. Considering pdmenu for a local project and saw it needed bumped. Checked for a bump bug and found this, coincidentally hours after the above comment, and with gcc 10.2 looks like I need the bump to test-build in any case. (In reply to Sam James from comment #8) > Fixed in 1.3.6: https://joeyh.name/code/pdmenu/news/version_1.3.6/. Unfortunately the bump doesn't looks to be a simple ebuild version bump. At minimum, it appears it'll need to manage sources differently: While the existing ebuild pulls sources from the debian mirrors I couldn't find debian sources for 1.3.6 (with luck it's there and my debian-foo's just lacking, but...). The above link describes what changed in 1.3.6 (gcc 10 fix only, it appears, the skipped 1.3.5 did have a few other minor changes) but doesn't directly link a 1.3.6 tarball. Under downloads it lists debian and opensuse, but the tarballs available at the links it lists are 1.3.4. The author /does/ say it's also available in git, listing a(n insecure) git:// link of git://git.joeyh.name/pdmenu . I've not (yet?) investigated the git:// link or whether it's available https:// as well or not, but looks like for gentoo we may have to either create our own 1.3.6 tarball to mirror, or inherit the git-r3 eclass and use its tag/commit-specifier facilities to nail down the version. Created attachment 669512 [details]
pdmenu-9999.ebuild using git-r3.eclass
Unfortunately https:// doesn't work for the sources so insecure git:// it is, for the moment. The sources will have to be manually tarballed, manifested, and uploaded to the gentoo mirrors, with the ebuild then modified to use the tarball.
But here's a git-r3.eclass based ebuild. It's build-tested as pdmenu-9999.ebuild and as pdmenu-1.3.6.ebuild, using EGIT_COMMIT=${PV} for the non-live one to pull the tag. Because it's pulling direct from an insecure git URL and isn't manifested either way, I'm posting it here as the live-git -9999 version.
(In reply to Duncan from comment #9) > Considering pdmenu for a local project ... Which it turned out to be perfect for. I expect to be running pdmenu longterm now and would really like more secure digested sources so please bump not last-rite. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3bb9d37f3eac505f56dcb5849fe4c2d772e538c commit f3bb9d37f3eac505f56dcb5849fe4c2d772e538c Author: Andreas K. Huettel <dilfridge@gentoo.org> AuthorDate: 2021-01-06 19:07:07 +0000 Commit: Andreas K. Huettel <dilfridge@gentoo.org> CommitDate: 2021-01-06 19:07:37 +0000 app-shells/pdmenu: Apply gcc-10 workaround Closes: https://bugs.gentoo.org/706856 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org> app-shells/pdmenu/pdmenu-1.3.4-r1.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) |