x11/libXrandr, x11-toolkits/libXmu, graphics/jasper fails to build

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Wed Jan 28 07:40:17 PST 2009


Da Rock <rock_on_the_web at comcen.com.au> writes:

> On Tue, 2009-01-27 at 12:47 -0200, Sergio de Almeida Lenzi wrote:
>> Em Ter, 2009-01-27 às 09:27 -0500, Tsu-Fan Cheng escreveu:
>> 
>> > Hi,
>> >     have you solved the problem yet? I also have libXmu failed to
>> > upgrade due to libxcb-xlib.la. Thanks!!
>> 
>> I removed every instance of libxb-xlib.la from /usr/local/lib/*.la
>> than it all works again
>> 
>> a shell script like:
>> ==========================
>> #!/bin/sh
>> 
>> lista=`find /usr/local/lib  -type f -name "*.la"`
>> 
>> if [ -n "$lista" ]
>> then
>> 	for i in $lista
>> 	do
>> 		if grep $1 $i > /dev/null
>> 		then
>> 			sed -i "" "s|/usr/local/lib/$1||" $lista
>> 		fi
>> 	done
>> fi
>> ================================
>> supose you name this shell ->  XX
>> than.....
>> sh XX libxcb-xlib.la 
>> will do the trick....
>> 
>> after that, you will be able to build things again.
>
> I've been talking to the porters and that would not be the recommended
> way of fixing this. Running portupgrade -a -rf libxcb resolves the
> issue.

That probably isn't the exactly recommended form either. 
"-a" and "-r" don't make sense together; the "-r" will be ignored, and
you will end up rebuilding *everything*.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
		http://be-well.ilk.org/~lowell/


More information about the freebsd-questions mailing list