Stale vs duplicate dependencies - bug ?

Pawel Pekala pawel at FreeBSD.org
Sun Feb 17 12:07:44 UTC 2013


Hello

While working on my script checking for linking problems in packages I
have found strange thing. Some of my packages have stale dependencies:

[corn:~/backup]# pkg info -d konversation-1.1_5 | egrep "(png|pciids|cups-client)"
cups-client-1.5.4
pciids-20121208
png-1.5.13

[corn:~/backup]# pkg info -q png pciids cups-client
png-1.5.14
pciids-20130201
cups-client-1.5.4_1

Well, I just recompile package and should fix this I thought. Thing is
dependencies are not bumped and nothing is changed. One thing caught
my attention: 

===>   Registering installation for konversation-1.1_5
pkg: duplicate dependency listing: cups-client-1.5.4_1, ignoring
pkg: duplicate dependency listing: pciids-20130201, ignoring
pkg: duplicate dependency listing: png-1.5.14, ignoring
Installing konversation-1.1_5... done

After quick hack session I've created attached patch which seems to fix this
issue for me. After patching pkg and recompiling konversation:

===>   Registering installation for konversation-1.1_5
pkg: stale dependency: cups-client-1.5.4, bumping to 1.5.4_1
pkg: stale dependency: pciids-20121208, bumping to 20130201
pkg: stale dependency: png-1.5.13, bumping to 1.5.14
Installing konversation-1.1_5... done

[corn:~/backup]# pkg info -d konversation-1.1_5 | egrep "(png|pciids|cups-client)"
cups-client-1.5.4_1
pciids-20130201
png-1.5.14

This is on my development machine where there is a lot going on, so my question
is - can anyone reproduce this ?

-- 
pozdrawiam / with regards
Paweł Pękala
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stale-dep-bump.diff
Type: text/x-patch
Size: 573 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg/attachments/20130217/91f95948/attachment.bin>


More information about the freebsd-pkg mailing list