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-02-2023, 05:51 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-1.70.0


rust doesn't build anymore on slackware64 -current:

Code:
Traceback (most recent call last):
  File "/tmp/rustc-1.70.0-src/./x.py", line 29, in <module>
    bootstrap.main()
  File "/tmp/rustc-1.70.0-src/src/bootstrap/bootstrap.py", line 950, in main
    bootstrap(args)
  File "/tmp/rustc-1.70.0-src/src/bootstrap/bootstrap.py", line 914, in bootstrap
    build.download_toolchain()
  File "/tmp/rustc-1.70.0-src/src/bootstrap/bootstrap.py", line 439, in download_toolchain
    self._download_component_helper(filename, "rustc", tarball_suffix)
  File "/tmp/rustc-1.70.0-src/src/bootstrap/bootstrap.py", line 475, in _download_component_helper
    unpack(tarball, tarball_suffix, self.bin_root(), match=pattern, verbose=self.verbose)
  File "/tmp/rustc-1.70.0-src/src/bootstrap/bootstrap.py", line 132, in unpack
    for member in tar.getnames():
  File "/usr/lib64/python3.9/tarfile.py", line 1981, in getnames
    return [tarinfo.name for tarinfo in self.getmembers()]
  File "/usr/lib64/python3.9/tarfile.py", line 1973, in getmembers
    self._load()        # all members, we first have to
  File "/usr/lib64/python3.9/tarfile.py", line 2668, in _load
    tarinfo = self.next()
  File "/usr/lib64/python3.9/tarfile.py", line 2573, 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
Code:
-rw-r--r--  1 root root   6380780 avril 20 16:13 cargo-1.69.0-x86_64-unknown-linux-gnu.tar.xz
-rw-r--r--  1  500  500       261 nov.  19  2020 link_libffi.diff.gz
-rw-r--r--  1 root root  19922944 sept.  2 05:37 rustc-1.69.0-x86_64-unknown-linux-gnu.tar.xz
-rw-r--r--  1  500  500 145507120 juin   1 20:51 rustc-1.70.0-src.tar.lz
-rwxr-xr-x  1  500  500      9913 juil. 13 19:10 rust.SlackBuild*
-rw-r--r--  1 root root  28553440 avril 20 16:15 rust-std-1.69.0-x86_64-unknown-linux-gnu.tar.xz
-rw-r--r--  1  500  500      1670 juin  12 20:51 rust.url
-rw-r--r--  1  500  500       910 févr. 27  2018 slack-desc
 
Old 09-02-2023, 07:55 AM   #2
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,397

Rep: Reputation: 4127Reputation: 4127Reputation: 4127Reputation: 4127Reputation: 4127Reputation: 4127Reputation: 4127Reputation: 4127Reputation: 4127Reputation: 4127Reputation: 4127
Hmmm...
It builds fine here

Code:
usr/share/bash-completion/completions/cargo
usr/share/zsh/
usr/share/zsh/site-functions/
usr/share/zsh/site-functions/_cargo
WARNING:  zero length file usr/doc/rust-1.70.0/html/.lock
WARNING:  zero length file usr/lib64/rustlib/src/rust/library/stdarch/rustfmt.toml

Slackware package /tmp/rust-1.70.0-x86_64-1.txz created.
 
1 members found this post helpful.
Old 09-02-2023, 08:15 AM   #3
lucabon
Member
 
Registered: Oct 2021
Location: Italy
Distribution: Slackware
Posts: 104

Rep: Reputation: 74
Quote:
Originally Posted by nobodino View Post
Code:
-rw-r--r--  1 root root  19922944 sept.  2 05:37 rustc-1.69.0-x86_64-unknown-linux-gnu.tar.xz
It seems that the file rustc-1.69.0-x86_64-unknown-linux-gnu.tar.xz was not completely downloaded (19922944 vs expected 62922900). Maybe a temporary failure in download?

Try to delete the downloaded packages (rust build script will download them automatically) or re-download the file https://static.rust-lang.org/dist/20...nux-gnu.tar.xz
 
1 members found this post helpful.
Old 09-02-2023, 08:26 AM   #4
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 lucabon.
Thanks.
 
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
LXer: Learn Rust by debugging Rust LXer Syndicated Linux News 0 07-30-2022 01:09 PM
LXer: Rust Foundation launches Rust Community Grants program LXer Syndicated Linux News 0 04-01-2022 03:30 PM
[SOLVED] regression on -current with rust nobodino Slackware 2 09-04-2021 02:46 PM
[SOLVED] regression on -current with rust >= 1.48.0 (latest non building package) nobodino Slackware 2 01-19-2021 12:59 AM

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

All times are GMT -5. The time now is 05:12 PM.

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