Re: [gentoo-user] texlive-basic-2016 - Failed to build: 1 (luajittex/luajittex)

2017-06-29 Thread thelma
On 06/29/2017 02:52 PM, Francisco Ares wrote:
> 2017-06-29 14:53 GMT-03:00 :
> 
>> I'm getting an error when trying to compile texlive-basic-2016
>>
>> 50 preloaded fonts
>> No pages of output.
>> Transcript written on dviluatex.log.
>> fmtutil [INFO]: /var/tmp/portage/dev-texlive/
>> texlive-basic-2016/work/texmf-var/web2c/luatex/dviluatex.fmt installed.
>> fmtutil [ERROR]: running `luajittex -ini   -jobname=luajittex
>> -progname=luajittex luatex.ini > fmtutil [ERROR]: return error due to options --strict
>> fmtutil [INFO]: Successfully rebuilt formats: 7
>> fmtutil [INFO]: Failed to build: 1 (luajittex/luajittex)
>> fmtutil [INFO]: Total formats: 8
>> fmtutil [INFO]: exiting with status 1
>>  * ERROR: dev-texlive/texlive-basic-2016::gentoo failed (compile phase):
>>  *   failed to build format texmf-dist/fmtutil/format.texlive-basic.cnf

[snip]

> 
> As a workaround, I have ...
> 
> dev-texlive/texlive-basic-luajittex
> 
> ... in my /etc/portage/package.use file.
> 
> It builds without luajittex.
> 
> It seems that luajittex now has a slightly different syntax for its command
> line arguments.
> 
> Hope this helps,
> Francisco

Thanks, yes that did the trick for me as well.

--
Thelma



Re: [gentoo-user] texlive-basic-2016 - Failed to build: 1 (luajittex/luajittex)

2017-06-29 Thread Francisco Ares
2017-06-29 14:53 GMT-03:00 :

> I'm getting an error when trying to compile texlive-basic-2016
>
> 50 preloaded fonts
> No pages of output.
> Transcript written on dviluatex.log.
> fmtutil [INFO]: /var/tmp/portage/dev-texlive/
> texlive-basic-2016/work/texmf-var/web2c/luatex/dviluatex.fmt installed.
> fmtutil [ERROR]: running `luajittex -ini   -jobname=luajittex
> -progname=luajittex luatex.ini  fmtutil [ERROR]: return error due to options --strict
> fmtutil [INFO]: Successfully rebuilt formats: 7
> fmtutil [INFO]: Failed to build: 1 (luajittex/luajittex)
> fmtutil [INFO]: Total formats: 8
> fmtutil [INFO]: exiting with status 1
>  * ERROR: dev-texlive/texlive-basic-2016::gentoo failed (compile phase):
>  *   failed to build format texmf-dist/fmtutil/format.texlive-basic.cnf
>  *
>  * Call stack:
>  * ebuild.sh, line  115:  Called src_compile
>  *   environment, line 2032:  Called texlive-module_src_compile
>  *   environment, line 2848:  Called die
>  * The specific snippet of code:
>  *   VARTEXFONTS="${T}/fonts" 
> TEXMFHOME="${S}/texmf:${S}/texmf-dist:${S}/texmf-var"
> env -u TEXINPUTS fmtutil --cnffile "${i}" --fmtdir "${S}/texmf-var/web2c"
> --all || die "failed to build format ${i}";
>
> emerge --info
> Portage 2.3.3 (python 3.4.5-final-0, default/linux/x86/13.0/desktop,
> gcc-4.9.3, glibc-2.23-r3, 4.1.15-gentoo-r1 i686)
> =
> System uname: Linux-4.1.15-gentoo-r1-i686-AMD_Athlon-TM-_XP_2500+-with-
> gentoo-2.3
> KiB Mem: 1033780 total,302456 free
> KiB Swap:2008120 total,   1969328 free
> Timestamp of repository gentoo: Thu, 29 Jun 2017 16:00:01 +
> sh bash 4.3_p48-r1
> ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
> ccache version 3.2.4 [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/ccache:  3.2.4::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.23.2::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.15::gentoo
> sys-devel/binutils:   2.26.1::gentoo
> sys-devel/gcc:4.8.5::gentoo, 4.9.3::gentoo, 4.9.4::gentoo
> sys-devel/gcc-config: 1.7.3::gentoo
> sys-devel/libtool:2.4.6-r3::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.gentoo.org/gentoo-portage
> priority: -1000
>
> local
> location: /usr/local/portage
> masters: gentoo
> priority: 100
>
> ACCEPT_KEYWORDS="x86"
> ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 Oracle-BCLA-JavaSE"
> CBUILD="i686-pc-linux-gnu"
> CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
> CHOST="i686-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/gnupg/qualified.txt
> /var/spool/fax/etc"
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
> /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
> /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/
> /etc/php/cli-php5.6/ext-active/ /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="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
> DISTDIR="/usr/portage/distfiles"
> EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --with-bdeps=y"
> 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 unmerge-logs
> unmerge-orphans userfetch userpriv usersandbox usersync xattr"
> FFLAGS="-O2 -march=i686 -pipe"
> GENTOO_MIRRORS="http://distro.ibidio.org/pub/linux/distributions/gentoo/
> ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
> http://gentoo.osuosl.org/ http://mirror.datapipe.net/gentoo
> http://gentoo.binarycompass.org;
> LANG="en_US.UTF-8"
> LC_ALL="en_US.UTF-8"
> LDFLAGS="-Wl,-O1 -Wl,--as-needed"
> MAKEOPTS="-j1"
> 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 acpi alsa apache2 berkdb bluetooth branding bzip2 cairo
> cdda cdr cgi cleartype cli consolekit corefonts cracklib crypt cups cxx
> dbus dri dts dvd dvdr emboss encode exif fam 

Re: [gentoo-user] ...again compile problems due to texinfo...

2017-06-29 Thread tuxic
On 06/29 08:01, Marc Joliet wrote:
> Just out of curiosity, but did you try with an older version of screen?  
> Looking at the error messages from texinfo I can't help but wonder 
> whether it's not screen that's at fault here.
> 
> Greetings
> -- 
> Marc Joliet
> --
> "People who think they know everything really annoy those of us who 
> know we
> don't" - Bjarne Stroustrup
> 


ok, perl-cleaner ended now and it seems, it does its work this
time completly: screen had compiled successfully.

Weird...

Thanks a lot for all your help! :)

Cheers
Meino






Re: [gentoo-user] ...again compile problems due to texinfo...

2017-06-29 Thread Marc Joliet
Just out of curiosity, but did you try with an older version of screen?  
Looking at the error messages from texinfo I can't help but wonder 
whether it's not screen that's at fault here.

Greetings
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who 
know we
don't" - Bjarne Stroustrup



signature.asc
Description: This is a digitally signed message part.


[gentoo-user] texlive-basic-2016 - Failed to build: 1 (luajittex/luajittex)

2017-06-29 Thread thelma
I'm getting an error when trying to compile texlive-basic-2016

50 preloaded fonts
No pages of output.
Transcript written on dviluatex.log.
fmtutil [INFO]: 
/var/tmp/portage/dev-texlive/texlive-basic-2016/work/texmf-var/web2c/luatex/dviluatex.fmt
 installed.
fmtutil [ERROR]: running `luajittex -ini   -jobname=luajittex 
-progname=luajittex luatex.ini http://distro.ibidio.org/pub/linux/distributions/gentoo/ 
ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.osuosl.org/ 
http://mirror.datapipe.net/gentoo http://gentoo.binarycompass.org;
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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 acpi alsa apache2 berkdb bluetooth branding bzip2 cairo cdda cdr 
cgi cleartype cli consolekit corefonts cracklib crypt cups cxx dbus dri dts dvd 
dvdr emboss encode exif fam firefox flac foomaticdb fortran gdbm gif glamor gpm 
gtk hal iconv ipv6 java jpeg kpathsea lcms ldap libnotify mad mng modules mp3 
mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf php png 
policykit ppds qt3support readline scanner sdl seccomp semantic-desktop server 
session spell ssl startup-notification svg tcpd tetex thunar tiff truetype 
type1 udev udisks unicode upower usb vorbis wxwidgets x264 x86 xattr xcb xml xv 
xvid zlib" ABI_X86="32" ALSA_CARDS="via82xx" APACHE2_MODULES="actions alias 
auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file 
authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user 
autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires 
ext_filter file_cache filter headers ident imagemap include info log_config 
logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer 
proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir 
usertrack vhost_alias cgi" 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="3dnow 3dnowext mmx mmxext sse" 
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" 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 
en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" 
PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" 
RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="nv vesa fbdev" 
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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, 
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

-- 
Thelma


Re: [gentoo-user] ...again compile problems due to texinfo...

2017-06-29 Thread Mike Gilbert
On Thu, Jun 29, 2017 at 12:44 PM,   wrote:
> On 06/29 12:24, Mike Gilbert wrote:
>> On Wed, Jun 28, 2017 at 10:06 PM,   wrote:
>> > Hi,
>> >
>> > previously the compilation of glibc failed, because docs
>> > cpuld not be build.
>> > This was caused in the context of texinfo.
>> > "Solved" was this by not building the docs via
>> > deinstallation of texinfo temporarily.
>> >
>> > No screen jumps over the edge and again texinfo seems
>> > to cause this:
>> >
>>  Source configured.
>>  Compiling source in 
>>  /var/tmp/portage/app-misc/screen-4.6.0/work/screen-4.6.0 ...
>> > make -j6 comm.h term.h
>> > AWK=gawk CC="x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe 
>> > -D_GNU_SOURCE" srcdir=. sh ./comm.sh
>> > AWK=gawk srcdir=. sh ./term.sh
>> > make -j6 osdef.h
>> > CPP="x86_64-pc-linux-gnu-gcc -E -DMAXWIN=100 -DNONETHACK 
>> > -DETCSCREENRC='"/etc/screenrc"' 
>> > -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"'" srcdir=. sh 
>> > ./osdef.sh
>> > make -j6 -C doc screen.info
>> > make: Entering directory 
>> > '/var/tmp/portage/app-misc/screen-4.6.0/work/screen-4.6.0/doc'
>> > makeinfo ./screen.texinfo -o screen.info
>> > ./screen.texinfo:3154: `@end' expected `deffn', but saw `example'
>> > ./screen.texinfo:3154: unmatched `@end example'
>> > ./screen.texinfo:3156: unmatched `@end deffn'
>> > make: *** [Makefile:31: screen.info] Error 1
>> > make: Leaving directory 
>> > '/var/tmp/portage/app-misc/screen-4.6.0/work/screen-4.6.0/doc'
>> >  * ERROR: app-misc/screen-4.6.0::gentoo failed (compile phase):
>> >  *   emake failed
>> >  *
>> >  * If you need support, post the output of `emerge --info 
>> > '=app-misc/screen-4.6.0::gentoo'`,
>> >  * the complete build log and the output of `emerge -pqv 
>> > '=app-misc/screen-4.6.0::gentoo'`.
>> >  * The complete build log is located at 
>> > '/var/tmp/portage/app-misc/screen-4.6.0/temp/build.log'.
>> >  * The ebuild environment file is located at 
>> > '/var/tmp/portage/app-misc/screen-4.6.0/temp/environment'.
>> >  * Working directory: 
>> > '/var/tmp/portage/app-misc/screen-4.6.0/work/screen-4.6.0'
>> >  * S: '/var/tmp/portage/app-misc/screen-4.6.0/work/screen-4.6.0'
>> >  *
>> >  * The following package has failed to build, install, or execute postinst:
>> >  *
>> >  *  (app-misc/screen-4.6.0:0/0::gentoo, ebuild scheduled for merge), Log 
>> > file:
>> >  *   '/var/tmp/portage/app-misc/screen-4.6.0/temp/build.log'
>> >  *
>> >
>> >  * GNU info directory index is up-to-date.
>> >  * After world updates, it is important to remove obsolete packages with
>> >  * emerge --depclean. Refer to `man emerge` for more information.
>> >
>> >
>> > How can I fix this ... by fixing it and not by uninstalling texinfo ?
>> > ;)
>>
>> Yeah, texinfo is very broken on your system. Some things to check for:
>>
>> Any oddly set USE flags on sys-apps/texinfo (maybe USE="-nls")?
>> Custom patches in /etc/portage/patches?
>> Run perl-cleaner --all
>>
>
> This is the contents of /etc/portage/patches
>
> /etc/portage/patches/sys-apps
> /etc/portage/patches/sys-apps/v86d-0.1.10
> /etc/portage/patches/sys-apps/v86d-0.1.10/v86d-atomic_t.patch
> /etc/portage/patches/sys-libs
> /etc/portage/patches/sys-libs/libcap
> /etc/portage/patches/sys-libs/libcap/libcap-patch
>
> My useflags are:
> USE="nvidia X lua sdl mp3 flac jack alsa gtk cairo sndfile qt3support 
> kpathsea gif tga jpeg png jpeg2k mad dvb dvdr encode lzo bzip2 ogg sox v4l 
> v4l2 vorbis x264 x265 zsh-completion -hal -lirc"
>
> Seems not to be THAT weird, isn't it?
>
> I am running perl-cleaner now...as I did several times in the attempt
> to fix the first ransomtexinfo;)

My only other guess is that you have some environment variable set
that causes makeinfo to behave differently than it normally would.



Re: [gentoo-user] ...again compile problems due to texinfo...

2017-06-29 Thread tuxic
On 06/29 12:24, Mike Gilbert wrote:
> On Wed, Jun 28, 2017 at 10:06 PM,   wrote:
> > Hi,
> >
> > previously the compilation of glibc failed, because docs
> > cpuld not be build.
> > This was caused in the context of texinfo.
> > "Solved" was this by not building the docs via
> > deinstallation of texinfo temporarily.
> >
> > No screen jumps over the edge and again texinfo seems
> > to cause this:
> >
>  Source configured.
>  Compiling source in 
>  /var/tmp/portage/app-misc/screen-4.6.0/work/screen-4.6.0 ...
> > make -j6 comm.h term.h
> > AWK=gawk CC="x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -D_GNU_SOURCE" 
> > srcdir=. sh ./comm.sh
> > AWK=gawk srcdir=. sh ./term.sh
> > make -j6 osdef.h
> > CPP="x86_64-pc-linux-gnu-gcc -E -DMAXWIN=100 -DNONETHACK 
> > -DETCSCREENRC='"/etc/screenrc"' 
> > -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"'" srcdir=. sh 
> > ./osdef.sh
> > make -j6 -C doc screen.info
> > make: Entering directory 
> > '/var/tmp/portage/app-misc/screen-4.6.0/work/screen-4.6.0/doc'
> > makeinfo ./screen.texinfo -o screen.info
> > ./screen.texinfo:3154: `@end' expected `deffn', but saw `example'
> > ./screen.texinfo:3154: unmatched `@end example'
> > ./screen.texinfo:3156: unmatched `@end deffn'
> > make: *** [Makefile:31: screen.info] Error 1
> > make: Leaving directory 
> > '/var/tmp/portage/app-misc/screen-4.6.0/work/screen-4.6.0/doc'
> >  * ERROR: app-misc/screen-4.6.0::gentoo failed (compile phase):
> >  *   emake failed
> >  *
> >  * If you need support, post the output of `emerge --info 
> > '=app-misc/screen-4.6.0::gentoo'`,
> >  * the complete build log and the output of `emerge -pqv 
> > '=app-misc/screen-4.6.0::gentoo'`.
> >  * The complete build log is located at 
> > '/var/tmp/portage/app-misc/screen-4.6.0/temp/build.log'.
> >  * The ebuild environment file is located at 
> > '/var/tmp/portage/app-misc/screen-4.6.0/temp/environment'.
> >  * Working directory: 
> > '/var/tmp/portage/app-misc/screen-4.6.0/work/screen-4.6.0'
> >  * S: '/var/tmp/portage/app-misc/screen-4.6.0/work/screen-4.6.0'
> >  *
> >  * The following package has failed to build, install, or execute postinst:
> >  *
> >  *  (app-misc/screen-4.6.0:0/0::gentoo, ebuild scheduled for merge), Log 
> > file:
> >  *   '/var/tmp/portage/app-misc/screen-4.6.0/temp/build.log'
> >  *
> >
> >  * GNU info directory index is up-to-date.
> >  * After world updates, it is important to remove obsolete packages with
> >  * emerge --depclean. Refer to `man emerge` for more information.
> >
> >
> > How can I fix this ... by fixing it and not by uninstalling texinfo ?
> > ;)
> 
> Yeah, texinfo is very broken on your system. Some things to check for:
> 
> Any oddly set USE flags on sys-apps/texinfo (maybe USE="-nls")?
> Custom patches in /etc/portage/patches?
> Run perl-cleaner --all
> 

This is the contents of /etc/portage/patches

/etc/portage/patches/sys-apps
/etc/portage/patches/sys-apps/v86d-0.1.10
/etc/portage/patches/sys-apps/v86d-0.1.10/v86d-atomic_t.patch
/etc/portage/patches/sys-libs
/etc/portage/patches/sys-libs/libcap
/etc/portage/patches/sys-libs/libcap/libcap-patch

My useflags are:
USE="nvidia X lua sdl mp3 flac jack alsa gtk cairo sndfile qt3support kpathsea 
gif tga jpeg png jpeg2k mad dvb dvdr encode lzo bzip2 ogg sox v4l v4l2 vorbis 
x264 x265 zsh-completion -hal -lirc"

Seems not to be THAT weird, isn't it?

I am running perl-cleaner now...as I did several times in the attempt
to fix the first ransomtexinfo;)

Cheers
Meino






Re: [gentoo-user] Re: Copy'n'Paste...but not for all?

2017-06-29 Thread Alan McKinnon
On 29/06/2017 00:37, Nikos Chantziaras wrote:
> On 29/06/2017 12:53 πμ, Neil Bothwick wrote:
>> On Wed, 28 Jun 2017 20:43:03 +0200, tu...@posteo.de wrote:
>>
>>> I dont like CTRL-V/CTRL-P that much...its a windows way.
>>
>> Ctrl-C/Ctrl-V pre-dates Windows.
> 
> Yep: https://en.wikipedia.org/wiki/Control-C#In_graphical_environments
> 
> 

hehe, as I clicked on that link, I thought "I bet the Star workstation
did that first (like most everything else)"

I see I wasn't wrong. Thanks for that Nikos, you made my day1

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] ...again compile problems due to texinfo...

2017-06-29 Thread Mike Gilbert
On Wed, Jun 28, 2017 at 10:06 PM,   wrote:
> Hi,
>
> previously the compilation of glibc failed, because docs
> cpuld not be build.
> This was caused in the context of texinfo.
> "Solved" was this by not building the docs via
> deinstallation of texinfo temporarily.
>
> No screen jumps over the edge and again texinfo seems
> to cause this:
>
 Source configured.
 Compiling source in 
 /var/tmp/portage/app-misc/screen-4.6.0/work/screen-4.6.0 ...
> make -j6 comm.h term.h
> AWK=gawk CC="x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -D_GNU_SOURCE" 
> srcdir=. sh ./comm.sh
> AWK=gawk srcdir=. sh ./term.sh
> make -j6 osdef.h
> CPP="x86_64-pc-linux-gnu-gcc -E -DMAXWIN=100 -DNONETHACK 
> -DETCSCREENRC='"/etc/screenrc"' 
> -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"'" srcdir=. sh ./osdef.sh
> make -j6 -C doc screen.info
> make: Entering directory 
> '/var/tmp/portage/app-misc/screen-4.6.0/work/screen-4.6.0/doc'
> makeinfo ./screen.texinfo -o screen.info
> ./screen.texinfo:3154: `@end' expected `deffn', but saw `example'
> ./screen.texinfo:3154: unmatched `@end example'
> ./screen.texinfo:3156: unmatched `@end deffn'
> make: *** [Makefile:31: screen.info] Error 1
> make: Leaving directory 
> '/var/tmp/portage/app-misc/screen-4.6.0/work/screen-4.6.0/doc'
>  * ERROR: app-misc/screen-4.6.0::gentoo failed (compile phase):
>  *   emake failed
>  *
>  * If you need support, post the output of `emerge --info 
> '=app-misc/screen-4.6.0::gentoo'`,
>  * the complete build log and the output of `emerge -pqv 
> '=app-misc/screen-4.6.0::gentoo'`.
>  * The complete build log is located at 
> '/var/tmp/portage/app-misc/screen-4.6.0/temp/build.log'.
>  * The ebuild environment file is located at 
> '/var/tmp/portage/app-misc/screen-4.6.0/temp/environment'.
>  * Working directory: 
> '/var/tmp/portage/app-misc/screen-4.6.0/work/screen-4.6.0'
>  * S: '/var/tmp/portage/app-misc/screen-4.6.0/work/screen-4.6.0'
>  *
>  * The following package has failed to build, install, or execute postinst:
>  *
>  *  (app-misc/screen-4.6.0:0/0::gentoo, ebuild scheduled for merge), Log file:
>  *   '/var/tmp/portage/app-misc/screen-4.6.0/temp/build.log'
>  *
>
>  * GNU info directory index is up-to-date.
>  * After world updates, it is important to remove obsolete packages with
>  * emerge --depclean. Refer to `man emerge` for more information.
>
>
> How can I fix this ... by fixing it and not by uninstalling texinfo ?
> ;)

Yeah, texinfo is very broken on your system. Some things to check for:

Any oddly set USE flags on sys-apps/texinfo (maybe USE="-nls")?
Custom patches in /etc/portage/patches?
Run perl-cleaner --all