Summary: | sys-apps/portage: missed texinfo rebuild after perl update (was sys-libs/binutils-libs-2.29.1-r1 : XSParagraph.c: loadable library and perl binaries are mismatched) | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Toralf Förster <toralf> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | dev-portage, herrtimson, kentnl, perl |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=598444 https://bugs.gentoo.org/show_bug.cgi?id=586020 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 689644 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 sys-libs:binutils-libs-2.29.1-r1:20171126-181933.log temp.tbz2 w.txt debug.log.xz emerge-history.txt |
Description
Toralf Förster
2017-11-26 18:55:15 UTC
Created attachment 506748 [details]
emerge-info.txt
Created attachment 506750 [details]
emerge-history.txt
Created attachment 506752 [details]
environment
Created attachment 506754 [details]
etc.portage.tbz2
Created attachment 506756 [details]
logs.tbz2
Created attachment 506758 [details]
sys-libs:binutils-libs-2.29.1-r1:20171126-181933.log
Created attachment 506760 [details]
temp.tbz2
This is a broken texinfo: Sun Nov 26 17:15:32 2017 <<< dev-lang/perl-5.24.3 Sun Nov 26 17:15:35 2017 >>> dev-lang/perl-5.26.1-r1 /usr/lib64/texinfo/XSParagraph.so uses perl symbols but does not link against perl. texinfo has perl:= in RDEPENDS This merge however did not rebuild texinfo as required after upgrading perl, but before using texinfo. This package however has texinfo in DEPEND Making this a "Portage didn't make sure bdepends work before using them" bug. But bug #598444 is supposed to be fixed in portage 2.3.13 This should show a texinfo rebuild: emerge -puvD @world Do you see the texinfo rebuild there? Is there a binutils-libs update there? What order are they in? Created attachment 506838 [details]
w.txt
emerge -puvD @world 1>/tmp/w.txt 2>&1
(In reply to Toralf Förster from comment #10) > Created attachment 506838 [details] > w.txt > > emerge -puvD @world 1>/tmp/w.txt 2>&1 There's no texinfo rebuild shown there. Is texinfo reachable from world? This will show: emerge -pev @world | grep texinfo We should also check the direct reverse dependencies: emerge -pv --depclean texinfo (In reply to Zac Medico from comment #11) mr-fox / # emerge -pe^Cworld 1>/tmp/w.txt 2>&1 mr-fox / # emerge -pev @world | grep texinfo [ebuild R ] sys-apps/texinfo-6.5::gentoo USE="nls -static" 0 KiB WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: dev-util/ragel:0 (dev-util/ragel-7.0.0.10:0/0::gentoo, ebuild scheduled for merge) conflicts with =dev-util/ragel-6* required by (dev-ruby/redcloth-4.3.2:0/0::gentoo, ebuild scheduled for merge) ^ ^^ mr-fox / # emerge -pv --depclean texinfo Calculating dependencies... done! sys-apps/texinfo-6.5 pulled in by: app-arch/sharutils-4.15.2 requires sys-apps/texinfo app-emulation/qemu-2.10.1 requires sys-apps/texinfo sys-apps/ed-1.14.2 requires sys-apps/texinfo sys-boot/grub-2.02 requires sys-apps/texinfo sys-devel/autoconf-2.13 requires >=sys-apps/texinfo-4.3 sys-devel/gdb-8.0.1 requires sys-apps/texinfo sys-fs/e2fsprogs-1.43.7 requires sys-apps/texinfo sys-libs/binutils-libs-2.28.1 requires >=sys-apps/texinfo-4.7 sys-libs/gpm-1.20.7-r2 requires sys-apps/texinfo >>> No packages selected for removal by depclean Packages installed: 663 Packages in world: 79 Packages in system: 44 Required packages: 663 Number to remove: 0 Please attach a debug log created as follows: emerge -puvD @world --debug > debug.log 2>&1 xz -9 debug.log Created attachment 506872 [details]
debug.log.xz
(In reply to Toralf Förster from comment #14) > Created attachment 506872 [details] > debug.log.xz The debug log shows dev-lang/perl:0/5.26= in the dependencies of the installed instance of sys-apps/texinfo-6.5, which means that it has already been rebuilt. I guess that means that you've rebuilt it during the time since this bug was filed? Did that solve the problem with the binutils-libs build? (In reply to Zac Medico from comment #15) Well, it is a tinderbox image - it goes on, yes : mr-fox / # qlop --gauge --human --list --unlist | grep -e binutils -e dev-lang/perl Sun Nov 26 17:15:32 2017 <<< dev-lang/perl-5.24.3 Sun Nov 26 17:15:35 2017 >>> dev-lang/perl-5.26.1-r1 Sun Nov 26 19:34:12 2017 >>> sys-libs/binutils-libs-2.28.1 I re-scheduled the 2.29-r1 Version, will see tomorrow, if it builds now too. *** Bug 673914 has been marked as a duplicate of this bug. *** Is this still a thing? No idea, I do automatically "resolve" such Perl issues by this code: https://github.com/toralf/tinderbox/blob/master/bin/job.sh#L850 b/c it happened too often here at tinderbox images. I havent seen any changes in portage that would indicate something has been done to fix this. Last I looked its not fixable from ebuild-space. *** Bug 687356 has been marked as a duplicate of this bug. *** *** Bug 687226 has been marked as a duplicate of this bug. *** As we can see about the 2 recent bugs filed, this is "still a thing". How it manifests can vary now, because instead of texinfo having only 1 XS component, it now has several, but the underlying cause of "Portage failed to rebuild something, and that something was in BDEPEND, and portage assumed things in BDEPEND work regardless of whether they've been rebuilt to satisfy their subslots, but things in BDEPEND are actually broken, so thanks" The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6e0516deec8d5aeedd03a92d47c044d37ea062e commit d6e0516deec8d5aeedd03a92d47c044d37ea062e Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2019-06-05 02:29:37 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2019-06-05 02:30:17 +0000 sys-apps/texinfo: Add useflag xs (default off) toggling C in Perl When pure Perl is used, texinfo will be slower, however, there is no need for rebuilds on Perl upgrade. Since this is our most frequent road bump at the moment, see portage bug 638914, we take the slowdown by default and hope that things improve. Not sure how well this will work out, however, since texinfo again depends on other Perl modules, which are installed in version dependent paths. Bug: https://bugs.gentoo.org/638914 Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> sys-apps/texinfo/metadata.xml | 7 +++++ sys-apps/texinfo/texinfo-6.6-r2.ebuild | 47 ++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0fb8fb03453037b07e7393cf00c73e8210ab658 commit b0fb8fb03453037b07e7393cf00c73e8210ab658 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2019-06-05 12:16:38 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2019-06-05 12:16:38 +0000 sys-apps/texinfo: Re-add keywords to -r3 with standalone useflag This should now be a complete workaround for bug 638914, at least as far as texinfo is concerned: with default USE=+standalone, * texinfo does not install anything linking to libperl anymore * texinfo installs only pure-perl modules, and only in its own library path * the modules do not depend on anything from the regular perl installation except the perl interpreter itself Bug: https://bugs.gentoo.org/638914 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> sys-apps/texinfo/texinfo-6.6-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (In reply to Larry the Git Cow from comment #25) > The bug has been referenced in the following commit(s): > > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=b0fb8fb03453037b07e7393cf00c73e8210ab658 > > commit b0fb8fb03453037b07e7393cf00c73e8210ab658 > Author: Andreas K. Hüttel <dilfridge@gentoo.org> > AuthorDate: 2019-06-05 12:16:38 +0000 > Commit: Andreas K. Hüttel <dilfridge@gentoo.org> > CommitDate: 2019-06-05 12:16:38 +0000 > > sys-apps/texinfo: Re-add keywords to -r3 with standalone useflag > > This should now be a complete workaround for bug 638914, at least > as far as texinfo is concerned: with default USE=+standalone, > * texinfo does not install anything linking to libperl anymore > * texinfo installs only pure-perl modules, and only in its own > library path > * the modules do not depend on anything from the regular perl > installation except the perl interpreter itself > > Bug: https://bugs.gentoo.org/638914 > Package-Manager: Portage-2.3.67, Repoman-2.3.14 > Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> > > sys-apps/texinfo/texinfo-6.6-r3.ebuild | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Which did not fix the issue entirely I fear - will attach an emerge history, where dev-libs/check still fails Created attachment 580406 [details]
emerge-history.txt
still get a dev-libs/check-0.12.0 : MiscXS.c: loadable library and perl binaries are mismatched
(In reply to Toralf Förster from comment #27) > Created attachment 580406 [details] > emerge-history.txt > > still get a dev-libs/check-0.12.0 : MiscXS.c: loadable library and perl > binaries are mismatched But I must admit -r1 was installed, not -r3 at that image. *** This bug has been marked as a duplicate of bug 689644 *** |