[MacPorts] #21637: netpbm not building on snow leaport
MacPorts
noreply at macports.org
Sat Sep 26 13:51:58 PDT 2009
#21637: netpbm not building on snow leaport
------------------------------------+---------------------------------------
Reporter: fcollman@… | Owner: mas@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port: netpbm
------------------------------------+---------------------------------------
Changes (by blb@…):
* keywords: netpbm =>
* owner: macports-tickets@… => mas@…
* port: => netpbm
Old description:
> 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
New description:
{{{
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
--
Comment:
Does the file {{{/opt/local/lib/libnetpbm.dylib}}} already exist? The
message
{{{
ld: warning: in /opt/local/lib/libnetpbm.dylib, file is not of required
architecture
}}}
suggests it does and is from a pre-10.6 install, in which case you need to
first read [wiki:Migration the Migration page] on upgrading.
Also, FYI, it builds fine here on 10.6.1, Xcode 3.2.
--
Ticket URL: <http://trac.macports.org/ticket/21637#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list