[MacPorts] #42567: poppler @0.24.5_0 fails on extract
MacPorts
noreply at macports.org
Wed Feb 19 16:52:07 PST 2014
#42567: poppler @0.24.5_0 fails on extract
-----------------------+--------------------------------
Reporter: gpwolfe@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: | Port:
-----------------------+--------------------------------
OSX: 10.9.1 (Mavericks)
Xcode: 5.0.1 (5A2053)
In an installation attempt for graphviz, the poppler dep fails to extract.
{{{
---> Extracting poppler
Error: org.macports.extract for port poppler returned: command execution
failed
Error: Failed to install poppler
Please see the log file for port poppler for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/main.log
}}}
I'll attach the main.log, but the ultimate issue is that it's looking for
/usr/bin/gnutar which does not natively exist.
{{{
:info:extract ---> Extracting poppler-0.24.5.tar.xz
:debug:extract setting option extract.args to
/macports/distfiles/poppler/poppler-0.24.5.tar.xz'
:debug:extract Environment: CPATH='/opt/local/include'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:extract Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work"
&& /opt/local/bin/xz -dc
'/opt/local/var/macports/distfiles/poppler/poppler-0.24.5.tar.xz' |
/usr/bin/gnutar --no-same-owner -xf -'
:debug:extract Executing command line: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work"
&& /opt/local/bin/xz -dc
'/opt/local/var/macports/distfiles/poppler/poppler-0.24.5.tar.xz' |
/usr/bin/gnutar --no-same-owner -xf -
:info:extract sh: /usr/bin/gnutar: No such file or directory
:info:extract Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work"
&& /opt/local/bin/xz -dc
'/opt/local/var/macports/distfiles/poppler/poppler-0.24.5.tar.xz' |
/usr/bin/gnutar --no-same-owner -xf -
:info:extract Exit code: 127
:error:extract org.macports.extract for port poppler returned: command
execution failed
}}}
I resolved the issue by install the gnutar port and then linking
/usr/bin/gnutar -> /opt/local/bin/gnutar and rerunning the port install of
poppler and, after that succeeded, I continued w/my original intent of
graphviz; also successful.
Ideally, if it must truly depend on gnutar, that'd a) be a dependency in
the poppler port and b) reference it in the port install tree. e.g.
/opt/local/bin
--
Ticket URL: <https://trac.macports.org/ticket/42567>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list