Bug 155305

Summary: no compile ports/multimedia/mlt
Product: Ports & Packages Reporter: Andrei Lavreniyuk <andy.lavr>
Component: Individual Port(s)Assignee: Alberto Villa <avilla>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Andrei Lavreniyuk 2011-03-06 09:50:03 UTC
cc -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing -Wformat -Wformat-security -fno-omit-frame-pointer -s -I/usr/local/include -std=gnu89 -Wall -fPIC -DPIC   -O2 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -Wall -fPIC -DPIC   -O2 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -I../.. -Wall -fPIC -DPIC   -O2 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread `pkg-config gtk+-2.0 --cflags` `pkg-config gdk-pixbuf-2.0 --cflags` -I/usr/local/include  `pkg-config pangoft2 --cflags`   -c -o producer_pango.o producer_pango.c
cc -o have_mmx.o -c have_mmx.S
have_mmx.S: Assembler messages:
have_mmx.S:47: Error: suffix or operands invalid for `pushf'
have_mmx.S:48: Error: suffix or operands invalid for `pop'
have_mmx.S:51: Error: suffix or operands invalid for `push'
have_mmx.S:52: Error: suffix or operands invalid for `popf'
have_mmx.S:53: Error: suffix or operands invalid for `pushf'
have_mmx.S:54: Error: suffix or operands invalid for `pop'
have_mmx.S:74: Error: suffix or operands invalid for `pop'
gmake[2]: *** [have_mmx.o] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
gmake[2]: *** &#1054;&#1078;&#1080;&#1076;&#1072;&#1085;&#1080;&#1077; &#1079;&#1072;&#1074;&#1077;&#1088;&#1096;&#1077;&#1085;&#1080;&#1103; &#1079;&#1072;&#1076;&#1072;&#1085;&#1080;&#1081;...
producer_pango.c: In function 'iconv_utf8':
producer_pango.c:300: warning: passing argument 2 of 'libiconv' from incompatible pointer type
gmake[2]: Leaving directory `/usr/ports/multimedia/mlt/work/mlt-0.6.2/src/modules/gtk2'
gmake[1]: *** [all] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
gmake[1]: Leaving directory `/usr/ports/multimedia/mlt/work/mlt-0.6.2/src/modules'
gmake: *** [all] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
*** Error code 1

Stop in /usr/ports/multimedia/mlt.
*** Error code 1

Stop in /usr/ports/multimedia/mlt
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-03-06 09:50:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->avilla

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Alberto Villa freebsd_committer freebsd_triage 2011-03-06 11:15:05 UTC
State Changed
From-To: open->feedback

you're on amd64, and building with MMX enabled can fail there, so it's 
enough to disable that option. i've updated the description to make it 
more understandable: "MMX support (might cause problems on amd64)". try 
again and let me know, so that i can close the pr
Comment 3 Andrei Lavreniyuk 2011-03-06 11:23:42 UTC
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for mlt-0.6.2_1
_OPTIONS_READ=3Dmlt-0.6.2_1
WITH_AVFORMAT=3Dtrue
WITH_DV=3Dtrue
WITH_FREI0R=3Dtrue
WITH_GTK2=3Dtrue
WITHOUT_JACKRACK=3Dtrue
WITH_KINO=3Dtrue
WITHOUT_MMX=3Dtrue
WITH_QIMAGE=3Dtrue
WITH_RESAMPLE=3Dtrue
WITH_SOX=3Dtrue
WITHOUT_SSE=3Dtrue
WITHOUT_SSE2=3Dtrue
WITH_SWFDEC=3Dtrue
WITH_VORBIS=3Dtrue



gmake[2]: Entering directory
`/usr/ports/multimedia/mlt/work/mlt-0.6.2/src/modules/gtk2'
cc -O2 -pipe -O2 -D_FORTIFY_SOURCE=3D2 -pipe -march=3Dnative -mtune=3Dnativ=
e
-fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing
-Wformat -Wformat-security -fno-omit-frame-pointer -s
-I/usr/local/include -std=3Dgnu89 -Wall -fPIC -DPIC   -O2 -pipe
-fomit-frame-pointer -ffast-math -DUSE_MMX -DUSE_SSE
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -pthread -Wall -fPIC -DPIC
 -O2 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX -DUSE_SSE
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -pthread -I../.. -Wall
-fPIC -DPIC   -O2 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX
-DUSE_SSE   -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -pthread
`pkg-config gtk+-2.0 --cflags` `pkg-config gdk-pixbuf-2.0 --cflags`
-I/usr/local/include  `pkg-config pangoft2 --cflags`   -c -o factory.o
factory.c
cc -O2 -pipe -O2 -D_FORTIFY_SOURCE=3D2 -pipe -march=3Dnative -mtune=3Dnativ=
e
-fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing
-Wformat -Wformat-security -fno-omit-frame-pointer -s
-I/usr/local/include -std=3Dgnu89 -Wall -fPIC -DPIC   -O2 -pipe
-fomit-frame-pointer -ffast-math -DUSE_MMX -DUSE_SSE
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -pthread -Wall -fPIC -DPIC
 -O2 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX -DUSE_SSE
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -pthread -I../.. -Wall
-fPIC -DPIC   -O2 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX
-DUSE_SSE   -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -pthread
`pkg-config gtk+-2.0 --cflags` `pkg-config gdk-pixbuf-2.0 --cflags`
-I/usr/local/include  `pkg-config pangoft2 --cflags`   -c -o
consumer_gtk2.o consumer_gtk2.c
cc -O2 -pipe -O2 -D_FORTIFY_SOURCE=3D2 -pipe -march=3Dnative -mtune=3Dnativ=
e
-fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing
-Wformat -Wformat-security -fno-omit-frame-pointer -s
-I/usr/local/include -std=3Dgnu89 -Wall -fPIC -DPIC   -O2 -pipe
-fomit-frame-pointer -ffast-math -DUSE_MMX -DUSE_SSE
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -pthread -Wall -fPIC -DPIC
 -O2 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX -DUSE_SSE
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -pthread -I../.. -Wall
-fPIC -DPIC   -O2 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX
-DUSE_SSE   -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -pthread
`pkg-config gtk+-2.0 --cflags` `pkg-config gdk-pixbuf-2.0 --cflags`
-I/usr/local/include  `pkg-config pangoft2 --cflags`   -c -o
producer_pixbuf.o producer_pixbuf.c
cc -O2 -pipe -O2 -D_FORTIFY_SOURCE=3D2 -pipe -march=3Dnative -mtune=3Dnativ=
e
-fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing
-Wformat -Wformat-security -fno-omit-frame-pointer -s
-I/usr/local/include -std=3Dgnu89 -Wall -fPIC -DPIC   -O2 -pipe
-fomit-frame-pointer -ffast-math -DUSE_MMX -DUSE_SSE
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -pthread -Wall -fPIC -DPIC
 -O2 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX -DUSE_SSE
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -pthread -I../.. -Wall
-fPIC -DPIC   -O2 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX
-DUSE_SSE   -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -pthread
`pkg-config gtk+-2.0 --cflags` `pkg-config gdk-pixbuf-2.0 --cflags`
-I/usr/local/include  `pkg-config pangoft2 --cflags`   -c -o pixops.o
pixops.c
cc -O2 -pipe -O2 -D_FORTIFY_SOURCE=3D2 -pipe -march=3Dnative -mtune=3Dnativ=
e
-fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing
-Wformat -Wformat-security -fno-omit-frame-pointer -s
-I/usr/local/include -std=3Dgnu89 -Wall -fPIC -DPIC   -O2 -pipe
-fomit-frame-pointer -ffast-math -DUSE_MMX -DUSE_SSE
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -pthread -Wall -fPIC -DPIC
 -O2 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX -DUSE_SSE
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -pthread -I../.. -Wall
-fPIC -DPIC   -O2 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX
-DUSE_SSE   -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -pthread
`pkg-config gtk+-2.0 --cflags` `pkg-config gdk-pixbuf-2.0 --cflags`
-I/usr/local/include  `pkg-config pangoft2 --cflags`   -c -o
filter_rescale.o filter_rescale.c
cc -O2 -pipe -O2 -D_FORTIFY_SOURCE=3D2 -pipe -march=3Dnative -mtune=3Dnativ=
e
-fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing
-Wformat -Wformat-security -fno-omit-frame-pointer -s
-I/usr/local/include -std=3Dgnu89 -Wall -fPIC -DPIC   -O2 -pipe
-fomit-frame-pointer -ffast-math -DUSE_MMX -DUSE_SSE
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -pthread -Wall -fPIC -DPIC
 -O2 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX -DUSE_SSE
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -pthread -I../.. -Wall
-fPIC -DPIC   -O2 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX
-DUSE_SSE   -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -pthread
`pkg-config gtk+-2.0 --cflags` `pkg-config gdk-pixbuf-2.0 --cflags`
-I/usr/local/include  `pkg-config pangoft2 --cflags`   -c -o
producer_pango.o producer_pango.c
cc -o have_mmx.o -c have_mmx.S
have_mmx.S: Assembler messages:
have_mmx.S:47: Error: suffix or operands invalid for `pushf'
have_mmx.S:48: Error: suffix or operands invalid for `pop'
have_mmx.S:51: Error: suffix or operands invalid for `push'
have_mmx.S:52: Error: suffix or operands invalid for `popf'
have_mmx.S:53: Error: suffix or operands invalid for `pushf'
have_mmx.S:54: Error: suffix or operands invalid for `pop'
have_mmx.S:74: Error: suffix or operands invalid for `pop'
gmake[2]: *** [have_mmx.o] =EF=DB=C9=C2=CB=C1 1
gmake[2]: *** =EF=D6=C9=C4=C1=CE=C9=C5 =DA=C1=D7=C5=D2=DB=C5=CE=C9=D1 =DA=
=C1=C4=C1=CE=C9=CA...
producer_pango.c: In function 'iconv_utf8':
producer_pango.c:300: warning: passing argument 2 of 'libiconv' from
incompatible pointer type
gmake[2]: Leaving directory
`/usr/ports/multimedia/mlt/work/mlt-0.6.2/src/modules/gtk2'
gmake[1]: *** [all] =EF=DB=C9=C2=CB=C1 1
gmake[1]: Leaving directory
`/usr/ports/multimedia/mlt/work/mlt-0.6.2/src/modules'
gmake: *** [all] =EF=DB=C9=C2=CB=C1 1
*** Error code 1

Stop in /usr/ports/multimedia/mlt.
*** Error code 1

Stop in /usr/ports/multimedia/mlt.
Comment 4 Alberto Villa freebsd_committer freebsd_triage 2011-03-08 12:15:03 UTC
please, run

# cd /usr/ports/multimedia/mlt
# make clean configure

and attach the output of

# make showconfig
# make -V CONFIGURE_ARGS
# grep -ru1 MMX_FLAGS work
-- 
Alberto Villa, FreeBSD committer <avilla@FreeBSD.org>
http://people.FreeBSD.org/~avilla

Let the meek inherit the earth -- they have it coming to them.
		-- James Thurber
Comment 5 Alberto Villa freebsd_committer freebsd_triage 2011-03-09 14:33:59 UTC
State Changed
From-To: feedback->closed

the problem was in a custom setting in /etc/make.conf. closing