[arch-general] kernel compilation with ABS
I have been using this method for a while with no issue. With new 3.17.2-1, I can't makepkg. gabx@hortensia ➤➤ core/linux % makepkg ==> Making package: linux-hortensia 3.17.2-1 (Fri Nov 7 11:41:58 CET 2014) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading linux-3.17.tar.xz... ** Resuming transfer from byte position 80333152 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (22) The requested URL returned error: 416 ==> ERROR: Failure while downloading linux-3.17.tar.xz Aborting... Anything I do wrong ? This server 416 error is there for a few days now. Thank you for suggestions. -- google.com/+arnaudgabourygabx
* arnaud gaboury <arnaud.gaboury@gmail.com> (Fri, 7 Nov 2014 11:45:11 +0100):
** Resuming transfer from byte position 80333152
This looks suspicious.
Anything I do wrong ? This server 416 error is there for a few days now.
"416 Requested Range Not Satisfiable A server SHOULD return a response with this status code if a request included a Range request-header field (section 14.35), and none of the range-specifier values in this field overlap the current extent of the selected resource, and the request did not include an If-Range request-header field. (For byte-ranges, this means that the first- byte-pos of all of the byte-range-spec values were greater than the current length of the selected resource.)" [1] Did you try deleting the file and start downloading again? Regards, Marcel [1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.17
Did you try deleting the file and start downloading again?
Not sure what you call "the file", but I already tried many times to remove core/linux then run again $ ABSROOT=. abs core/linux. I can manually download the kernel and pacth from https://www.kernel.org/pub/linux/kernel, but now hen using $ makepkg -- google.com/+arnaudgabourygabx
On 7 November 2014 12:01, arnaud gaboury <arnaud.gaboury@gmail.com> wrote:
Did you try deleting the file and start downloading again?
Not sure what you call "the file", but I already tried many times to remove core/linux then run again $ ABSROOT=. abs core/linux.
I can manually download the kernel and pacth from https://www.kernel.org/pub/linux/kernel, but now hen using $ makepkg
--
google.com/+arnaudgabourygabx
I've always used yaourt, which may be no good for you, but in the interests of offering another idea: # yaourt -G linux # cd linux # makepkg If the same thing happens, that's new information, at least! Paul
* arnaud gaboury <arnaud.gaboury@gmail.com> (Fri, 7 Nov 2014 13:01:11 +0100):
Not sure what you call "the file", but I already tried many times to remove core/linux then run again $ ABSROOT=. abs core/linux.
So you completely wiped out that directory (including linux-3.17.tar.xz which I wanted you to delete) and still get the same message, *including* the 'Resuming transfer' part? That's strange! I just tested this myself, downloading the sources with abs and then running makepkg, but linux-3.17.tar.xz downloaded without any problem. Regards, Marcel
Marcel Korpel wrote:
* arnaud gaboury <arnaud.gaboury@gmail.com> (Fri, 7 Nov 2014 13:01:11 +0100):
Not sure what you call "the file", but I already tried many times to remove core/linux then run again $ ABSROOT=. abs core/linux.
So you completely wiped out that directory (including linux-3.17.tar.xz which I wanted you to delete) and still get the same message, *including* the 'Resuming transfer' part? That's strange!
Unless he uses another source directory. What's the output from: grep SRCDEST /etc/makepkg.conf ~/.makepkg.conf Jerome
Unless he uses another source directory. What's the output from: grep SRCDEST /etc/makepkg.conf ~/.makepkg.conf gabx@hortensia ➤➤ core/linux % grep SRCDEST /etc/makepkg.conf ~/.makepkg.conf /etc/makepkg.conf:109:SRCDEST=$BUILDDIR/output/sources grep: /home/gabx/.makepkg.conf: No such file or directory -- google.com/+arnaudgabourygabx
* arnaud gaboury <arnaud.gaboury@gmail.com> (Fri, 7 Nov 2014 20:30:08 +0100):
gabx@hortensia ➤➤ core/linux % grep SRCDEST /etc/makepkg.conf ~/.makepkg.conf /etc/makepkg.conf:109:SRCDEST=$BUILDDIR/output/sources
That's it! Just delete $BUILDDIR/output/sources/linux/linux-3.17.tar.xz.part and your download will start from the beginning. Regards, Marcel
That's it! Just delete $BUILDDIR/output/sources/linux/linux-3.17.tar.xz.part and your download will start from the beginning.
Bingo! I understand I had a partial download in my source directory. This linux-3.17.tar.xz.part was blocking the download, correct ? Can you give me a short explanation, in case you have tome of course ? Thank you
On 7 November 2014 12:01:11 GMT+00:00, arnaud gaboury <arnaud.gaboury@gmail.com> wrote:
Did you try deleting the file and start downloading again?
Not sure what you call "the file", but I already tried many times to remove core/linux then run again $ ABSROOT=. abs core/linux.
I can manually download the kernel and pacth from https://www.kernel.org/pub/linux/kernel, but now hen using $ makepkg
Hello Can you give the output from running: $ cat /etc/makepkg.conf | grep DLAGENTS Thanks, Leonidas -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Can you give the output from running: $ cat /etc/makepkg.conf | grep DLAGENTS
Sent from my Android device with K-9 Mail. Please excuse my brevity.
gabx@hortensia ➤➤ core/linux % cat /etc/makepkg.conf | grep DLAGENTS 11:DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' -- google.com/+arnaudgabourygabx
participants (5)
-
"Jérôme M. Berger"
-
arnaud gaboury
-
Leonidas Spyropoulos
-
Marcel Korpel
-
Paul Gideon Dann