Subject: Re: pkgsrc + ogle
To: None <current-users@NetBSD.org>
From: Bernd Ernesti <veego@NetBSD.org>
List: current-users
Date: 01/09/2006 06:38:40
[followup set to current-users, because it seems to be a problem with his
current system and not a problem with the pkg itself, but send to tech-pkg
too for a reference]

On Mon, Jan 09, 2006 at 12:48:25AM +0000, Marcin Jessa wrote:
> On Sun, 8 Jan 2006 23:43:29 +0000
> Daniel Bento <danielbento@overdestiny.com> wrote:
> 
> > Hello,
> > I'm trying to install ogle-0.9.2 ( on pkgsrc/multimedia/ogle/ ) in my
> > laptop, with NetBSD-current (3.99.15), but during the make i had this
> > problem,  
> > cc -fomit-frame-pointer -funroll-loops -O2
> > -I/usr/pkgsrc/multimedia/ogle/work/.buildlink/include
> > -I/usr/pkgsrc/multimedia/ogle/work/.buildlink/include/freetype2 -Wall
> > -O2 -Wall -march=i586 -mcpu=pentiumpro -Wl,-R/usr/pkg/lib
> > -Wl,-R/usr/pkg/xorg/lib -o .libs/ogle_mpeg_vs video_stream.o
> > video_mpeg1.o video_mpeg2.o video_motion.o c_getbits.o video_tables.o
> > yuv2rgb_mmx.o idct_mmx.o mmx_mlib.o 
> > -L/usr/pkgsrc/multimedia/ogle/work/.buildlink/lib
> > -L/usr/pkgsrc/multimedia/ogle/work/.x11-buildlink/lib
> > ../common/libcommon.a ../ogle/.libs/libmsgevents.so -lintl -Wl,--rpath
> > -Wl,/usr/pkg/lib/ogle video_mpeg1.o(.text+0x2d0): In function
> > `__sigaddset14': : multiple definition of `__sigaddset14'
> > video_stream.o(.text+0x2d0): first defined here
> > video_mpeg1.o(.text+0x320): In function `__sigdelset14':
> > : multiple definition of `__sigdelset14'
> > video_stream.o(.text+0x320): first defined here
> > video_mpeg1.o(.text+0x370): In function `__sigismember14':
> > : multiple definition of `__sigismember14'
> > video_stream.o(.text+0x370): first defined here
> > video_mpeg1.o(.text+0x3c0): In function `__sigemptyset14':
> > : multiple definition of `__sigemptyset14'
> > video_stream.o(.text+0x3c0): first defined here
> > video_mpeg1.o(.text+0x3f0): In function `__sigfillset14':
> > : multiple definition of `__sigfillset14'
> > video_stream.o(.text+0x3f0): first defined here
> > video_mpeg2.o(.text+0x2d0): In function `__sigaddset14':
> > : multiple definition of `__sigaddset14'
> > video_stream.o(.text+0x2d0): first defined here
> > video_mpeg2.o(.text+0x320): In function `__sigdelset14':
> > : multiple definition of `__sigdelset14'
> > video_stream.o(.text+0x320): first defined here
> > video_mpeg2.o(.text+0x370): In function `__sigismember14':
> > : multiple definition of `__sigismember14'
> > video_stream.o(.text+0x370): first defined here
> > video_mpeg2.o(.text+0x3c0): In function `__sigemptyset14':
> > : multiple definition of `__sigemptyset14'
> > video_stream.o(.text+0x3c0): first defined here
> > video_mpeg2.o(.text+0x3f0): In function `__sigfillset14':
> > : multiple definition of `__sigfillset14'
> > video_stream.o(.text+0x3f0): first defined here
> > video_motion.o(.text+0x2d0): In function `__sigaddset14':
> > : multiple definition of `__sigaddset14'
> > video_stream.o(.text+0x2d0): first defined here
> > video_motion.o(.text+0x320): In function `__sigdelset14':
> > : multiple definition of `__sigdelset14'
> > video_stream.o(.text+0x320): first defined here
> > video_motion.o(.text+0x370): In function `__sigismember14':
> > : multiple definition of `__sigismember14'
> > video_stream.o(.text+0x370): first defined here
> > video_motion.o(.text+0x3c0): In function `__sigemptyset14':
> > : multiple definition of `__sigemptyset14'
> > video_stream.o(.text+0x3c0): first defined here
> > video_motion.o(.text+0x3f0): In function `__sigfillset14':
> > : multiple definition of `__sigfillset14'
> > video_stream.o(.text+0x3f0): first defined here
> > gmake[1]: *** [ogle_mpeg_vs] Error 1
> > gmake[1]: Leaving directory
> > `/usr/pkgsrc/multimedia/ogle/work/ogle-0.9.2/mpeg2_video' gmake: ***
> > [all-recursive] Error 1 *** Error code 2
> > 
> > Stop.
> > make: stopped in /usr/pkgsrc/multimedia/ogle
> > ===> 
> > ===> There was an error during the ``build'' phase.
> > ===> Please investigate the following for more information:
> > ===>      * log of the build
> > ===>      * /usr/pkgsrc/multimedia/ogle/work/.work.log
> > ===> 
> > *** Error code 1
> > 
> > Stop.
> > make: stopped in /usr/pkgsrc/multimedia/ogle
> > (root@orion - /usr/pkgsrc/multimedia/ogle)$  
> > 
> > I have seen that isn't a ogle problem because in a Linux box, the same
> > ogle-0.9.2 has compiled without problems... 
> > 
> > Any ideas?

It compiles fine here (NetBSD/i386 3.99.15).

cc -fomit-frame-pointer -funroll-loops -O2 -I/pkgsrc/multimedia/ogle/work.i386/.buildlink/include -Wall -O2 -Wall -march=i586 -mcpu=pentiumpro -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -o .libs/ogle_mpeg_vs video_stream.o video_mpeg1.o video_mpeg2.o video_motion.o c_getbits.o video_tables.o yuv2rgb_mmx.o idct_mmx.o mmx_mlib.o  -L/pkgsrc/multimedia/ogle/work.i386/.buildlink/lib -L/pkgsrc/multimedia/ogle/work.i386/.x11-buildlink/lib ../common/libcommon.a ../ogle/.libs/libmsgevents.so -lintl -Wl,--rpath -Wl,/usr/pkg/lib/ogle
creating ogle_mpeg_vs

> You should contact the maintainer of the package and/or the original
> author of the software and not the current@ list.

He could have send a mail to tech-pkg@, but it seems for me that something
is wrong with his base system (includes/libc/kernel).

> The fact it compiles on Linux means the guy who coded it did it on
> Linux without NetBSD in mind so the ogle code as many other packages
> needs to be patched in order to cleanly compile on NetBSD.

NO, you are wrong.
Please don't make such statements, when you know nothing about a
package which works otherwise fine on NetBSD.

Bernd