LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-04-2021, 08:35 AM   #1
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
regression on -current with rust


rust doesn't build anymore in -current:
----------------------
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- ./compiler/rustc_llvm/build.rs.orig 2020-11-16 08:01:53.000000000 -0600
|+++ ./compiler/rustc_llvm/build.rs 2020-11-19 13:46:21.222785372 -0600
--------------------------
patching file compiler/rustc_llvm/build.rs
Using Plan A...
Hunk #1 succeeded at 218 (offset -16 lines).
done
extracting /tmp/rustc-1.54.0-src/build/cache/2021-06-17/rust-std-1.53.0-x86_64-unknown-linux-gnu.tar.xz
Traceback (most recent call last):
File "/tmp/rustc-1.54.0-src/./x.py", line 27, in <module>
bootstrap.main()
File "/tmp/rustc-1.54.0-src/src/bootstrap/bootstrap.py", line 1195, in main
bootstrap(help_triggered)
File "/tmp/rustc-1.54.0-src/src/bootstrap/bootstrap.py", line 1161, in bootstrap
build.download_toolchain()
File "/tmp/rustc-1.54.0-src/src/bootstrap/bootstrap.py", line 413, in download_toolchain
self._download_component_helper(filename, pattern, tarball_suffix, stage0)
File "/tmp/rustc-1.54.0-src/src/bootstrap/bootstrap.py", line 527, in _download_component_helper
unpack(tarball, tarball_suffix, self.bin_root(stage0), match=pattern, verbose=self.verbose)
File "/tmp/rustc-1.54.0-src/src/bootstrap/bootstrap.py", line 122, in unpack
for member in tar.getnames():
File "/usr/lib64/python3.9/tarfile.py", line 1807, in getnames
return [tarinfo.name for tarinfo in self.getmembers()]
File "/usr/lib64/python3.9/tarfile.py", line 1799, in getmembers
self._load() # all members, we first have to
File "/usr/lib64/python3.9/tarfile.py", line 2388, in _load
tarinfo = self.next()
File "/usr/lib64/python3.9/tarfile.py", line 2319, in next
self.fileobj.seek(self.offset - 1)
File "/usr/lib64/python3.9/lzma.py", line 261, in seek
return self._buffer.seek(offset, whence)
File "/usr/lib64/python3.9/_compression.py", line 143, in seek
data = self.read(min(io.DEFAULT_BUFFER_SIZE, offset))
File "/usr/lib64/python3.9/_compression.py", line 99, in read
raise EOFError("Compressed file ended before the "
EOFError: Compressed file ended before the end-of-stream marker was reached
----------------------------------
 
Old 09-04-2021, 01:23 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,533

Rep: Reputation: 8515Reputation: 8515Reputation: 8515Reputation: 8515Reputation: 8515Reputation: 8515Reputation: 8515Reputation: 8515Reputation: 8515Reputation: 8515Reputation: 8515
No problem here - tested both building with the installed Rust compiler and also using the bootstrap tarballs.

It looks possible that you've obtained corrupted bootstrap tarballs somehow.
 
1 members found this post helpful.
Old 09-04-2021, 02:46 PM   #3
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Original Poster
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
You're right, one package hadn't the right size.
Thanks Sir.

Last edited by nobodino; 09-04-2021 at 03:12 PM.
 
1 members found this post helpful.
  


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] regression on -current with rust >= 1.48.0 (latest non building package) nobodino Slackware 2 01-19-2021 12:59 AM
[SOLVED] Slackware-current: Bash-completion regression orbea Slackware 2 04-05-2016 03:44 PM
[SOLVED] i915 regression in -current NicePics13 Slackware 12 09-13-2015 05:36 PM
xorg regression in -current mina86 Slackware 5 03-06-2013 10:48 PM

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

All times are GMT -5. The time now is 09:17 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