Subject: nas is broken! (was:Re: mpeg4ip-1.5 no libaudio)
To: Chavdar Ivanov <ci4ic4@gmail.com>
From: Phil Pereira <phil@bsdnexus.com>
List: pkgsrc-users
Date: 07/10/2006 14:57:45
Seems nas complains itself of the error, yet proceeds to complete and record
an install of *nothing* - quite literally.
While watching nas compile and grabbing some of the output, here's what I
found:
In file included from ../../include/audio/Alibint.h:155,
from AlibAsync.c:43:
../../include/audio/mutex.h:54: error: parse error before "_AuMutex"
../../include/audio/mutex.h:54: warning: data definition has no type or
storage class
../../include/audio/mutex.h:76: error: parse error before "_serv_mutex"
../../include/audio/mutex.h:76: warning: data definition has no type or
storage class
../../include/audio/mutex.h:77: error: parse error before "_init_mutex"
../../include/audio/mutex.h:77: warning: data definition has no type or
storage class
make[2]: *** [AlibAsync.o] Error 1
make[1]: *** [all] Error 2
make[3]: *** No rule to make target `../../../lib/audio/libaudio.a', needed
by `auconvert'. Stop.
make[3]: *** No rule to make target `../../../lib/audio/libaudio.a', needed
by `auctl'. Stop.
make[3]: *** No rule to make target `../../../lib/audio/libaudio.a', needed
by `audemo'. Stop.
make[3]: *** No rule to make target `../../../lib/audio/libaudio.a', needed
by `audial'. Stop.
make[3]: *** No rule to make target `../../../lib/audio/libaudio.a', needed
by `auedit'. Stop.
make[3]: *** No rule to make target `../../../lib/audio/libaudio.a', needed
by `auinfo'. Stop.
make[3]: *** No rule to make target `../../../lib/audio/libaudio.a', needed
by `aupanel'. Stop.
make[3]: *** No rule to make target `../../../lib/audio/libaudio.a', needed
by `auplay'. Stop.
make[3]: *** No rule to make target `../../../lib/audio/libaudio.a', needed
by `aurecord'. Stop.
make[3]: *** No rule to make target `../../../lib/audio/libaudio.a', needed
by `autool'. Stop.
make[3]: *** No rule to make target `../../../lib/audio/libaudio.a', needed
by `auwave'. Stop.
make[3]: *** No rule to make target `../../../lib/audio/libaudio.a', needed
by `auphone'. Stop.
gcc: ../../../lib/audio/libaudio.a: No such file or directory
make[3]: *** [soundtoh] Error 1
gcc: ../../../lib/audio/libaudio.a: No such file or directory
make[3]: *** [playFile] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
<standard input>:50: warning: numeric expression expected (got `m')
<standard input>:50: warning: numeric expression expected (got `f')
...
It would appear that nas is incapable of finding the very library it
provides.
I'll happily test any patches that people can provide to repair this.
Many thanks
Phil.
"Chavdar Ivanov" <ci4ic4@gmail.com> wrote:
> On 7/10/06, Phil Pereira <phil@bsdnexus.com> wrote:
> > "Chavdar Ivanov" <ci4ic4@gmail.com> wrote:
> >
> > > On 7/9/06, Phil Pereira <phil@bsdnexus.com> wrote:
> > > > "Chavdar Ivanov" <ci4ic4@gmail.com> wrote:
> > > >
> > > > > On 7/9/06, Phil Pereira <phil@bsdnexus.com> wrote:
> > > > > > The subject may have been misleading, so have reposted. Sorry if
> this
> > is
> > > ...
> > > > > As you suggest in your previous message, it is from nas (I am
using
> > > > > the current pkgsrc snapshot though, but doubt it is different in
the
> > > > > branch you require).
> > > > >
> > > > > I'd suggest rebuilding nas.
> > > > >
> > > >
> > > > tried that ... nothing changed :(
> > >
> > > I did 'make replace' in audio/nas a few hours ago:
> > >
> > > > pkg_info -L nas-1.8 | grep libaudio
> > > /usr/pkg/lib/libaudio.a
> > > /usr/pkg/lib/libaudio.so
> > > /usr/pkg/lib/libaudio.so.2
> > > /usr/pkg/lib/libaudio.so.2.4
> > >
> > > (but then again, this is pkgsrc just cvs up-ed, running on -current
> > > from half a day ago...)
> >
> > If I run "pkg_info -L nas-1.8 | grep libaudio" as you did, I see exactly
the
> > same. However, if I check for those files manually, they don't seem to
> > exist:
> >
> > # ls -l /usr/pkg/lib/libaudio.a
> > ls: /usr/pkg/lib/libaudio.a: No such file or directory
>
> I *think* ("think" being an operative word ^:) that the nas package
> has actually been deleted, but the record from the package database
> has not been updated.
>
> Do a 'pkg_delete -f nas' and then, while in audio/nas, do a 'make
> clean; make install' .
>
> Hope that helps.
>
> >
> > ...worryingly, NONE of the apps that are meant to be installed like
"audemo"
> > in /usr/pkg/bin seem to exist either. Do you have the same issue? Would
> this
> > indicate a very broken pkgsrc app?
> >
> > Appreciating all your help
> >
> > Phil.
_________________________________________________________
This mail sent using V-webmail - http://www.v-webmail.org