sys-libs/glibc-2.23-r2 fails to build when it attempts to run makeinfo against the file libc.info: LANGUAGE=C LC_ALL=C makeinfo -P /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-i686-pc-linux-gnu-nptl/manual/ --output=/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-i686-pc-linux-gnu-nptl/manual/libc.info libc.texinfo Reproducible: Always Steps to Reproduce: 1. emerge =sys-libs/glibc-2.23-r2 Actual Results: libc.texinfo:6: warning: @codequotebacktick should only appear at a line beginning libc.texinfo:6: warning: @codequoteundirected should only appear at a line beginning libc.texinfo:6: warning: @codequoteundirected should not appear in @codequotebacktick libc.texinfo:6: expected @codequoteundirected on or off, not `on' require' libc.texinfo:6: superfluous argument to @codequotebacktick libc.texinfo:6: expected @codequotebacktick on or off, not `on' and '' Makefile:144: recipe for target '/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-i686-pc-linux-gnu-nptl/manual/libc.info' failed Expected Results: A successful build. Portage 2.2.28 (python 2.7.11-final-0, default/linux/x86/13.0/desktop, gcc-5.3.0, glibc-2.22-r4, 4.5.2-gentoo i686) ================================================================= System uname: Linux-4.5.2-gentoo-i686-Pentium-R-_Dual-Core_CPU_E5200_@_2.50GHz-with-gentoo-2.2 KiB Mem: 3360076 total, 820112 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sat, 07 May 2016 13:15:01 +0000 sh bash 4.3_p42-r2 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42-r2::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.22.2::gentoo dev-lang/python: 2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo dev-util/cmake: 3.5.2::gentoo dev-util/pkgconfig: 0.29.1::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.20.5::gentoo sys-apps/sandbox: 2.10-r2::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 5.3.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.5::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.namerica.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: --exclude-from=/etc/portage/rsync_excludes x-portage location: /usr/local/portage masters: gentoo priority: 0 erosa-overlay location: /var/lib/layman/erosa-overlay-test masters: gentoo priority: 50 sunrise location: /var/lib/layman/sunrise masters: gentoo priority: 50 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf /language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /usr/X11R6/lib/X11/xkb" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn u nmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -march=i686 -pipe" GENTOO_MIRRORS="http://mirror.usu.edu/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.ISO-8859-1" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa apng asf berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib cups cxx dbus divx dri dts dvd emboss encode exif faac fam fat ffmpeg firefox flac fontconfig foomaticdb fortran gdbm gif gimp git glamor glitz gnutls gpm groovy gstreamer gtk gtk2 hipe iconv imagemagick ipv6 java jpeg kpoll lcms libffi libnotify mad mailwrapper mercurial mmx mng modules moznoirc moznomail mp3 mp4 mpeg ncurses network nls nptl nptlonly nsplugin ntfs objc ogg opengl openmp pam pango pcre pdf perl pic png policykit ppds python qt3support readline real realmedia sdl seccomp session smp spell sqlite3 sse sse2 ssl startup-notification subversion svg tcpd tiff truetype udev udisks unicode upower usb vorbis wma wmp wxwidgets x264 x86 xattr xcb xml xscreensaver xv xvid zlib" ABI_X86="32" ALSA_CA RDS="intel8x0" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_ host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic ne gotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="hp215 ptp2" COLLECTD _PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock it rax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGE T="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzz y condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Created attachment 433534 [details] ebuild log
please paste output of "emerge -pv sys-apps/texinfo".
These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/texinfo-6.1::gentoo USE="nls -static" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB
that is super weird. can you go into the build dir and run the makeinfo command by hand and see if it fails ? if so, run it through strace and attach that log here for us to review. cd /var/tmp/portage/sys-libs/glibc-2.23-r2/work/glibc-2.23/manual strace -f -o log \ makeinfo -P /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-i686-pc-linux-gnu-nptl/manual/ --output=/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-i686-pc-linux-gnu-nptl/manual/libc.info libc.texinfo
It gets weirder. Since my /var/tmp/portage was empty (it's om tmpfs) I did the emerge again, and then proceeded with the steps after the error occurred. Strangely, the manual directory doesn't contain the file libc.texinfo. gentoo0 manual # pwd /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-i686-pc-linux-gnu-nptl/manual gentoo0 manual # ls add.c.texi genpass.c.texi rprintf.c.texi strftim.c.texi argp-ex1.c.texi inetcli.c.texi search.c.texi stubs argp-ex2.c.texi inetsrv.c.texi select.c.texi subopt.c.texi argp-ex3.c.texi isockad.c.texi setjmp.c.texi summary.texi argp-ex4.c.texi libm-err.texi sigh1.c.texi swapcontext.c.texi atexit.c.texi longopt.c.texi sigusr.c.texi termios.c.texi chapters.texi memopen.c.texi stamp-libm-err testopt.c.texi db.c.texi memstrm.c.texi stamp.o testpass.c.texi dir2.c.texi mkfsock.c.texi stamp.os texis dir-add.texi mkisock.c.texi stamp.oS timeval_subtract.c.texi dir.c.texi mygetpass.c.texi stamp-pkgvers top-menu.texi execinfo.c.texi ofdlocks.c.texi stamp-summary version.texi filecli.c.texi pipe.c.texi stamp-version filesrv.c.texi pkgvers.texi stpcpy.c.texi fmtmsgexpl.c.texi popen.c.texi strdupa.c.texi
(In reply to manny15 from comment #5) that's how it should be. check out the steps i posted -- you need to cd to the source tree and run makeinfo from there, but pass flags to tell it to search the build output tree too.
Created attachment 434110 [details] strace log of running makeinfo cd /var/tmp/portage/sys-libs/glibc-2.23-r2/work/glibc-2.23/manual strace -f -o log \ makeinfo -P /var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-i686-pc-linux-gnu-nptl/manual/ --output=/var/tmp/portage/sys-libs/glibc-2.23-r2/work/build-x86-i686-pc-linux-gnu-nptl/manual/libc.info libc.texinfo It seems there are some Perl libraries missing.
Created attachment 435644 [details] A test textinfo file based on glibc.texinfo The problem is occuring on line 6: @c '@codequotebacktick on' and '@codequoteundirected on' require For example, if I run: makeinfo test.texinfo I get the following errors: test.texinfo:6: warning: @codequotebacktick should only appear at a line beginning test.texinfo:6: warning: @codequoteundirected should only appear at a line beginning test.texinfo:6: warning: @codequoteundirected should not appear in @codequotebacktick test.texinfo:6: expected @codequoteundirected on or off, not `on' require' test.texinfo:6: superfluous argument to @codequotebacktick test.texinfo:6: expected @codequotebacktick on or off, not `on' and '' But, when I remove the comment: @c '@codequotebacktick on' and '@codequoteundirected on' require It works just fine. It looks like makeinfo is not interpreting the content following the "@c" as a comment. This is the changeset which added the comments (shown in a GitHub mirror): https://github.com/bminor/glibc/commit/97ee300903cdc0a0052d09ed7c3f7779a303d625 I'm using texinfo-6.1.
This problem showed up again on another Gentoo system. sys-libs/glibc-2.22-r4 is installed, but when attempting to upgrade to sys-libs/glibc-2.23-r3 I get: LANGUAGE=C LC_ALL=C makeinfo -P /var/tmp/portage/sys-libs/glibc-2.23-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/manual/ --output=/var/tmp/portage/sys-libs/glibc-2.23-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/manual/libc.info libc.texinfo libc.texinfo:6: warning: @codequotebacktick should only appear at a line beginning libc.texinfo:6: warning: @codequoteundirected should only appear at a line beginning libc.texinfo:6: warning: @codequoteundirected should not appear in @codequotebacktick libc.texinfo:6: expected @codequoteundirected on or off, not `on' require' libc.texinfo:6: superfluous argument to @codequotebacktick libc.texinfo:6: expected @codequotebacktick on or off, not `on' and '' Makefile:144: recipe for target '/var/tmp/portage/sys-libs/glibc-2.23-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/manual/libc.info' failed make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.23-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/manual/libc.info] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.23-r3/work/glibc-2.23/manual' Makefile:215: recipe for target 'manual/subdir_install' failed make[1]: *** [manual/subdir_install] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.23-r3/work/glibc-2.23' Makefile:12: recipe for target 'install' failed make: *** [install] Error 2 * ERROR: sys-libs/glibc-2.23-r3::gentoo failed (install phase): * emake failed Texinfo is also texinfo-6.1 emerge --info Portage 2.3.0 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.4, glibc-2.22-r4, 4.4.39-gentoo x86_64) ================================================================= System uname: Linux-4.4.39-gentoo-x86_64-Pentium-R-_Dual-Core_CPU_E5200_@_2.50GHz-with-gentoo-2.3 KiB Mem: 4037632 total, 111424 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Fri, 06 Jan 2017 19:30:01 +0000 sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p48-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.22.3_rc4::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo dev-util/cmake: 3.6.3::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.22.4::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.4::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn u nmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.usu.edu/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gstreamer gtk gtk3 iconv ipv6 jpeg lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds readline sdl s eccomp session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vim-syntax vorbis wxwidgets x264 xattr xcb xml xorg xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali 5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="au thn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoin dex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory r rdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk h d44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_T ARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="intel i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit s ysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
*** Bug 604900 has been marked as a duplicate of this bug. ***
Created attachment 461412 [details, diff] Patch for manual/libc.texinfo Adds a newline after @documentencoding UTF-8 in manual/libc.texinfo so that makeinfo can compile without errors.
I have the same problem and it is not the first time that makeinfo ran into problems. I had a similar issue with screen (see bug 559746). In both cases makeinfo fails after setting the document encoding (@documentencoding <encoding>). It seems that makeinfo is swallowing characters in the succeeding lines on particular machines/configurations. Maybe a perl expert should have a look into that issue. I created a patch (attachment 461412 [details, diff] which adds an extra newline after @documentencoding) which allows for compiling the info files without failures.
(In reply to Carsten Klaucke from comment #12) interesting. do you see the same problem with the attachment 435644 [details] ?
(In reply to SpanKY from comment #13) > (In reply to Carsten Klaucke from comment #12) > > interesting. do you see the same problem with the attachment 435644 [details] > [details] ? Yes. $ makeinfo test.texinfo test.texinfo:6: warning: @codequotebacktick should only appear at a line beginning test.texinfo:6: warning: @codequoteundirected should only appear at a line beginning test.texinfo:6: warning: @codequoteundirected should not appear in @codequotebacktick test.texinfo:6: expected @codequoteundirected on or off, not `on' require' test.texinfo:6: superfluous argument to @codequotebacktick test.texinfo:6: expected @codequotebacktick on or off, not `on' and '' $ makeinfo --version texi2any (GNU texinfo) 6.1 Adding a newline after '@documentencoding UTF-8' helps again and libc.info is created: $ makeinfo test.texinfo test.texinfo: warning: document without nodes
(In reply to Carsten Klaucke from comment #14) can you post the output of: $ qlist -Iv \ dev-lang/perl dev-libs/cryptlib dev-perl/libintl-perl \ dev-perl/Log-Agent dev-perl/Text-Unidecode \ dev-perl/Unicode-EastAsianWidth sys-apps/texinfo those are all the packages that get loaded when you use `makeinfo test.texinfo`
(In reply to SpanKY from comment #15) dev-lang/perl-5.22.3_rc4 dev-perl/libintl-perl-1.240.0 dev-perl/Log-Agent-1.1.0 dev-perl/Text-Unidecode-1.270.0 dev-perl/Unicode-EastAsianWidth-1.330.0-r1 sys-apps/texinfo-6.1 and for the sake of completeness $ emerge --info Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.4, glibc-2.23-r3, 4.4.39-gentoo x86_64) ================================================================= System uname: Linux-4.4.39-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_M_620_@_2.67GHz-with-gentoo-2.3 KiB Mem: 8032128 total, 6071108 free KiB Swap: 2097148 total, 2097148 free Timestamp of repository gentoo: Wed, 08 Feb 2017 18:45:01 +0000 sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.3_p48-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.22.3_rc4::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo dev-util/cmake: 3.7.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.22.4::gentoo sys-apps/sandbox: 2.10-r3::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.4::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage priority: -1000 local location: /usr/local/portage masters: gentoo rust location: /var/lib/layman/rust masters: gentoo priority: 0 crossdev location: /usr/local/portage-crossdev masters: gentoo priority: 10 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi aes alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative device-mapper dri dts dvd dvdr emboss encode exif fam firefox flac fortran fuse gdbm gif glamor gphoto2 gpm iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit popcnt ppds qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
(In reply to Carsten Klaucke from comment #16) hmm, i can't reproduce with those versions. can you try: $ emerge g-cpan strace -1u $ g-cpan -i Devel-Trace $ strace -e'!write' -s4096 perl -d:Trace `which makeinfo` test.texinfo 2>log then attach that log file ?
Created attachment 463384 [details] strace log (In reply to SpanKY from comment #17) Log file attached.
what does this show: $ qcheck \ dev-lang/perl dev-libs/cryptlib dev-perl/libintl-perl \ dev-perl/Log-Agent dev-perl/Text-Unidecode \ dev-perl/Unicode-EastAsianWidth sys-apps/texinfo your log shows that you have slightly different modules than you should have. for example, perl-5.22.3_rc4 uses: Encode.pm,v 2.72 2015/03/14 yet you have: Encode.pm,v 2.73 2015/04/15 it might not be significant, but your perl modules shouldn't randomly be different from what everyone else is using.
(In reply to SpanKY from comment #19) $ qcheck \ > dev-lang/perl dev-libs/cryptlib dev-perl/libintl-perl \ > dev-perl/Log-Agent dev-perl/Text-Unidecode \ > dev-perl/Unicode-EastAsianWidth sys-apps/texinfo Checking dev-lang/perl-5.22.3_rc4 ... MTIME: /usr/bin/encguess MTIME: /usr/share/man/man1/encguess.1.bz2 * 2169 out of 2171 files are good Checking dev-perl/libintl-perl-1.240.0 ... * 185 out of 185 files are good Checking dev-perl/Log-Agent-1.1.0 ... * 74 out of 74 files are good Checking dev-perl/Text-Unidecode-1.270.0 ... * 269 out of 269 files are good Checking dev-perl/Unicode-EastAsianWidth-1.330.0-r1 ... * 13 out of 13 files are good Checking sys-apps/texinfo-6.1 ... * 209 out of 209 files are good It seems /usr/bin/encguess was overwritten by perl-core/Encode $ eix -e Encode [I] perl-core/Encode Available versions: 2.730.0 Installed versions: 2.730.0(09:39:26 PM 01/12/2017) I removed perl-core/Encode and re-emerged perl, so that dev-lang/perl's encguess is installed but it didn't help. makeinfo test.texinfo is still failing. By the way, perl-core/Encode is pulled in by dev-perl/Date-Manip.
(In reply to Carsten Klaucke from comment #20) what is installing Encode.pm ? $ qfile \ /usr/lib64/perl5/vendor_perl/5.22.3/x86_64-linux/Encode.pm is that the only one you have ? $ find /usr/lib64/perl5/ -name Encode.pm can you attach the full build log of dev-lang/perl ?
(In reply to SpanKY from comment #21) > (In reply to Carsten Klaucke from comment #20) > > what is installing Encode.pm ? > $ qfile \ > /usr/lib64/perl5/vendor_perl/5.22.3/x86_64-linux/Encode.pm > > is that the only one you have ? > $ find /usr/lib64/perl5/ -name Encode.pm > > can you attach the full build log of dev-lang/perl ? That's provided by perl-core/Encode , as indicated by the /vendor_perl/ part of the path. Encode.pm that ships with perl turns up in a path without "vendor_perl" in it. That .pm file is forced installation by virtual/perl-Encode-2.730.0, which was stabilized due to www-apps/rt needing it. ( 2.730 doesn't turn up in perl till v5.23 ) In short, anything that depends on virtual/perl-Encode should expect that version of Encode.pm ( and that file ) on stable.
Created attachment 463678 [details] perl build log (In reply to SpanKY from comment #21) As Kent already pointed out: $ qfile /usr/lib64/perl5/vendor_perl/5.22.3/x86_64-linux/Encode.pm perl-core/Encode (/usr/lib64/perl5/vendor_perl/5.22.3/x86_64-linux/Encode.pm) $ find /usr/lib64/perl5/ -name Encode.pm /usr/lib64/perl5/5.22.3/x86_64-linux/Encode.pm /usr/lib64/perl5/vendor_perl/5.22.3/x86_64-linux/Encode.pm perl build log attached.
I have three Gentoo installs having this exact same problem. I've tried some of the fixes mentioned about but I am still not able to emerge glibc-2.23-r2. Same exact bug mentioned. What is the fix?
Same error for glibc-2.24-r1. It'd be nice to see a fix for this.
not a real fix, but emerging texinfo-4.13-r2 allows glibc-2.23-r3 to emerge with no errors. Also, gibc-2.24-r1 goes in with no errors also. New texinfo is borked!!
Is this still happening for current texinfo?
Since a "doc" USE flag was introduced in the ebuild for glibc starting with ~2.26-r7, the error doesn't occur when "doc" is not set (which is the case on my machine). But I tried emerging glibc w/ "doc" and the error is still there using sys-apps/texinfo-6.6-r1. (see new ebuild log)
Created attachment 592664 [details] ebuild log for glibc-2.29-r2 and texinfo-6.6-r1
Fixed with recent versions (tested with glibc-2.34 and texinfo-6.8)