pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41960: multimedia/vlc compilation error (NetBSD 4.0)



>Number:         41960
>Category:       pkg
>Synopsis:       multimedia/vlc compilation error (NetBSD 4.0)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 30 16:10:07 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        Attempting to compile multimedia/vlc (version 1.0.1) results in a
        compilation error.

>How-To-Repeat:
        I use NetBSD 4.0 via pkg_comp with libkver and NetBSD 4.0
        release sets installed (except x* - I use pkgsrc modular xorg).

        With that environment, building the current multimedia/vlc
        results in ...

(cd .libs && rm -f libdvdread_plugin.la && ln -s ../libdvdread_plugin.la 
libdvdread_plugin.la)
/bin/sh ../../libtool --tag=CC  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H 
-I. -I../..   -I../../include -I../../include -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/freetype2 -I/usr/pkg/qt4/include 
-I/usr/pkg/include/BasicUsageEnvironment -I/usr/pkg/include/UsageEnvironment 
-I/usr/pkg/include/groupsock -I/usr/pkg/include/liveMedia -DSYS_NETBSDELF 
`top_srcdir="../.." top_builddir="../.." ../../vlc-config --cflags plugin 
libaccess_file_plugin_la-file.lo` -O2 -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/freetype2 -I/usr/pkg/qt4/include 
-I/usr/pkg/include/BasicUsageEnvironment -I/usr/pkg/include/UsageEnvironment 
-I/usr/pkg/include/groupsock -I/usr/pkg/include/liveMedia -pthread -Wall 
-Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align 
-Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var 
-Werror-implicit-function-declaration -MT libaccess_file_plugin_la-file.lo -MD 
-MP -MF .deps/libaccess_file_plugin_la-file.Tpo -c -o libacce!
 ss_file_plugin_la-file.lo `test -f 'file.c' || echo './'`file.c
 cc -DHAVE_CONFIG_H -I. -I../.. -I../../include 
-I/pkg_comp/obj/pkgsrc/multimedia/vlc/4x/.buildlink/include 
-I/pkg_comp/obj/pkgsrc/multimedia/vlc/4x/.buildlink/include/freetype2 
-I/usr/pkg/qt4/include 
-I/pkg_comp/obj/pkgsrc/multimedia/vlc/4x/.buildlink/include/BasicUsageEnvironment
 -I/pkg_comp/obj/pkgsrc/multimedia/vlc/4x/.buildlink/include/UsageEnvironment 
-I/pkg_comp/obj/pkgsrc/multimedia/vlc/4x/.buildlink/include/groupsock 
-I/pkg_comp/obj/pkgsrc/multimedia/vlc/4x/.buildlink/include/liveMedia 
-DSYS_NETBSDELF -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE 
-D_REENTRANT -D_THREAD_SAFE -DHAVE_RELEASE -D__LIBVLC__ -D__PLUGIN__ 
-DMODULE_NAME=access_file -DMODULE_NAME_IS_access_file 
-DMODULE_STRING=\"access_file\" -O2 -ffast-math -funroll-loops -mtune=pentium2 
-fomit-frame-pointer -O2 -pthread -Wall -Wextra -Wsign-compare -Wundef 
-Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings 
-Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-dec!
 laration -MT libaccess_file_plugin_la-file.lo -MD -MP -MF 
.deps/libaccess_file_plugin_la-file.Tpo -c file.c  -fPIC -DPIC -o 
.libs/libaccess_file_plugin_la-file.o
file.c: In function 'IsRemote':
file.c:130: error: storage size of 'stf' isn't known
file.c:132: error: implicit declaration of function 'fstatfs'
file.c:130: warning: unused variable 'stf'
gmake[5]: *** [libaccess_file_plugin_la-file.lo] Error 1
gmake[5]: Leaving directory 
`/pkg_comp/obj/pkgsrc/multimedia/vlc/4x/vlc-1.0.1/modules/access'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory 
`/pkg_comp/obj/pkgsrc/multimedia/vlc/4x/vlc-1.0.1/modules/access'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory 
`/pkg_comp/obj/pkgsrc/multimedia/vlc/4x/vlc-1.0.1/modules/access'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/pkg_comp/obj/pkgsrc/multimedia/vlc/4x/vlc-1.0.1/modules'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/pkg_comp/obj/pkgsrc/multimedia/vlc/4x/vlc-1.0.1'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/multimedia/vlc
*** Error code 1

>Fix:
        ???



Home | Main Index | Thread Index | Old Index