Date: Sat, 14 Jul 2007 03:35:24 GMT From: "S. Benabbas" <sbenabas@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/114573: multimedia/vlc-devel doesn't compile when the QT4 option is selected Message-ID: <200707140335.l6E3ZOXS093200@www.freebsd.org> Resent-Message-ID: <200707140340.l6E3e21f046360@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114573 >Category: ports >Synopsis: multimedia/vlc-devel doesn't compile when the QT4 option is selected >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 14 03:40:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: S. Benabbas >Release: 6.2-STABLE >Organization: >Environment: FreeBSD HDesktop 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Jun 22 19:23:19 EDT 2007 root@HDesktop:/usr/obj/usr/src/sys/SMP i386 >Description: multimedia/vlc-devel doesn't compile when QT4 option is selected. I have the following qt related packages installed: $pkg_info | grep qt poppler-qt-0.5.9_2 Qt bindings to poppler py24-qt-3.17.2_2,1 Python bindings for the Qt toolkit qt-3.3.8_4 Multiplatform C++ application framework qt-mysql-plugin-3.3.8_1 A plugin for QT to connect to MySQL-Databases qt4-corelib-4.2.3_3 Qt core library qt4-gui-4.2.3_2 Qt graphical user interface library qt4-moc-4.2.3_1 Qt meta object compiler qt4-rcc-4.2.3 Qt resource compiler qt4-uic-4.2.3_1 Qt user interface compiler $ Note that parts of both qt3.3 and qt4 are installed which might be the source of the problem. The following is the compilation part of the output of make install: gmake[2]: Leaving directory `/usr/ports/multimedia/vlc-devel/work/vlc-0.9.0-svn/po' Making all in libs/loader gmake[2]: Entering directory `/usr/ports/multimedia/vlc-devel/work/vlc-0.9.0-svn/libs/loader' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/ports/multimedia/vlc-devel/work/vlc-0.9.0-svn/libs/loader' Making all in libs/srtp gmake[2]: Entering directory `/usr/ports/multimedia/vlc-devel/work/vlc-0.9.0-svn/libs/srtp' if /bin/sh ../../libtool --tag=CC --mode=compile cc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include -I/usr/local/include -I/usr/local/include -DSYS_FREEBSD6_2 -I../../include -O2 -pipe -march=athlon-mp -pthread -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wold-style-definition -Wmissing-prototypes -MT srtp.lo -MD -MP -MF ".deps/srtp.Tpo" -c -o srtp.lo srtp.c; \ then mv -f ".deps/srtp.Tpo" ".deps/srtp.Plo"; else rm -f ".deps/srtp.Tpo"; exit 1; fi mkdir .libs cc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include -I/usr/local/include -I/usr/local/include -DSYS_FREEBSD6_2 -I../../include -O2 -pipe -march=athlon-mp -pthread -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wold-style-definition -Wmissing-prototypes -MT srtp.lo -MD -MP -MF .deps/srtp.Tpo -c srtp.c -fPIC -DPIC -o .libs/srtp.o srtp.c:47: warning: missing initializer srtp.c:47: warning: (near initialization for `gcry_threads_pthread.read') /bin/sh ../../libtool --tag=CC --mode=link cc -std=gnu99 -O2 -pipe -march=athlon-mp -pthread -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wold-style-definition -Wmissing-prototypes -L/usr/local/lib -lgcrypt -L/usr/local/lib -lgpg-error -lpthread -L/usr/ports/multimedia/vlc-devel/work/fake//usr/local/lib -L/usr/local/lib -L/usr/local/lib -pthread -lc -L/usr/local/lib -o libvlc_srtp.la srtp.lo ar cru .libs/libvlc_srtp.a .libs/srtp.o ranlib .libs/libvlc_srtp.a creating libvlc_srtp.la (cd .libs && rm -f libvlc_srtp.la && ln -s ../libvlc_srtp.la libvlc_srtp.la) gmake[2]: Leaving directory `/usr/ports/multimedia/vlc-devel/work/vlc-0.9.0-svn/libs/srtp' Making all in src gmake[2]: Entering directory `/usr/ports/multimedia/vlc-devel/work/vlc-0.9.0-svn/src' srcdir=.. builddir=.. ../toolbox --update-includes creating new ../src/modules/builtin.h touch modules/builtin.h rm -f misc/revision.c misc/revision.c.tmp echo "/* AUTOGENERATED FILE - DO NOT EDIT */" > misc/revision.c.tmp REVISION="$(LANG=C svnversion ".." 2>/dev/null || echo exported)" ; \ echo "const char psz_vlc_changeset[] = \"$REVISION\";" >> misc/revision.c.tmp svnversion: not found mv -f misc/revision.c.tmp misc/revision.c gmake all-recursive gmake[3]: Entering directory `/usr/ports/multimedia/vlc-devel/work/vlc-0.9.0-svn/src' gmake[4]: Entering directory `/usr/ports/multimedia/vlc-devel/work/vlc-0.9.0-svn/src' if /bin/sh ../libtool --tag=CC --mode=compile cc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -DSYS_FREEBSD6_2 -I../include `top_builddir=".." ../vlc-config --cflags libvlc` -O2 -pipe -march=athlon-mp -pthread -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wold-style-definition -Wmissing-prototypes -MT libvlc_la-libvlc.lo -MD -MP -MF ".deps/libvlc_la-libvlc.Tpo" -c -o libvlc_la-libvlc.lo `test -f 'libvlc.c' || echo './'`libvlc.c; \ then mv -f ".deps/libvlc_la-libvlc.Tpo" ".deps/libvlc_la-libvlc.Plo"; else rm -f ".deps/libvlc_la-libvlc.Tpo"; exit 1; fi mkdir .libs cc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -DSYS_FREEBSD6_2 -I../include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -DDATA_PATH=\"/usr/local/share/vlc\" -DPLUGIN_PATH=\"/usr/local/lib/vlc\" -DHAVE_RELEASE -O3 -ffast-math -funroll-loops -mtune=pentium2 -fomit-frame-pointer -D__LIBVLC__ -I../src/misc -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/hal -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -O2 -pipe -march=athlon-mp -pthread -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wold-style-definition -Wmissing-prototypes -MT libvlc_la-libvlc.lo -MD -MP -MF .deps/libvlc_la-libvlc.Tpo -c libvlc.c -fPIC -DPIC -o .libs/libvlc_la-libvlc.o In file included from ../include/vlc_common.h:1191, from /usr/local/include/vlc/vlc.h:155, from libvlc.c:38: /usr/local/include/libintl.h:91:25: warning: "__APPLE_CC__" is not defined /usr/local/include/libintl.h:113:24: warning: "__APPLE_CC__" is not defined In file included from ../include/vlc_common.h:1229, from /usr/local/include/vlc/vlc.h:155, from libvlc.c:38: ./include/vlc_threads_funcs.h: In function `__vlc_mutex_lock': ./include/vlc_threads_funcs.h:131: warning: cast does not match function type ./include/vlc_threads_funcs.h: In function `__vlc_mutex_unlock': ./include/vlc_threads_funcs.h:208: warning: cast does not match function type ./include/vlc_threads_funcs.h: In function `__vlc_cond_signal': ./include/vlc_threads_funcs.h:346: warning: cast does not match function type ./include/vlc_threads_funcs.h: In function `__vlc_cond_wait': ./include/vlc_threads_funcs.h:535: warning: cast does not match function type In file included from libvlc.c:40: control/libvlc_internal.h: At top level: control/libvlc_internal.h:92: error: syntax error before "libvlc_media_descriptor_t" control/libvlc_internal.h:101: error: syntax error before '*' token control/libvlc_internal.h:101: warning: type defaults to `int' in declaration of `libvlc_media_instance_new_from_input_thread' control/libvlc_internal.h:101: warning: data definition has no type or storage class control/libvlc_internal.h:104: error: syntax error before '*' token control/libvlc_internal.h:107: error: syntax error before '*' token control/libvlc_internal.h:107: warning: type defaults to `int' in declaration of `libvlc_media_descriptor_new_from_input_item' control/libvlc_internal.h:107: warning: data definition has no type or storage class control/libvlc_internal.h:110: error: syntax error before '*' token control/libvlc_internal.h:110: error: syntax error before '*' token control/libvlc_internal.h:110: warning: type defaults to `int' in declaration of `libvlc_media_descriptor_duplicate' control/libvlc_internal.h:110: warning: data definition has no type or storage class gmake[4]: *** [libvlc_la-libvlc.lo] Error 1 gmake[4]: Leaving directory `/usr/ports/multimedia/vlc-devel/work/vlc-0.9.0-svn/src' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/multimedia/vlc-devel/work/vlc-0.9.0-svn/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/multimedia/vlc-devel/work/vlc-0.9.0-svn/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/multimedia/vlc-devel/work/vlc-0.9.0-svn' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/multimedia/vlc-devel. *** Error code 1 Stop in /usr/ports/multimedia/vlc-devel. >How-To-Repeat: $cd /usr/ports/multimedia/vlc-devel/ $make config deselect everything, then select QT4 $make >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707140335.l6E3ZOXS093200>