Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#15012 closed defect (fixed)

streamripper not building

Reported by: dhaines@… Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: streamripper Cc:
Port:

Description (last modified by jmpp@…)

a "sudo port install streamripper" (assuming that none of the pre-install steps have taken place) produces the following:

--->  Fetching streamripper
--->  Attempting to fetch streamripper-1.62.3.tar.gz from http://streamripper.sourceforge.net//files/
--->  Attempting to fetch streamripper-1.62.3.tar.gz from http://downloads.sourceforge.net/streamripper
--->  Verifying checksum(s) for streamripper
--->  Extracting streamripper
--->  Configuring streamripper
--->  Building streamripper with target all
Error: Target org.macports.build returned: shell command " cd "/usr/local/var/macports/build/_usr_local_var_macports_sources_rsync.macports.org_release_ports_audio_streamripper/work/streamripper-1.62.3" && make all " returned error 2
Command output: 		-e 's/^.*/ *&/' ./COPYRIGHT; echo;  \
	echo "# ifdef __cplusplus";  \
	echo 'extern "C" {';  \
	echo "# endif"; echo;  \
	if [ ".-DFPM_INTEL" != "." ]; then  \
		echo ".-DFPM_INTEL" | sed -e 's|^\.-D|# define |'; echo;  \
	fi;  \
	sed -ne 's/^# *define  *\(HAVE_.*_ASM\).*/# define \1/p'  \
		config.h; echo;  \
	sed -ne 's/^# *define  *OPT_\(SPEED\|ACCURACY\).*/# define OPT_\1/p'  \
		config.h; echo;  \
	sed -ne 's/^# *define  *\(SIZEOF_.*\)/# define \1/p'  \
		config.h; echo;  \
	for header in version.h fixed.h bit.h timer.h stream.h frame.h synth.h decoder.h; do  \
		echo;  \
		sed -n -f ./mad.h.sed ./$header;  \
	done; echo;  \
	echo "# ifdef __cplusplus";  \
	echo '}';  \
	echo "# endif") >mad.h
make  all-recursive
/bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I. -DFPM_INTEL -DASO_ZEROCHECK  -I/usr/local/include  -Wall -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386 -arch ppc -march=i486 -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -c -o version.lo version.c
mkdir .libs
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I. -DFPM_INTEL -DASO_ZEROCHECK -I/usr/local/include -Wall -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386 -arch ppc -march=i486 -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -c version.c  -fno-common -DPIC -o .libs/version.o
cc1: error: invalid option 'arch=i486'
lipo: can't figure out the architecture type of: /var/tmp//ccryGFfm.out
make[3]: *** [version.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.

There seems to be an issue with the march options, but I could well be wrong. This is on a MacBook Pro (1,1).

Attachments (1)

config.log (43.3 KB) - added by dhaines@… 16 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

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

Assigning to maintainer.

comment:2 Changed 16 years ago by cssdev

Status: newassigned

It builds for me using Tiger on a MacBook Pro. I'm unable to duplicate the error. I don't have access to Leopard yet. Could you check in the port's work directory and attach the config.log file?

Changed 16 years ago by dhaines@…

Attachment: config.log added

comment:3 Changed 16 years ago by dhaines@…

I've attached the config.log as requested.

comment:4 Changed 16 years ago by jmpp@…

Description: modified (diff)

comment:5 Changed 16 years ago by cssdev

Perhaps the update noted in #15224 will make a difference, but otherwise I'm at a loss as to why it's not building on Leopard.

comment:6 Changed 16 years ago by cssdev

Resolution: fixed
Status: assignedclosed

I've now joined the Leopard party, and streamripper-1.63.1_1 builds and runs fine for me. It looks like the upgrade resolved the issue.

comment:7 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.