LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-11-2018, 12:15 PM   #1
NausX
LQ Newbie
 
Registered: Aug 2018
Location: Québec, Canada
Distribution: Slackware
Posts: 3

Rep: Reputation: Disabled
-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
At the line 37 :
Code:
VERSION=${VERSION:-$(echo setuptools-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
"$VERSION" contains the version with ".tar".

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.
 
Old 09-11-2018, 12:30 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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.
 
Old 09-11-2018, 01:09 PM   #3
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
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.
 
2 members found this post helpful.
Old 09-11-2018, 03:31 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob View Post
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):
Code:
didier[/tmp]$ lftp -c "mirror https://mirrors.slackware.com/slackware/slackware64-14.2/source/d/python-setuptools/"
didier[/tmp]$ ls -1 python-setuptools/
python-setuptools.SlackBuild
python-setuptools.SlackBuild.mirrorlist
setuptools-22.0.5.tar.xz
setuptools-22.0.5.tar.xz.mirrorlist
slack-desc
slack-desc.mirrorlist
didier[/tmp]$
Running for instance "firefox slack-desc.mirrorlist" shows a web page allowing to select a mirror.

So I assume that the OP downloaded from this mirror.

IIRC this stuff is maintained by Robby.

[OT]Thanks your last updates of Chromium and VLC. Much appreciated![/OT]

Last edited by Didier Spaier; 09-11-2018 at 03:38 PM.
 
Old 09-11-2018, 04:17 PM   #5
NausX
LQ Newbie
 
Registered: Aug 2018
Location: Québec, Canada
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by volkerdi View Post
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 View Post
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.

Code:
[17:09] nausx@HAL <~>$ lftp http://mirrors.slackware.com/slackware/slackware64-current/source/d/python-setuptools/ <<< 'cls -1'
cd: received redirection to `https://mirrors.slackware.com/slackware/slackware64-current/source/d/python-setuptools/'
python-setuptools.SlackBuild                                   
python-setuptools.SlackBuild.mirrorlist
python-setuptools.url
python-setuptools.url.mirrorlist
setuptools-40.2.0.tar.xz
setuptools-40.2.0.tar.xz.mirrorlist
slack-desc
slack-desc.mirrorlist
I sincerely doubt my computer is trolling me and added those lines.
 
Old 09-13-2018, 03:58 AM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by NausX View Post
I sincerely doubt my computer is trolling me and added those lines.
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

Last edited by Didier Spaier; 09-13-2018 at 12:00 PM.
 
Old 09-13-2018, 11:50 AM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by NausX View Post
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).

slack-mirror-speedtest.sh
 
1 members found this post helpful.
Old 09-13-2018, 06:41 PM   #8
NausX
LQ Newbie
 
Registered: Aug 2018
Location: Québec, Canada
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
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 View Post
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).

slack-mirror-speedtest.sh
Thx, this looks interesting imma take a look at it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ncurses-6.0-x86_64-3 on current having bug linuxxer Slackware 19 02-25-2018 06:23 AM
Firefox in Slackware64-current now xap/mozilla-firefox-55.0.3-x86_64-1.txz: Upgraded. onebuck Slackware 8 08-26-2017 07:27 PM
[SOLVED] Slackware current - Openssl and python2 update broke python-setuptools? orbea Slackware 28 03-14-2016 03:16 PM
[SOLVED] Potential bug in NetworkManager.Slackbuild on -current (patches not applied) K4rolis Slackware 8 01-17-2016 01:13 PM
Slackware -current 32 bit holds pan-0.134-x86_64-1.txz package gianco Slackware 4 02-25-2011 12:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration