Opened 15 years ago

Closed 15 years ago

#23218 closed defect (worksforme)

smpeg fails to build under Snow Leopard

Reported by: tim.stoop@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: smpeg

Description

This is mentioned in #19588, but since it's not the same problem as the original poster of that ticket, I thought I'd better create a new one. On Snow Leopard I'm getting the following while building smpeg:

--->  Building smpeg
DEBUG: Executing org.macports.build (smpeg)
DEBUG: port disallows a parallel build
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_smpeg/work/smpeg-0.4.4" && /usr/bin/make all'
Making all in audio
/bin/sh ../libtool --mode=compile /usr/bin/g++-4.2 -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\"  -I. -I.    -I/opt/local/include  -O2 -arch x86_64 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I.. -I../audio -I../video -fno-exceptions -fno-rtti -c MPEGaudio.cpp
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[1]: *** [MPEGaudio.lo] Error 1
make: *** [all-recursive] Error 1
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_smpeg/work/smpeg-0.4.4" && /usr/bin/make all " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_smpeg/work/smpeg-0.4.4" && /usr/bin/make all " 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 smpeg): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (9)

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

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

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

Works for me with the same OS and build_arch as the reporter.

comment:3 Changed 15 years ago by tim.stoop@…

Well, the only thing I do in general is build from MacPorts, I do not tinker with anything in the building environment (mainly because I'm simply not a programmer). If you want, I can deinstall all my ports and build them again, but I just did that last weekend.

comment:4 Changed 15 years ago by blb@…

What's the output from the following?

$ port installed libtool 
$ xcodebuild -version

comment:5 Changed 15 years ago by tim.stoop@…

asterisk:~ tim$ port installed libtool
The following ports are currently installed:
  libtool @2.2.6b_0 (active)
asterisk:~ tim$ xcodebuild -version
Xcode 3.2.1
Component versions: DevToolsCore-1614.0; DevToolsSupport-1591.0
BuildVersion: 10M2020
asterisk:~ tim$

Let me know if I can do anything else to help solve this! It's kinda keeping me from doing other stuff.

comment:6 Changed 15 years ago by blb@…

And just to make sure,

$ /opt/local/bin/glibtool --version

returns 2.2.6b as well right?

comment:7 Changed 15 years ago by tim.stoop@…

Indeed:

asterisk:~ tim$ /opt/local/bin/glibtool --version
ltmain.sh (GNU libtool) 2.2.6b
Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996

Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
asterisk:~ tim$

comment:8 Changed 15 years ago by tim.stoop@…

I've deinstalled everything and only did a port install smpeg, which worked. No idea what caused the problem before, though.

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

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.