Subject: Re: pkg/24056: gst-plugins (current) does not build
To: Quentin Garnier <quentin@eve-team.com>
From: Noud de Brouwer <netbsd-install@home.nl>
List: netbsd-bugs
Date: 01/14/2004 09:35:11
Quentin Garnier wrote:

> On Sun, 11 Jan 2004 23:39:33 +0000 (UTC)
> netbsd-install@home.nl wrote:
>
> >
> > >Number:         24056
> > >Category:       pkg
> > >Synopsis:       gst-plugins (current) does not build
> [...]
> > ./.libs/liblavplay.so: undefined reference to `pthread_setschedparam'
> > gmake[2]: *** [lavplay] Error 1
> > gmake[2]: Leaving directory
> > `/usr/pkgsrc/graphics/mjpegtools/work/mjpegtools-1.6.1.90/lavtools'
> > gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory
> > `/usr/pkgsrc/graphics/mjpegtools/work/mjpegtools-1.6.1.90' gmake: ***
> > [all] Error 2*** Error code 2
> >
> > Stop.
> > make: stopped in /usr/pkgsrc/graphics/mjpegtools
>
> This is not a gst-plugins issue, but rather a mjpegtools issue.
>
> 1. pthread_setschedparam was added in 1.6ZG.  Updating your system will

updated:
NetBSD  1.6ZG NetBSD 1.6ZG (GENERIC) #0: Tue Jan 13 18:28:01 CET 2004
root@:/usr/src/sys/arch/i386/compile/GENERIC i386

>
>    fix the issue you see.  We can't possibly support every single
>    existing version of -current.
>
> 2. Even after that, mjpegtools is still broken on -current because of
>    bad libtool/iconv interaction.  Could you please try the attached
>    patch?  Without your patch to gst-plugins of course.

i did apply patch:
===> Registering installation for mjpegtools-1.6.1.90nb3
===> Registering installation for gst-plugins-0.6.1nb10

so gst-plugins builds ok now ;)
Noud

>
> Providing a patch along with the PR is appreciated, but I'm sure you
> knew your patch didn't belong to a section named 'Fix' :)
>
> Quentin Garnier.
>
>   ------------------------------------------------------------------------
>                       Name: mjpegtools.diff
>    mjpegtools.diff    Type: Plain Text (text/plain)
>                   Encoding: 7bit