Opened 19 months ago

Closed 19 months ago

Last modified 15 months 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, 19 months 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, 19 months ago

Description: modified (diff)

comment:3 by Bruce Dubbs, 19 months 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, 19 months ago

Fixed at revision 22795. Added errata entries.

comment:5 by Bruce Dubbs, 19 months ago

Resolution: fixed
Status: assignedclosed

comment:6 by Douglas R. Reno, 19 months 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, 19 months ago

tar -cJf pkg.tar.xz pkgdir

  • Capital J for xz
  • lowercase j for bz2

comment:8 by Bruce Dubbs, 15 months ago

Milestone: 9.210,0

Milestone renamed

comment:9 by Bruce Dubbs, 15 months ago

Milestone: 10,010.0

Milestone renamed

Note: See TracTickets for help on using tickets.