Opened 15 years ago

Closed 14 years ago

#23412 closed defect (fixed)

netpbm doesn't support changing build_arch

Reported by: jlg89 Owned by: mas@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: netpbm

Description (last modified by mf2k (Frank Schima))

I'm getting a bunch of "file is not of required architecture" errors:

# port -d install netpbm
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/netpbm
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/netpbm
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: powerpc
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: 'universal_variant no' specified, so not adding the default universal variant
DEBUG: Requested variant powerpc is not provided by port netpbm.
DEBUG: Requested variant macosx is not provided by port netpbm.
DEBUG: Executing variant darwin provides darwin
DEBUG: Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/netpbm/work
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: zlib 1.2.3_4 exists in the ports tree
DEBUG: zlib 1.2.3_4 +universal is the latest installed
DEBUG: zlib 1.2.3_4 +universal is active
DEBUG: Merging existing variants universal into variants
DEBUG: new fully merged portvariants: universal +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: powerpc
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant powerpc is not provided by port zlib.
DEBUG: Requested variant darwin is not provided by port zlib.
DEBUG: Requested variant macosx is not provided by port zlib.
DEBUG: Executing variant universal provides universal
DEBUG: No need to upgrade! zlib 1.2.3_4 >= zlib 1.2.3_4
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/jpeg
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: jpeg 7_0 exists in the ports tree
DEBUG: jpeg 7_0 +universal is the latest installed
DEBUG: jpeg 7_0 +universal is active
DEBUG: Merging existing variants universal into variants
DEBUG: new fully merged portvariants: universal +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/jpeg
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: powerpc
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant powerpc is not provided by port jpeg.
DEBUG: Requested variant darwin is not provided by port jpeg.
DEBUG: Requested variant macosx is not provided by port jpeg.
DEBUG: Executing variant universal provides universal
DEBUG: No need to upgrade! jpeg 7_0 >= jpeg 7_0
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/tiff
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: tiff 3.9.2_2 exists in the ports tree
DEBUG: tiff 3.9.2_2 +macosx+universal is the latest installed
DEBUG: tiff 3.9.2_2 +macosx+universal is active
DEBUG: Merging existing variants macosx universal into variants
DEBUG: new fully merged portvariants: universal +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/tiff
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: powerpc
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant powerpc is not provided by port tiff.
DEBUG: Requested variant darwin is not provided by port tiff.
DEBUG: Executing variant universal provides universal
DEBUG: Executing variant macosx provides macosx
DEBUG: No need to upgrade! tiff 3.9.2_2 >= tiff 3.9.2_2
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libpng
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libpng 1.2.42_0 exists in the ports tree
DEBUG: libpng 1.2.42_0 +universal is the latest installed
DEBUG: libpng 1.2.42_0 +universal is active
DEBUG: Merging existing variants universal into variants
DEBUG: new fully merged portvariants: universal +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libpng
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: powerpc
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/archcheck-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant powerpc is not provided by port libpng.
DEBUG: Requested variant darwin is not provided by port libpng.
DEBUG: Requested variant macosx is not provided by port libpng.
DEBUG: Executing variant universal provides universal
DEBUG: No need to upgrade! libpng 1.2.42_0 >= libpng 1.2.42_0
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/jasper
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: jasper 1.900.1_6 exists in the ports tree
DEBUG: jasper 1.900.1_6 +universal is the latest installed
DEBUG: jasper 1.900.1_6 +universal is active
DEBUG: Merging existing variants universal into variants
DEBUG: new fully merged portvariants: universal +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/jasper
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: powerpc
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant powerpc is not provided by port jasper.
DEBUG: Requested variant darwin is not provided by port jasper.
DEBUG: Requested variant macosx is not provided by port jasper.
DEBUG: Executing variant universal provides universal
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/unzip
DEBUG: unzip is *not* installed by MacPorts
DEBUG: Searching for dependency: unzip
DEBUG: Didn't find receipt, going to depspec regex for: unzip
DEBUG: Found Dependency: path: /usr/bin filename: unzip regex: ^unzip$
DEBUG: unzip not installed, soft dependency satisfied
DEBUG: No need to upgrade! jasper 1.900.1_6 >= jasper 1.900.1_6
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: perl5 5.8.9_0 exists in the ports tree
DEBUG: perl5 5.8.9_0  is the latest installed
DEBUG: perl5 5.8.9_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: powerpc
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: 'universal_variant no' specified, so not adding the default universal variant
DEBUG: Requested variant powerpc is not provided by port perl5.
DEBUG: Requested variant darwin is not provided by port perl5.
DEBUG: Requested variant macosx is not provided by port perl5.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: perl5.8 5.8.9_3 exists in the ports tree
DEBUG: perl5.8 5.8.9_3  is the latest installed
DEBUG: perl5.8 5.8.9_3  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: powerpc
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant powerpc is not provided by port perl5.8.
DEBUG: Requested variant darwin is not provided by port perl5.8.
DEBUG: Requested variant macosx is not provided by port perl5.8.
DEBUG: No need to upgrade! perl5.8 5.8.9_3 >= perl5.8 5.8.9_3
DEBUG: No need to upgrade! perl5 5.8.9_0 >= perl5 5.8.9_0
--->  Computing dependencies for netpbm
DEBUG: Searching for dependency: zlib
DEBUG: Found Dependency: receipt exists for zlib
DEBUG: Searching for dependency: jpeg
DEBUG: Found Dependency: receipt exists for jpeg
DEBUG: Searching for dependency: tiff
DEBUG: Found Dependency: receipt exists for tiff
DEBUG: Searching for dependency: libpng
DEBUG: Found Dependency: receipt exists for libpng
DEBUG: Searching for dependency: jasper
DEBUG: Found Dependency: receipt exists for jasper
DEBUG: Searching for dependency: perl5
DEBUG: Found Dependency: receipt exists for perl5
DEBUG: Executing org.macports.main (netpbm)
--->  Fetching netpbm
DEBUG: Executing org.macports.fetch (netpbm)
--->  Verifying checksum(s) for netpbm
DEBUG: Executing org.macports.checksum (netpbm)
--->  Checksumming netpbm-10.26.61.tgz
DEBUG: Correct (md5) checksum for netpbm-10.26.61.tgz
DEBUG: Correct (sha1) checksum for netpbm-10.26.61.tgz
DEBUG: Correct (rmd160) checksum for netpbm-10.26.61.tgz
--->  Extracting netpbm
DEBUG: Executing org.macports.extract (netpbm)
--->  Extracting netpbm-10.26.61.tgz
DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/netpbm/netpbm-10.26.61.tgz
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work" && /usr/bin/gzip -dc /opt/local/var/macports/distfiles/netpbm/netpbm-10.26.61.tgz | /usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing org.macports.patch (netpbm)
--->  Applying patches to netpbm
--->  Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/netpbm/files/patch-lib-Makefile.diff
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61" && /usr/bin/patch -p0'
patching file lib/Makefile
--->  Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/netpbm/files/patch-pm_config.in.h.diff
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61" && /usr/bin/patch -p0'
patching file pm_config.in.h
--->  Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/netpbm/files/patch-jpeg7.diff
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61" && /usr/bin/patch -p0'
patching file converter/ppm/ppmtompeg/jpeg.c
DEBUG: Executing proc-post-org.macports.patch-patch-0
--->  Configuring netpbm
DEBUG: Using compiler 'Mac OS X gcc 4.0'
DEBUG: Executing org.macports.configure (netpbm)
DEBUG: Executing proc-post-org.macports.configure-configure-0
--->  Building netpbm
DEBUG: Executing org.macports.build (netpbm)
DEBUG: port disallows a parallel build
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61" && /usr/bin/gnumake  messages=yes'
/usr/bin/gnumake -C 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 all 
/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/ pm_config.h
/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/buildtools/ -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/buildtools/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 typegen 
/usr/bin/gcc-4.0 -c -o typegen.o -I/opt/local/include -O3 -arch ppc64 typegen.c
/usr/bin/gcc-4.0 -o typegen -L/opt/local/lib -arch ppc64 typegen.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/buildtools/typegen >inttypes_netpbm.h || (rm -f inttypes_netpbm.h || false)
/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/buildtools/ -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/buildtools/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 endiangen 
/usr/bin/gcc-4.0 -c -o endiangen.o -I/opt/local/include -O3 -arch ppc64 endiangen.c
/usr/bin/gcc-4.0 -o endiangen -L/opt/local/lib -arch ppc64 endiangen.o
echo '/* pm_config.h GENERATED BY A MAKE RULE */' >pm_config.h || (rm -f pm_config.h || false)
echo '#ifndef PM_CONFIG_H' >>pm_config.h || (rm -f pm_config.h || false)
echo '#define PM_CONFIG_H' >>pm_config.h || (rm -f pm_config.h || false)
echo '#include <inttypes.h>' >>pm_config.h || (rm -f pm_config.h || false)
echo '/* pm_config.h.in FOLLOWS ... */' >>pm_config.h || (rm -f pm_config.h || false)
cat /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/pm_config.in.h >>pm_config.h || (rm -f pm_config.h || false)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/buildtools/endiangen >>pm_config.h || (rm -f pm_config.h || false)
echo '#endif' >>pm_config.h || (rm -f pm_config.h || false)
rm -f pm_config.h
ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/pm_config.h pm_config.h
rm -f version.h
ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/version.h version.h
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/buildtools/stamp-date >compile.h || rm compile.h
rm -f shhopt.h
ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib/util/shhopt.h shhopt.h
rm -f nstring.h
ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib/util/nstring.h nstring.h
rm -f mallocvar.h
ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib/util/mallocvar.h mallocvar.h
rm -f bitreverse.h
ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib/util/bitreverse.h bitreverse.h
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libpm.o libpm.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o fileio.o fileio.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o bitio.o bitio.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o colorname.o colorname.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libpbm1.o libpbm1.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libpbm2.o libpbm2.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libpbm3.o libpbm3.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libpbmfont.o libpbmfont.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libpgm1.o libpgm1.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libpgm2.o libpgm2.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libppm1.o libppm1.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libppm2.o libppm2.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libppmcmap.o libppmcmap.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libppmcolor.o libppmcolor.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libppmd.o libppmd.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libppmfloyd.o libppmfloyd.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libpnm1.o libpnm1.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libpnm2.o libpnm2.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libpnm3.o libpnm3.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libpam.o libpam.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libpamread.o libpamread.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libpamwrite.o libpamwrite.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libpamn.o libpamn.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libpammap.o libpammap.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libpamcolor.o libpamcolor.c
/usr/bin/gcc-4.0 -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -I. -DNDEBUG -I/opt/local/include -O3 -arch ppc64 -fno-common \
            -o libsystem.o libsystem.c
/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/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 shhopt.o 
/usr/bin/gcc-4.0 -c -I/opt/local/include -O3 -arch ppc64 -fno-common  -o shhopt.o shhopt.c
/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/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 nstring.o 
/usr/bin/gcc-4.0 -c -I/opt/local/include -O3 -arch ppc64 -fno-common  -o nstring.o nstring.c
/usr/bin/gcc-4.0 -L/opt/local/lib -dynamiclib -install_name /opt/local/lib/libnetpbm.10.dylib -compatibility_version 10 -current_version 10.26.61 -o libnetpbm.10.26.dylib libpm.o fileio.o bitio.o colorname.o libpbm1.o libpbm2.o libpbm3.o libpbmfont.o libpgm1.o libpgm2.o libppm1.o libppm2.o libppmcmap.o libppmcolor.o libppmd.o libppmfloyd.o libpnm1.o libpnm2.o libpnm3.o libpam.o libpamread.o libpamwrite.o libpamn.o libpammap.o libpamcolor.o libsystem.o util/shhopt.o util/nstring.o \
           -lc 
ld warning: in libpm.o, file is not of required architecture
ld warning: in fileio.o, file is not of required architecture
ld warning: in bitio.o, file is not of required architecture
ld warning: in colorname.o, file is not of required architecture
ld warning: in libpbm1.o, file is not of required architecture
ld warning: in libpbm2.o, file is not of required architecture
ld warning: in libpbm3.o, file is not of required architecture
ld warning: in libpbmfont.o, file is not of required architecture
ld warning: in libpgm1.o, file is not of required architecture
ld warning: in libpgm2.o, file is not of required architecture
ld warning: in libppm1.o, file is not of required architecture
ld warning: in libppm2.o, file is not of required architecture
ld warning: in libppmcmap.o, file is not of required architecture
ld warning: in libppmcolor.o, file is not of required architecture
ld warning: in libppmd.o, file is not of required architecture
ld warning: in libppmfloyd.o, file is not of required architecture
ld warning: in libpnm1.o, file is not of required architecture
ld warning: in libpnm2.o, file is not of required architecture
ld warning: in libpnm3.o, file is not of required architecture
ld warning: in libpam.o, file is not of required architecture
ld warning: in libpamread.o, file is not of required architecture
ld warning: in libpamwrite.o, file is not of required architecture
ld warning: in libpamn.o, file is not of required architecture
ld warning: in libpammap.o, file is not of required architecture
ld warning: in libpamcolor.o, file is not of required architecture
ld warning: in libsystem.o, file is not of required architecture
ld warning: in util/shhopt.o, file is not of required architecture
ld warning: in util/nstring.o, file is not of required architecture
rm -f libnetpbm.10.dylib
ln -s libnetpbm.10.26.dylib libnetpbm.10.dylib
rm -f libnetpbm.dylib
ln -s libnetpbm.10.dylib libnetpbm.dylib
rm -f libnetpbm.a
ar rc libnetpbm.a libpm.o fileio.o bitio.o colorname.o libpbm1.o libpbm2.o libpbm3.o libpbmfont.o libpgm1.o libpgm2.o libppm1.o libppm2.o libppmcmap.o libppmcolor.o libppmd.o libppmfloyd.o libpnm1.o libpnm2.o libpnm3.o libpam.o libpamread.o libpamwrite.o libpamn.o libpammap.o libpamcolor.o libsystem.o util/shhopt.o util/nstring.o
ranlib libnetpbm.a
/usr/bin/gnumake -C converter/ -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61//converter/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 all 
/usr/bin/gnumake -C pbm/ -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/converter/pbm/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 all 
rm -f pm_config.h
ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/pm_config.h pm_config.h
rm -f pm.h
ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib/pm.h pm.h
rm -f pbm.h
ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib/pbm.h pbm.h
rm -f shhopt.h
ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib/util/shhopt.h shhopt.h
rm -f nstring.h
ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib/util/nstring.h nstring.h
rm -f mallocvar.h
ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib/util/mallocvar.h mallocvar.h
rm -f bitreverse.h
ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib/util/bitreverse.h bitreverse.h
rm -f wordaccess.h
ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib/util/wordaccess.h wordaccess.h
/usr/bin/gcc-4.0 -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 -I.  -DNDEBUG \
             -I/opt/local/include -O3 -arch ppc64   -o atktopbm.o atktopbm.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/buildtools/ -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/buildtools/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 libopt 
/usr/bin/gcc-4.0 -c -I/opt/local/include -O3 -arch ppc64 -o libopt.o \
                -DSHLIBPREFIXLIST="\"lib\"" \
                    \
                libopt.c
/usr/bin/gcc-4.0 -o libopt -L/opt/local/lib -arch ppc64 libopt.o
/usr/bin/gcc-4.0 -o atktopbm atktopbm.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` \
          -L/opt/local/lib -arch ppc64    
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/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib/libnetpbm.dylib, file is not of required architecture
Undefined symbols:
  "_pbm_writepbmrow", referenced from:
      _main in atktopbm.o
  "_pm_usage", referenced from:
      _main in atktopbm.o
  "_pm_error", referenced from:
      _main in atktopbm.o
      _main in atktopbm.o
      _main in atktopbm.o
      _main in atktopbm.o
      _main in atktopbm.o
      _main in atktopbm.o
      _main in atktopbm.o
  "_pbm_init", referenced from:
      _main in atktopbm.o
  "_pm_close", referenced from:
      _main in atktopbm.o
      _main in atktopbm.o
  "_pm_openr", referenced from:
      _main in atktopbm.o
  "_pbm_writepbminit", referenced from:
      _main in atktopbm.o
  "_pm_allocrow", referenced from:
      _main in atktopbm.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
gnumake[2]: *** [atktopbm] Error 1
gnumake[1]: *** [pbm/all] Error 2
gnumake: *** [converter/all] Error 2
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/work/netpbm-10.26.61" && /usr/bin/gnumake  messages=yes " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61" && /usr/bin/gnumake  messages=yes " returned error 2
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for netpbm): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: netpbm compile error 10.5 ppc64 removed
Owner: changed from macports-tickets@… to mas@…

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Summary: netpbm will not install on Mac OS X Server 10.5.8 (PPC)netpbm will not install on Mac OS X Server 10.5.8 (PPC) with build_arch ppc64

comment:3 Changed 15 years ago by mas@…

Owner: changed from mas@… to macports-tickets@…

Cannot help debugging this, as I don't have access to a PPC system any more.

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Owner: changed from macports-tickets@… to mas@…
Summary: netpbm will not install on Mac OS X Server 10.5.8 (PPC) with build_arch ppc64netpbm doesn't support changing build_arch

It's not PowerPC-specific; any change to build_arch in macports.conf will result in the error. I see it when trying to build for i386 on a 64-bit Snow Leopard machine, for example.

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Fixed in r75216.

Note: See TracTickets for help on using tickets.