Gentoo Archives: gentoo-amd64

From: "John P. Burkett" <burkett@×××.edu>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: attempt to emerge dev-texlive/texlive-latexextra-2008-r1 failed
Date: Sun, 10 May 2009 15:23:53
Message-Id: 4A06F178.7060007@uri.edu
In Reply to: [gentoo-amd64] Re: attempt to emerge dev-texlive/texlive-latexextra-2008-r1 failed by Duncan <1i5t5.duncan@cox.net>
1 Duncan wrote:
2 > "John P. Burkett" <burkett@×××.edu> posted 49FDCD09.7070204@×××.edu,
3 > excerpted below, on Sun, 03 May 2009 12:57:45 -0400:
4 >
5 >> Thanks, Duncan. Yesterday I did eix-sync shortly before emerge --search
6 >> portage. To see if a new portage version became available overnight, I
7 >> just now did eix-sync and emerge --search portage. The results are the
8 >> same; the latest version available version of sys-apps/portage is still
9 >> listed as 2.1.6.11, which is the version I have installed.
10 >>
11 >> I attempted to manually download the source file, and place it in
12 >> distfiles, and then run emerge. Specifically, I downloaded
13 >> texlive-module-collection-latexextra-2008.tar.lzma from
14 >> http://ftp.ussg.iu.edu/linux/gentoo/distfiles/?C=N%3BO=D and placed the
15 >> file in /usr/portage/distfiles. Then I did "emerge texlive-latexextra".
16 >> The response stated with
17 >>>>> Verifying ebuild manifests
18 >>>>> Emerging (1 of 1) dev-texlive/texlive-latexextra-2008-r1
19 >> [Errno 7] Argument list too long:
20 >> /bin/bash -c touch "/usr/portage/distfiles/.__portage_test_write__"
21 >> 2>/dev/null ; rval=$? ; rm -f
22 >> "/usr/portage/distfiles/.__portage_test_write__" ; exit $rval
23 >
24 > That's clearly a portage bug (even if we didn't already know it based on
25 > the bug you mentioned and the new versions that are /supposed/ to be
26 > out), as that argument list isn't even that long at all.
27 >
28 > So one way or another, we gotta get around that bug.
29 >
30 > One thing I noticed is that it's an lzma archive, which isn't all that
31 > common yet. You've verified that you can decompress that source archive
32 > manually, right?
33 Thank you, Duncan, for your continued help. Yes, it appears that I can
34 decompress lzma files. Doing
35 unlzma texlive-module-collection-latexextra-2008.tar.lzma
36 produces texlive-module-collection-latexextra-2008.tar
37
38 >
39 > Meanwhile, on portage upgrade side...
40 >
41 > After a fresh sync to ensure I'm updated here, epkginfo portage shows the
42 > following:
43 >
44 > Keywords: portage-2.1.4.5:
45 > Keywords: portage-2.1.6.4:
46 > Keywords: portage-2.1.6.7:
47 > Keywords: portage-2.1.6.11: alpha amd64 arm hppa ia64 m68k ppc ppc64 s390
48 > sh sparc x86
49 > Keywords: portage-2.1.6.12:
50 > Keywords: portage-2.2_rc28:
51 > Keywords: portage-2.2_rc31:
52 > Keywords: portage-2.2_rc32: ~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips
53 > ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd
54 >
55 > So 2.1.6.12 is indeed in-tree, but no arch has keyworded it stable yet.
56 > I don't see any masking and checking the ebuild itself, I see it's
57 > keyworded ~arch.
58 >
59 > As it happens, I'm on ~arch and am running the 2.2-rc series. I had
60 > upgraded to rc32 before my first reply, and as has become my habit as a
61 > good admin, I checked the changelog before I upgraded. I thus noted
62 > mention of the fix for "bug #262647 ('Argument list too long' triggered
63 > by long SRC_URI)".
64 >
65 > So... I don't know why it hasn't been stable-keyworded, except that archs
66 > probably haven't gotten to it yet, but you might wish to consider adding:
67 >
68 > ~sys-apps/portage-2.1.6.12
69 >
70 > ... to your package.keywords file or directory.
71 After adding ~sys-apps/portage-2.1.6.12 to my package.keywords file, I
72 did "emerge portage". That process appears to have been successful.
73 Now when I do "emerge --search portage" the response is
74 * sys-apps/portage
75 Latest version available: 2.1.6.12
76 Latest version installed: 2.1.6.12
77
78 So far, so good. However, when I do "emerge texlive-latexextra", the
79 response is as follows:
80 Calculating dependencies... done!
81
82 >>> Verifying ebuild manifests
83
84 >>> Emerging (1 of 1) dev-texlive/texlive-latexextra-2008-r1
85 [Errno 7] Argument list too long:
86 /bin/bash -c touch "/usr/portage/distfiles/.__portage_test_write__"
87 2>/dev/null ; rval=$? ; rm -f
88 "/usr/portage/distfiles/.__portage_test_write__" ; exit $rval
89 [Errno 7] Argument list too long:
90 /bin/bash -c touch
91 "/usr/portage/distfiles/.locks/.__portage_test_write__" 2>/dev/null ;
92 rval=$? ; rm -f "/usr/portage/distfiles/.locks/.__portage_test_write__"
93 ; exit $rval
94 * texlive-module-achemso-2008.tar.lzma RMD160 SHA1 SHA256 size ;-) ...
95
96 [ ok ]
97 >>> Downloading
98 'http://distfiles.oshean.org/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
99 [Errno 7] Argument list too long:
100 /usr/bin/wget -t 5 -T 60 --passive-ftp -O
101 /usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
102 http://distfiles.oshean.org/distfiles/texlive-module-mcaption.source-2008.tar.lzma
103 >>> Downloading
104 'http://open-systems.ufl.edu/mirrors/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
105 [Errno 7] Argument list too long:
106 /usr/bin/wget -t 5 -T 60 --passive-ftp -O
107 /usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
108 http://open-systems.ufl.edu/mirrors/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
109 >>> Downloading
110 'http://mirror.ovh.net/gentoo-distfiles/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
111 [Errno 7] Argument list too long:
112 /usr/bin/wget -t 5 -T 60 --passive-ftp -O
113 /usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
114 http://mirror.ovh.net/gentoo-distfiles/distfiles/texlive-module-mcaption.source-2008.tar.lzma
115 >>> Downloading
116 'http://gentoo.osuosl.org/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
117 [Errno 7] Argument list too long:
118 /usr/bin/wget -t 5 -T 60 --passive-ftp -O
119 /usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
120 http://gentoo.osuosl.org/distfiles/texlive-module-mcaption.source-2008.tar.lzma
121 >>> Downloading
122 'ftp://mirror.bytemark.co.uk/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
123 [Errno 7] Argument list too long:
124 /usr/bin/wget -t 5 -T 60 --passive-ftp -O
125 /usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
126 ftp://mirror.bytemark.co.uk/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
127 >>> Downloading
128 'ftp://ftp.osuosl.org/pub/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
129 [Errno 7] Argument list too long:
130 /usr/bin/wget -t 5 -T 60 --passive-ftp -O
131 /usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
132 ftp://ftp.osuosl.org/pub/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
133 >>> Downloading
134 'http://mirrors.tds.net/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
135 [Errno 7] Argument list too long:
136 /usr/bin/wget -t 5 -T 60 --passive-ftp -O
137 /usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
138 http://mirrors.tds.net/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
139 >>> Downloading
140 'http://mirror.bytemark.co.uk/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
141 [Errno 7] Argument list too long:
142 /usr/bin/wget -t 5 -T 60 --passive-ftp -O
143 /usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
144 http://mirror.bytemark.co.uk/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
145 >>> Downloading
146 'http://ftp.jaist.ac.jp/pub/Linux/Gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
147 [Errno 7] Argument list too long:
148 /usr/bin/wget -t 5 -T 60 --passive-ftp -O
149 /usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
150 http://ftp.jaist.ac.jp/pub/Linux/Gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
151 >>> Downloading
152 'ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
153 [Errno 7] Argument list too long:
154 /usr/bin/wget -t 5 -T 60 --passive-ftp -O
155 /usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
156 ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
157 >>> Downloading
158 'ftp://ftp.ussg.iu.edu/pub/linux/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
159 [Errno 7] Argument list too long:
160 /usr/bin/wget -t 5 -T 60 --passive-ftp -O
161 /usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
162 ftp://ftp.ussg.iu.edu/pub/linux/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
163 >>> Downloading
164 'ftp://ftp.gentoo.mesh-solutions.com/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
165 [Errno 7] Argument list too long:
166 /usr/bin/wget -t 5 -T 60 --passive-ftp -O
167 /usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
168 ftp://ftp.gentoo.mesh-solutions.com/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
169 >>> Downloading
170 'http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
171 [Errno 7] Argument list too long:
172 /usr/bin/wget -t 5 -T 60 --passive-ftp -O
173 /usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
174 http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
175 >>> Downloading
176 'ftp://ftp.free.fr/mirrors/ftp.gentoo.org/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
177 [Errno 7] Argument list too long:
178 /usr/bin/wget -t 5 -T 60 --passive-ftp -O
179 /usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
180 ftp://ftp.free.fr/mirrors/ftp.gentoo.org/distfiles/texlive-module-mcaption.source-2008.tar.lzma
181 >>> Downloading
182 'http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
183 [Errno 7] Argument list too long:
184 /usr/bin/wget -t 5 -T 60 --passive-ftp -O
185 /usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
186 http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
187 >>> Downloading
188 'http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
189 [Errno 7] Argument list too long:
190 /usr/bin/wget -t 5 -T 60 --passive-ftp -O
191 /usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
192 http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/distfiles/texlive-module-mcaption.source-2008.tar.lzma
193 >>> Downloading
194 'http://gentoo.mirrors.pair.com/distfiles/texlive-module-mcaption.source-2008.tar.lzma'
195 [Errno 7] Argument list too long:
196 /usr/bin/wget -t 5 -T 60 --passive-ftp -O
197 /usr/portage/distfiles/texlive-module-mcaption.source-2008.tar.lzma
198 http://gentoo.mirrors.pair.com/distfiles/texlive-module-mcaption.source-2008.tar.lzma
199 !!! Couldn't download 'texlive-module-mcaption.source-2008.tar.lzma'.
200 Aborting.
201 * Fetch failed for 'dev-texlive/texlive-latexextra-2008-r1', Log file:
202 * '/var/tmp/portage/dev-texlive/texlive-latexextra-2008-r1/temp/build.log'
203
204 >>> Failed to emerge dev-texlive/texlive-latexextra-2008-r1, Log file:
205
206 >>>
207 '/var/tmp/portage/dev-texlive/texlive-latexextra-2008-r1/temp/build.log'
208
209 * Messages for package dev-texlive/texlive-latexextra-2008-r1:
210
211 * Fetch failed for 'dev-texlive/texlive-latexextra-2008-r1', Log file:
212 * '/var/tmp/portage/dev-texlive/texlive-latexextra-2008-r1/temp/build.log'
213
214
215
216 > There are other alternatives too. Did you try using the --fetchonly
217 > option? The bug mentions that worked for some people.
218 Doing "emerge -f texlive-latexextra" also produces "argument list too
219 long" errors, for example:
220 >>> Downloading
221 'http://ftp.jaist.ac.jp/pub/Linux/Gentoo/distfiles/texlive-module-pdfcprot-2008.tar.lzma'
222 [Errno 7] Argument list too long:
223 /usr/bin/wget -t 5 -T 60 --passive-ftp -O
224 /usr/portage/distfiles/texlive-module-pdfcprot-2008.tar.lzma
225 http://ftp.jaist.ac.jp/pub/Linux/Gentoo/distfiles/texlive-module-pdfcprot-2008.tar.lzma
226 >>> Downloading
227 'http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/distfiles/texlive-module-pdfcprot-2008.tar.lzma'
228 [Errno 7] Argument list too long:
229 /usr/bin/wget -t 5 -T 60 --passive-ftp -O
230 /usr/portage/distfiles/texlive-module-pdfcprot-2008.tar.lzma
231 http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/distfiles/texlive-module-pdfcprot-2008.tar.lzma
232
233
234 >
235 > There's some additional discussion on why it happens -- are you using an
236 > old kernel (<2.6.23)? They had shorter max commandline lengths. Thus,
237 > upgrading your kernel is presumably another alternative.
238 I'm using kernel 2.6.20-gentoo-r6. Upgrading to a more recent kernel
239 would probably be beneficial but may require skills that I lack.
240
241 Thanks again for your previous suggestions. Any further suggestions
242 would be gratefully received.
243
244 -John
245
246 --
247 John P. Burkett
248 Department of Economics
249 University of Rhode Island
250 Kingston, RI 02881-0808
251 USA
252
253 phone (401) 874-9195

Replies