Re: Ports: How do dependent ports upgrade when dependency shared lib version is bumped?

2010-12-12 Thread Alexander Best
On Sat Dec 11 10, Yuri wrote:
 I recently updates the system. libatkmm-1.6.so.1 got bumped to 
 libatkmm-1.6.so.2, now inkscape fails:
 /libexec/ld-elf.so.1: Shared object libatkmm-1.6.so.1 not found, 
 required by inkscape
 
 What is the right behavior in such situation? Should all depending 
 packages be also automatically bumped? Or portupghrade should detect the 
 change and automatically upgrade dependent ports?

portupgrade -rfx atkmm atkmm should take care of the issue, although
portupgrade -rf atkmm is probably ok too, unless atkmm takes multiple hours to
build.

as a workaround you could also add an entry to /etc/libmap.conf:

libatkmm-1.6.so.1   libatkmm-1.6.so.2

if things in libatkmm haven't changed too much you might get away with it for
now and delay the portupgrade to some time that's more convenient to you.

cheers.
alex

 
 Yuri
 

-- 
a13x
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ports: How do dependent ports upgrade when dependency shared lib version is bumped?

2010-12-12 Thread Lowell Gilbert
Yuri y...@rawbw.com writes:

 I recently updates the system. libatkmm-1.6.so.1 got bumped to
 libatkmm-1.6.so.2, now inkscape fails:
 /libexec/ld-elf.so.1: Shared object libatkmm-1.6.so.1 not found,
 required by inkscape

 What is the right behavior in such situation? Should all depending
 packages be also automatically bumped? Or portupghrade should detect
 the change and automatically upgrade dependent ports?

There's no way to do it fully automatically, but porters try to do this
by hand, by incrementing PORTREVISION for the dependent ports.  Once
that is done, portupgrade will pick it up automatically.  However,
porters will sometimes miss subtle dependencies, especially optional
ones.  

In this case, I don't see a direct dependency of inkscape on atkmm, so I
don't know how it should have been marked.  In any case, inkscape was
updated shortly after atkmm, so if you upgraded everything more
recently, it looks like you should have gotten inkscape rebuilt after
the atkmm change.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org