Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 195815

Summary: TeXLive 2008 keywording
Product: Gentoo Linux Reporter: Alexis Ballier <aballier>
Component: Current packagesAssignee: m68k team <m68k>
Status: RESOLVED FIXED    
Severity: enhancement CC: alexxy, bensagal, cbm, cruzki123, fauli, fmccor, gentoo, hiyuh.root, jer, juantxorena, matija, prote, rossen, schubert.seb, zlin
Priority: High Keywords: KEYWORDREQ
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 185358, 195894, 195895, 196167, 196246    
Bug Blocks:    
Attachments: List of all needed packages
updated list of packages
package list for TeXLive
texlive-latex - what fmtutil does

Description Alexis Ballier gentoo-dev 2007-10-14 11:12:57 UTC
openning this bug, will use it as a tracker for what prevents keywording for now and will add arch teams when it'll be ready
Comment 1 Alexis Ballier gentoo-dev 2007-10-17 08:15:00 UTC
ok, now it should be fine; I'm cc'ing arches that had tetex keyworded.

all the different packages are referenced by app-tex/texlive-2007 ebuild, so if repoman lets you commit this, you're done.

I had written a howto for switching :
http://overlays.gentoo.org/dev/aballier/browser/switching-to-texlive-2007/Howto

it was supposed to contain problems and solutions for migrating, I still need to write it as a doc to host it on the official website; but there I probably need your inputs to know if that's complete or there are missing infos.

If there is a problem which is arch specific, then it's most likely to be due to something in app-text/texlive-core; please open a new bug blocking this one in that case. All the dev-texlive/* ebuilds should be arch independant.

If there is a dep problem or any generic issue, please report it here as it will affect all arches.

So far, I think I've killed all the circular deps; the only one which is not solvable as of now is due to xetex being included in texlive, which needs fontconfig to build and some fontconfig deps need a latex compiler to build their doc with use=doc.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2007-10-17 17:18:15 UTC
Please restore normal keywording and then re-add arches. I am sure you tested it on at least *one* architecture before committing, so the ebuilds should initially reflect that.

Do not that right now, no arch can emerge these ebuilds, while with a simple ~x86 or ~amd64 keyword, entries like

dev-texlive/foo ~x86

would have enabled us to test the ebuilds without first having to manipulate them (changing keywords and regenerating manifests).
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2007-10-17 17:28:53 UTC
Readding arches as everyone seems to approve of KEYWORDS=""...
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-17 17:32:56 UTC
Created attachment 133692 [details]
List of all needed packages

For Jer
Comment 5 Christoph Mende (RETIRED) gentoo-dev 2007-10-17 17:54:13 UTC
(In reply to comment #2)
> dev-texlive/foo ~x86

dev-texlive/foo **
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-17 18:01:24 UTC
To update everyone: The attachment lists all packages you need to put in p.unmask/p.keywords.  Test it but don't start keywording yet.
Comment 7 Fabian Groffen gentoo-dev 2007-10-17 18:37:13 UTC
I'll try somewhere near hopefully soon to import texlive into prefix and give it some keywords for osx, solaris and what more I can find to harras with it.

Removing CC as I won't keyword any of these ppc-macos in the main tree.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2007-10-18 02:31:45 UTC
(In reply to comment #4)
> Created an attachment (id=133692) [edit]
> List of all needed packages
> 
> For Jer

Thanks! I wouldn't have dreamt =they were all simply versioned "2007". :)
Comment 9 Alexis Ballier gentoo-dev 2007-10-18 07:35:37 UTC
(In reply to comment #6)
>  Test it but don't start keywording yet.
 

yep, please wait until bug #196167 and bug #196246 are resolved to expose the ebuilds to wide usage.
Comment 10 Markus Rothe (RETIRED) gentoo-dev 2007-10-18 07:58:33 UTC
[this is paludis, so it might not be a problem with the ebuild/eclass at all]

I get this on ppc64, while compiling dev-texlive/texlive-latex-2007:

>>> Starting src_compile
 * Building format texmf/fmtutil/format.latex.cnf
fmtutil: format directory `/var/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var/web2c' does not exist.
!!! ERROR in dev-texlive/texlive-latex-2007:
!!! In texlive-module_src_compile at line 1171

$ ls /var/tmp/paludis/dev-texlive/texlive-latex-2007/work/
texmf  texmf-dist

The error seems to come from the texlive-module.eclass. I don't want to look too deep in there, unless someone using portage can confirm this. Can someone using portage confirm this?
Comment 11 Alexis Ballier gentoo-dev 2007-10-18 09:18:43 UTC
(In reply to comment #10)
> [this is paludis, so it might not be a problem with the ebuild/eclass at all]
> 
> I get this on ppc64, while compiling dev-texlive/texlive-latex-2007:
> 
> >>> Starting src_compile
>  * Building format texmf/fmtutil/format.latex.cnf
> fmtutil: format directory
> `/var/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var/web2c' does not
> exist.

fmtutil (installed by texlive-core) does this:


  test -d "$destdir" || mktexdir "$destdir" >/dev/null 2>&1
  test -d "$destdir" || abort "format directory \`$destdir' does not exist"

where destdir is set to ${S}/texmf-var/web2c

and where mktexdir is at:
/usr/share/texmf/web2c/mktexdir
also installed by texlive-core

it seems mktexdir didn't do its job correctly, could you check if it's working fine ? It should be the same as mkdir -p afaik
Comment 12 Alexis Ballier gentoo-dev 2007-10-19 19:58:04 UTC
I've tried to install texlive with paludis and it's fine here, I've no error because it cannot create the directory. I couldn't install texlive-latexextra with paludis 0.24.6 though, but it's apparently a know issue fixed in trunk.

Could you please check who owns /var/tmp/paludis/cat/package/work when it fails ?
Here it is paludisbuild:paludisbuild
perhaps it cannot create the directory in src_compile just because it does not have the rights to...
Comment 13 Markus Rothe (RETIRED) gentoo-dev 2007-10-20 08:58:34 UTC
Thanks for help, the directory has had the correct ownership and rights.

To solve this problem I synced, recompiled texlive-core and now dev-texlive/texlive-latex-2007 compiles. I'll leave a comment when the other packages finished (or don't finish) compiling.
Comment 14 Alexis Ballier gentoo-dev 2007-10-21 11:35:38 UTC
ok, so now all bugs that I wanted to fix are fixed.
make sure you've read : http://overlays.gentoo.org/dev/aballier/browser/switching-to-texlive-2007/Howto

I've updated it a bit (and btw any additions to this are welcome, I plan to make it a real doc someday)

If you had been using it already, I'd suggest you remove it, follow the howto and use the meta-ebuild (app-text/texlive)

I'd also suggest to wait a few days, doing some random tests, before keywording, so that we'll be sure that the things are well settled.
Comment 15 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-22 08:28:01 UTC
Created attachment 134102 [details]
updated list of packages

texlive-core is available in a newer revision
Comment 16 Mirko Briemle 2007-10-23 02:40:49 UTC
(In reply to comment #12)
> I've tried to install texlive with paludis and it's fine here, I've no error
> because it cannot create the directory. I couldn't install texlive-latexextra
> with paludis 0.24.6 though, but it's apparently a know issue fixed in trunk.
> 
> Could you please check who owns /var/tmp/paludis/cat/package/work when it fails
> ?
> Here it is paludisbuild:paludisbuild
> perhaps it cannot create the directory in src_compile just because it does not
> have the rights to...
> 

I experience the same problem as Markus Rothe. This appears:

>>> Starting src_compile
 * Building format texmf/fmtutil/format.latex.cnf
fmtutil: format directory `/mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var/web2c' does not exist.

!!! ERROR in dev-texlive/texlive-latex-2007:
!!! In texlive-module_src_compile at line 1198
!!! failed to build format texmf/fmtutil/format.latex.cnf

(FYI: I moved my tmp directory from /var to /mnt/data. )

I recognized that the /mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var/ is not created, which is why I think it stops compiling. /mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work is available. I synced portage and have the app-text/texlive-core-2007-r2 installed. Also, the /mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work is owned by paludisbuild:paludisbuild. Any suggestions?
Comment 17 Markus Rothe (RETIRED) gentoo-dev 2007-10-23 05:56:41 UTC
(In reply to comment #16)
> I experience the same problem as Markus Rothe. This appears:

could you try recompiling texlive-core? That fixed the problem for me.
Comment 18 Ferris McCormick (RETIRED) gentoo-dev 2007-10-23 16:53:24 UTC
On sparc, so far I've built texlive-core and texlive-basic (in a paludis chroot) and will be building the whole thing in the next few days.  For bookkeeping purposes, I'll note that given -core + -basic, tex & friends are robust enough to generate .ps files from plain .tex documents.  I  won't be able to do testing in depth until I have latex (latex3?) and xetex + lots of TTF fonts installed, but so far it looks very clean.

As an aside, I notice that to date, nothing is keyworded anything.  I suppose this is intentional?
Comment 19 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-24 06:13:59 UTC
(In reply to comment #18)
> As an aside, I notice that to date, nothing is keyworded anything.  I suppose
> this is intentional?

 I am still testing on x86, but found no show stoppers.  It did some fairly complex LaTeX jobs for me to PS and PDF, so I likely will start keywording tomorrow.
Comment 20 Alexis Ballier gentoo-dev 2007-10-24 06:14:25 UTC
(In reply to comment #18)
> On sparc, so far I've built texlive-core and texlive-basic (in a paludis
> chroot) and will be building the whole thing in the next few days.  For
> bookkeeping purposes, I'll note that given -core + -basic, tex & friends are
> robust enough to generate .ps files from plain .tex documents.  I  won't be
> able to do testing in depth until I have latex (latex3?) and xetex + lots of
> TTF fonts installed, but so far it looks very clean.

for a very basic latex compiler, you need dev-texlive/texlive-latex; if you want to be able to compile most of latex documents, you'll probably wish to install texlive-latexrecommended also.
latex3 is a project to improve latex, see http://www.latex-project.org/latex3.html

> As an aside, I notice that to date, nothing is keyworded anything.  I suppose
> this is intentional?

yes it is, a tex distribution is very complex, so the more tests the better.
I've tried to strip anything that could be installed by other ways from texlive-core, while depending on them from the texlive meta ebuild to match upstream packaging.
Comment 21 Ferris McCormick (RETIRED) gentoo-dev 2007-10-24 11:50:07 UTC
After ~sparc-ing a couple stray packages, 'emerge texlive' installs cleanly on sparc; active USE flags for this install:
USE='X cyrillic doc graphics humanities music linguas_en png pstricks science xetex xml'

Also, I have installed individually any texlive-XX packages which seemed to make sense.

As an aside, I'll note that xdvipdfmx-0.3 cannot handle many of the ttf fonts (it Seg faults); this would be a great time for xetex someplace to get an
RDEPEND=">xdvipdfmx-0.3" if it already doesn't (if it does, I can't find it).
(Cf. Comment #6 at Bug #191815).

I'll follow Christian's lead on keywording.
Comment 22 Mirko Briemle 2007-10-24 14:22:10 UTC
I tried to install texlive another three times. I am currently running a another trail, but I always ran into this Error:

`/mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var/web2c'
does not exist.

!!! ERROR in dev-texlive/texlive-latex-2007:
!!! In texlive-module_src_compile at line 1198
!!! failed to build format texmf/fmtutil/format.latex.cnf

paludis --info gives me this:

calvin dev-texlive # paludis --info
paludis 0.24.6

Built by paludisbuild@calvin on 2007-08-25T16:25:03-0400
CXX:         powerpc-unknown-linux-gnu-g++ 4.1.1 (Gentoo 4.1.1-r3)
CXXFLAGS:    -O2 -mcpu=G3 -mtune=G3 -fno-strict-aliasing -pipe
LDFLAGS:     
DATADIR:     /usr/share
LIBDIR:      /usr/lib
LIBEXECDIR:  /usr/libexec
SYSCONFDIR:  /etc
stdlib:      GNU libstdc++ 20060524
libebt:      1.3.0
libwrapiter: 1.0.0
sandbox:     enabled

[...]

    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       3.2_p17
        dev-java/java-config:  1.3.7, 2.0.33-r1
        dev-lang/python:       2.4.4-r5
        dev-python/pycrypto:   2.0.1-r6
        dev-util/ccache:       (none)
        dev-util/confcache:    (none)
        sys-apps/baselayout:   1.12.9-r2
        sys-apps/sandbox:      1.2.17
        sys-devel/autoconf:    2.13, 2.61-r1
        sys-devel/automake:    1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
        sys-devel/binutils:    2.18-r1
        sys-devel/gcc-config:  1.3.14, 1.3.16
        sys-devel/libtool:     1.5.24
        virtual/os-headers:    2.6.21

    Variable information:
        ACCEPT_KEYWORDS:       
        CBUILD:                powerpc-unknown-linux-gnu
        CFLAGS:                -Os -mcpu=G3 -mtune=G3 -fno-strict-aliasing -pipe
        CHOST:                 powerpc-unknown-linux-gnu
        CONFIG_PROTECT:         
        CONFIG_PROTECT_MASK:    
        CTARGET:               
        CXXFLAGS:              -Os -mcpu=G3 -mtune=G3 -fno-strict-aliasing -pipe
        DISTDIR:               /usr/portage/distfiles
        FEATURES:              
        GENTOO_MIRRORS:        
        INSTALL_MASK:          
        LANG:                  
        LC_ALL:                
        LDFLAGS:               
        LINGUAS:               
        MAKEOPTS:              -j2
        PORTAGE_COMPRESS:      
        PORTAGE_COMPRESS_FLAGS: 
        PORTAGE_RSYNC_EXTRA_OPTS: 
        PORTAGE_RSYNC_OPTS:    
        PORTAGE_TMPDIR:        /mnt/data/tmp/paludis
        PORTDIR:               /usr/portage
        PORTDIR_OVERLAY:       /usr/local/portage
        SYNC:                  
        USE:                   
[...]


Can anybody help me out on how to get texlive running?
Comment 23 Alexis Ballier gentoo-dev 2007-10-24 14:28:12 UTC
(In reply to comment #21)

> As an aside, I'll note that xdvipdfmx-0.3 cannot handle many of the ttf fonts
> (it Seg faults); this would be a great time for xetex someplace to get an
> RDEPEND=">xdvipdfmx-0.3" if it already doesn't (if it does, I can't find it).
> (Cf. Comment #6 at Bug #191815).

I had fixed xdvipdfmx and put a dep on it from app-text/texlive; cannot do much more, perhaps adding it from the dev-texlive/texlive-xetex ebuild but not from texlive-core which provides the xetex binary since xdvipdfmx needs libkpathsea





@Mirko: please see comment #11 ; if it is ok, please attach the full paludis output & build log of a failure; thanks.
Comment 24 Mirko Briemle 2007-10-24 15:26:17 UTC
calvin dev-texlive # test -d "$destdir" || mktexdir "$destdir" >/dev/null 2>&1
calvin dev-texlive # test -d "$destdir" || abort "format directory \`$destdir' does not exist"
bash: abort: command not found
calvin dev-texlive # test -d "$destdir" || abort "format directory \`$destdir' does not exist"
bash: abort: command not found
calvin dev-texlive # test -d "$destdir" || abort "format directory \'$destdir' does not exist"
bash: abort: command not found
calvin dev-texlive # test -d "$destdir" || mktexdir "/mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var/web2c" >/dev/null 2>&1
calvin dev-texlive # test -d "/mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var/web2c" || mktexdir "/mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var/web2c" >/dev/null 2>&1
calvin dev-texlive # test -d "/mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var/web2c" || abort "format directory \`/mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var/web2c' does not exist"
bash: abort: command not found

calvin dev-texlive # ls -la /usr/share/texmf/web2c/mktex
mktex.cnf     mktexdir      mktexnam      mktexupd      
mktex.opt     mktexdir.opt  mktexnam.opt  


calvin dev-texlive # paludis --info               
paludis 0.24.6

Built by paludisbuild@calvin on 2007-08-25T16:25:03-0400
CXX:         powerpc-unknown-linux-gnu-g++ 4.1.1 (Gentoo 4.1.1-r3)
CXXFLAGS:    -O2 -mcpu=G3 -mtune=G3 -fno-strict-aliasing -pipe
LDFLAGS:     
DATADIR:     /usr/share
LIBDIR:      /usr/lib
LIBEXECDIR:  /usr/libexec
SYSCONFDIR:  /etc
stdlib:      GNU libstdc++ 20060524
libebt:      1.3.0
libwrapiter: 1.0.0
sandbox:     enabled

Repository virtuals:
    Configuration information:
        format:                virtuals

Repository installed_virtuals:
    Configuration information:
        format:                installed_virtuals

Repository gentoo:
    Configuration information:
        buildroot:             /mnt/data/tmp/paludis
        cache:                 /usr/portage/metadata/cache
        distdir:               /usr/portage/distfiles
        eclassdirs:            /usr/portage/eclass
        format:                ebuild
        location:              /usr/portage
        names_cache:           /usr/portage/.cache/names
        newsdir:               /usr/portage/metadata/news
        pkgdir:                /usr/portage/packages
        profiles:              /usr/portage/profiles/default-linux/ppc/ppc32/2007.0
        securitydir:           /usr/portage/metadata/glsa
        setsdir:               /usr/portage/sets
        sync:                  rsync://rsync.us.gentoo.org/gentoo-portage
        sync_options:          
        write_cache:           /var/cache/paludis/metadata

    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       3.2_p17
        dev-java/java-config:  1.3.7, 2.0.33-r1
        dev-lang/python:       2.4.4-r5
        dev-python/pycrypto:   2.0.1-r6
        dev-util/ccache:       (none)
        dev-util/confcache:    (none)
        sys-apps/baselayout:   1.12.9-r2
        sys-apps/sandbox:      1.2.17
        sys-devel/autoconf:    2.13, 2.61-r1
        sys-devel/automake:    1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
        sys-devel/binutils:    2.18-r1
        sys-devel/gcc-config:  1.3.14, 1.3.16
        sys-devel/libtool:     1.5.24
        virtual/os-headers:    2.6.21

    Variable information:
        ACCEPT_KEYWORDS:       
        CBUILD:                powerpc-unknown-linux-gnu
        CFLAGS:                -Os -mcpu=G3 -mtune=G3 -fno-strict-aliasing -pipe
        CHOST:                 powerpc-unknown-linux-gnu
        CONFIG_PROTECT:         
        CONFIG_PROTECT_MASK:    
        CTARGET:               
        CXXFLAGS:              -Os -mcpu=G3 -mtune=G3 -fno-strict-aliasing -pipe
        DISTDIR:               /usr/portage/distfiles
        FEATURES:              
        GENTOO_MIRRORS:        
        INSTALL_MASK:          
        LANG:                  
        LC_ALL:                
        LDFLAGS:               
        LINGUAS:               
        MAKEOPTS:              -j2
        PORTAGE_COMPRESS:      
        PORTAGE_COMPRESS_FLAGS: 
        PORTAGE_RSYNC_EXTRA_OPTS: 
        PORTAGE_RSYNC_OPTS:    
        PORTAGE_TMPDIR:        /mnt/data/tmp/paludis
        PORTDIR:               /usr/portage
        PORTDIR_OVERLAY:       /usr/local/portage
        SYNC:                  
        USE:                   

Repository installed:
    Configuration information:
        buildroot:             /var/tmp/paludis
        format:                vdb
        location:              /var/db/pkg
        names_cache:           /var/db/pkg/.cache/names
        provides_cache:        /var/db/pkg/.cache/provides
        root:                  /
        world:                 /var/db/pkg/world

Repository gentoo_local:
    Configuration information:
        buildroot:             /mnt/data/tmp/paludis
        cache:                 /var/empty
        distdir:               /usr/portage/distfiles
        eclassdirs:            /usr/portage/eclass /usr/local/portage/eclass
        format:                ebuild
        location:              /usr/local/portage
        master_repository:     gentoo
        names_cache:           /usr/local/portage/.cache/names
        newsdir:               /usr/local/portage/metadata/news
        pkgdir:                /usr/portage/packages
        profiles:              /usr/portage/profiles/default-linux/ppc/ppc32/2007.0
        securitydir:           /usr/local/portage/metadata/glsa
        setsdir:               /usr/local/portage/sets
        sync:                  
        sync_options:          
        write_cache:           /var/cache/paludis/metadata




(1 of 33) Installing dev-texlive/texlive-latex-2007::gentoo

>>> Running ebuild phase fetch as paludisbuild:paludisbuild...
>>> Starting builtin_fetch

[...]

>>> Unpacking texlive-module-collection-latex-2007.zip to /mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work
unzip -qo /usr/portage/distfiles/texlive-module-collection-latex-2007.zip
>>> Done src_unpack
>>> Starting src_compile
 * Building format texmf/fmtutil/format.latex.cnf
fmtutil: format directory `/mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var/web2c' does not exist.

!!! ERROR in dev-texlive/texlive-latex-2007:
!!! In texlive-module_src_compile at line 1195
!!! failed to build format texmf/fmtutil/format.latex.cnf

!!! Call stack:
!!!    * texlive-module_src_compile (/mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/temp/loadsaveenv:1195)
!!!    * src_compile (/mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/temp/loadsaveenv:1127)
!!!    * ebuild_f_compile (/usr/libexec/paludis/src_compile.bash:51)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:363)
!!!    * main (/usr/libexec/paludis/ebuild.bash:381)

die trap: exiting with error.

Install error:
  * In program paludis -i texlive:
  * When performing install action from command line:
  * When executing install task:
  * When installing 'dev-texlive/texlive-latex-2007':
  * Install error: Install failed for 'dev-texlive/texlive-latex-2007::gentoo'

Comment 25 Ferris McCormick (RETIRED) gentoo-dev 2007-10-24 15:49:22 UTC
Comment 23:  You already have exactly what I was suggesting you do if it hadn't already been there.  I just hadn't noticed it.

Comment 21,24:  On sparc, I should have said 'paludis -i texlive' instead of 'emerge texlive' because I an playing with texlive in a paludis chroot.  That said, when I did the big 'paludis -i texlive' I had already done by hand:
paludis -i texlive-latex texlive-latex3 texlive-latexrecommended
with no problems.

I note, however, that for texlive-latexextra, 
paludis -i texlive-latexextra
gives:
=================================
 * When running command 'sandbox /usr/libexec/paludis/ebuild.bash '/var/paludis/repositories/gentoo/dev-texlive/texlive-latexextra/texlive-latexextra-2007.ebuild' fetch':
  * execl /bin/sh -c 'sandbox /usr/libexec/paludis/ebuild.bash '/var/paludis/repositories/gentoo/dev-texlive/texlive-latexextra/texlive-latexextra-2007.ebuild' fetch' failed:Argument list too long (paludis::RunCommandError)
=================================

I believe this comes from the huge TEXLIVE_MODULE_CONTENTS and is just a limitation in paludis which needs to be relaxed.

As for the problem in Comment 22, I am running the same paludis version as you are and don't see the problem.  Only difference I might guess is (given your directory structure) did you build paludis with USE=portage?
Here is what I see for 'paludis -i texlive-extra'
=====================
>>> Done src_unpack
>>> Starting src_compile
 * Building format texmf/fmtutil/format.latex.cnf
fmtutil: running `pdftex -ini   -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini' ...
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (INITEX)
 %&-line parsing enabled.
 (/usr/share/texmf/web2c/cp227.tcx)
entering extended mode
[...]
====================================
So I really can't guess, unless texlive does things in the wrong order, and I had already installed something texlive-latex needs by hand.
Comment 26 Alexis Ballier gentoo-dev 2007-10-24 17:02:48 UTC
(In reply to comment #24)
> calvin dev-texlive # test -d "$destdir" || mktexdir "$destdir" >/dev/null 2>&1
> calvin dev-texlive # test -d "$destdir" || abort "format directory \`$destdir'
> does not exist"
> bash: abort: command not found
> calvin dev-texlive # test -d "$destdir" || abort "format directory \`$destdir'
> does not exist"
> bash: abort: command not found
> calvin dev-texlive # test -d "$destdir" || abort "format directory \'$destdir'
> does not exist"
> bash: abort: command not found
> calvin dev-texlive # test -d "$destdir" || mktexdir
> "/mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var/web2c"
> >/dev/null 2>&1
> calvin dev-texlive # test -d
> "/mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var/web2c" ||
> mktexdir
> "/mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var/web2c"
> >/dev/null 2>&1
> calvin dev-texlive # test -d
> "/mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var/web2c" ||
> abort "format directory
> \`/mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var/web2c'
> does not exist"
> bash: abort: command not found

I dont understand those tests, $destir is probably empty in your env, mktexdir is probably not in your path. Perhaps removing the >/dev/null would help

btw, what's the output of : kpsewhich --format='web2c files' mktexdir`
it should point to the mktexdir script location.


for texlive-latexextra with paludis, see http://paludis.pioto.org/trac/ticket/84 

Comment 27 Mirko Briemle 2007-10-24 21:48:28 UTC
calvin dev-texlive # kpsewhich --format='web2c files' mktexdir 
/usr/share/texmf/web2c/mktexdir


calvin dev-texlive # test -d "$destdir" || mktexdir "$destdir" 2>&1
bash: mktexdir: command not found


Sorry, I don't understand these tests either. I hope the information above is helping though.
Comment 28 Mirko Briemle 2007-10-24 21:55:45 UTC
 * Building format texmf/fmtutil/format.latex.cnf
fmtutil: format directory `/mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var/web2c' does not exist.

and this 

calvin dev-texlive # ls -la /mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/
total 16
drwxr-xr-x 4 paludisbuild paludisbuild 4096 Oct 24 12:13 .
drwxr-xr-x 5 paludisbuild paludisbuild 4096 Oct 24 12:13 ..
drwxr-xr-x 7 paludisbuild paludisbuild 4096 Oct 24 12:13 texmf
drwxr-xr-x 9 paludisbuild paludisbuild 4096 Oct 24 12:13 texmf-dist


tell me that the directory /mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var

and 
/mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var/web2c

weren't created. This is what I understand. Maybe this was already obvious.I hope this helps though, because I don't know how to create those directories in this context.
Comment 29 Mirko Briemle 2007-10-24 21:59:45 UTC
It might also important to know that /usr/share/texmf/web2c/mktexdir is on a different partition than /mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var/web2c.
Comment 30 Mirko Briemle 2007-10-24 22:07:02 UTC
Creating a directory accross partitions seem to work. See below:

calvin dev-texlive # /usr/share/texmf/web2c/mktexdir /mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/texmf-var/web2c
calvin dev-texlive # ls -la /mnt/data/tmp/paludis/dev-texlive/texlive-latex-2007/work/
total 20
drwxr-xr-x 5 paludisbuild paludisbuild 4096 Oct 24 19:01 .
drwxr-xr-x 5 paludisbuild paludisbuild 4096 Oct 24 12:13 ..
drwxr-xr-x 7 paludisbuild paludisbuild 4096 Oct 24 12:13 texmf
drwxr-xr-x 9 paludisbuild paludisbuild 4096 Oct 24 12:13 texmf-dist
drwxr-xr-t 3 root         root         4096 Oct 24 19:02 texmf-var

I however cannot use mktexdir without the path (/usr/share/texmf/web2c/).
Comment 31 Ferris McCormick (RETIRED) gentoo-dev 2007-10-24 23:38:15 UTC
Very strange.  I know 'paludis -i texlive-latex' works fine; I've done it twice to verify.  I can think of two long shots:
1)  paludis believes something is installed which is not;
2)  You have an "artifact" lying around which is confusing things (I sometimes see similar messages, and the solution is 'rm -rf <whatever-is-giving-paludis-grief>'

You are reporting the same problem as in Comment 10 --- please look at Comment 13 and try that.  For good measure, I suppose you could
rm -rf /mnt/data/tmp/paludis/dev-texlive
but that shouldn't make any difference.  Comment 13 suggests you should reinstall texlive-core if you haven't tried that.  (I suppose what is going on with Comment 13 & the like is to keep rebuilding packages until whatever is confusing texlive-latex gets corrected.  From Comments 12 & 21 (with my emerge misprint read as paludis) we know what you are trying to do can be done.)
Comment 32 Mirko Briemle 2007-10-25 00:46:06 UTC
I recompiled texlive-core three times, so I doubt this is the problem/solution.
Comment 33 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-25 08:22:57 UTC
Created attachment 134302 [details]
package list for TeXLive

Changed order and added app-text/texlive itself, so you can actually use it to keyword without repoman bailing out in between.  sed it on your own needs for your scripts.
Comment 34 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-25 08:24:18 UTC
x86 done.  Thanks for all the work, Alexis, that was a huge effort.
Comment 35 Ferris McCormick (RETIRED) gentoo-dev 2007-10-25 11:48:46 UTC
(In reply to comment #32)
> I recompiled texlive-core three times, so I doubt this is the problem/solution.
> 

All I can suggest then is that you start over.  I did things in order something like this ---
paludis -i texlive-core
paludis -i texlive-basic
paludis -i psutils texlive-psutils sam2p texi2html
paludis -i texlive-texinfo t1utils dialog texlive-latex
paludis -i texlive-latexrecommended virtual/latex-base lcdf-typetools flex
(Then paludis -i texlive, I believe).
All of that installed with no problems at all.  All I can figure is that you have something misinstalled, and will have to get rid of it.
Comment 36 Ferris McCormick (RETIRED) gentoo-dev 2007-10-25 12:59:11 UTC
Sparc is ~sparc for everything --- thanks, Alexis.
Comment 37 Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-10-25 14:08:20 UTC
Created attachment 134342 [details]
texlive-latex - what fmtutil does

What is going on is that fmtutil has a function named mktexdir which calls "$MT_TEXMFMAIN/web2c/mktexdir" where $MT_TEXMFMAIN is "/var/lib/texmf". I don't think this has anything to do with paludis since I can reproduce with portage (but I didn't start all over with portage so I might be wrong).

I got the attached output by adding `set -x` at the top of /usr/bin/fmtutil and removing ">/dev/null 2>&1" on line 519. I wonder what the output would be for someone where this works correctly..
Comment 38 Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-10-25 14:41:20 UTC
ok. `kpsewhich --var-value=TEXMFMAIN` is supposed to report /usr/share/texmf. /etc/texmf/texmf.d/00texmf.cnf is an orphan from tetex which makes it report /var/lib/texmf instead. Removing that and running texmf-update fixes this. FEATURES=unmerge-orphans probably explains why noone using portage has reported this problem.
Comment 39 Raúl Porcel (RETIRED) gentoo-dev 2007-10-25 14:46:14 UTC
~alpha/~ia64 done
Comment 40 cruzki 2007-10-25 14:51:33 UTC
I use portage and have the same problem. The difference is that I modify that file in order to use mpm. I am now reinstalling texlive and see if this is the situation.
Comment 41 Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-10-25 15:09:21 UTC
(In reply to comment #40)
> I use portage and have the same problem. The difference is that I modify that
> file in order to use mpm. I am now reinstalling texlive and see if this is
> the situation.

FEATURES=unmerge-orphans removes CONFIG_PROTECT'ed files that haven't been modified by the user.

Comment 42 cruzki 2007-10-25 15:14:46 UTC
I remove that file and texlive-latex install cleanly.
Comment 43 Raúl Porcel (RETIRED) gentoo-dev 2007-10-25 15:16:30 UTC
Readding back alpha/ia64, 

=app-text/texlive-2007 has a lot of unkeyworded deps..working on it.
Comment 44 Markus Rothe (RETIRED) gentoo-dev 2007-10-25 16:38:07 UTC
added ~ppc64
Comment 45 Ferris McCormick (RETIRED) gentoo-dev 2007-10-25 17:23:15 UTC
Purely for bookkeeping, I'll note that all of texlive installs on amd64 (as a tetex replacement) and initial testing shows it to be good (for xelatex and some utf8 fonts, at least).
Comment 46 Mirko Briemle 2007-10-25 22:08:43 UTC
(In reply to comment #35)
> (In reply to comment #32)
> > I recompiled texlive-core three times, so I doubt this is the problem/solution.
> > 
> 
> All I can suggest then is that you start over.  I did things in order something
> like this ---
> paludis -i texlive-core
> paludis -i texlive-basic
> paludis -i psutils texlive-psutils sam2p texi2html
> paludis -i texlive-texinfo t1utils dialog texlive-latex
> paludis -i texlive-latexrecommended virtual/latex-base lcdf-typetools flex
> (Then paludis -i texlive, I believe).
> All of that installed with no problems at all.  All I can figure is that you
> have something misinstalled, and will have to get rid of it.
> 

Yippie! I finally made it further. The following command solved my original problem:

paludis -i texlive-core texlive-basic psutils texlive-psutils sam2p texi2html texlive-texinfo t1utils dialog texlive-latex texlive-latexrecommended virtual/latex-base lcdf-typetools flex texlive

Now, I encountered the following:

[...] * Don't know how to fetch 'ftp://ftp.oregonstate.edu/pub/gentoo/distfiles/texlive-module-collection-fontsextra-2007.zip'
/usr/libexec/paludis/builtin_fetch.bash: line 46: /usr/bin/tr: Argument list too long
/usr/libexec/paludis/builtin_fetch.bash: line 46: /usr/bin/tr: Argument list too long
/usr/libexec/paludis/builtin_fetch.bash: line 46: /usr/bin/tr: Argument list too long
 * Don't know how to fetch 'ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/texlive-module-collection-fontsextra-2007.zip'

 * Couldn't fetch the following components:
 *   * texlive-module-accfonts-2007.zip
 *   * texlive-module-ai-2007.zip
 *   * texlive-module-albertus-2007.zip
 *   * texlive-module-aleph-2007.zip
 *   * texlive-module-allrunes-2007.zip
 *   * texlive-module-antiqua-2007.zip
 *   * texlive-module-antt-2007.zip
 *   * texlive-module-apl-2007.zip
 *   * texlive-module-ar-2007.zip
 *   * texlive-module-archaic-2007.zip
 *   * texlive-module-arev-2007.zip
 *   * texlive-module-ascii-2007.zip
 *   * texlive-module-astro-2007.zip
 *   * texlive-module-atqolive-2007.zip
 *   * texlive-module-augie-2007.zip
 *   * texlive-module-aurical-2007.zip
 *   * texlive-module-barcode2-2007.zip
 *   * texlive-module-barcodes-2007.zip
 *   * texlive-module-bayer-2007.zip
 *   * texlive-module-bbding-2007.zip
 *   * texlive-module-bbm-2007.zip
 *   * texlive-module-bbold-2007.zip
 *   * texlive-module-belleek-2007.zip
 *   * texlive-module-bera-2007.zip
 *   * texlive-module-blacklettert1-2007.zip
 *   * texlive-module-bookhands-2007.zip
 *   * texlive-module-braille-2007.zip
 *   * texlive-module-brushscr-2007.zip
 *   * texlive-module-calligra-2007.zip
 *   * texlive-module-cherokee-2007.zip
 *   * texlive-module-cirth-2007.zip
 *   * texlive-module-clarendo-2007.zip
 *   * texlive-module-cm-lgc-2007.zip
 *   * texlive-module-cm-super-2007.zip
 *   * texlive-module-cmastro-2007.zip
 *   * texlive-module-cmbright-2007.zip
 *   * texlive-module-cmll-2007.zip
 *   * texlive-module-cmpica-2007.zip
 *   * texlive-module-coronet-2007.zip
 *   * texlive-module-courier-scaled-2007.zip
 *   * texlive-module-cryst-2007.zip
 *   * texlive-module-dancers-2007.zip
 *   * texlive-module-dice-2007.zip
 *   * texlive-module-dictsym-2007.zip
 *   * texlive-module-dingbat-2007.zip
 *   * texlive-module-doublestroke-2007.zip
 *   * texlive-module-duerer-2007.zip
 *   * texlive-module-ean-2007.zip
 *   * texlive-module-ecc-2007.zip
 *   * texlive-module-eco-2007.zip
 *   * texlive-module-eiad-2007.zip
 *   * texlive-module-elvish-2007.zip
 *   * texlive-module-epsdice-2007.zip
 *   * texlive-module-esvect-2007.zip
 *   * texlive-module-eulervm-2007.zip
 *   * texlive-module-euxm-2007.zip
 *   * texlive-module-feyn-2007.zip
 *   * texlive-module-foekfont-2007.zip
 *   * texlive-module-fourier-2007.zip
 *   * texlive-module-frcursive-2007.zip
 *   * texlive-module-futhark-2007.zip
 *   * texlive-module-garamond-2007.zip
 *   * texlive-module-genealogy-2007.zip
 *   * texlive-module-gothic-2007.zip
 *   * texlive-module-greenpoint-2007.zip
 *   * texlive-module-groff-2007.zip
 *   * texlive-module-grotesq-2007.zip
 *   * texlive-module-hands-2007.zip
 *   * texlive-module-hfbright-2007.zip
 *   * texlive-module-hfoldsty-2007.zip
 *   * texlive-module-hieroglf-2007.zip
 *   * texlive-module-ifsym-2007.zip
 *   * texlive-module-iwona-2007.zip
 *   * texlive-module-kixfont-2007.zip
 *   * texlive-module-knuthotherfonts-2007.zip
 *   * texlive-module-lettrgth-2007.zip
 *   * texlive-module-lfb-2007.zip
 *   * texlive-module-linearA-2007.zip
 *   * texlive-module-logic-2007.zip
 *   * texlive-module-ly1-2007.zip
 *   * texlive-module-marigold-2007.zip
 *   * texlive-module-mathdesign-2007.zip
 *   * texlive-module-morse-2007.zip
 *   * texlive-module-nkarta-2007.zip
 *   * texlive-module-oca-2007.zip
 *   * texlive-module-ocherokee-2007.zip
 *   * texlive-module-ocr-a-2007.zip
 *   * texlive-module-oesch-2007.zip
 *   * texlive-module-ogham-2007.zip
 *   * texlive-module-oinuit-2007.zip
 *   * texlive-module-optima-2007.zip
 *   * texlive-module-osmanian-2007.zip
 *   * texlive-module-pacioli-2007.zip
 *   * texlive-module-pclnfss-2007.zip
 *   * texlive-module-phaistos-2007.zip
 *   * texlive-module-phonetic-2007.zip
 *   * texlive-module-psafm-2007.zip
 *   * texlive-module-punk-2007.zip
 *   * texlive-module-sauter-2007.zip
 *   * texlive-module-sauterfonts-2007.zip
 *   * texlive-module-semaphor-2007.zip
 *   * texlive-module-simpsons-2007.zip
 *   * texlive-module-skull-2007.zip
 *   * texlive-module-tapir-2007.zip
 *   * texlive-module-tengwarscript-2007.zip
 *   * texlive-module-tpslifonts-2007.zip
 *   * texlive-module-trajan-2007.zip
 *   * texlive-module-umrand-2007.zip
 *   * texlive-module-univers-2007.zip
 *   * texlive-module-universa-2007.zip
 *   * texlive-module-wsuipa-2007.zip
 *   * texlive-module-yfonts-2007.zip
 *   * texlive-module-zefonts-2007.zip
 *   * texlive-module-collection-fontsextra-2007.zip


!!! ERROR in dev-texlive/texlive-fontsextra-2007:
!!! In builtin_fetch at line 76
!!! builtin_fetch failed

!!! Call stack:
!!!    * builtin_fetch (/usr/libexec/paludis/builtin_fetch.bash:76)
!!!    * ebuild_f_fetch (/usr/libexec/paludis/builtin_fetch.bash:130)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:363)
!!!    * main (/usr/libexec/paludis/ebuild.bash:381)

die trap: exiting with error.

Fetch error:
  * In program paludis -i texlive-core texlive-basic psutils texlive-psutils sam2p texi2html texlive-texinfo t1utils dialog texlive-latex texlive-latexrecommended virtual/latex-base lcdf-typetools flex texlive:
  * When performing install action from command line:
  * When executing install task:
  * When installing 'dev-texlive/texlive-fontsextra-2007':
  * Fetch error: Fetch failed for 'dev-texlive/texlive-fontsextra-2007::gentoo'


Resume command: paludis --log-level qa --dl-deps-defaul[...]


Does anybody know why this occurs?
Comment 47 Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-10-25 22:36:18 UTC
(In reply to comment #46)
> /usr/libexec/paludis/builtin_fetch.bash: line 46: /usr/bin/tr: Argument list
> too long

This is a bug in paludis which is fixed in versions >= 0.25.
Comment 48 Dustin Polke 2007-10-26 08:59:42 UTC
I switched yesterday from tetex to TeX live after it was ~x86 keyworded. Transition went quite smooth. All packages compiled fine, but I had no time yet to test it by compiling some of my LaTeX files. I will do this maybe later today and post here if there are regressions.

I'd like to mention that TeX live file collides with cjk-latex. I removed cjk-latex from my system and all packages installed fine. Therefore, I suggest to make TeX live block cjk-latex to prevent collision.

However, with uninstalling cjk-latex, it is not possible to have app-office/grisbi installed with USE=cjk as this requires >=dev-tex/latex-unicode-20041017 depending at the moment on cjk-latex.

Maybe someone can check whether it is possible to make latex-unicode DEPEND || (dev-texlive/texlive-latex dev-tex/cjk-latex)?

----
Installed texlive with USE="X extra graphics linguas_ar linguas_de linguas_el linguas_en linguas_es linguas_fr music png pstricks science xml"

Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 i686)
=================================================================
System uname: 2.6.22-gentoo-r8 i686 mobile AMD Athlon(tm) XP 1500+
Timestamp of tree: Fri, 26 Oct 2007 07:20:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -m3dnow -msse -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/sbin/run-crons /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -m3dnow -msse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gentoo.inode.at/source/"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/home/ftp/binpkg/"
PORTAGE_COMPRESS=""
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/pda /usr/local/portage/layman/webapps-experimental /usr/local/portage/layman/science /usr/local/portage/modified /usr/local/portage/own"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac aalib accessibility acpi alsa amr amrnb amrr amrwb apache2 apm asf async audacious audiofile bash-completion bindist bl branding bzip2 cardbus cjk cli cpudetection cracklib crypt ctype cups dbus dga divx dri dvd dvdread eds encode evo exif expat extensions fam fbcon ffmpeg flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gedit gif gimp gimpprint glibc-omitfp gmedia gs gsm gtk gtkhtml guile hal hddtemp icq idn imagemagick imap imlib iproute2 jack java javascript jikes jpeg jpeg2k kerberos lcms ldap libcaca libwww live lm_sensors logrotate lzo mad madwifi memlimit midi mikmod mime mmx mmxext mng motif mp2 mp3 mp4 mpeg musepack mysql ncurses nls nntp nptl nptlonly nsplugin ogg opengl pam pam_console pam_timestamp pch pcmcia pcre pda pdf perl php plotutils png posix postgres ppds print python qt3support qt4 quicktime readline real realmedia ruby rubytests samba sasl sdl server session simplexml slang sndfile soap sockets speex spell spl sse ssl suhosin svg svga swat syslog tcpd test tetex tga theora tiff truetype unicode usb userlocales vcd vidix vim-syntax vim-with-x vorbis wifi win32codecs winbind wma wmf wmp x264 x86 xanim xine xinetd xml xorg xpm xsl xulrunner xv xvid xvmc zlib" ALSA_CARDS="via82xx via82xx-modem mpu401" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="fuji" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="savage"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS_FLAGS
Comment 49 Dustin Polke 2007-10-26 10:19:35 UTC
I tested to compile a powerdot presentation and lat ex compilation and ps conversion went fine. Conversion with ps2pdf give a pdf with wrong paper size. File should fit screen width but paper width is screen height.

Any ideas?
Comment 50 Dustin Polke 2007-10-26 10:20:25 UTC
I tested to compile a powerdot presentation and latex compilation and ps conversion went fine. Conversion with ps2pdf give a pdf with wrong paper size. File should fit screen width but paper width is screen height.

Any ideas?
Comment 51 Dustin Polke 2007-10-26 11:36:44 UTC
(In reply to comment #50)
> I tested to compile a powerdot presentation and latex compilation and ps
> conversion went fine. Conversion with ps2pdf give a pdf with wrong paper size.
> File should fit screen width but paper width is screen height.
> 
> Any ideas?
> 

I found at http://tug.org/texlive/bugs.html that there is a bug in the config.ps file. At same URL a new config.ps is provided. With that it compiles fine.

Could you please include this new config.ps? Thanks.
Comment 52 Mirko Briemle 2007-10-26 18:30:51 UTC
Looks good on ppc.

* app-text/texlive-2007 {:0} [R] X -cjk -context -cyrillic -doc extra -games graphics humanities -music -omega png -pstricks publishers -science -xetex xml linguas: -af -ar -bg -bn -cs -cy -da de -el en -en_GB -eo -es -et -fi -fr -he -hi -hr -hsb -hy -id -is -it -ja -ko -la -ml -mn -nl -no -pl -pt -ro -ru -sk -sl -sr -sv -ta -th -tr -uk -vi -zh


How can I get the biblatex package? Is it included anywhere?
Comment 53 Ferris McCormick (RETIRED) gentoo-dev 2007-10-26 19:31:03 UTC
Everything marked ~amd64.  Amd64 done, but I am leaving the CC for an amd64 developer.
Comment 54 Raúl Porcel (RETIRED) gentoo-dev 2007-10-27 10:04:35 UTC
~alpha/~ia64 done
Comment 55 Alexis Ballier gentoo-dev 2007-10-28 18:27:46 UTC
(In reply to comment #51)
> I found at http://tug.org/texlive/bugs.html that there is a bug in the
> config.ps file. At same URL a new config.ps is provided. With that it compiles
> fine.
> 
> Could you please include this new config.ps? Thanks.

thanks for the report it's now included.


For those who are still here, I've written a small guide for texlive 2007:
so far it is at http://dev.gentoo.org/~aballier/migrationhowto.xml and it could benefit from any review
Comment 56 Matija "hook" Šuklje 2007-10-28 20:30:04 UTC
Can hardly wait for TeX Live to become amd64 stable :]

Just to make sure, and really terribly sorry if this is slightly off topic: does this mean that when I switch to TeX Live, Kile will still work normally?
Comment 57 Ferris McCormick (RETIRED) gentoo-dev 2007-10-29 16:25:37 UTC
(In reply to comment #55)
> (In reply to comment #51)
> > I found at http://tug.org/texlive/bugs.html that there is a bug in the
> > config.ps file. At same URL a new config.ps is provided. With that it compiles
> > fine.
> > 
> > Could you please include this new config.ps? Thanks.
> 
> thanks for the report it's now included.
> 
> 
> For those who are still here, I've written a small guide for texlive 2007:
> so far it is at http://dev.gentoo.org/~aballier/migrationhowto.xml and it could
> benefit from any review
> 

I just did am amd64 install on top of xetex-3.0_p1-r4+xelatex using the migrationhowto instructions.  Everything went without any problems.
Comment 58 hiyuh 2007-10-31 13:27:40 UTC
METOO(tm) on ~ppc.

app-text/texlive-2007  USE="cjk -X -context -cyrillic -doc -extra -games -graphics -humanities -music -omega -png -pstricks -publishers -science -xetex -xml" LINGUAS="ja -af -ar -bg -bn -cs -cy -da -de -el -en -en_GB -eo -es -et -fi -fr -he -hi -hr -hsb -hy -id -is -it -ko -la -ml -mn -nl -no -pl -pt -ro -ru -sk -sl -sr -sv -ta -th -tr -uk -vi -zh" 0 kB 

(In reply to comment #52)
> Looks good on ppc.
> 
> * app-text/texlive-2007 {:0} [R] X -cjk -context -cyrillic -doc extra -games
> graphics humanities -music -omega png -pstricks publishers -science -xetex xml
> linguas: -af -ar -bg -bn -cs -cy -da de -el en -en_GB -eo -es -et -fi -fr -he
> -hi -hr -hsb -hy -id -is -it -ja -ko -la -ml -mn -nl -no -pl -pt -ro -ru -sk
> -sl -sr -sv -ta -th -tr -uk -vi -zh

<SNIP>
Comment 59 Ferris McCormick (RETIRED) gentoo-dev 2007-11-01 13:57:15 UTC
sparc installs cleanly over an existing tetex/xetex installation.  For this, I followed the Comment 55 migrationhowto exactly as a test.
Comment 60 Ferris McCormick (RETIRED) gentoo-dev 2007-11-01 17:26:36 UTC
I notice that after a complete install, /var/lib/texmf/web2c/xetex/xetex.fmt is installed, but /var/lib/texmf/web2c/xetex/xelatex.fmt is not.  However,
/usr/share/texmf-dist/tex/latex/latexconfig/xelatex.ini is present, and on first use of xelatex, xelatex.fmt is built and installed in the local ~/.texmf-var/web2c/xetex directory.  This works fine, but seems incorrect, because (I suspect) xelatex is more commonly used than xetex.  I wonder why xelatex.ini after xelatex.ini is installed, texlive installation does not go ahead and build the .fmt file?
Comment 61 Alexis Ballier gentoo-dev 2007-11-01 17:45:07 UTC
(In reply to comment #60)
> I notice that after a complete install, /var/lib/texmf/web2c/xetex/xetex.fmt is
> installed, but /var/lib/texmf/web2c/xetex/xelatex.fmt is not.  However,
> /usr/share/texmf-dist/tex/latex/latexconfig/xelatex.ini is present, and on
> first use of xelatex, xelatex.fmt is built and installed in the local
> ~/.texmf-var/web2c/xetex directory.  This works fine, but seems incorrect,
> because (I suspect) xelatex is more commonly used than xetex.  I wonder why
> xelatex.ini after xelatex.ini is installed, texlive installation does not go
> ahead and build the .fmt file?

hmm you're right it's incorrect. The problem is: I've had issues splitting up everything, so I ended up putting the core texmf packages in texlive-core's ebuild (see TEXLIVE_BASICBIN_CONTENTS & friends on the top of the ebuild). That means, unfortunately that some formats (the ones installed by texlive-core) are still out of the scope of the package manager, because we cannot easily build the formats while/after building the core binaries. Thus, the formats are left to be handled by texmf-update.
I might try again to split the core texmf packages, because at the moment I dont remember the issues I encountered, and try to address them; this would be better and ensure the formats are built at install time. Any help/ideas/warnings/etc is more than welcome on that side.

Anyway, with the current configuration, texmf-update should build it anyway.
Could you give me the output of fmtutil-sys --all ? (or --missing since the format is probably missing for him)
Comment 62 Ferris McCormick (RETIRED) gentoo-dev 2007-11-01 18:47:09 UTC
Output is huge, but in relevant part:
==================
fmtutil: //var/lib/texmf/web2c/xetex/xetex.fmt installed.
fmtutil: running `xetex -ini   -jobname=xelatex -progname=xelatex -etex xelatex.ini' ...
This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6) (INITEX)
 ....
Transcript written on xelatex.log.
fmtutil: //var/lib/texmf/web2c/xetex/xelatex.fmt installed.
fmtutil: running `pdftex -ini   -jobname=xmltex -progname=xmltex &latex xmltex.ini' ...
===================
So yes, that installs it (I had already used fmtutil to put it where it belonged).

This is not a big deal, because xelatex is always going to work.  (And if you are not building with USE=xetex, you probably don't want xelatex.fmt).
Comment 63 Ferris McCormick (RETIRED) gentoo-dev 2007-11-01 19:09:50 UTC
Here's a clue:
If I install something new, say, texlive-omega, I end up with a /var/lib/texmf/web2c/xetex directory looking like this:
=======================
xetex:
total 11156
   4 drwxr-xr-x  2 root root    4096 2007-11-01 18:52 ./
   4 drwxr-xr-x 11 root root    4096 2007-11-01 18:52 ../
7188 -rw-r--r--  1 root root 7347926 2007-11-01 18:52 cont-en.fmt
  68 -rw-r--r--  1 root root   62890 2007-11-01 18:52 cont-en.log
2304 -rw-r--r--  1 root root 2352276 2007-11-01 18:39 xelatex.fmt
  12 -rw-r--r--  1 root root   11827 2007-11-01 18:39 xelatex.log
1572 -rw-r--r--  1 root root 1601938 2007-11-01 18:52 xetex.fmt
   4 -rw-r--r--  1 root root    2951 2007-11-01 18:52 xetex.log
==============================
So, the install of a texlive-<module> tries to rebuild all .fmt files, but it seems to miss a few:
eplain.fmt
xelatex.fmt
pdflatex.fmt
elatex.fmt (but not etex.fmt)
and so on.

xelatex does get put into fmtutil.cnf by the texmf-update at the end of the install, however.
Comment 64 Ferris McCormick (RETIRED) gentoo-dev 2007-11-01 19:20:09 UTC
Another clue:
On a system where instead of backing /etc/texmf with a 'cp -r' I backed it up with a 'mv /etc/texmf /etc/texmf-' everything seems to work as I expect.  Perhaps the howto should be much more brutal in getting rid of tetex?
Comment 65 Alexis Ballier gentoo-dev 2007-11-01 19:27:36 UTC
(In reply to comment #64)
> Perhaps the howto should be much more brutal in getting rid of tetex?

bah the problem is that there is not only tetex which installs stuff there, for example jadetex does, tex4ht does too, so rm -rf is not the way to go.
Comment 66 Dustin Polke 2007-11-05 10:00:08 UTC
(In reply to comment #48)
> I'd like to mention that TeX live file collides with cjk-latex. I removed
> cjk-latex from my system and all packages installed fine. Therefore, I suggest
> to make TeX live block cjk-latex to prevent collision.
> 
> However, with uninstalling cjk-latex, it is not possible to have
> app-office/grisbi installed with USE=cjk as this requires
> >=dev-tex/latex-unicode-20041017 depending at the moment on cjk-latex.
> 
> Maybe someone can check whether it is possible to make latex-unicode DEPEND ||
> (dev-texlive/texlive-latex dev-tex/cjk-latex)?

aballier: Will this be handled within the scope of this bug or should I file a new bug concerning this issue? Thanks for the great work.
Comment 67 Alexis Ballier gentoo-dev 2007-11-05 10:10:11 UTC
(In reply to comment #66)
> aballier: Will this be handled within the scope of this bug or should I file a
> new bug concerning this issue? Thanks for the great work.


sorry I had forgotten about that comment; yes please file a new bug, this will make it easier to track.

Comment 68 Mirko Briemle 2007-11-06 00:38:02 UTC
Can the dev-texlive/texlive-bibtexextra/texlive-bibtexextra-2007.ebuild be updated with these two changes:

-adding biblatex package
-updating apacite package

That would be super.

I also vote for a ~ppc flag.

Thanks for doing such great work.
Comment 69 Luca Barbato gentoo-dev 2007-11-14 08:51:36 UTC
on ppc I currently get

emerge -pt texlive

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] app-text/texlive-2007  USE="X cjk png xml -context -cyrillic -doc -extra -games -graphics -humanities -music -omega -pstricks -publishers -science -xetex" LINGUAS="-af -ar -bg -bn -cs -cy -da -de -el -en -en_GB -eo -es -et -fi -fr -he -hi -hr -hsb -hy -id -is -it -ja -ko -la -ml -mn -nl -no -pl -pt -ro -ru -sk -sl -sr -sv -ta -th -tr -uk -vi -zh" 
[ebuild  N    ]  app-text/xdvik-22.84.10-r1  USE="cjk -Xaw3d -emacs -motif -neXt" 
[ebuild  N    ]  app-text/lcdf-typetools-2.66  USE="-tetex" 
[ebuild  N    ]  app-text/dvipng-1.9  USE="truetype" 
[ebuild  N    ]  dev-tex/latex-beamer-3.07-r1  USE="-doc -lyx" 
[ebuild  N    ]   dev-tex/pgf-1.18-r1  USE="-doc" 
[ebuild  N    ]  app-text/dvipdfm-0.13.2d  
[ebuild  N    ]   app-text/tetex-3.0_p1-r5  USE="X tk -Xaw3d -doc -lesstif -motif -neXt" 
[ebuild  NS   ]  media-libs/freetype-1.3.1-r5  USE="nls -tetex" 
[ebuild  N    ]  dev-texlive/texlive-htmlxml-2007-r1  USE="-doc" 
[ebuild  N    ]   app-text/jadetex-3.13-r2  
[ebuild  N    ]  media-gfx/sam2p-0.45  USE="gif" 
[ebuild  N    ]  dev-texlive/texlive-latex3-2007  USE="-doc" 
[ebuild  N    ]  dev-texlive/texlive-texinfo-2007  USE="-doc" 
[ebuild  N    ]  dev-texlive/texlive-genericrecommended-2007  USE="-doc" 
[ebuild  N    ]  dev-texlive/texlive-langcjk-2007  USE="-doc" 
[ebuild  N    ]  dev-tex/detex-2.7  
[ebuild  N    ]  app-text/t1utils-1.32  
[ebuild  N    ]  dev-texlive/texlive-psutils-2007  USE="-doc" 
[ebuild  N    ]  dev-texlive/texlive-metapost-2007-r1  USE="-doc" 
[ebuild  N    ]  dev-tex/xcolor-2.11  
[ebuild  N    ]  dev-texlive/texlive-latexrecommended-2007  USE="-doc" 
[ebuild  N    ]  dev-texlive/texlive-fontsrecommended-2007  USE="-doc" 
[nomerge      ] dev-tex/pgf-1.18-r1  USE="-doc" 
[ebuild  N    ]  virtual/latex-base-1.0  
[ebuild  N    ]   dev-texlive/texlive-latex-2007  USE="-doc" 
[ebuild  N    ]    dev-texlive/texlive-basic-2007  USE="-doc" 
[ebuild  N    ]     dev-texlive/texlive-documentation-base-2007  USE="-doc" 
[ebuild  N    ]      app-text/texlive-core-2007  USE="X -doc" 
[blocks B     ] >=app-text/tetex-2 (is blocking app-text/dvipdfm-0.13.2d)
[blocks B     ] app-text/tetex (is blocking app-text/texlive-core-2007)
[blocks B     ] app-text/xdvik (is blocking app-text/tetex-3.0_p1-r5)
[blocks B     ] app-text/dvipdfm (is blocking app-text/tetex-3.0_p1-r5)
[blocks B     ] >=app-text/tetex-3.0 (is blocking dev-tex/xcolor-2.11)
nemesi ~ # emerge -C app-text/tetex app-text/xdvik app-text/dvipdfm dev-tex/xcolor

--- Couldn't find 'app-text/tetex' to unmerge.

--- Couldn't find 'app-text/xdvik' to unmerge.

--- Couldn't find 'app-text/dvipdfm' to unmerge.

--- Couldn't find 'dev-tex/xcolor' to unmerge.

what's wrong?

Comment 70 Alexis Ballier gentoo-dev 2007-11-14 09:27:53 UTC
(In reply to comment #69)

> [ebuild  N    ]  app-text/xdvik-22.84.10-r1  USE="cjk -Xaw3d -emacs -motif
> -neXt" 
> [ebuild  N    ]  dev-tex/latex-beamer-3.07-r1  USE="-doc -lyx" 
> [ebuild  N    ]   dev-tex/pgf-1.18-r1  USE="-doc" 
                        ^^^^^^^^
there is no such ebuild in the tree, are you still using the old ones from the overlay ? I changed a bit the deps when/before merging them to the tree, so that might be the cause

Comment 71 Samuli Suominen (RETIRED) gentoo-dev 2007-11-17 15:14:15 UTC
Something left for amd64 here, or why we are CC'd?
Comment 72 Samuli Suominen (RETIRED) gentoo-dev 2007-11-17 15:26:12 UTC
(In reply to comment #53)
> Everything marked ~amd64.  Amd64 done, but I am leaving the CC for an amd64
> developer.
> 

amd64 done, also got texlive installed without issues.
Comment 73 Mirko Briemle 2007-11-19 18:39:04 UTC
I would like to update the apacite package since it has been updated in
September 10th, 2007 and it includes some new important features (i.e. url and
lastched field let you include articles from internet sources and display them
according to apa manual standards).

I have been trying to figure out why these features are not working for me and my best guess is so far that it has to do something with the apacite package and
that it might not be up to date.

I installed the apacite package by installing the texlive-bibtexextra package.
How can I check what version my apacite package has and if it is the same
version as the most recent apacite package (I think the most recent is:
http://www.ctan.org/tex-archive/biblio/bibtex/contrib/apacite/ )? 

I also contacted another apacite user and he told me that the following
packages are installed on his distribution (Miktex) which I could not be found
here on my gentoo distro:

apacdoc.sty (This looks like a documentation file, so it might not be so
important)
apacite.dvi

Is there a way to update this package in gentoo to the latest version (in any way)? If so how do I do that?

Before I saw the texlive2007 ebuilds I created an ebuild for apacite (http://bugs.gentoo.org/show_bug.cgi?id=196110 ). Would it be easier to use this 
ebuild to update the apacite package?

Any help would greatly be appreciated since I would like to use this for
writing my pre-dissertation. Thank you very much.
Comment 74 Rossen Apostolov 2007-11-20 00:57:54 UTC
dev-texlive/texlive-latexextra-2007 provides the achemso package,
so dev-tex/achemso should be blocked in the TEXLIVE_MODULES_DEPS
Comment 75 Alexis Ballier gentoo-dev 2007-11-22 21:02:29 UTC
(In reply to comment #74)
> dev-texlive/texlive-latexextra-2007 provides the achemso package,
> so dev-tex/achemso should be blocked in the TEXLIVE_MODULES_DEPS
> 

fixed, thanks; but please open new bugs for this, as I might forget about it after sometime otherwise (see comment #67 )
Comment 76 Jeroen Roovers (RETIRED) gentoo-dev 2007-12-18 01:49:46 UTC
Full marks scored in the category Messiest Bug Ever.

It seems several arches have chosen to start keywording. Is this now OK with the tex people or not?
Comment 77 Alexis Ballier gentoo-dev 2007-12-18 07:14:13 UTC
(In reply to comment #76)
> Full marks scored in the category Messiest Bug Ever.

:)

> It seems several arches have chosen to start keywording. Is this now OK with
> the tex people or not?

yes

Comment 78 Jeroen Roovers (RETIRED) gentoo-dev 2007-12-18 23:10:04 UTC
A few more notes:

1) Why are packages in dev-texlive called texlive-*? Seems like a lot of needless duplication to me.
2) And speaking of duplication: Why are the texlive-documentation-* and texlive-lang* packages not rolled into one, using LINGUAS?

Marked ~hppa.
Comment 79 Alexis Ballier gentoo-dev 2007-12-19 14:30:24 UTC
(In reply to comment #78)
> A few more notes:
> 
> 1) Why are packages in dev-texlive called texlive-*? Seems like a lot of
> needless duplication to me.

well, perhaps, but I wanted to make it clear it was texlive packaging. Having a package called "metapost" or "latex" or "games" or "music" would piss me, really.

> 2) And speaking of duplication: Why are the texlive-documentation-* and
> texlive-lang* packages not rolled into one, using LINGUAS?

bah upstream makes them separate packages, called collections, so I followed that.

See: http://overlays.gentoo.org/dev/aballier/browser/scripts/texlive/lists
for how they're generated.
Comment 80 Alexis Ballier gentoo-dev 2008-02-10 17:36:26 UTC
bsd done

@remaining arches: please try to move on, without texlive your tex support will be  tetex and it has had no upstream for years. For now, tetex is still supported security-wise but that's all. Patches get backported from texlive & other various packages it includes but as time passes it will get harder and harder to backport as the code changes; being too much behind, backporting patches might break it at some point, devils & death knights will arrive and it'll be the apocalypse... and I need a rest.
Comment 81 Alexey Shvetsov archtester gentoo-dev 2008-02-12 19:13:09 UTC
I build texlive on arm pda
it works =)
see bug #204056
Comment 82 Christian Faulhammer (RETIRED) gentoo-dev 2008-02-12 19:15:00 UTC
*** Bug 204056 has been marked as a duplicate of this bug. ***
Comment 83 Markus Rothe (RETIRED) gentoo-dev 2008-04-06 19:25:59 UTC
added ~ppc
Comment 84 Christian Faulhammer (RETIRED) gentoo-dev 2009-03-07 09:35:17 UTC
Changing subject as TexLive 2008 has been released meanwhile.  Please proceed with keywording, for nearly one year nothing has happened.
Comment 85 Christian Faulhammer (RETIRED) gentoo-dev 2009-03-12 00:36:11 UTC
arm/s390/sh done by armin76
Comment 86 Ulrich Müller gentoo-dev 2009-04-02 11:14:36 UTC
@mips, m68k: There is now security bug 264598 which I think will sound the death knell for teTeX.
Comment 87 Markus 2009-04-04 15:52:45 UTC
its stable in tree, but it does not build for me.
still the issue from comment 11.
Comment 88 Marco Napetti 2009-04-11 10:15:03 UTC
Solved starting on another console
wathc sudo mkdir -p /var/tmp/paludis/dev-texlive-texlive-basic-2008/work/texmf-var/web2c
and
watch sudo mkdir -p /var/tmp/paludis/dev-texlive-texlive-latex-2008-r1/work/texmf-var/web2c
while dev-texlive/texlive-basic and dev-texlive/texlive-latex are merging, so the problem is simply about the folders, you must create it with "mkdir -p"
Comment 89 Alexey Shvetsov archtester gentoo-dev 2009-06-10 14:26:05 UTC
~mips done =)
Comment 90 Ben Sagal 2012-01-01 06:27:32 UTC
should this bug not be closed, Tex live 2008 has already been removed from the tree, and there is currently another bug with a stable req for 2011
Comment 91 Erik Quaeghebeur 2013-02-12 16:13:42 UTC
(In reply to comment #90)
> should this bug not be closed, Tex live 2008 has already been removed from
> the tree, [...]

Indeed, I think this bug may be closed...