[MacPorts] #24397: smpeg doesn't build universe on SL 10.6.3
#24397: smpeg doesn't build universe on SL 10.6.3 ---------------------------+------------------------------------------------ Reporter: ih-mon@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: smpeg ---------------------------+------------------------------------------------ Hey, I have to upgrade my wxwidgets and it needs a universal build of libsdl- mixer which needs a universal build of smpeg which fails. see this: {{{ EBUG: Requested variant macosx is not provided by port expat. DEBUG: Executing variant universal provides universal DEBUG: No need to upgrade! expat 2.0.1_0 >= expat 2.0.1_0 DEBUG: No need to upgrade! gettext 0.17_4 >= gettext 0.17_4 DEBUG: No need to upgrade! p5-locale-gettext 1.05_2 >= p5-locale-gettext 1.05_2 DEBUG: No need to upgrade! help2man 1.37.1_1 >= help2man 1.37.1_1 DEBUG: No need to upgrade! autoconf 2.65_1 >= autoconf 2.65_1 DEBUG: No need to upgrade! automake 1.11.1_0 >= automake 1.11.1_0 DEBUG: No need to upgrade! libtool 2.2.6b_1 >= libtool 2.2.6b_1 DEBUG: variant override ... upgrading! ---> Computing dependencies for smpeg DEBUG: Searching for dependency: libsdl DEBUG: Found Dependency: receipt exists for libsdl DEBUG: Searching for dependency: libtool DEBUG: Found Dependency: receipt exists for libtool DEBUG: Executing org.macports.main (smpeg) DEBUG: Skipping completed org.macports.fetch (smpeg) DEBUG: Skipping completed org.macports.checksum (smpeg) DEBUG: Skipping completed org.macports.extract (smpeg) DEBUG: Skipping completed org.macports.patch (smpeg) DEBUG: Skipping completed org.macports.configure (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 -arch i386 -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.destroot org.macports.build DEBUG: couldn't read file "/opt/local/share/macports/Tcl/darwintrace1.0/pkgIndex.tcl": no such file or directory while executing "source [file join $dir pkgIndex.tcl]" Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets> }}} and that: {{{ [macports]$ sudo port upgrade --enforce-variants libsdl_mixer +universal ---> Computing dependencies for smpeg ---> Building smpeg 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 Command output: 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 -arch i386 -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: Unable to upgrade port: 1 Before reporting a bug, first run the command again with the -d flag to get complete output. }}} -- Ticket URL: <http://trac.macports.org/ticket/24397> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24397: smpeg doesn't build universal on SL 10.6.3 ---------------------------+------------------------------------------------ Reporter: ih-mon@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: smpeg ---------------------------+------------------------------------------------ Changes (by macsforever2000@…): * owner: macports-tickets@… => mww@… * cc: mww@… (removed) -- Ticket URL: <http://trac.macports.org/ticket/24397#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24397: smpeg doesn't build universal on SL 10.6.3 ---------------------------+------------------------------------------------ Reporter: ih-mon@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: smpeg ---------------------------+------------------------------------------------ Comment(by jmr@…): Can't reproduce this, universal i386/x86_64 smpeg installs fine. -- Ticket URL: <http://trac.macports.org/ticket/24397#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24397: smpeg doesn't build universal on SL 10.6.3 ---------------------------+------------------------------------------------ Reporter: ih-mon@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: smpeg ---------------------------+------------------------------------------------ Comment(by ajb78@…): I just encountered the same error - also on SL 10.6.3 and XCode 3.2.2 -- Ticket URL: <http://trac.macports.org/ticket/24397#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24397: smpeg doesn't build universal on SL 10.6.3 ---------------------------+------------------------------------------------ Reporter: ih-mon@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: smpeg ---------------------------+------------------------------------------------ Comment(by lkraider+ports@…): Same issue here, but I am building (-)universal, so the description can include the problem also for non universal builds. Adding the option --tag=CXX for the LTCXXCOMPILE defines on the Makefiles fixes the issue. -- Ticket URL: <http://trac.macports.org/ticket/24397#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24397: smpeg doesn't build universal on SL 10.6.3 ---------------------------+------------------------------------------------ Reporter: ih-mon@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: smpeg ---------------------------+------------------------------------------------ Comment(by lkraider+ports@…): Correction: the Makefiles require more changes, there are more usages of LIBTOOL that require setting the tag for the compilation to work. My system: SL 10.6.4 and XCode 3.2.2 -- Ticket URL: <http://trac.macports.org/ticket/24397#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24397: smpeg doesn't build universal on SL 10.6.3 ---------------------------+------------------------------------------------ Reporter: ih-mon@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: smpeg ---------------------------+------------------------------------------------ Comment(by jeffrey.m.engel+macports@…): I was able to patch the 3 Makefiles in smpeg to get this port to compile. I am not building universal. (SL 10.6.4, XC 3.2.2) I changed the line: {{{ LIBTOOL = $(SHELL) $(top_builddir)/libtool }}} to: {{{ LIBTOOL = $(SHELL) $(top_builddir)/libtool --tag=CXX }}} My patches are attached. -- Ticket URL: <http://trac.macports.org/ticket/24397#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24397: smpeg doesn't build universal on SL 10.6.3 ---------------------------+------------------------------------------------ Reporter: ih-mon@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: smpeg ---------------------------+------------------------------------------------ Changes (by raimue@…): * cc: raimue@… (added) Comment: Using autoreconf the latest libtool version will be used to compile smpeg which should hopefully fix any compile issues related to libtool. I ported some of the patches from [http://sources.gentoo.org/cgi- bin/viewvc.cgi/gentoo-x86/media-libs/smpeg/ Gentoo]. Sorry that I didn't attach smaller files, but it was easier for me this way. -- Ticket URL: <https://trac.macports.org/ticket/24397#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24397: smpeg doesn't build universal on SL 10.6.3 ----------------------------+----------------------------------------------- Reporter: ih-mon@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: smpeg | ----------------------------+----------------------------------------------- Changes (by raimue@…): * status: new => closed * resolution: => fixed Comment: Maintainer timeout, committed in r72028. -- Ticket URL: <https://trac.macports.org/ticket/24397#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts