#21637 closed defect (worksforme)
netpbm not building on snow leaport
Reported by: | fcollman@… | Owned by: | mas@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | Cc: | giuseppe.caire@… | |
Port: | netpbm |
Description (last modified by blb@…)
sh-3.2# port install netpbm ---> Computing dependencies for netpbm ---> Fetching netpbm ---> Verifying checksum(s) for netpbm ---> Extracting netpbm ---> Applying patches to netpbm ---> Configuring netpbm ---> Building netpbm Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/w ork/netpbm-10.26.61" && /usr/bin/gnumake messages=yes " returned error 2 Command output: /usr/bin/gcc-4.2 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/conve rter/pbm/pbmtoppa -I. -DNDEBUG \ -I/opt/local/include -O3 -o pbmtoppa.o pbmtoppa.c /usr/bin/gcc-4.2 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/converter/pbm/pbmtopp a -I. -DNDEBUG \ -I/opt/local/include -O3 -o ppa.o ppa.c /usr/bin/gcc-4.2 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/converter/pbm/pbmtopp a -I. -DNDEBUG \ -I/opt/local/include -O3 -o pbm.o pbm.c /usr/bin/gcc-4.2 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/converter/pbm/pbmtopp a -I. -DNDEBUG \ -I/opt/local/include -O3 -o cutswath.o cutswath.c /usr/bin/gnumake -C /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib/ -f /opt/local/var/ macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib/Makefile \ SRCDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61 BUILDDIR=/opt/local/var/ macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61 libnetpbm.dylib /usr/bin/gnumake -C util/ -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib/util/Makef ile \ SRCDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61 BUILDDIR=/opt/local/ var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61 shhopt.o gnumake[5]: `shhopt.o' is up to date. /usr/bin/gnumake -C util/ -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib/util/Makef ile \ SRCDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61 BUILDDIR=/opt/local/ var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61 nstring.o gnumake[5]: `nstring.o' is up to date. /usr/bin/gcc-4.2 -L/opt/local/lib -o pbmtoppa pbmtoppa.o ppa.o pbm.o cutswath.o \ -lm `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/buildtools/libopt /opt/local /var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib/libnetpbm.dylib` \ libopt results: ' -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -lnetpbm' ld: warning: in /opt/local/lib/libnetpbm.dylib, file is not of required architecture Undefined symbols: "_pbm_init", referenced from: _main in pbmtoppa.o ld: symbol(s) not found collect2: ld returned 1 exit status gnumake[3]: *** [pbmtoppa] Error 1 gnumake[2]: *** [pbmtoppa/all] Error 2 gnumake[1]: *** [pbm/all] Error 2 gnumake: *** [converter/all] Error 2 Error: Status 1 encountered during processing.
I have done
port clean netpbm
I have tried
port install netpbm build.jobs=1
because of something i read about parallel builds not working
Change History (4)
comment:1 Changed 15 years ago by blb@…
Description: | modified (diff) |
---|---|
Keywords: | netpbm removed |
Owner: | changed from macports-tickets@… to mas@… |
Port: | netpbm added |
comment:2 Changed 15 years ago by mf2k (Frank Schima)
Cc: | giuseppe.caire@… added |
---|
Cc reporter of duplicate #23262.
comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Closing due to lack of response.
comment:4 Changed 14 years ago by wbunton@…
I ran into a similar situation where my 'port upgrade outdated' command would hang in upgrading netpbm.
After much trouble shooting, I found the error was revolving around a file called ljasper. This file is associated with jasper which netpbm is dependent on. I uninstalled jasper with the -f option (port uninstall -f jasper) and then reinstalled it. Jasper worked and not netpbm works as well.
I believe the problem was that I was updating at one point while logged in remotely. The terminal window connection was interrupted and I believe that it corrupted an update. I'll be more careful to put my update into a process that won't get interrupted.
Does the file
/opt/local/lib/libnetpbm.dylib
already exist? The messagesuggests it does and is from a pre-10.6 install, in which case you need to first read the Migration page on upgrading.
Also, FYI, it builds fine here on 10.6.1, Xcode 3.2.