Opened 10 years ago

Closed 10 years ago

#42567 closed defect (invalid)

poppler @0.24.5_0 fails on extract

Reported by: gpwolfe@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port:

Description

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

Attachments (1)

poppler_main.log (3.2 KB) - added by gpwolfe@… 10 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/main.log

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by gpwolfe@…

Attachment: poppler_main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/main.log

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Resolution: invalid
Status: newclosed

As per MavericksProblems, the issue is that you installed MacPorts on an older version of OS X and then upgraded to Mavericks without reinstalling MacPorts. MacPorts records the available tar executable on installation; this is /usr/bin/gnutar on older OS X. Mavericks no longer has that executable, but MacPorts will continue trying to use it until you reinstall.

Please remove the symlink you created and follow the migration instructions.

Note: See TracTickets for help on using tickets.