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] texlive-basic

2013-05-03 Thread Silvio Siefke
On Thu, 2 May 2013 20:28:56 -0300 Urs Schutz u.sch...@bluewin.ch
wrote:

 I had the same errors and needed to add -O2 to my CFLAGS.

My CFLAGS which i use:

siefke@gentoo-mobile : ~ $ cat /etc/make.conf | grep CFLAGS
CFLAGS=-march=native -O2 -fomit-frame-pointer -pipe -mfpmath=sse


The mistake was luatex which has write Felix. 

Thank you  Greetings
Silvio



Re: [gentoo-user] texlive-basic

2013-05-03 Thread Silvio Siefke
Hello,

On Thu, 02 May 2013 22:16:02 +0200 Felix Kuperjans
fe...@desaster-games.com wrote:


 To check that, maybe try running luatex on the console, it crashed
 instantly on my boxes until it was re-emerged...

That's the match. Recompile luatex and all was good. Thank's for the
email. Have nice weekend.


Thank you  Greetings
Silvio



Re: [gentoo-user] texlive-basic

2013-05-02 Thread Felix Kuperjans
Hello Silvio,

Silvio Siefke wrote:
 Hello,

 have someone run the texlive update succesfully? I have problems with
 building. 

 The message:
 ###
 fmtutil: Error! Not all formats have been built successfully.
 Visit the log files in directory
   /var/tmp/portage/dev-texlive/texlive-basic-2012/work/texmf-var/web2c
 for details.
 ###

 This is a summary of all `failed' messages:
 `luatex -ini  -jobname=dviluatex -progname=dviluatex dviluatex.ini' failed
 `luatex -ini  -jobname=luatex -progname=luatex luatex.ini' failed
  * ERROR: dev-texlive/texlive-basic-2012 failed (compile phase):
  *   failed to build format texmf/fmtutil/format.texlive-basic.cnf
  * 
  * Call stack:
  * ebuild.sh, line   93:  Called src_compile
  *   environment, line 2195:  Called texlive-module_src_compile
  *   environment, line 2834:  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};
  * 
  * If you need support, post the output of `emerge --info 
 '=dev-texlive/texlive-basic-2012'`,
  * the complete build log and the output of `emerge -pqv 
 '=dev-texlive/texlive-basic-2012'`.
  * The complete build log is located at 
 '/var/tmp/portage/dev-texlive/texlive-basic-2012/temp/build.log'.
  * The ebuild environment file is located at 
 '/var/tmp/portage/dev-texlive/texlive-basic-2012/temp/environment'.
  * Working directory: '/var/tmp/portage/dev-texlive/texlive-basic-2012/work'
  * S: '/var/tmp/portage/dev-texlive/texlive-basic-2012/work'
That error occurred on my 32-Bit systems, too (interestingly, not on any
amd64 system). Was easily solved by recompiling luatex, it had some
broken dependency not detected by revdep-rebuild.

To check that, maybe try running luatex on the console, it crashed
instantly on my boxes until it was re-emerged...
 Thank you  Greetings Silvio 
Regards,
Felix



Re: [gentoo-user] texlive-basic

2013-05-02 Thread Urs Schutz
On Thu, 2 May 2013 21:57:26 +0200
Silvio Siefke siefke_lis...@web.de wrote:

 Hello,
 
 have someone run the texlive update succesfully? I have
 problems with building. 
 
 The message:
 ###
 fmtutil: Error! Not all formats have been built
 successfully. Visit the log files in directory
   /var/tmp/portage/dev-texlive/texlive-basic-2012/work/texmf-var/web2c
 for details.
 ###
 
 This is a summary of all `failed' messages:
 `luatex -ini  -jobname=dviluatex -progname=dviluatex
 dviluatex.ini' failed `luatex -ini  -jobname=luatex
 -progname=luatex luatex.ini' failed
  * ERROR: dev-texlive/texlive-basic-2012 failed (compile
 phase):
  *   failed to build format
 texmf/fmtutil/format.texlive-basic.cnf
  * 
  * Call stack:
  * ebuild.sh, line   93:  Called src_compile
  *   environment, line 2195:  Called
 texlive-module_src_compile
  *   environment, line 2834:  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};
  * 
  * If you need support, post the output of `emerge --info
 '=dev-texlive/texlive-basic-2012'`,
  * the complete build log and the output of `emerge -pqv
 '=dev-texlive/texlive-basic-2012'`.
  * The complete build log is located at
 '/var/tmp/portage/dev-texlive/texlive-basic-2012/temp/build.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/dev-texlive/texlive-basic-2012/temp/environment'.
  * Working directory:
 '/var/tmp/portage/dev-texlive/texlive-basic-2012/work'
  * S:
 '/var/tmp/portage/dev-texlive/texlive-basic-2012/work'
 
  Failed to emerge dev-texlive/texlive-basic-2012, Log
  file:
 
 
 gentoo-mobile siefke # emerge -pqv
 =dev-texlive/texlive-basic-2012 [ebuild U ]
 dev-texlive/texlive-basic-2012 [2011-r1] USE=-doc
 -source  emerge --info
 =dev-texlive/texlive-basic-2012 
  http://nopaste.info/09608209ae.html
 
 Thank you  Greetings
 Silvio
 

Hello Silvio

I had the same errors and needed to add -O2 to my CFLAGS.

I did edit /etc/make.conf and changed
CFLAGS=-march=native
to 
CFLAGS=-O2 -march=native

I am running mostly stable on an old 32-bit laptop with
Intel(R) Core(TM) Duo CPU T2250 @ 1.73GHz processor. Hope
that helps.

Urs