pkgsrc-Bugs archive

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

pkg/46238: multimedia/xine-lib fails to build on NetBSD 5.1_STABLE/amd64



>Number:         46238
>Category:       pkg
>Synopsis:       multimedia/xine-lib fails to build on NetBSD 5.1_STABLE/amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 22 03:25:00 +0000 2012
>Originator:     Greg Oster
>Release:        NetBSD 5.1_STABLE
>Organization:

Later...

Greg Oster
>Environment:
        
        
System: NetBSD quad 5.1_STABLE NetBSD 5.1_STABLE (QUAD) #0: Thu Jan 5 10:50:38 
CST 2012 
oster@quad:/u1/builds/build196/src/obj/amd64/u1/builds/build196/src/sys/arch/amd64/compile/QUAD
 amd64
Architecture: x86_64
Machine: amd64
>Description:

        multimedia/xine-lib fails to build on NetBSD 5.1_STABLE/amd64 with 
gcc version 4.1.3 20080704 prerelease (NetBSD nb3 20111107)
The failure is thusly:

gmake[2]: Entering directory 
`/usr/pkgsrc/multimedia/xine-lib/work.quad/xine-lib-1.2.1/src/xine-engine'
  CC     libxine_la-xine.lo
  CC     libxine_la-metronom.lo
  CC     libxine_la-configfile.lo
cc1: error: unrecognized command line option 
"-Werror=implicit-function-declaration"
gmake[1]: *** [xine-list.o] Error 1
gmake[1]:   CC     libxine_la-buffer.lo
*** Waiting for unfinished jobs....
cc1: error: unrecognized command line option 
"-Werror=implicit-function-declaration"
gmake[2]: *** [libxine_la-xine.lo] Error 1
gmake[2]: *** Waiting for unfinished jobs....
cc1: error: unrecognized command line option 
"-Werror=implicit-function-declaration"
gmake[2]: *** [libxine_la-configfile.lo] Error 1
cc1: error: unrecognized command line option 
"-Werror=implicit-function-declaration"
gmake[2]: *** [libxine_la-buffer.lo] Error 1
cc1: error: unrecognized command line option 
"-Werror=implicit-function-declaration"
gmake[2]: *** [libxine_la-metronom.lo] Error 1
gmake[2]: Leaving directory 
`/usr/pkgsrc/multimedia/xine-lib/work.quad/xine-lib-1.2.1/src/xine-engine'
gmake[1]: *** [../src/xine-engine/libxine.la] Error 2
gmake[1]: Leaving directory 
`/usr/pkgsrc/multimedia/xine-lib/work.quad/xine-lib-1.2.1/misc'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/multimedia/xine-lib
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/multimedia/xine-lib
*** Error code 1

A quick check on the system indicates:

11> gcc -Werror=implicit-function-declaration -o foo foo.c
cc1: error: unrecognized command line option 
"-Werror=implicit-function-declaration"
12> 

>How-To-Repeat:
        On a NetBSD 5.1_STABLE/amd64 box with gcc version 4.1.3 20080704 
prerelease (NetBSD nb3 20111107) and -current pkgsrc do:

        cd /usr/pkgsrc/multimedia/xine-lib
        make install clean
>Fix:
        Removing the offending -Werror line?

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index