Opened 9 years ago

Closed 9 years ago

#48600 closed defect (invalid)

libnetpbm: fetch failed

Reported by: wrg11@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: libnetpbm

Description

fetch failed on libnetpbm with this message: Subversion check out failed

I tried to follow the advice on finding alternative distfiles, but port distfiles libnetpbm returned no results (even after a separate, direct install attempt: sudo port install libnetpbm.

I'm attaching the log files for both the xfig and libnetpbm install attempts.

OS: 10.7.5 XCode: 4.6.3

Attachments (2)

xfig_main.log (57.0 KB) - added by wrg11@… 9 years ago.
log file for xfig attempt
libnetpbm_main.log (3.3 KB) - added by wrg11@… 9 years ago.
log file for libnetpbm attempt

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by wrg11@…

Attachment: xfig_main.log added

log file for xfig attempt

Changed 9 years ago by wrg11@…

Attachment: libnetpbm_main.log added

log file for libnetpbm attempt

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

Keywords: lion removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: libnetpbm added; xfig removed
Summary: xfig @3.2.5b_8 failure due to non-installed dependencieslibnetpbm: fetch failed

You're correct, libnetpbm has no distfiles; it fetches directly from the developer's Subversion repository. It would be nice (for all the usual reasons) if the developer would provide distfiles, but he does not.

The error message in your log says:

:info:fetch dyld: Library not loaded: /usr/lib/libpq.5.dylib
:info:fetch   Referenced from: /usr/lib/libaprutil-1.0.dylib
:info:fetch   Reason: image not found
:info:fetch sh: line 1: 16611 Trace/BPT trap: 5       /usr/bin/svn --non-interactive --trust-server-cert export https://svn.code.sf.net/p/netpbm/code/advanced/@2617 2>&1

So, something is wrong with some of your OS X-provided software. The error message is stating that /usr/bin/svn uses /usr/lib/libaprutil-1.0.dylib which uses /usr/lib/libpq.5.dylib, but apparently /usr/lib/libpq.5.dylib does not exist on your system.

One possibility is that /usr/lib/libpq.5.dylib is supposed to be there but was deleted somehow. The solution would be to restore /usr/lib/libpq.5.dylib from your backups or reinstall OS X.

Another possibility is that /usr/lib/libpq.5.dylib is not supposed to be there, and that /usr/lib/libaprutil-1.0.dylib is not supposed to be linked with /usr/lib/libpq.5.dylib, but for some reason it is. The solution would be to restore /usr/lib/libaprutil-1.0.dylib from your backups or reinstall OS X.

comment:2 Changed 9 years ago by wrg11@…

Thanks; this advice helped me solve the problem.

The machine is a hand-me-down that has had PostgreSQL installed at some stage. /usr/lib/libpq.5.dylib turned out to exist, but was a symbolic link to /Library/PostgreSQL/9.2/lib/libpq.5.dylib, which didn't (for unknown reasons).

My solution was to make it link instead to /usr/lib/libpq.5.3.dylib

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Ok, glad you got it working. OS X 10.11's rootless mode will be helpful in that it will prevent third-party installers from messing up the contents of /usr in this manner.

Note: See TracTickets for help on using tickets.