pkgsrc-Bugs archive

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

pkg/47900: vlc2 doesn't build on NetBSD-6.99.20/amd64



>Number:         47900
>Category:       pkg
>Synopsis:       vlc2 doesn't build on NetBSD-6.99.20/amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 05 22:00:00 +0000 2013
>Originator:     Thomas Klausner
>Release:        NetBSD 6.99.20
>Organization:
Curiosity is the very basis of education and if you tell me that 
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:
        
        
System: NetBSD yt.nih.at 6.99.20 NetBSD 6.99.20 (KVOTHE) #9: Wed May 29 
08:24:22 CEST 2013 
wiz%yt.nih.at@localhost:/archive/foreign/src/sys/arch/amd64/compile/obj/KVOTHE 
amd64
Architecture: x86_64
Machine: amd64
>Description:
vlc2 stopped building sometime in the 6.99.19-20 range due to locale changes.

The build currently stops with:
In file included from ../include/vlc_common.h:47:0,
                 from libvlc-module.c:36:
/usr/include/stdlib.h:341:26: error: conflicting types for 'locale_t'
../include/vlc_fixups.h:215:15: note: previous declaration of 'locale_t' was 
here
In file included from ../include/vlc_common.h:47:0,
                 from misc/stats.c:32:
/usr/include/stdlib.h:341:26: error: conflicting types for 'locale_t'
../include/vlc_fixups.h:215:15: note: previous declaration of 'locale_t' was 
here
In file included from ../include/vlc_common.h:47:0,
                 from libvlc.c:39:
/usr/include/stdlib.h:341:26: error: conflicting types for 'locale_t'
../include/vlc_fixups.h:215:15: note: previous declaration of 'locale_t' was 
here
In file included from ../include/vlc_common.h:47:0,
                 from version.c:31:
/usr/include/stdlib.h:341:26: error: conflicting types for 'locale_t'
../include/vlc_fixups.h:215:15: note: previous declaration of 'locale_t' was 
here
In file included from ../include/vlc_common.h:47:0,
                 from missing.c:29:
/usr/include/stdlib.h:341:26: error: conflicting types for 'locale_t'
../include/vlc_fixups.h:215:15: note: previous declaration of 'locale_t' was 
here
In file included from ../include/vlc_common.h:47:0,
                 from misc/threads.c:32:
/usr/include/stdlib.h:341:26: error: conflicting types for 'locale_t'
../include/vlc_fixups.h:215:15: note: previous declaration of 'locale_t' was 
here
In file included from ../include/vlc_common.h:47:0,
                 from misc/cpu.c:33:
/usr/include/stdlib.h:341:26: error: conflicting types for 'locale_t'
../include/vlc_fixups.h:215:15: note: previous declaration of 'locale_t' was 
here
In file included from libvlc.c:53:0:
/usr/include/locale.h:105:7: error: conflicting types for 'freelocale'
../include/vlc_fixups.h:221:20: note: previous definition of 'freelocale' was 
here
/usr/include/locale.h:107:10: error: conflicting types for 'newlocale'
../include/vlc_fixups.h:225:24: note: previous definition of 'newlocale' was 
here
gmake[4]: *** [version.lo] Error 1


>How-To-Repeat:
Upgrade to 6.99.20, build vlc2 from pkgsrc.
>Fix:
Not provided.

Adding uselocale() might be enough.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index