-current, bug in the SlackBuild for python-setuptools-40.2.0-x86_64-1.txz
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
-current, bug in the SlackBuild for python-setuptools-40.2.0-x86_64-1.txz
I was building the "setuptools" with the source directory from the "-current".
Here is the output :
Code:
[11:58] root@HAL <python-setuptools>$ ./python-setuptools.SlackBuild
tar: /home/nausx/src/python-setuptools/setuptools-40.2.0.tar.tar.?z*: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
I don't know if it's intended but the "echo" part returns the filenames setuptools-40.2.0.tar.xz and setuptools-40.2.0.tar.xz.mirrorlist because of "?z*". Then the reverse puts the mirrorlist in front before the cut.
Later in the script at the line 65 :
Code:
tar xvf $CWD/$SRCNAM-$VERSION.tar.?z* || exit 1
This is where it actually fail since it adds a new ".tar" at the end.
I'll change the build script to use .?z instead of .?z* with the next update. I've done this elsewhere, but usually only where I'm trying to keep an upstream GPG signature.
The file "setuptools-40.2.0.tar.xz.mirrorlist" is not part of the Slackware source tree.
Right, however it is found in mirrors.slackware.com, to help find a mirror near you using mirrorbrain. For instance (this is for Slackware64-14.2 but that works of course the same for -current):
I'll change the build script to use .?z instead of .?z* with the next update. I've done this elsewhere, but usually only where I'm trying to keep an upstream GPG signature.
Thanks.
Elsewhere? like gobject-introspection? That one has pretty much the same issue. But like Alien pointed out, it seems that I got those sources where I'm not supposed to go. I'll use a mirror directly next time. I didn't check and assumed I was redirected to a proper mirror.
Quote:
Originally Posted by Alien Bob
The file "setuptools-40.2.0.tar.xz.mirrorlist" is not part of the Slackware source tree.
Check your download. The only issue is on your computer.
I use the https://mirrors.slackware.com for autoselect and apparently it keeps redirecting me on the official where, I assure you, I can see those files.
I use the https://mirrors.slackware.com for autoselect and apparently it keeps redirecting me on the official where, I assure you, I can see those files.
Shameless plug, but I have a script you can use to help you find the fastest mirror, rather than relying on mirrors.slackware.com. It is preset with the US mirrors (to make it a bit faster), but you can replace that section with any other mirrors (easiest to pull from /etc/slackpkg/mirrors).
It is not as I explained in my previous post.
However here is a simple solution (call it a workaround if you prefer):
Code:
rm python-setuptools/*mirrorlist
Of course it is, I was just thinking if it's going to be public better tell someone to fix it as maybe they didn't see it but that was before I realized I was using the wrong mirror due to redirection.
BTW, the post where I ironically say my computer is not trolling me has, in fact, been sent before your post but has been queued for moderation I think.
Quote:
Originally Posted by bassmadrigal
Shameless plug, but I have a script you can use to help you find the fastest mirror, rather than relying on mirrors.slackware.com. It is preset with the US mirrors (to make it a bit faster), but you can replace that section with any other mirrors (easiest to pull from /etc/slackpkg/mirrors).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.