Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#13222 closed defect (fixed)

xf86-video-intel-20200218 (and others) file format

Reported by: thomas Owned by: Bruce Dubbs
Priority: normal Milestone: 10.0
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description (last modified by thomas)

The download file is named xf86-video-intel-20200218.tar.xz

but it is a bzip2-compressed file:

$ file /mnt/LFS/conglomeration/xf86-video-intel-20200218.tar.xz
/mnt/LFS/conglomeration/xf86-video-intel-20200218.tar.xz: bzip2 compressed data, block size = 900k

So, either name of compression-type is not what it should be.

It does not harm if "tar -xf <tarball>" is used. That might be the reason why it hasn't came up so far. But it breaks if doing "tar -xJf <tarball>". The capital 'J' is what the extension of .xz suggests.

That breaks scripts which are using the file naming to prepare options for the tar command. Regardless if that approach (using "extensions" for controlling script functionality) is good or not, we should not mix extensions/file-formats.

Change History (9)

comment:1 by thomas, 4 years ago

Summary: xf86-video-intel-20200218 file formatxf86-video-intel-20200218 (and others) file format

Same for cairo-1.17.2+f93fc72c03e.tar.xz

$ file /mnt/LFS/conglomeration/cairo-1.17.2+f93fc72c03e.tar.xz
/mnt/LFS/conglomeration/cairo-1.17.2+f93fc72c03e.tar.xz: bzip2 compressed data, block size = 900k}}}

comment:2 by thomas, 4 years ago

Description: modified (diff)

comment:3 by Bruce Dubbs, 4 years ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

I'll repackage an update the md5sum/file size.

comment:4 by Bruce Dubbs, 4 years ago

Fixed at revision 22795. Added errata entries.

comment:5 by Bruce Dubbs, 4 years ago

Resolution: fixed
Status: assignedclosed

comment:6 by Douglas R. Reno, 4 years ago

Thank you for taking care of this Bruce. I'm going to go read the manpage to make sure I use the correct options next time :)

comment:7 by Bruce Dubbs, 4 years ago

tar -cJf pkg.tar.xz pkgdir

  • Capital J for xz
  • lowercase j for bz2

comment:8 by Bruce Dubbs, 4 years ago

Milestone: 9.210,0

Milestone renamed

comment:9 by Bruce Dubbs, 4 years ago

Milestone: 10,010.0

Milestone renamed

Note: See TracTickets for help on using tickets.