Opened 13 years ago
Closed 12 years ago
#33717 closed defect (fixed)
docbook-xml-4.1.2: tar: +CONTENTS: Not found in archive
Reported by: | dianabowley@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | mkae (Marko Käning) | |
Port: | docbook-xml-4.1.2 |
Description (last modified by mkae (Marko Käning))
I am running OS X 10.7.3 with Xcode 4.3.1 and I've installed the command line tools. I install MacPorts 2.0.4. I am trying to follow the instructions to install a windows program from the following website about how to install BioEdit on a mac (can't seem to post the actual url). However I receive the following when trying to install wine (see below)
Any help would be greatly appreciated!
$ sudo port install wine ---> Computing dependencies for wine ---> Dependencies to be installed: apple-gcc42 gst-plugins-base gnome-vfs gconf dbus-glib gtk-doc docbook-xml docbook-xml-4.1.2 docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl docbook-xsl gnome-doc-utils intltool gnome-common p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser iso-codes libxslt libxml2 libxml2 libxslt libxslt py27-libxml2 python27 db46 libedit openssl openssl python_select sqlite3 python27 py27-libxml2 rarian getopt gtk2 atk gdk-pixbuf2 jasper jpeg jpeg libpng libpng tiff tiff hicolor-icon-theme pango Xft2 xrender xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto xrender cairo libpixman xorg-xcb-util shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXext xorg-util-macros xorg-libXfixes xorg-fixesproto xorg-libXcomposite xorg-libXcursor xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXinerama xorg-libXrandr xorg-randrproto xorg-libXrandr orbit2 libidl policykit eggdbus gnome-mime-data gstreamer gzip texinfo gstreamer libtheora libvorbis libogg orc lcms mesa makedepend xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libsm xorg-libice xorg-libsm xorg-libXxf86vm xorg-xf86vidmodeproto ---> Installing docbook-xml-4.1.2 @4.1.2_1 Error: Target org.macports.install returned: tar: +CONTENTS: Not found in archive tar: Error exit delayed from previous errors. Error: Failed to install docbook-xml-4.1.2 Log for docbook-xml-4.1.2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_docbook-xml-4.1.2/docbook-xml-4.1.2/main.log Error: The following dependencies were not installed: gst-plugins-base gnome-vfs gconf dbus-glib gtk-doc docbook-xml docbook-xml-4.1.2 docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl docbook-xsl gnome-doc-utils intltool gnome-common p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser iso-codes libxslt libxml2 libxml2 libxslt libxslt py27-libxml2 python27 db46 libedit openssl openssl python_select sqlite3 python27 py27-libxml2 rarian getopt gtk2 atk gdk-pixbuf2 jasper jpeg jpeg libpng libpng tiff tiff hicolor-icon-theme pango Xft2 xrender xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto xrender cairo libpixman xorg-xcb-util shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXext xorg-util-macros xorg-libXfixes xorg-fixesproto xorg-libXcomposite xorg-libXcursor xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXinerama xorg-libXrandr xorg-randrproto xorg-libXrandr orbit2 libidl policykit eggdbus gnome-mime-data gstreamer gzip texinfo gstreamer libtheora libvorbis libogg orc lcms mesa makedepend xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libsm xorg-libice xorg-libsm xorg-libXxf86vm xorg-xf86vidmodeproto Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Change History (14)
comment:1 follow-up: 2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Port: | docbook-xml-4.1.2 added |
Summary: | problems installing wine → docbook-xml-4.1.2: tar: +CONTENTS: Not found in archive |
comment:2 Changed 13 years ago by dianabowley@…
Replying to ryandesign@…: Thanks so much for trying to help.... but it still didn't work, I'm still getting the same result. Any other suggestions?
Diana
comment:3 Changed 13 years ago by mkae (Marko Käning)
I came across the same problem when trying to upgrade ktoblzcheck locally to 1.38 (1.37 is currently the most recent version in MacPorts):
$ sudo port installed ktoblzcheck The following ports are currently installed: ktoblzcheck @1.37_0 (active) $ sudo port build ---> Computing dependencies for ktoblzcheck ---> Fetching ktoblzcheck ---> Attempting to fetch ktoblzcheck-1.38.tar.gz from http://switch.dl.sourceforge.net/ktoblzcheck ---> Verifying checksum(s) for ktoblzcheck ---> Extracting ktoblzcheck ---> Applying patches to ktoblzcheck ---> Configuring ktoblzcheck ---> Building ktoblzcheck $ sudo port install ---> Computing dependencies for ktoblzcheck ---> Fetching archive for ktoblzcheck ---> Installing ktoblzcheck @1.38_0 Error: Target org.macports.install returned: tar: +CONTENTS: Not found in archive tar: Error exit delayed from previous errors. Log for ktoblzcheck is at: /opt/local/var/macports/logs/_Users_marko_WC_MacPorts_ports_devel_ktoblzcheck/ktoblzcheck/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
As you can see above extract and even build works just fine, but when I try to install it fails.
The log shows eventually this:
. . . :notice:install ---> Installing ktoblzcheck @1.38_0 :debug:install Executing org.macports.install (ktoblzcheck) :error:install Target org.macports.install returned: tar: +CONTENTS: Not found in archive tar: Error exit delayed from previous errors. :debug:install Backtrace: tar: +CONTENTS: Not found in archive tar: Error exit delayed from previous errors. while executing "exec [findBinary tar ${portutil::autoconf::tar_path}] -xOj${qflag}f $location +CONTENTS" (procedure "extract_contents" line 6) invoked from within "extract_contents $location $portarchivetype" (procedure "portinstall::install_main" line 19) invoked from within "$procedure $targetname" :info:install Warning: the following items did not execute (for ktoblzcheck): org.macports.activate org.macports.install :notice:install Log for ktoblzcheck is at: /opt/local/var/macports/logs/_Users_marko_WC_MacPorts_ports_devel_ktoblzcheck/ktoblzcheck/main.log
which tells us that MacPorts tried to installed a binary version which it CANNOT find at all, since it still doesn't exist in the repo.
So, I guess, this is a bug with binary versions, isn't it?
comment:5 Changed 13 years ago by mkae (Marko Käning)
Ah, and I can add that the problem did not occur when I did the installation within a MacPorts installation which is not using binary ports.
comment:6 Changed 13 years ago by mkae (Marko Käning)
It turns out that even after committing the new Portfile to MacPorts' svn server the error would persist on the local MacPorts installation using the default prefix:
$ sudo port selfupdate; sudo port upgrade outdated ---> Updating MacPorts base sources using rsync MacPorts base version 2.0.4 installed, MacPorts base version 2.0.4 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated The following installed ports are outdated: ktoblzcheck 1.37_0 < 1.38_0 ---> Computing dependencies for ktoblzcheck ---> Fetching archive for ktoblzcheck ---> Installing ktoblzcheck @1.38_0 Error: Target org.macports.install returned: tar: +CONTENTS: Not found in archive tar: Error exit delayed from previous errors. Log for ktoblzcheck is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ktoblzcheck/ktoblzcheck/main.log Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets> Error: No ports matched the given expression
comment:7 follow-up: 8 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Is it possible this is a duplicate of #34080? See if using MacPorts 2.1.0 beta 2 helps (whenever that's released), or build manually from the 2.1 branch. This shouldn't be happening on Snow Leopard or later, unless you replaced "tar" with bsdtar.
comment:8 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign@…:
This shouldn't be happening on Snow Leopard or later, unless you replaced "tar" with bsdtar.
Correction: unless you replaced "tar" with gnutar.
comment:9 Changed 13 years ago by mkae (Marko Käning)
This happens on SL in my case with and without gnutar installed:
markos-imac:~ marko$ port installed gnutar The following ports are currently installed: gnutar @1.26_0 (active) markos-imac:~ marko$ sudo port deactivate gnutar Password: ---> Deactivating gnutar @1.26_0 ---> Cleaning gnutar markos-imac:~ marko$ tar --version bsdtar 2.6.2 - libarchive 2.6.2 markos-imac:~ marko$ whereis tar /usr/bin/tar markos-imac:~ marko$ PSLO ; PUOUI ---> Updating MacPorts base sources using rsync MacPorts base version 2.0.4 installed, MacPorts base version 2.0.4 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated The following installed ports are outdated: ktoblzcheck 1.37_0 < 1.38_0 mc 4.8.0_0 < 4.8.1.1_0 py26-tz 2012b_0 < 2012c_0 ---> Computing dependencies for ktoblzcheck ---> Installing ktoblzcheck @1.38_0 Error: Target org.macports.install returned: tar: +CONTENTS: Not found in archive tar: Error exit delayed from previous errors. Log for ktoblzcheck is at: /opt/local/var/macports/logs/_Users_marko_WC_MacPorts_ports_devel_ktoblzcheck/ktoblzcheck/main.log Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets> ---> Uninstalling gnutar @1.26_0 ---> Cleaning gnutar
comment:10 Changed 13 years ago by jmroot (Joshua Root)
I don't see the archive actually being downloaded in any of these logs. If you have an archive lying around locally that has no +CONTENTS, that would do it. Please do check if you can repro with 2.1.
comment:11 Changed 13 years ago by mkae (Marko Käning)
Description: | modified (diff) |
---|
OK, I cleaned and retried the installation with the same result:
$ sudo port clean --dist ktoblzcheck ---> Cleaning ktoblzcheck $ sudo port upgrade ktoblzcheck ---> Computing dependencies for ktoblzcheck ---> Fetching archive for ktoblzcheck ---> Installing ktoblzcheck @1.38_0 Error: Target org.macports.install returned: tar: +CONTENTS: Not found in archive tar: Error exit delayed from previous errors. Log for ktoblzcheck is at: /opt/local/var/macports/logs/_Users_marko_WC_MacPorts_ports_devel_ktoblzcheck/ktoblzcheck/main.log Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets> $
This is all with 2.0.4, of course. If I peek into the log I see this:
version:1 :msg:main ---> Computing dependencies for ktoblzcheck:info:main .:debug:main Searching for dependency: python27 :debug:main Found Dependency: receipt exists for python27 :msg:main :debug:main Executing org.macports.main (ktoblzcheck) :debug:archivefetch archivefetch phase started at Sat Apr 28 12:04:12 CEST 2012 :msg:archivefetch ---> Fetching archive for ktoblzcheck :debug:archivefetch Executing org.macports.archivefetch (ktoblzcheck) :debug:archivefetch Skipping completed org.macports.fetch (ktoblzcheck) :debug:archivefetch Skipping completed org.macports.checksum (ktoblzcheck) :debug:archivefetch Skipping completed org.macports.extract (ktoblzcheck) :debug:archivefetch Skipping completed org.macports.patch (ktoblzcheck) :debug:archivefetch Skipping completed org.macports.configure (ktoblzcheck) :debug:archivefetch Skipping completed org.macports.build (ktoblzcheck) :debug:archivefetch Skipping completed org.macports.destroot (ktoblzcheck) :debug:install install phase started at Sat Apr 28 12:04:12 CEST 2012 :notice:install ---> Installing ktoblzcheck @1.38_0 :debug:install Executing org.macports.install (ktoblzcheck) :error:install Target org.macports.install returned: tar: +CONTENTS: Not found in archive tar: Error exit delayed from previous errors. :debug:install Backtrace: tar: +CONTENTS: Not found in archive tar: Error exit delayed from previous errors. while executing "exec [findBinary tar ${portutil::autoconf::tar_path}] -xOj${qflag}f $location +CONTENTS" (procedure "extract_contents" line 6) invoked from within "extract_contents $location $portarchivetype" (procedure "portinstall::install_main" line 19) invoked from within "$procedure $targetname" :info:install Warning: the following items did not execute (for ktoblzcheck): org.macports.install :notice:install Log for ktoblzcheck is at: /opt/local/var/macports/logs/_Users_marko_WC_MacPorts_ports_devel_ktoblzcheck/ktoblzcheck/main.log
Isn't it strange that although I did a "sudo port clean --dist" all the fetch steps are simply skipped?
comment:12 Changed 13 years ago by mkae (Marko Käning)
Sorry, I didn't mean to change the description of this issue. Looks like I added a trailing space only. :-)
comment:13 Changed 12 years ago by mkae (Marko Käning)
Upgrading MacPorts to the 2.1.0 release candidate (thanks to Joshua for the hint) solved the installation issue for me after a "sudo port selfupdate" followed by a " sudo port clean --dist ktoblzcheck".
comment:14 Changed 12 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Sounds like the archive that got downloaded for docbook-xml-4.1.2 isn't being extracted properly. I'm not sure how that's possible, but I've seen other reports of this problem with other ports. Try:
Then try again.