Opened 15 years ago

Closed 15 years ago

#21435 closed defect (fixed)

transcode-1.1.4 build error on OS X 10.6 Snow Leopard

Reported by: mobileseth@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: Liontooth (David Liontooth), marco.comini@…, jmroot (Joshua Root)
Port: transcode

Description (last modified by tobypeterson)

Hello-

transcode-1.1.4 fails to build for me on OS X 10.6 snow leopard. I believe that this is an identical problem to ticket 21011: http://trac.macports.org/ticket/21011 . I tried the same solution and it fixed the problem for me.

/bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I..  -D_REENTRANT -I.. -I/opt/local/include  -O2 -arch x86_64 -no-cpp-precomp -D_INTL_REDIRECT_MACROS -MT imgconvert.lo -MD -MP -MF .deps/imgconvert.Tpo -c -o imgconvert.lo imgconvert.c
/var/tmp//ccErUzQG.s:141:suffix or operands invalid for `pushf'
/var/tmp//ccErUzQG.s:142:suffix or operands invalid for `pop'
/var/tmp//ccErUzQG.s:145:suffix or operands invalid for `push'
/var/tmp//ccErUzQG.s:146:suffix or operands invalid for `popf'
/var/tmp//ccErUzQG.s:147:suffix or operands invalid for `pushf'
/var/tmp//ccErUzQG.s:148:suffix or operands invalid for `pop'
make[2]: *** [accore.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I/opt/local/include -O2 -arch x86_64 -no-cpp-precomp -D_INTL_REDIRECT_MACROS -MT imgconvert.lo -MD -MP -MF .deps/imgconvert.Tpo -c imgconvert.c  -fno-common -DPIC -o .libs/imgconvert.o
mv -f .deps/imgconvert.Tpo .deps/imgconvert.Plo
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

This worked for me: (found in ticket 21011) Add to the Portfile:

platform darwin 10 { 
        if {$build_arch == "x86_64"} {
                configure.args-append --build=x86_64-apple-darwin10.0.0
        }
}

Change History (4)

comment:1 Changed 15 years ago by tobypeterson

Description: modified (diff)
Keywords: transcode 1.1.4 10.6 snow leopard removed

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

Cc: lionteeth@… added
Owner: changed from macports-tickets@… to devans@…

comment:3 Changed 15 years ago by marco.comini@…

Cc: marco.comini@… added

Cc Me!

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

Cc: jmr@… added
Resolution: fixed
Status: newclosed

Fix committed in r58356 (not tested).

Note: See TracTickets for help on using tickets.