Subject: Re: packages compilation fails on -current
To: dixie <dixieml@imap.cc>
From: dixie <dixieml@imap.cc>
List: port-macppc
Date: 01/08/2005 15:06:41
Il giorno 06/gen/05, alle 11:15, dixie ha scritto:

> Hi all,
> I'm experimenting some trouble compiling software in -current, some  
> packages compilation ends with this error:
>
> (x11/xcursor is an example)
>
> ===> Patching for xcursor-1.1.1nb2
> ===> Overriding tools for xcursor-1.1.1nb2
> make:  
> "../../mk/wrapper/../../mk/buildlink3/../../mk/wrapper/../../mk/ 
> buildlink3/bsd.buildlink3.mk" line 342: warning: Couldn't read shell's  
> output for "/usr/sbin/pkg_info -K /var/db/pkg -qp Xfixes-2.0.1nb1 |  
> /usr/bin/sed  -e "s,^[^/]*,,;q""
> ===> Creating toolchain wrappers for xcursor-1.1.1nb2
> Syntax error: expecting "in"
> *** Error code 2
>
> some other packages ends up like that.
> Unfortunately I noticed this problem only after going on 2.99.11 and I  
> couldn't tell if it happens also in -release.
> I posted here because on i386 these packages compile normally.
> Question is if the problem is in the main buildlink3 or in the  
> packages' one, or if on updating the system I missed something.
> Best regards.
>
>

Uhm, seems like there's something wrong with pkg_info, or /var/db/pkg  
since execution of /usr/bin/pkg_info -K /var/db/pkg package-name  shows  
no output and so sed cannot extrapolate anything
The problem may be on the two options 'q' and 'p' that given separately  
do their works but
called together return no output.
The weird thing is that on my other machine (i386) this does not  
happen, having the same version of pkgtools (20041226) but running  
Anyone experienced anything similar?
Anyone experienced anything similar?
Could it be a port-related problem or better to ask in another list?
Best regards.