Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938961 - sys-apps/portage - wrong merge order for perl rebuild (dev-vcs/git-2.44.2 [doc?] compile fail: Can't locate XML/LibXML/SAX.pm)
Summary: sys-apps/portage - wrong merge order for perl rebuild (dev-vcs/git-2.44.2 [do...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-03 08:28 UTC by Arniii
Modified: 2024-10-03 03:37 UTC (History)
2 users (show)

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


Attachments
how_it_was_called.txt emerge_--info.txt /var/tmp/portage/dev-vcs/git-2.44.2/{build-info/,files/,temp/,work/**{.log}} /var/lib/portage/ /etc/portage/ elog (dev-vcs_git_2.44.2_compile_fail.tar.lz,210.00 KB, application/x-lzip)
2024-09-03 08:28 UTC, Arniii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arniii 2024-09-03 08:28:46 UTC
Created attachment 901948 [details]
how_it_was_called.txt emerge_--info.txt /var/tmp/portage/dev-vcs/git-2.44.2/{build-info/,files/,temp/,work/**{.log}} /var/lib/portage/ /etc/portage/ elog

from build.log:
```
asciidoc  -f asciidoc.conf -amanmanual='Git Manual' -amansource='Git 2.44.2' -arevdate='' -b docbook -d manpage -o gitworkflows.xml gitworkflows.txt
docbook2texi.pl user-manual.xml --encoding=UTF-8 --to-stdout >user-manual.texi+ && \
/usr/bin/perl fix-texi.perl <user-manual.texi+ >user-manual.texi && \
rm -f user-manual.texi+
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
Can't locate XML/LibXML/SAX.pm in @INC (you may need to install the XML::LibXML::SAX module) (@INC entries checked: /etc/perl /usr/local/lib64/perl5/5.40/x86_64-linux /usr/local/lib64/perl5/5.40 /usr/lib64/perl5/vendor_perl/5.40/x86_64-linux /usr/lib64/perl5/vendor_perl/5.40 /usr/lib64/perl5/5.40/x86_64-linux /usr/lib64/perl5/5.40 /usr/lib64/perl5/5.38 /usr/lib64/perl5/vendor_perl/5.38) at (eval 6) line 1.
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
warning : xmlAddEntity: invalid redeclaration of predefined entity 'lt'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
docbook2texi:/book: no description for directory entry
make: *** [Makefile:386: user-manual.texi] Error 2
make: *** Waiting for unfinished jobs....

```
Comment 1 Arniii 2024-09-03 10:56:23 UTC
It seems to be a problem with incorrect order of rebuilding.

After portage got to dev-perl/XML-SAX-1.20.0-r1::gentoo ( which was after dev-vcs/git ), I could compile dev-vcs/git[doc] successfully.
Comment 2 Mike Gilbert gentoo-dev 2024-09-03 17:44:24 UTC
Yeah, Portage sometimes gets the merge order wrong for Perl rebuilds. There is probably a bug for that already, but I cannot locate it at the moment.