Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343245 - app-arch/tar-1.24-r1 does not unpack device nodes correctly
Summary: app-arch/tar-1.24-r1 does not unpack device nodes correctly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://git.savannah.gnu.org/cgit/tar....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-29 12:42 UTC by Albert W. Hopkins
Modified: 2010-11-01 14:52 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info.txt,3.71 KB, text/plain)
2010-10-29 12:43 UTC, Albert W. Hopkins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2010-10-29 12:42:08 UTC
My test is this:

sudo tar xjpf stage3-amd64-20101021.tar.bz2 -C test

With tar 1.23-r4 all the test/dev/* files are block or character device nodes.

With tar-1.24-r1 all the test/dev/* files are empty regular files.

The work around is to mask tar-1.24-r1.

I believe I am passing the correct arguments to tar as that's how it is specified in the handbook (I left out the "v" argument though).

This may also have possible problems with installing packages.
Comment 1 Albert W. Hopkins 2010-10-29 12:43:29 UTC
Created attachment 252475 [details]
emerge --info
Comment 2 Daniel Robbins 2010-11-01 04:20:22 UTC
Confirmed in Funtoo Linux.
Comment 3 Daniel Robbins 2010-11-01 04:21:52 UTC
Since tar-1.24 has been a total trainwreck, I'm going to mask it in Funtoo. I'd recommend masking it in Gentoo as well, since tar-1.24-r1 is potentially hazardous for a variety of tasks in Gentoo (unpacking openvz templates, for one...)
Comment 4 kfm 2010-11-01 11:54:47 UTC
Apparently, it was hard masked in response to bug 342735, albeit in a short-sighted manner:

  =app-arch/tar-1.24

I suggest that this be amended so as to use the tilde operator post-haste:

  ~app-arch/tar-1.24
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-11-01 12:06:01 UTC
Should try with current git: 

http://git.savannah.gnu.org/cgit/tar.git/

If it still fails, should be reported to tar's bug ML.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-11-01 14:52:46 UTC
+*tar-1.24-r2 (01 Nov 2010)
+
+  01 Nov 2010; Samuli Suominen <ssuominen@gentoo.org> +tar-1.24-r2.ebuild,
+  +files/tar-1.24-device-node.patch:
+  Fix extraction of device nodes wrt #343245 by Albert W. Hopkins.