Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#41854 closed defect (fixed)

qt4-mac: extract fails: libWebKitSystemInterfaceMavericks.a: not in gzip format

Reported by: ygn.01123581321@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: qt4-mac

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I am a new user of MacPorts and recently installed it on Mac OS X 10.8.5. I tried to install kdesdke4 to use Kile linux editor with the KDE environment. However, during a qt4-mac installation, it failed with the following message:

--->  Fetching distfiles for qt4-mac
--->  Verifying checksums for qt4-mac
--->  Checksumming qt-everywhere-opensource-src-4.8.5.tar.gz
--->  Checksumming libWebKitSystemInterfaceMavericks.a
--->  Extracting qt4-mac
--->  Extracting qt-everywhere-opensource-src-4.8.5.tar.gz
--->  Extracting libWebKitSystemInterfaceMavericks.a

gzip: /opt/local/var/macports/distfiles/qt4-mac/libWebKitSystemInterfaceMavericks.a: not in gzip format
/sw/bin/gnutar: This does not look like a tar archive
/sw/bin/gnutar: Exiting with failure status due to previous errors
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work" && /sw/bin/gzip -dc '/opt/local/var/macports/distfiles/qt4-mac/libWebKitSystemInterfaceMavericks.a' | /sw/bin/gnutar --no-same-owner -xf - 
Exit code: 2
Error: org.macports.extract for port qt4-mac returned: command execution failed
Warning: targets not executed for qt4-mac: org.macports.activate org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Failed to install qt4-mac
Please see the log file for port qt4-mac for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/main.log
Error: The following dependencies were not installed: automoc qt4-mac cervisia kdelibs4 aspell texinfo aspell-dict-en attica phonon avahi dbus-python27 dbus-glib glib2 libffi gtk-doc docbook-xml docbook-xml-4.1.2 docbook-xml-4.2 xmlcatmgr docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl gnome-doc-utils iso-codes libxslt libxml2 py27-libxml2 python27 bzip2 db46 db_select libedit python_select sqlite3 rarian py27-gobject gobject-introspection cairo fontconfig freetype libpixman gtk3 atk gdk-pixbuf2 jasper hicolor-icon-theme pango harfbuzz graphite2 shared-mime-info intltool p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser libdaemon libglade2 gtk2 py27-gdbm py27-pygtk py27-cairo py27-numpy fftw-3 gcc48 cctools cctools-headers ld64 llvm-3.3 llvm_select cloog gmp isl gcc_select libgcc libmpc mpfr py27-nose nosetests_select py27-setuptools cyrus-sasl2 kerberos5 libcomerr dbusmenu-qt qjson docbook-xsl-ns enchant hunspell readline flex giflib gmake grantlee libart_lgpl openexr ilmbase gsed pcre qca shared-desktop-ontologies soprano libiodbc raptor2 curl curl-ca-bundle redland rasqal mhash strigi boost icu clucene exiv2 ffmpeg XviD dirac cppunit gnutls libtasn1 nettle p11-kit desktop-file-utils popt lame libass enca fribidi libbluray libmodplug libogg libopus libsdl libtheora libvorbis libvpx yasm openjpeg15 jbigkit lcms2 schroedinger orc speex texi2html x264 virtuoso ImageMagick djvulibre librsvg libcroco libgsf ghostscript jbig2dec libpaper urw-fonts webp gawk openldap tcp_wrappers dolphin-plugins kde4-baseapps kde4-runtime bison kactivities kdepimlibs4 akonadi mysql5-server mysql5 llvm-gcc42 qt4-mac-mysql5-plugin gpgme gnupg libusb-compat libusb libassuan libgpg-error pth libical nepomuk-core prison libdmtx qrencode libssh openslp oxygen-icons qimageblitz nepomuk-widgets kapptemplate kcachegrind4 kde-dev-scripts kde-dev-utils kdesdk-kioslaves subversion apr apr-util libmagic serf1 scons kdesdk-strigi-analyzers kdesdk-thumbnailers kompare lokalize okteta poxml antlr umbrello
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port kdesdk4 failed

Attachments (2)

main.log (7.6 KB) - added by ygn.01123581321@… 10 years ago.
main.2.log (92.2 KB) - added by ygn.01123581321@… 10 years ago.

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by ygn.01123581321@…

Attachment: main.log added

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to michaelld@…
Port: qt4-mac added
Summary: kdesdk4qt4-mac: extract fails: libWebKitSystemInterfaceMavericks.a: not in gzip format

I am able to reproduce the problem on my Mountain Lion machine—that is, I do see the message that "libWebKitSystemInterfaceMavericks.a: not in gzip format". The port should be fixed to not try to extract this file, by listing all the files that should be extracted in extract.only. However, on my system it is just a warning message; it does not stop the build.

I think the reason why it turned into an error on your system is that you have /sw/bin/gnutar, and it's a different version than the one that comes with OS X. /sw is the directory where Fink traditionally installs software. Fink and MacPorts serve the same purpose—to let you install software packages—but they can interfere with one another, as indeed they do here: MacPorts has inadvertently detected and is using Fink's copy of gnutar.

The solution to that is to pick a single package manager—MacPorts or Fink—and uninstall the other. We do not support using multiple package managers on the same system.

If you choose to stay with MacPorts and have removed Fink, you'll have to reinstall MacPorts base (you can use the installer package on our web site, and reinstalling base will not adversely affect your installed ports) so that it no longer users Fink's gnutar. You may also have to reinstall some of the ports you have installed, which may have suffered the same problem (for example if a port X complains of missing libraries or programs beneath /sw, rebuild X with "sudo port -n upgrade --force X").

comment:2 in reply to:  1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Replying to ryandesign@…:

The port should be fixed to not try to extract this file, by listing all the files that should be extracted in extract.only.

r114873

Changed 10 years ago by ygn.01123581321@…

Attachment: main.2.log added

comment:3 Changed 10 years ago by ygn.01123581321@…

Thank you for your advice. It seemed that the install of qt4-mac was done successfully, however there is another issue I have got during the installation of poxml. The detail is shown in main.2.log file.

comment:4 Changed 10 years ago by ygn.01123581321@…

I still would like to find a solution to the issue of installing poxml, the log shown in above.

comment:5 in reply to:  4 Changed 10 years ago by larryv (Lawrence Velázquez)

Replying to ygn.01123581321@…:

I still would like to find a solution to the issue of installing poxml, the log shown in above.

Please open a new ticket for this.

Note: See TracTickets for help on using tickets.