Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Aug 2014 15:53:56 +0200
From:      Andrea Venturoli <ml@netfence.it>
To:        ports@freebsd.org
Cc:        bdrewery@FreeBSD.org, portmgr@FreeBSD.org
Subject:   Yet another pkg bug?
Message-ID:  <53DB9BF4.5070208@netfence.it>

next in thread | raw e-mail | index | archive | help
Hello.

On a 10.0/amd64 system:

> # cat /usr/ports/UPDATING
 > ...
> 20140730:
>   AFFECTS: users of security/libgcrypt
>   AUTHOR: pi@FreeBSD.org
>
>   libgcrypt has been updated to 1.6.1 and all shared libraries versions have
>   been bumped. So you need to rebuild all applications that depend on
>   libgcrypt.
>
>   # portmaster -r libgcrypt
>     or
>   # portupgrade -fr security/libgcrypt
>     or
>   # pkg install -fR security/libgcrypt
 > ...
> # pkg info -r libgcrypt|less
> libgcrypt-1.6.1_1:
>         libgnome-keyring-2.32.0_8
>         gnupg-2.0.25_1
>         libxslt-1.1.28_4
> # pkg info -r libxslt | less
> libxslt-1.1.28_4:
>         rarian-0.8.1_1
>         gnome-doc-utils-0.20.10_2
>         gtk-doc-1.18_1
>         inkscape-0.48.4_4
>         vala-0.20.1_1
>         policykit-gnome-0.9.2_7
>         raptor2-2.0.14
>         xmlto-0.0.26_2
>         shiboken-1.2.2
>         apiextractor-0.10.10_2
>         libreoffice-4.2.5_3
> # portupgrade -frn libgcrypt
> --->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
>         + security/libgcrypt (libgcrypt-1.6.1_1 -> libgcrypt-1.6.1_1)
>         + textproc/libxslt (libxslt-1.1.28_4 -> libxslt-1.1.28_4)
>         + security/gnupg (gnupg-2.0.25_1 -> gnupg-2.0.25_1)
>         + security/libgnome-keyring (libgnome-keyring-2.32.0_8 -> libgnome-keyring-2.32.0_8)

So, libreoffice is not rebuilt and after "portupgrade -fr libgcrypt"...

> # libchk -v | less -S
 > ...
> Binaries that are linked with: /usr/local/lib/compat/pkg/libgcrypt.so.19
>         /usr/local/lib/compat/pkg/libsoup-gnome-2.4.so.1.5.0
>         /usr/local/lib/libreoffice/program/libxsltfilterlo.so

... libreoffice is still using the old library.



Is the command provided in "UPGRADING" wrong?
Is it yet another bug in pkg? In portupgrade? In libreoffice?
Is something wrong in my setup?

  bye & Thanks
	av.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53DB9BF4.5070208>