unable to install (as i386 on 10.6x) py26-psycopg2 +postgresql84

Jim Busser jbusser at interchange.ubc.ca
Sat Jan 23 23:44:57 PST 2010


In trying to build purely i386 on a MacBook Core 2 Duo (Snow Leopard)

I set
	build_arch i386

I reset back to commented-out
	variants.conf ("+universal")

? did I need to alter in macports.conf:
	universal_archs		x86_64 i386

problem seems in

---> Building ossp-uuid 

see output

**********************************************************************

MacBook:bin djb$ sudo port -f uninstall installed
Password:
--->  Deactivating bison @2.4.1_0
--->  Uninstalling bison @2.4.1_0
--->  Unable to uninstall expat 2.0.1_0, the following ports depend on it:
--->  	gettext
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating expat @2.0.1_0
--->  Uninstalling expat @2.0.1_0
--->  Deactivating gettext @0.17_4
--->  Uninstalling gettext @0.17_4
--->  Deactivating gperf @3.0.4_0
--->  Uninstalling gperf @3.0.4_0
--->  Unable to uninstall libiconv 1.13_0, the following ports depend on it:
--->  	libxml2
--->  	libxslt
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating libiconv @1.13_0
--->  Uninstalling libiconv @1.13_0
--->  Unable to uninstall libxml2 2.7.6_0, the following ports depend on it:
--->  	libxslt
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating libxml2 @2.7.6_0
--->  Uninstalling libxml2 @2.7.6_0
--->  Deactivating libxslt @1.1.26_0
--->  Uninstalling libxslt @1.1.26_0
--->  Deactivating m4 @1.4.13_0
--->  Uninstalling m4 @1.4.13_0
--->  Deactivating ncurses @5.7_0+darwin_10
--->  Uninstalling ncurses @5.7_0+darwin_10
--->  Deactivating ncursesw @5.7_0+darwin_10
--->  Uninstalling ncursesw @5.7_0+darwin_10
--->  Deactivating openssl @0.9.8l_0+darwin
--->  Uninstalling openssl @0.9.8l_0+darwin
--->  Deactivating zlib @1.2.3_4
--->  Uninstalling zlib @1.2.3_4
MacBook:bin djb$ sudo port clean --work --archive all
--->  Cleaning
(SNIP: 6566 packages cleaned)

MacBook:bin djb$ sudo port install -d py26-psycopg2 +postgresql84 
Password:
--->  Computing dependencies for py26-psycopg2
--->  Fetching zlib
--->  Verifying checksum(s) for zlib
--->  Extracting zlib
--->  Applying patches to zlib
--->  Configuring zlib
--->  Building zlib
--->  Staging zlib into destroot
--->  Installing zlib @1.2.3_4
--->  Activating zlib @1.2.3_4
--->  Cleaning zlib
--->  Fetching openssl
--->  Verifying checksum(s) for openssl
--->  Extracting openssl
--->  Applying patches to openssl
--->  Configuring openssl
--->  Building openssl
--->  Staging openssl into destroot
--->  Installing openssl @0.9.8l_0+darwin
--->  Activating openssl @0.9.8l_0+darwin
--->  Cleaning openssl
--->  Fetching expat
--->  Verifying checksum(s) for expat
--->  Extracting expat
--->  Configuring expat
--->  Building expat
--->  Staging expat into destroot
--->  Installing expat @2.0.1_0
--->  Activating expat @2.0.1_0
--->  Cleaning expat
--->  Fetching gperf
--->  Verifying checksum(s) for gperf
--->  Extracting gperf
--->  Configuring gperf
--->  Building gperf
--->  Staging gperf into destroot
--->  Installing gperf @3.0.4_0
--->  Activating gperf @3.0.4_0
--->  Cleaning gperf
--->  Fetching libiconv
--->  Verifying checksum(s) for libiconv
--->  Extracting libiconv
--->  Applying patches to libiconv
--->  Configuring libiconv
--->  Building libiconv
--->  Staging libiconv into destroot
--->  Installing libiconv @1.13_0
--->  Activating libiconv @1.13_0
--->  Cleaning libiconv
--->  Fetching ncursesw
--->  Verifying checksum(s) for ncursesw
--->  Extracting ncursesw
--->  Configuring ncursesw
--->  Building ncursesw
--->  Staging ncursesw into destroot
--->  Installing ncursesw @5.7_0+darwin_10
--->  Activating ncursesw @5.7_0+darwin_10
--->  Cleaning ncursesw
--->  Fetching ncurses
--->  Verifying checksum(s) for ncurses
--->  Extracting ncurses
--->  Configuring ncurses
--->  Building ncurses
--->  Staging ncurses into destroot
--->  Installing ncurses @5.7_0+darwin_10
--->  Activating ncurses @5.7_0+darwin_10
--->  Cleaning ncurses
--->  Fetching gettext
--->  Verifying checksum(s) for gettext
--->  Extracting gettext
--->  Applying patches to gettext
--->  Configuring gettext
--->  Building gettext
--->  Staging gettext into destroot
--->  Installing gettext @0.17_4
--->  Activating gettext @0.17_4
--->  Cleaning gettext
--->  Fetching m4
--->  Verifying checksum(s) for m4
--->  Extracting m4
--->  Applying patches to m4
--->  Configuring m4
--->  Building m4
--->  Staging m4 into destroot
--->  Installing m4 @1.4.13_0
--->  Activating m4 @1.4.13_0
--->  Cleaning m4
--->  Fetching bison
--->  Verifying checksum(s) for bison
--->  Extracting bison
--->  Configuring bison
--->  Building bison
--->  Staging bison into destroot
--->  Installing bison @2.4.1_0
--->  Activating bison @2.4.1_0
--->  Cleaning bison
--->  Fetching libxml2
--->  Verifying checksum(s) for libxml2
--->  Extracting libxml2
--->  Configuring libxml2
--->  Building libxml2
--->  Staging libxml2 into destroot
--->  Installing libxml2 @2.7.6_0
--->  Activating libxml2 @2.7.6_0
--->  Cleaning libxml2
--->  Fetching libxslt
--->  Verifying checksum(s) for libxslt
--->  Extracting libxslt
--->  Configuring libxslt
--->  Building libxslt
--->  Staging libxslt into destroot
--->  Installing libxslt @1.1.26_0
--->  Activating libxslt @1.1.26_0
--->  Cleaning libxslt
--->  Fetching ossp-uuid
--->  Verifying checksum(s) for ossp-uuid
--->  Extracting ossp-uuid
--->  Applying patches to ossp-uuid
--->  Configuring ossp-uuid
--->  Building ossp-uuid
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ossp-uuid/work/uuid-1.6.2" && /usr/bin/make -j2 all " returned error 2
Command output: libtool: compile:  /usr/bin/gcc-4.2 -I. -I. -I/opt/local/include -DHAVE_CONFIG_H -O2 -D_POSIX_C_SOURCE -arch i386 -pipe -c uuid_ui128.c  -fno-common -DPIC -o .libs/uuid_ui128.o
libtool: compile:  /usr/bin/gcc-4.2 -I. -I. -I/opt/local/include -DHAVE_CONFIG_H -O2 -D_POSIX_C_SOURCE -arch i386 -pipe -c uuid_ui64.c -o uuid_ui64.o >/dev/null 2>&1
libtool: compile:  /usr/bin/gcc-4.2 -I. -I. -I/opt/local/include -DHAVE_CONFIG_H -O2 -D_POSIX_C_SOURCE -arch i386 -pipe -c uuid_ui128.c -o uuid_ui128.o >/dev/null 2>&1
libtool: compile:  /usr/bin/gcc-4.2 -I. -I. -I/opt/local/include -DHAVE_CONFIG_H -O2 -D_POSIX_C_SOURCE -arch i386 -pipe -c uuid_str.c  -fno-common -DPIC -o .libs/uuid_str.o
/usr/bin/gcc-4.2 -I. -I. -I/opt/local/include -DHAVE_CONFIG_H -O2 -D_POSIX_C_SOURCE -arch i386 -pipe -c uuid_cli.c
libtool: compile:  /usr/bin/gcc-4.2 -I. -I. -I/opt/local/include -DHAVE_CONFIG_H -O2 -D_POSIX_C_SOURCE -arch i386 -pipe -c uuid_str.c -o uuid_str.o >/dev/null 2>&1
libtool: link: /usr/bin/gcc-4.2 -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libuuid.16.dylib  .libs/uuid.o .libs/uuid_md5.o .libs/uuid_sha1.o .libs/uuid_prng.o .libs/uuid_mac.o .libs/uuid_time.o .libs/uuid_ui64.o .libs/uuid_ui128.o .libs/uuid_str.o   -L/opt/local/lib    -install_name  /opt/local/lib/libuuid.16.dylib -compatibility_version 17 -current_version 17.22 -Wl,-single_module
ld: warning: in .libs/uuid.o, file is not of required architecture
ld: warning: in .libs/uuid_md5.o, file is not of required architecture
ld: warning: in .libs/uuid_sha1.o, file is not of required architecture
ld: warning: in .libs/uuid_prng.o, file is not of required architecture
ld: warning: in .libs/uuid_mac.o, file is not of required architecture
ld: warning: in .libs/uuid_time.o, file is not of required architecture
ld: warning: in .libs/uuid_ui64.o, file is not of required architecture
ld: warning: in .libs/uuid_ui128.o, file is not of required architecture
ld: warning: in .libs/uuid_str.o, file is not of required architecture
libtool: link: dsymutil .libs/libuuid.16.dylib || :
warning: no debug symbols in executable (-arch x86_64)
libtool: link: (cd ".libs" && rm -f "libuuid.dylib" && ln -s "libuuid.16.dylib" "libuuid.dylib")
libtool: link: ar cru .libs/libuuid.a  uuid.o uuid_md5.o uuid_sha1.o uuid_prng.o uuid_mac.o uuid_time.o uuid_ui64.o uuid_ui128.o uuid_str.o
libtool: link: ranlib .libs/libuuid.a
libtool: link: ( cd ".libs" && rm -f "libuuid.la" && ln -s "../libuuid.la" "libuuid.la" )
libtool: link: /usr/bin/gcc-4.2 -o .libs/uuid uuid_cli.o  -L/opt/local/lib ./.libs/libuuid.dylib
ld: warning: in uuid_cli.o, file is not of required architecture
Undefined symbols:
  "_main", referenced from:
      start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [uuid] Error 1

Error: The following dependencies failed to build: postgresql84 ossp-uuid readline python26 bzip2 db46 gdbm sqlite3 tk Xft2 fontconfig freetype pkgconfig xrender xorg-libX11 groff xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto tcl xorg-libXScrnSaver xorg-libXext xorg-scrnsaverproto
Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.
MacBook:bin djb$ 



More information about the macports-users mailing list