pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/39807: graphics/libv4l has weird cc usage error ... (NetBSD 3.0)
>Number: 39807
>Category: pkg
>Synopsis: graphics/libv4l has weird cc usage error ... (NetBSD 3.0)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Oct 26 10:05:00 +0000 2008
>Originator: Robert Elz
>Release: NetBSD 3.0 RELEASE (pkgsrc current today)
>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:
On NetBSD 3.0 (at least, yet to check others) graphics/libv4l
generates a usage message from cc
>How-To-Repeat:
I use pkg_comp and libkver with the NetBSD 3.0 release sets installed.
NetBSD 3.0 (older gcc than expected perhaps) might be relevant
I can't see how pkg_comp (or libkver) can be.
Build graphics/libv4l - for me that was happening as a dependency
of something else (hence the "medium" priority).
Expect to see
=> No binary package found for libv4l>=0.4.3; installing from source.
=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Checksum SHA1 OK for libv4l-0.4.3.tar.gz
=> Checksum RMD160 OK for libv4l-0.4.3.tar.gz
===> Installing dependencies for libv4l-0.4.3nb1
=> Build dependency gmake>=3.81: found gmake-3.81
=> Build dependency checkperms>=1.1: found checkperms-1.10
===> Overriding tools for libv4l-0.4.3nb1
===> Extracting for libv4l-0.4.3nb1
===> Patching for libv4l-0.4.3nb1
=> Applying pkgsrc patches for libv4l-0.4.3nb1
===> Creating toolchain wrappers for libv4l-0.4.3nb1
===> Configuring for libv4l-0.4.3nb1
/bin/mkdir -p
/pkg_comp/obj/pkgsrc/graphics/libv4l/default/libv4l-0.4.3/include/sys
cp /usr/pkgsrc/graphics/libv4l/files/videoio.h
/pkg_comp/obj/pkgsrc/graphics/libv4l/default/libv4l-0.4.3/include/sys
=> Checking for portability problems in extracted files
===> Building for libv4l-0.4.3nb1
/usr/pkg/bin/gmake -C libv4lconvert V4L2_LIB_VERSION=0.4.3 all
gmake[1]: Entering directory
`/pkg_comp/obj/pkgsrc/graphics/libv4l/default/libv4l-0.4.3/libv4lconvert'
cc -c -MMD -I../include -I../../../../linux/include -fvisibility=hidden -fPIC
-O2 -o libv4lconvert.o libv4lconvert.c
cc1: error: unrecognized option `-fvisibility=hidden'
gmake[1]: *** [libv4lconvert.o] Error 1
gmake[1]: Leaving directory
`/pkg_comp/obj/pkgsrc/graphics/libv4l/default/libv4l-0.4.3/libv4lconvert'
gmake: *** [all] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/graphics/libv4l
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/libv4l
*** Error code 1
Stop.
>Fix:
Possibly this needs to use a newer gcc (from pkgsrc) on NetBSD 3,
or perhaps the option is just an error, beats me. I can't even
guess what "visibility=hidden" might be meant to mean.
Home |
Main Index |
Thread Index |
Old Index