View previous topic :: View next topic |
Author |
Message |
jroth Tux's lil' helper
Joined: 08 Aug 2017 Posts: 76
|
Posted: Wed Oct 17, 2018 1:18 am Post subject: [SOLVED] emerge Octave with "doc" flag fails |
|
|
I'm trying to emerge sci-mathematics/octave with the "doc" USE flag turned on (it should make the help text and error messages in Octave work correctly). But I emerge failing like this:
Code: |
# emerge --deep --changed-use octave
Calculating dependencies... done!
[ebuild R ] sci-mathematics/octave-4.2.2 USE="doc*"
Would you like to merge these packages? [Yes/No] y
...
(/var/tmp/portage/sci-mathematics/octave-4.2.2/work/octave-4.2.2/doc/interprete
r/bugs.texi Appendix D [940] [941] [942] [943] [944])
(/var/tmp/portage/sci-mathematics/octave-4.2.2/work/octave-4.2.2/doc/interprete
r/install.texi Appendix E [945] [946] [947] [948] [949] [950] [951] [952]
[953] [954] [955] [956] [957] [958] [959])
(/var/tmp/portage/sci-mathematics/octave-4.2.2/work/octave-4.2.2/doc/interprete
r/grammar.texi Appendix F [960] [961])
(/var/tmp/portage/sci-mathematics/octave-4.2.2/work/octave-4.2.2/doc/interprete
r/gpl.texi Appendix G [962] [963] [964] [965] [966] [967] [968] [969] [970]
[971] [972])
(/var/tmp/portage/sci-mathematics/octave-4.2.2/work/octave-4.2.2/doc/interprete
r/cp-idx.texi (Concept Index) [973] [974] [975] [976] [977] [978] [979]
[980] [981] [982] [983] [984] [985])
(/var/tmp/portage/sci-mathematics/octave-4.2.2/work/octave-4.2.2/doc/interprete
r/fn-idx.texi (Function Index) [986] [987] [988] [989] [990] [991] [992]
[993] [994] [995] [996] [997] [998] [999])
(/var/tmp/portage/sci-mathematics/octave-4.2.2/work/octave-4.2.2/doc/interprete
r/op-idx.texi (Operator Index) [1000] [1001]) [1002] )
(see the transcript file for additional information)
Output written on octave.dvi (1016 pages, 3807492 bytes).
Transcript written on octave.log.
make[2]: Leaving directory '/var/tmp/portage/sci-mathematics/octave-4.2.2/work/octave-4.2.2'
make[1]: *** [Makefile:26140: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sci-mathematics/octave-4.2.2/work/octave-4.2.2'
make: *** [Makefile:9915: all] Error 2
* ERROR: sci-mathematics/octave-4.2.2::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sci-mathematics/octave-4.2.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sci-mathematics/octave-4.2.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sci-mathematics/octave-4.2.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/octave-4.2.2/temp/environment'.
* Working directory: '/var/tmp/portage/sci-mathematics/octave-4.2.2/work/octave-4.2.2'
* S: '/var/tmp/portage/sci-mathematics/octave-4.2.2/work/octave-4.2.2'
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-bin-8 CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-3.9.0"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
and of course, the output of emerge --info =octave-4.2.2
>>> Failed to emerge sci-mathematics/octave-4.2.2, Log file:
>>> '/var/tmp/portage/sci-mathematics/octave-4.2.2/temp/build.log'
* Messages for package sci-mathematics/octave-4.2.2:
* ERROR: sci-mathematics/octave-4.2.2::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sci-mathematics/octave-4.2.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sci-mathematics/octave-4.2.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sci-mathematics/octave-4.2.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/octave-4.2.2/temp/environment'.
* Working directory: '/var/tmp/portage/sci-mathematics/octave-4.2.2/work/octave-4.2.2'
* S: '/var/tmp/portage/sci-mathematics/octave-4.2.2/work/octave-4.2.2'
hekate /home/jacob #
|
I put the whole build.log here.
I can't figure out what went wrong here, and this only happens with the "doc" useflag turned on. Is this a bug in the ebuild or on my machine? How do I fix this?
Last edited by jroth on Thu Oct 18, 2018 1:42 am; edited 1 time in total |
|
Back to top |
|
|
ct85711 Veteran
Joined: 27 Sep 2005 Posts: 1791
|
Posted: Wed Oct 17, 2018 5:25 am Post subject: |
|
|
The actual error message is this:
Code: | mv doc/interpreter/octave.htp doc/interpreter/octave.html && \
touch doc/interpreter/octave.html/.octave-html-stamp; \
else \
rm -rf doc/interpreter/octave.htp; exit 1; \
fi
Can't locate Locale/Messages.pm in @INC (you may need to install the Locale::Messages module) (@INC contains: /usr/lib64/texinfo /usr/share/texinfo /usr/share/texinfo /etc/perl /usr/local/lib64/perl5/5.24.3/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.24.3 /usr/lib64/perl5/vendor_perl/5.24.3/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.24.3 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.24.3/x86_64-linux-thread-multi /usr/lib64/perl5/5.24.3 .) at /usr/bin/makeinfo line 109.
BEGIN failed--compilation aborted at /usr/bin/makeinfo line 109.
make[2]: *** [Makefile:27594: doc/interpreter/octave.html/.octave-html-stamp] Error 1
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded format=etex)
restricted \write18 enabled.
entering extended mode |
I've seen this issue if Locale/Messages.pm can't be located multiple times, but I don't remember what is the solution. Hopefully someone would be able to help direct you more. |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3922 Location: Hamburg
|
|
Back to top |
|
|
jroth Tux's lil' helper
Joined: 08 Aug 2017 Posts: 76
|
Posted: Thu Oct 18, 2018 1:42 am Post subject: |
|
|
ct85711 wrote: |
I've seen this issue if Locale/Messages.pm can't be located multiple times, but I don't remember what is the solution. Hopefully someone would be able to help direct you more. |
I managed to fix it. First I ran
Code: | # equery belongs Messages.pm
* Searching for Messages.pm ...
app-text/texi2html-5.0-r1 (/usr/share/texi2html/lib/libintl-perl/lib/Locale/Messages.pm)
dev-perl/libintl-perl-1.280.0 (/usr/lib64/perl5/vendor_perl/5.24.3/x86_64-linux-thread-multi/Locale/Messages.pm)
|
to find where Messages.pm even comes from. Then I rebuilt the two packages in question:
Code: | # emerge -a app-text/texi2html |
Code: | # emerge -a dev-perl/libintl-perl |
Then rebuilt octave:
And it worked then! So something was broken further down the dependency chain and Portage didn't notice. |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3922 Location: Hamburg
|
Posted: Thu Oct 18, 2018 8:30 am Post subject: |
|
|
In that case maybe just run |
|
Back to top |
|
|
|