Opened 12 years ago

Closed 12 years ago

#22886 closed defect (fixed)

guile 1.8.7_0 (Universal Fails to Build) on Snow Leopard 10.6.2

Reported by: sumolx@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: guile

Description (last modified by mf2k (Frank Schima))

sudo port install guile +universal

--->  Computing dependencies for guile
--->  Fetching guile
--->  Verifying checksum(s) for guile
--->  Extracting guile
--->  Applying patches to guile
--->  Configuring guile
--->  Building guile
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_guile/work/guile-1.8.7" && /usr/bin/make -j2 all " returned error 2
Command output: 	  -e s:@-GUILE_MINOR_VERSION-@:8: \
	  -e s:@-GUILE_MICRO_VERSION-@:7:
Generating libpath.h...
mv version.h.tmp version.h
if [ "no" = "yes" ]; then \
		/usr/bin/gcc-4.2 -DHAVE_CONFIG_H  -I.. -I.. -I.. -c -o gen-scmconfig.o gen-scmconfig.c; \
	else \
		/usr/bin/gcc-4.2 -DHAVE_CONFIG_H   -I.. -I.. -I.. -I/opt/local/include  -O2 -arch x86_64 -arch i386 -Wall -Wmissing-prototypes -Werror -c -o gen-scmconfig.o gen-scmconfig.c; \
	fi
if [ "no" = "yes" ]; then \
		/usr/bin/gcc-4.2 -o gen-scmconfig gen-scmconfig.o; \
	else \
		/bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.2  -O2 -arch x86_64 -arch i386 -Wall -Wmissing-prototypes -Werror  -L/opt/local/lib -o gen-scmconfig gen-scmconfig.o  -lgmp -lm -lltdl ; \
	fi
libtool: link: /usr/bin/gcc-4.2 -O2 -arch x86_64 -arch i386 -Wall -Wmissing-prototypes -Werror -o gen-scmconfig gen-scmconfig.o  -L/opt/local/lib /opt/local/lib/libgmp.dylib -lm /opt/local/lib/libltdl.dylib
rm -f scmconfig.h.tmp
cat ./scmconfig.h.top > scmconfig.h.tmp
./gen-scmconfig >> scmconfig.h.tmp
chmod 444 scmconfig.h.tmp
rm -f scmconfig.h
mv scmconfig.h.tmp scmconfig.h
./guile-snarf -o alist.x alist.c -DHAVE_CONFIG_H -I.. -I.. -I.. -I/opt/local/include -O2 -arch x86_64 -arch i386 -Wall -Wmissing-prototypes -Werror
./guile-snarf -o arbiters.x arbiters.c -DHAVE_CONFIG_H -I.. -I.. -I.. -I/opt/local/include -O2 -arch x86_64 -arch i386 -Wall -Wmissing-prototypes -Werror
gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
make[2]: *** [alist.x] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [arbiters.x] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History (3)

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

Description: modified (diff)
Port: guile added

comment:2 Changed 12 years ago by ryandesign (Ryan Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Confirmed error on Leopard and Snow Leopard.

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

Resolution: fixed
Status: assignedclosed

In r61733 I switched guile to the muniversal portgroup. This fixes the x86_64/i386 universal build on Snow Leopard. It does not fix the ppc/i386 universal build on Leopard, which now fails with a different error, but at least that's no worse than before.

Note: See TracTickets for help on using tickets.