Duncan wrote:
> "John P. Burkett" <[email protected]> posted [email protected],
> excerpted below, on Sun, 03 May 2009 12:57:45 -0400:
>
>> Thanks, Duncan. Yesterday I did eix-sync shortly before emerge --search
>> portage. To see if a new portage version became available overnight, I
>> just now did eix-sync and emerge --search portage. The results are the
>> same; the latest version available version of sys-apps/portage is still
>> listed as 2.1.6.11, which is the version I have installed.
>>
>> I attempted to manually download the source file, and place it in
>> distfiles, and then run emerge. Specifically, I downloaded
>> texlive-module-collection-latexextra-2008.tar.lzma from
>> http://ftp.ussg.iu.edu/linux/gentoo/distfiles/?C=N%3BO=D and placed the
>> file in /usr/portage/distfiles. Then I did "emerge texlive-latexextra".
>> The response stated with
>>>>> Verifying ebuild manifests
>>>>> Emerging (1 of 1) dev-texlive/texlive-latexextra-2008-r1
>> [Errno 7] Argument list too long:
>> /bin/bash -c touch "/usr/portage/distfiles/.__portage_test_write__"
>> 2>/dev/null ; rval=$? ; rm -f
>> "/usr/portage/distfiles/.__portage_test_write__" ; exit $rval
>
> That's clearly a portage bug (even if we didn't already know it based on
> the bug you mentioned and the new versions that are /supposed/ to be
> out), as that argument list isn't even that long at all.
>
> So one way or another, we gotta get around that bug.
>
> One thing I noticed is that it's an lzma archive, which isn't all that
> common yet. You've verified that you can decompress that source archive
> manually, right?
Thank you, Duncan, for your continued help. Yes, it appears that I can
decompress lzma files. Doing
unlzma texlive-module-collection-latexextra-2008.tar.lzma
produces texlive-module-collection-latexextra-2008.tar
>
> Meanwhile, on portage upgrade side...
>
> After a fresh sync to ensure I'm updated here, epkginfo portage shows the
> following:
>
> Keywords: portage-2.1.4.5:
> Keywords: portage-2.1.6.4:
> Keywords: portage-2.1.6.7:
> Keywords: portage-2.1.6.11: alpha amd64 arm hppa ia64 m68k ppc ppc64 s390
> sh sparc x86
> Keywords: portage-2.1.6.12:
> Keywords: portage-2.2_rc28:
> Keywords: portage-2.2_rc31:
> Keywords: portage-2.2_rc32: ~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips
> ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd
>
> So 2.1.6.12 is indeed in-tree, but no arch has keyworded it stable yet.
> I don't see any masking and checking the ebuild itself, I see it's
> keyworded ~arch.
>
> As it happens, I'm on ~arch and am running the 2.2-rc series. I had
> upgraded to rc32 before my first reply, and as has become my habit as a
> good admin, I checked the changelog before I upgraded. I thus noted
> mention of the fix for "bug #262647 ('Argument list too long' triggered
> by long SRC_URI)".
>
> So... I don't know why it hasn't been stable-keyworded, except that archs
> probably haven't gotten to it yet, but you might wish to consider adding:
>
> ~sys-apps/portage-2.1.6.12
>
> ... to your package.keywords file or directory.
After adding ~sys-apps/portage-2.1.6.12 to my package.keywords file, I
did "emerge portage". That process appears to have been successful.
Now when I do "emerge --search portage" the response is
* sys-apps/portage
Latest version available: 2.1.6.12
Latest version installed: 2.1.6.12
So far, so good. However, when I do "emerge texlive-latexextra", the
response is as follows:
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-texlive/texlive-latexextra-2008-r1
[Errno 7] Argument list too long:
/bin/bash -c touch "/usr/portage/distfiles/.__portage_test_write__"
2>/dev/null ; rval=$? ; rm -f
"/usr/portage/distfiles/.__portage_test_write__" ; exit $rval
[Errno 7] Argument list too long:
/bin/bash -c touch
"/usr/portage/distfiles/.locks/.__portage_test_write__" 2>/dev/null ;
rval=$? ; rm -f "/usr/portage/distfiles/.locks/.__portage_test_write__"
; exit $rval
* texlive-module-achemso-2008.tar.lzma RMD160 SHA1 SHA256 size ;-) ...
[ ok ]
>>> Downloading
'http://distfiles.oshean.org/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
[Errno 7] Argument list too long:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O
/usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
http://distfiles.oshean.org/distfiles/texlive-module-mcaption.source-2008.tar.lzma
>>> Downloading
'http://open-systems.ufl.edu/mirrors/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
[Errno 7] Argument list too long:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O
/usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
http://open-systems.ufl.edu/mirrors/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
>>> Downloading
'http://mirror.ovh.net/gentoo-distfiles/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
[Errno 7] Argument list too long:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O
/usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
http://mirror.ovh.net/gentoo-distfiles/distfiles/texlive-module-mcaption.source-2008.tar.lzma
>>> Downloading
'http://gentoo.osuosl.org/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
[Errno 7] Argument list too long:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O
/usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
http://gentoo.osuosl.org/distfiles/texlive-module-mcaption.source-2008.tar.lzma
>>> Downloading
'ftp://mirror.bytemark.co.uk/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
[Errno 7] Argument list too long:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O
/usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
ftp://mirror.bytemark.co.uk/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
>>> Downloading
'ftp://ftp.osuosl.org/pub/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
[Errno 7] Argument list too long:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O
/usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
ftp://ftp.osuosl.org/pub/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
>>> Downloading
'http://mirrors.tds.net/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
[Errno 7] Argument list too long:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O
/usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
http://mirrors.tds.net/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
>>> Downloading
'http://mirror.bytemark.co.uk/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
[Errno 7] Argument list too long:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O
/usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
http://mirror.bytemark.co.uk/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
>>> Downloading
'http://ftp.jaist.ac.jp/pub/Linux/Gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
[Errno 7] Argument list too long:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O
/usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
http://ftp.jaist.ac.jp/pub/Linux/Gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
>>> Downloading
'ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
[Errno 7] Argument list too long:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O
/usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
>>> Downloading
'ftp://ftp.ussg.iu.edu/pub/linux/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
[Errno 7] Argument list too long:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O
/usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
ftp://ftp.ussg.iu.edu/pub/linux/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
>>> Downloading
'ftp://ftp.gentoo.mesh-solutions.com/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
[Errno 7] Argument list too long:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O
/usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
ftp://ftp.gentoo.mesh-solutions.com/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
>>> Downloading
'http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
[Errno 7] Argument list too long:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O
/usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
>>> Downloading
'ftp://ftp.free.fr/mirrors/ftp.gentoo.org/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
[Errno 7] Argument list too long:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O
/usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
ftp://ftp.free.fr/mirrors/ftp.gentoo.org/distfiles/texlive-module-mcaption.source-2008.tar.lzma
>>> Downloading
'http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
[Errno 7] Argument list too long:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O
/usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
>>> Downloading
'http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
[Errno 7] Argument list too long:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O
/usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
>>> Downloading
'http://gentoo.mirrors.pair.com/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
[Errno 7] Argument list too long:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O
/usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
http://gentoo.mirrors.pair.com/distfiles/texlive-module-mcaption.source-2008.tar.lzma
!!! Couldn't download 'texlive-module-mcaption.source-2008.tar.lzma'.
Aborting.
* Fetch failed for 'dev-texlive/texlive-latexextra-2008-r1', Log file:
* '/var/tmp/portage/dev-texlive/texlive-latexextra-2008-r1/temp/build.log'
>>> Failed to emerge dev-texlive/texlive-latexextra-2008-r1, Log file:
>>>
'/var/tmp/portage/dev-texlive/texlive-latexextra-2008-r1/temp/build.log'
* Messages for package dev-texlive/texlive-latexextra-2008-r1:
* Fetch failed for 'dev-texlive/texlive-latexextra-2008-r1', Log file:
* '/var/tmp/portage/dev-texlive/texlive-latexextra-2008-r1/temp/build.log'
> There are other alternatives too. Did you try using the --fetchonly
> option? The bug mentions that worked for some people.
Doing "emerge -f texlive-latexextra" also produces "argument list too
long" errors, for example:
>>> Downloading
'http://ftp.jaist.ac.jp/pub/Linux/Gentoo/distfiles/texlive-module-pdfcprot-2008.tar.lzma'
[Errno 7] Argument list too long:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O
/usr/portage/distfiles/texlive-module-pdfcprot-2008.tar.lzma
http://ftp.jaist.ac.jp/pub/Linux/Gentoo/distfiles/texlive-module-pdfcprot-2008.tar.lzma
>>> Downloading
'http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/distfiles/texlive-module-pdfcprot-2008.tar.lzma'
[Errno 7] Argument list too long:
/usr/bin/wget -t 5 -T 60 --passive-ftp -O
/usr/portage/distfiles/texlive-module-pdfcprot-2008.tar.lzma
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/distfiles/texlive-module-pdfcprot-2008.tar.lzma
>
> There's some additional discussion on why it happens -- are you using an
> old kernel (<2.6.23)? They had shorter max commandline lengths. Thus,
> upgrading your kernel is presumably another alternative.
I'm using kernel 2.6.20-gentoo-r6. Upgrading to a more recent kernel
would probably be beneficial but may require skills that I lack.
Thanks again for your previous suggestions. Any further suggestions
would be gratefully received.
-John
--
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA
phone (401) 874-9195