pkgsrc-Bugs archive

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

pkg/46700: pkgsrc-2012Q2 vlc2 won't build



>Number:         46700
>Category:       pkg
>Synopsis:       pkgsrc-2012Q2 vlc2 won't build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 13 16:00:00 +0000 2012
>Originator:     Martin S. Weber
>Release:        NetBSD 5.1_STABLE
>Organization:
        
>Environment:
        
        
System: NetBSD agamemnon.entropie.local 5.1_STABLE NetBSD 5.1_STABLE 
(AGAMEMNON5) #3: Thu Dec 8 09:45:09 EST 2011 
root@agamemnon.entropie.local:/space/obj/sys/arch/i386/compile/AGAMEMNON5 i386
Architecture: i386
Machine: i386
>Description:
vlc2 won't build because of an undeclared constant: O_DIRECTORY.
...
gnutls.c: In function 'gnutls_Addx509Directory':
gnutls.c:472: error: 'O_DIRECTORY' undeclared (first use in this function)
gnutls.c:472: error: (Each undeclared identifier is reported only once
gnutls.c:472: error: for each function it appears in.)
gmake[5]: *** [libgnutls_plugin_la-gnutls.lo] Error 1

O_DIRECTORY only exists in two files in my sources:
$ grep -lr O_DIRECTORY /space/obj/multimedia/vlc2/work/vlc-2.0.1/     
/space/obj/multimedia/vlc2/work/vlc-2.0.1/modules/access/dtv/linux.c
/space/obj/multimedia/vlc2/work/vlc-2.0.1/modules/misc/gnutls.c

Removing O_DIRECTORY makes the compilation continue, and as no other source
file mentions it, that might actually be the correct fix.

        
>How-To-Repeat:
get pkgsrc2012Q2 sources and try to build vlc2

        
>Fix:
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index