Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #15012 (closed defect: fixed)

Opened 5 months ago

Last modified 11 days ago

streamripper not building

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

Description (last modified by jmpp@…) (diff)

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

config.log (43.3 kB) - added by dhaines@… 4 months ago.

Change History

Changed 5 months ago by jmr@…

  • owner changed from macports-tickets@… to css@…

Assigning to maintainer.

Changed 5 months ago by css@…

  • status changed from new to assigned

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 4 months ago by dhaines@…

Changed 4 months ago by dhaines@…

I've attached the config.log as requested.

Changed 4 months ago by jmpp@…

  • description modified (diff)

Changed 4 months ago by css@…

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.

Changed 11 days ago by css@…

  • status changed from assigned to closed
  • resolution set to fixed

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.

Note: See TracTickets for help on using tickets.