[MacPorts] #13648: mjpegtools install issue
#13648: mjpegtools install issue --------------------------------------+------------------------------------- Reporter: dougvreid@embarqmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.5.2 Keywords: | --------------------------------------+------------------------------------- sudo port install mjpegtools ---> Building mjpegtools with target all 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_mjpegtools/work/mjpegtools-1.6.2" && make all LIBTOOL=/opt/local/bin/glibtool ASFLAGS="-f macho" " returned error 2 Command output: make all-recursive Making all in utils Making all in altivec if /opt/local/bin/glibtool --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../utils -I/opt/local/include -L/opt/local/lib -O2 -L/opt/local/lib -Wall -Wunused -O3 -faltivec -MT add_pred.lo -MD -MP -MF ".deps/add_pred.Tpo" \ -c -o add_pred.lo `test -f 'add_pred.c' || echo './'`add_pred.c; \ then mv -f ".deps/add_pred.Tpo" ".deps/add_pred.Plo"; \ else rm -f ".deps/add_pred.Tpo"; exit 1; \ fi glibtool: compile: unable to infer tagged configuration glibtool: compile: specify a tag with `--tag' make[3]: *** [add_pred.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. -- Ticket URL: <https://svn.macosforge.org/projects/macports/ticket/13648> MacPorts </projects/macports> Ports system for Mac OS
#13648: mjpegtools install issue ---------------------------------------+------------------------------------ Reporter: dougvreid@embarqmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------------------+------------------------------------ Changes (by jmpp@macports.org): * milestone: => Port Bugs Old description:
sudo port install mjpegtools ---> Building mjpegtools with target all 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_mjpegtools/work/mjpegtools-1.6.2" && make all LIBTOOL=/opt/local/bin/glibtool ASFLAGS="-f macho" " returned error 2 Command output: make all-recursive Making all in utils Making all in altivec if /opt/local/bin/glibtool --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../utils -I/opt/local/include -L/opt/local/lib -O2 -L/opt/local/lib -Wall -Wunused -O3 -faltivec -MT add_pred.lo -MD -MP -MF ".deps/add_pred.Tpo" \ -c -o add_pred.lo `test -f 'add_pred.c' || echo './'`add_pred.c; \ then mv -f ".deps/add_pred.Tpo" ".deps/add_pred.Plo"; \ else rm -f ".deps/add_pred.Tpo"; exit 1; \ fi glibtool: compile: unable to infer tagged configuration glibtool: compile: specify a tag with `--tag' make[3]: *** [add_pred.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Error: Status 1 encountered during processing.
New description: {{{ sudo port install mjpegtools ---> Building mjpegtools with target all 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_mjpegtools/work/mjpegtools-1.6.2" && make all LIBTOOL=/opt/local/bin/glibtool ASFLAGS="-f macho" " returned error 2 Command output: make all-recursive Making all in utils Making all in altivec if /opt/local/bin/glibtool --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../utils -I/opt/local/include -L/opt/local/lib -O2 -L/opt/local/lib -Wall -Wunused -O3 -faltivec -MT add_pred.lo -MD -MP -MF ".deps/add_pred.Tpo" \ -c -o add_pred.lo `test -f 'add_pred.c' || echo './'`add_pred.c; \ then mv -f ".deps/add_pred.Tpo" ".deps/add_pred.Plo"; \ else rm -f ".deps/add_pred.Tpo"; exit 1; \ fi glibtool: compile: unable to infer tagged configuration glibtool: compile: specify a tag with `--tag' make[3]: *** [add_pred.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13648#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13648: mjpegtools install issue ---------------------------------------+------------------------------------ Reporter: dougvreid@embarqmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------------------+------------------------------------ Changes (by ryandesign@macports.org): * cc: filippo.natali@gmail.com (added) Comment: Interesting, there's a report of the same error, but with the apache2 portfile, in #13653 (which I'm unable to duplicate). What version of Mac OS X, Xcode and MacPorts are you using, and what architecture is your processor? Do you still see the problem if you "`sudo port selfupdate`" and then "`sudo port clean --work mjpegtools`" and then "`sudo port install mjpegtools`"? Cc'ing the port's maintainer. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13648#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13648: mjpegtools 1.6.2 build failure: unable to infer tagged configuration ---------------------------------------+------------------------------------ Reporter: dougvreid@embarqmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------------------+------------------------------------ Changes (by ryandesign@macports.org): * summary: mjpegtools install issue => mjpegtools 1.6.2 build failure: unable to infer tagged configuration -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13648#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13648: mjpegtools 1.6.2 build failure: unable to infer tagged configuration ---------------------------------------+------------------------------------ Reporter: dougvreid@embarqmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------------------+------------------------------------ Comment (by tjk@iki.fi): Mac OS 10.4.11 XCode 2.4.1 ================================== computer:~ tjk$ sudo port selfupdate Password: MacPorts base version 1.520 installed Downloaded MacPorts base version 1.600 Configuring, Building and Installing new MacPorts base selfupdate done! computer:~ tjk$ sudo port clean --work mjpegtools ---> Cleaning mjpegtools computer:~ tjk$ sudo port install mjpegtools ---> Fetching mjpegtools ---> Verifying checksum(s) for mjpegtools ---> Extracting mjpegtools ---> Applying patches to mjpegtools ---> Configuring mjpegtools ---> Building mjpegtools with target all 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_mjpegtools/work/mjpegtools-1.6.2" && make all LIBTOOL=/opt/local/bin/glibtool ASFLAGS="-f macho" " returned error 2 Command output: fi if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../utils -I/opt/local/include -L/opt/local/lib -O2 -L/opt/local/lib -Wall -Wunused -MT mpegtimecode.o -MD -MP -MF ".deps/mpegtimecode.Tpo" \ -c -o mpegtimecode.o `test -f 'mpegtimecode.c' || echo './'`mpegtimecode.c; \ then mv -f ".deps/mpegtimecode.Tpo" ".deps/mpegtimecode.Po"; \ else rm -f ".deps/mpegtimecode.Tpo"; exit 1; \ fi if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../utils -I/opt/local/include -L/opt/local/lib -O2 -L/opt/local/lib -Wall -Wunused -MT yuv4mpeg.o -MD -MP -MF ".deps/yuv4mpeg.Tpo" \ -c -o yuv4mpeg.o `test -f 'yuv4mpeg.c' || echo './'`yuv4mpeg.c; \ then mv -f ".deps/yuv4mpeg.Tpo" ".deps/yuv4mpeg.Po"; \ else rm -f ".deps/yuv4mpeg.Tpo"; exit 1; \ fi if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../utils -I/opt/local/include -L/opt/local/lib -O2 -L/opt/local/lib -Wall -Wunused -MT yuv4mpeg_ratio.o -MD -MP -MF ".deps/yuv4mpeg_ratio.Tpo" \ -c -o yuv4mpeg_ratio.o `test -f 'yuv4mpeg_ratio.c' || echo './'`yuv4mpeg_ratio.c; \ then mv -f ".deps/yuv4mpeg_ratio.Tpo" ".deps/yuv4mpeg_ratio.Po"; \ else rm -f ".deps/yuv4mpeg_ratio.Tpo"; exit 1; \ fi rm -f libmjpegutils.a ar cru libmjpegutils.a mjpeg_logging.o mpegconsts.o mpegtimecode.o yuv4mpeg.o yuv4mpeg_ratio.o ranlib libmjpegutils.a if /opt/local/bin/glibtool --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../utils -I/opt/local/include -L/opt/local/lib -O2 -L/opt/local/lib -Wall -Wunused -MT motionsearch.lo -MD -MP -MF ".deps/motionsearch.Tpo" \ -c -o motionsearch.lo `test -f 'motionsearch.c' || echo './'`motionsearch.c; \ then mv -f ".deps/motionsearch.Tpo" ".deps/motionsearch.Plo"; \ else rm -f ".deps/motionsearch.Tpo"; exit 1; \ fi glibtool: compile: unable to infer tagged configuration glibtool: compile: specify a tag with `--tag' make[3]: *** [motionsearch.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13648#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13648: mjpegtools 1.6.2 build failure: unable to infer tagged configuration ---------------------------------------+------------------------------------ Reporter: dougvreid@embarqmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------------------+------------------------------------ Comment (by dougvreid@embarqmail.com): Sorry for the long wait on the questions. I was out of town. MacPorts Version: 1.600 MacOS X: 10.4.11 XCode: 2.4.1 Processor: PowerPC Later, DR -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13648#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#13648: mjpegtools 1.6.2 build failure: unable to infer tagged configuration ---------------------------------------+------------------------------------ Reporter: dougvreid@embarqmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------------------+------------------------------------ Comment (by dougvreid@embarqmail.com): I am downloading XCode 2.5 now. I do not develop code right now so I was not up to date. DR -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13648#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#13648: mjpegtools 1.6.2 build failure: unable to infer tagged configuration ---------------------------------------+------------------------------------ Reporter: dougvreid@embarqmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------------------+------------------------------------ Comment (by dougvreid@embarqmail.com): Installed XCode 2.5 and still getting same issue. DR -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13648#comment:7> MacPorts </projects/macports> Ports system for Mac OS
#13648: mjpegtools 1.6.2 build failure: unable to infer tagged configuration ---------------------------------------+------------------------------------ Reporter: dougvreid@embarqmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------------------+------------------------------------ Comment (by philippe.bricout@mongueurs.net): ''Warning : I'm not understanding the solution I propose'' I just read the ticket [http://trac.macosforge.org/projects/macports/ticket/12961 #12961] and search "libtool: compile: unable to infer tagged configuration" on google... So here is a "solution" which seems to work on PowerPC / MacOSX 10.4.11 / XCode2.5 / MacPorts 1.600. Use it at your own risk! {{{ $ sudo port selfupdate $ sudo port clean --work mpegtools $ cd /opt/local/var/macports/sources/rsync.macports.org/release/ports/multimedia/mjpegtools $ sudo vi Portfile }}} then look for this line: {{{ build.args LIBTOOL=${prefix}/bin/glibtool ASFLAGS="-f macho" }}} and replace with: {{{ build.args LIBTOOL="${prefix}/bin/glibtool --tag=CC" ASFLAGS="-f macho" }}} Perhaps '''--tag=CXX''' would be better. I don't know :-P Finally: {{{ $ sudo port install mjpegtools Portfile changed since last build; discarding previous state. ---> Fetching mjpegtools ---> Verifying checksum(s) for mjpegtools ---> Extracting mjpegtools ---> Applying patches to mjpegtools ---> Configuring mjpegtools ---> Building mjpegtools with target all ---> Staging mjpegtools into destroot ---> Packaging tgz archive for mjpegtools 1.6.2_2+darwin_8 ---> Installing mjpegtools 1.6.2_2+darwin_8 ---> Activating mjpegtools 1.6.2_2+darwin_8 ---> Cleaning mjpegtools }}} I hope this will help... -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13648#comment:8> MacPorts </projects/macports> Ports system for Mac OS
#13648: mjpegtools 1.6.2 build failure: unable to infer tagged configuration ---------------------------------------+------------------------------------ Reporter: dougvreid@embarqmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------------------+------------------------------------ Changes (by ryandesign@macports.org): * cc: boeyms@macports.org (added) Comment: In #13653 we seem to have learned that if libtool is built with MacPorts < 1.6.0 but you're now trying to build software using that libtool with MacPorts >= 1.6.0, then the "unable to infer tagged configuration" error will occur. To fix this, I bumped the revision of the libtool port in r33739, so that everyone is forced to rebuild it, so that we can be sure that it was built with MacPorts 1.6.0. This should solve the problem. Please wait at least 12 hours from the time of this message, then: {{{ $ sudo port selfupdate $ sudo port upgrade libtool $ sudo port clean --work mjpegtools $ sudo port install mjpegtools }}} Does it work? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13648#comment:9> MacPorts </projects/macports> Ports system for Mac OS
#13648: mjpegtools 1.6.2 build failure: unable to infer tagged configuration ---------------------------------------+------------------------------------ Reporter: dougvreid@embarqmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: fixed | Keywords: ---------------------------------------+------------------------------------ Changes (by ryandesign@macports.org): * status: new => closed * resolution: => fixed Comment: I'm going to assume this fixes the issue. If it does not, please reopen this ticket. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13648#comment:10> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts