LinuxQuestions.org
Visit Jeremy's Blog.
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-10-2015, 11:48 PM   #1
MRZA
LQ Newbie
 
Registered: Apr 2015
Location: Moscow, Russia
Distribution: Xubuntu
Posts: 10

Rep: Reputation: Disabled
Can't unpack certain archives


Hello. I'm trying to compile qt5 on Slackware64-current, but source archives fail to unpack.

Code:
$ tar xvf qt-everywhere-opensource-src-5.5.0.tar.gz 2> error.log
...
$ cat error.log 
tar: qt-everywhere-opensource-src-5.5.0/qtdeclarative/examples/quick/text/fonts/content/fonts: Cannot mkdir: Not a directory
tar: Exiting with failure status due to previous errors
$ tar xvf qt-everywhere-opensource-src-5.4.2.tar.xz 2> error.log
...
$ cat error.log
tar: qt-everywhere-opensource-src-5.4.2/qtwayland/src/qtwaylandscanner: Cannot utime: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtdeclarative/examples/quick/scenegraph/sgengine/window.cpp: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtdeclarative/examples/quick/demos/samegame/content/SmokeText.qml: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtdeclarative/examples/quick/shadereffects/content/qt-logo.png: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtlocation/tests/auto/qplaceimage/qplaceimage.pro: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtlocation/src/3rdparty/poly2tri/sweep/sweep.h: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtsvg/examples/svg/embeddedsvgviewer/embeddedsvgviewer.cpp: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/base/win/scoped_comptr.h: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/chrome/app/theme/default_200_percent/common/omnibox_star.png: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/sandbox/win/src/ipc_unittest.cc: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/ui/resources/default_200_percent/common/checkbox_pressed.png: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/sdch/open-vcdiff/aclocal.m4: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/third_party/icu/source/i18n/i18n.vcxproj.filters: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/third_party/icu/source/data/lang/ja.txt: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/core/html/HTMLDirectoryElement.idl: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/third_party/fips181/convert.cc: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/third_party/protobuf/src/google/protobuf/repeated_field_reflection_unittest.cc: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/third_party/protobuf/src/google/protobuf/message_unittest.cc: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/third_party/protobuf/src/google/protobuf/compiler/code_generator.cc: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/third_party/pywebsocket/src/mod_pywebsocket/mux.py: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/third_party/libjingle/source/talk/base/httpbase.h: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/third_party/libjingle/source/talk/media/other/linphonemediaengine.h: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/third_party/mesa/src/src/glx/dri2.h: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/third_party/mesa/src/src/mesa/swrast/s_zoom.c: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/third_party/freetype2/src/src/type42/type42.c: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/third_party/freetype2/src/src/pfr/pfrload.c: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/third_party/webrtc/base/crc32_unittest.cc: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/third_party/webrtc/base/basictypes.h: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/third_party/webrtc/modules/video_capture/ios/rtc_video_capture_ios_objc.mm: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/third_party/fontconfig/src/conf.d/49-sansserif.conf: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/net/base/host_mapping_rules.h: Cannot open: Not a directory
tar: qt-everywhere-opensource-src-5.4.2/qtwebengine/src/3rdparty/chromium/cc/resources/managed_tile_state.h: Cannot open: Not a directory
$ tar --version
tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
I can't find anything useful regarding these errors. I tried to untar on SSD and external USB-HDD, no luck
 
Old 09-11-2015, 12:54 AM   #2
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Are you certain the download was complete?
Where did you download from? I used the url from the Sbo qt5.info file - just changed the version numbers i.e.
Code:
wget http://download.qt-project.org/official_releases/qt/5.5/5.5.0/single/qt-everywhere-opensource-src-5.5.0.tar.xz
File size is
Code:
chris@d6:/storage/distfiles$ ls -l qt-everywhere-opensource-src-5.5.0.tar.xz 
-rw-r--r-- 1 chris vislab 319474656 Jul  1 16:44 qt-everywhere-opensource-src-5.5.0.tar.xz
(notice tar.xz not tar.gz). It unpacks normally.

chris
 
Old 09-11-2015, 07:35 AM   #3
MRZA
LQ Newbie
 
Registered: Apr 2015
Location: Moscow, Russia
Distribution: Xubuntu
Posts: 10

Original Poster
Rep: Reputation: Disabled
At least one of these archives is consistent (md5sum ok).
On another PC with Slackware64 14.1 I don't get any errors.
 
Old 09-11-2015, 02:18 PM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
I have occasionally run into *.tar.*z archives which I could only untar by decompressing them first and then using tar on them.
 
Old 09-11-2015, 03:55 PM   #5
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Usually,

Code:
tar -xf *.*
works for anything. The only time an archive won't decompress is if the download was incomplete, or the archive was corrupted.
 
Old 09-11-2015, 04:32 PM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
You didn't run out of disk space, did you?
 
Old 09-12-2015, 03:33 AM   #7
MRZA
LQ Newbie
 
Registered: Apr 2015
Location: Moscow, Russia
Distribution: Xubuntu
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gnashley View Post
I have occasionally run into *.tar.*z archives which I could only untar by decompressing them first and then using tar on them.
Wow. That works! But why?

Quote:
Originally Posted by dugan View Post
You didn't run out of disk space, did you?

I have plenty of free space. That's definitely not a problem.
 
Old 09-12-2015, 09:53 AM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Check the package's md5 checksum.
 
Old 09-13-2015, 02:31 AM   #9
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
I think that it may be because of creating the archives with BSD tar or some other variety of packer. There is/was a project called 'defora' where all his source archives are like that. Worth keeping in mind if anyone is scripting routines to unpack archives...
 
Old 09-13-2015, 05:16 AM   #10
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by MRZA View Post
I tried to untar on SSD and external USB-HDD, no luck
Is that a clue? What filesystems do the SSD and external USB-HDD use? Are they formatted with FAT or EXFAT, and does the extract work on a proper filesystem like ext4?
 
Old 09-14-2015, 07:16 AM   #11
MRZA
LQ Newbie
 
Registered: Apr 2015
Location: Moscow, Russia
Distribution: Xubuntu
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
Check the package's md5 checksum.
md5 checksum is correct.
Quote:
Originally Posted by 55020 View Post
Is that a clue? What filesystems do the SSD and external USB-HDD use? Are they formatted with FAT or EXFAT, and does the extract work on a proper filesystem like ext4?
reiserfs 3.6 on SSD and ext4 on USB-HDD

I still can't figure out what is wrong. I can untar the same package on another system with the same version of tar (both systems run slackware-current).
 
Old 09-14-2015, 09:34 AM   #12
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Try strace.
http://linux.die.net/man/1/strace
 
Old 09-27-2015, 11:06 AM   #13
MRZA
LQ Newbie
 
Registered: Apr 2015
Location: Moscow, Russia
Distribution: Xubuntu
Posts: 10

Original Poster
Rep: Reputation: Disabled
Now I can't unpack libreoffice archive

And unfortunately, I have no idea how to use strace in this case, because I get enormous amount of debug data. And I simply don't know what to look for.
 
Old 09-28-2015, 03:04 AM   #14
zakame
Member
 
Registered: Apr 2012
Location: Philippines
Distribution: Debian, Ubuntu, Slackware
Posts: 295

Rep: Reputation: 181Reputation: 181
Its probably because of either (a), murderfs, (b) murdered ssd/hdd, or (c) both.

Have you tried moving the ssd and hdd somewhere else?
 
Old 09-28-2015, 03:55 AM   #15
baldzhang
Member
 
Registered: Aug 2012
Posts: 58

Rep: Reputation: Disabled
I found a tar problem with largefile in -current

when run tar -czf a.tgz some-file-large-than-2G
tar told me "File too large"

after some research and compare,
I found this problem is occur after glibc upgrade to 2.22
tar with glibc 2.21 is OK.
 
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: Unpack multiple archives recursively in Linux LXer Syndicated Linux News 0 03-18-2009 07:50 PM
Segmenting archives into a variety of smaller archives. ktek Linux - Software 4 09-25-2008 04:47 AM
How to unpack and install mikeCanada Linux - Newbie 4 11-13-2005 06:30 AM
unpack it with what? wally58 Linux - Newbie 5 03-02-2005 10:10 AM
how do you unpack digital bots Linux - Newbie 5 04-09-2002 03:23 PM

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

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