pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/32023: vlc fails to build, libcddb and libcdio problem
>Number: 32023
>Category: pkg
>Synopsis: vlc fails to build, libcddb and libcdio problem
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 09 02:03:00 +0000 2005
>Originator: David Howland
>Release: 3.0_BETA
>Organization:
>Environment:
NetBSD micron 3.0_BETA NetBSD 3.0_BETA (MICRON) #3: Sat Nov 5 10:48:47 EST
2005 root@micron:/usr/obj/sys/arch/i386/compile/MICRON i386
>Description:
vlc fails to build with the errors below. Problem comes from screwed up
libcdda and libcdio.
A freebsd guy describes the issue with the libs here:
http://www.monkey.org/freebsd/archive/freebsd-ports/200507/msg00147.html
This problem has been reported at least once already:
http://mail-index.netbsd.org/tech-pkg/2005/10/02/0028.html
There is already a PR open to upgrade the vlc package to the latest version
here:
http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=30797
I do not know at this time if the upgrade would fix the problem
Error messages from build:
gmake[6]: Entering directory
`/usr/pkgsrc/multimedia/vlc/work/vlc-0.7.2/modules/access/cdda'
if cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/pkg/include -I/usr/include
-DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/X11R6/include
-DSYS_NETBSDELF -I../../../include `top_builddir="../../.." ../../../vlc-config
--cflags plugin cddax` -Wsign-compare -Wall -O2 -march=pentium3
-I/usr/pkg/include -I/usr/include -DGLX_GLXEXT_LEGACY
-I/usr/pkg/include/freetype2 -I/usr/X11R6/include -pthread -finline-limit-30000
-pipe -MT libcddax_plugin_a-cdrom.o -MD -MP -MF
".deps/libcddax_plugin_a-cdrom.Tpo" \
-c -o libcddax_plugin_a-cdrom.o `test -f '../vcdx/cdrom.c' || echo
'./'`../vcdx/cdrom.c; \
then mv -f ".deps/libcddax_plugin_a-cdrom.Tpo"
".deps/libcddax_plugin_a-cdrom.Po"; \
else rm -f ".deps/libcddax_plugin_a-cdrom.Tpo"; exit 1; \
fi
In file included from
/usr/pkgsrc/multimedia/vlc/work/.buildlink/include/cdio/types.h:35,
from
/usr/pkgsrc/multimedia/vlc/work/.buildlink/include/cdio/cdio.h:46,
from ../vcdx/cdrom.h:28,
from ../vcdx/cdrom.c:41:
/usr/pkgsrc/multimedia/vlc/work/.buildlink/include/cdio/cdio_config.h:59:1:
warning: "HAVE_GETOPT_LONG" redefined
In file included from ../../../include/vlc_common.h:39,
from ../../../include/vlc/vlc.h:135,
from ../vcdx/cdrom.c:32:
../../../config.h:221:1: warning: this is the location of the previous
definition
if cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/pkg/include -I/usr/include
-DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/X11R6/include
-DSYS_NETBSDELF -I../../../include `top_builddir="../../.." ../../../vlc-config
--cflags plugin cddax` -Wsign-compare -Wall -O2 -march=pentium3
-I/usr/pkg/include -I/usr/include -DGLX_GLXEXT_LEGACY
-I/usr/pkg/include/freetype2 -I/usr/X11R6/include -pthread -finline-limit-30000
-pipe -MT libcddax_plugin_a-access.o -MD -MP -MF
".deps/libcddax_plugin_a-access.Tpo" \
-c -o libcddax_plugin_a-access.o `test -f 'access.c' || echo './'`access.c; \
then mv -f ".deps/libcddax_plugin_a-access.Tpo"
".deps/libcddax_plugin_a-access.Po"; \
else rm -f ".deps/libcddax_plugin_a-access.Tpo"; exit 1; \
fi
In file included from
/usr/pkgsrc/multimedia/vlc/work/.buildlink/include/cdio/types.h:35,
from
/usr/pkgsrc/multimedia/vlc/work/.buildlink/include/cdio/cdio.h:46,
from access.c:36:
/usr/pkgsrc/multimedia/vlc/work/.buildlink/include/cdio/cdio_config.h:59:1:
warning: "HAVE_GETOPT_LONG" redefined
In file included from ../../../include/vlc_common.h:39,
from ../../../include/vlc/vlc.h:135,
from access.c:32:
../../../config.h:221:1: warning: this is the location of the previous
definition
access.c: In function `InformationCreate':
access.c:362: error: dereferencing pointer to incomplete type
access.c:365: error: dereferencing pointer to incomplete type
access.c:367: error: dereferencing pointer to incomplete type
access.c:370: error: dereferencing pointer to incomplete type
access.c:372: error: dereferencing pointer to incomplete type
access.c:375: error: dereferencing pointer to incomplete type
access.c:377: error: dereferencing pointer to incomplete type
access.c:380: error: dereferencing pointer to incomplete type
access.c:382: error: dereferencing pointer to incomplete type
access.c:384: error: dereferencing pointer to incomplete type
access.c:385: error: dereferencing pointer to incomplete type
access.c:387: error: dereferencing pointer to incomplete type
access.c:389: error: dereferencing pointer to incomplete type
access.c:392: error: dereferencing pointer to incomplete type
access.c:423: error: dereferencing pointer to incomplete type
access.c:423: error: dereferencing pointer to incomplete type
access.c:425: error: dereferencing pointer to incomplete type
access.c:427: error: dereferencing pointer to incomplete type
access.c:427: error: dereferencing pointer to incomplete type
access.c:429: error: dereferencing pointer to incomplete type
access.c:431: error: dereferencing pointer to incomplete type
access.c:431: error: dereferencing pointer to incomplete type
access.c:433: error: dereferencing pointer to incomplete type
access.c: In function `GetCDDBInfo':
access.c:508: error: dereferencing pointer to incomplete type
access.c:512: error: dereferencing pointer to incomplete type
access.c: In function `CDDAFormatStr':
access.c:621: error: dereferencing pointer to incomplete type
access.c:621: error: dereferencing pointer to incomplete type
access.c:625: error: dereferencing pointer to incomplete type
access.c:625: error: dereferencing pointer to incomplete type
access.c:629: error: dereferencing pointer to incomplete type
access.c:629: error: dereferencing pointer to incomplete type
access.c:633: error: dereferencing pointer to incomplete type
access.c:633: error: dereferencing pointer to incomplete type
access.c:637: error: dereferencing pointer to incomplete type
access.c:641: error: dereferencing pointer to incomplete type
access.c:647: error: dereferencing pointer to incomplete type
access.c:648: error: dereferencing pointer to incomplete type
access.c:648: error: dereferencing pointer to incomplete type
access.c:655: error: dereferencing pointer to incomplete type
access.c:656: error: dereferencing pointer to incomplete type
access.c:656: error: dereferencing pointer to incomplete type
access.c:663: error: dereferencing pointer to incomplete type
access.c:664: error: dereferencing pointer to incomplete type
access.c:664: error: dereferencing pointer to incomplete type
access.c: In function `CDDACreatePlayListItem':
access.c:765: error: dereferencing pointer to incomplete type
access.c:767: error: dereferencing pointer to incomplete type
access.c:770: error: dereferencing pointer to incomplete type
access.c:772: error: dereferencing pointer to incomplete type
access.c:773: error: dereferencing pointer to incomplete type
access.c:775: error: dereferencing pointer to incomplete type
access.c:777: error: dereferencing pointer to incomplete type
access.c:779: error: dereferencing pointer to incomplete type
access.c:785: error: dereferencing pointer to incomplete type
access.c:787: error: dereferencing pointer to incomplete type
access.c:789: error: dereferencing pointer to incomplete type
gmake[6]: *** [libcddax_plugin_a-access.o] Error 1
gmake[6]: Leaving directory
`/usr/pkgsrc/multimedia/vlc/work/vlc-0.7.2/modules/access/cdda'
gmake[5]: *** [all-modules] Error 1
gmake[5]: Leaving directory
`/usr/pkgsrc/multimedia/vlc/work/vlc-0.7.2/modules/access/cdda'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory
`/usr/pkgsrc/multimedia/vlc/work/vlc-0.7.2/modules/access'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory
`/usr/pkgsrc/multimedia/vlc/work/vlc-0.7.2/modules/access'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/multimedia/vlc/work/vlc-0.7.2/modules'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/multimedia/vlc/work/vlc-0.7.2'
gmake: *** [all] Error 2
*** Error code 2
>How-To-Repeat:
cd /usr/pkgsrc/multimedia/vlc && make
>Fix:
Disable cdda support in vlc until problem is fixed. Following patch does so.
root@micron:/usr/pkgsrc/multimedia/vlc# pkgdiff Makefile
$NetBSD$
--- Makefile.orig 2005-11-08 21:08:15.000000000 -0500
+++ Makefile
@@ -34,6 +34,9 @@ CONFIGURE_ARGS+= --enable-flac
CONFIGURE_ARGS+= --disable-gtk
CONFIGURE_ARGS+= --with-ffmpeg-tree=${BUILDLINK_PREFIX.ffmpeg}/lib
+CONFIGURE_ARGS+= --enable-cdda=no
+CONFIGURE_ARGS+= --enable-cddax=no
+
BUILD_DEFS+= WITH_DVDCSS
.if defined(WITH_DVDCSS) && !empty(WITH_DVDCSS:M[Yy][Ee][Ss])
Home |
Main Index |
Thread Index |
Old Index