[Buildroot] [Bug 5846] New: Extra slash added to last slash in URL

bugzilla at busybox.net bugzilla at busybox.net
Fri Jan 4 09:43:05 UTC 2013


           Summary: Extra slash added to last slash in URL
           Product: buildroot
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: g at maral.me
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0

This happens in 2012.11, I dunno about the older versions.

I noticed this with a few of my packages, but most recently with a custom
kernel tar file url.

For example, I have the following URL in my .config file:


While make-ing, buildroot adds an extra slash to the URL and tries to download 
"https://github.com/raspberrypi/linux/archive//rpi-3.6.y.tar.gz" instead; this
results in an error (at least if the target server does some redirection
kung-fu like github does).

Example Output:

>>> linux custom Downloading
--2013-01-04 01:30:29-- 
Resolving github.com...
Connecting to github.com||:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://nodeload.github.com/raspberrypi/linux/tar.gz//rpi-3.6.y
--2013-01-04 01:30:30-- 
Resolving nodeload.github.com...
Connecting to nodeload.github.com||:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2013-01-04 01:30:30 ERROR 404: Not Found.

--2013-01-04 01:30:30--  http://sources.buildroot.net//rpi-3.6.y.tar.gz
Resolving sources.buildroot.net...
Connecting to sources.buildroot.net||:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2013-01-04 01:30:31 ERROR 404: Not Found.

make: ***
Error 1

Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the buildroot mailing list