From: Paul Macdonald on

Hi

Is anyone else seeing problems with

Upgrading 'gnupg-2.0.14_2' to 'gnupg-2.0.14_3'

....

configure:
***
*** You need libassuan with Pth support to build this program.
*** This library is for example available at
*** ftp://ftp.gnupg.org/gcrypt/libassuan/
*** (at least version 1.0.4 (API 1) is required).
***
configure: error:
***
*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.
***
===> Script "configure" failed unexpectedly.
Please report the problem to kuriyama(a)FreeBSD.org [maintainer] and
attach the
"/usr/ports/security/gnupg/work/gnupg-2.0.14/config.log" including the
output
of the failure of your make command. Also, it might be a good idea to
provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).


(config.log attached for maintainer)

libassuan-2.0.0 = up-to-date with port


I rebuilt libassuan without problems and it appears to have Pth support

===> Patching for libassuan-2.0.0
===> libassuan-2.0.0 depends on shared library: pth.20 - found

best regards
Paul.

--
-------------------------
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-------------------------
t: 0131 5548070
m: 07534206249
e: paul(a)ifdnrg.com
w: http://www.ifdnrg.com
-------------------------
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
-------------------------

From: Doug Barton on
On 06/14/10 02:30, Paul Macdonald wrote:
>
> Hi
>
> Is anyone else seeing problems with
>
> Upgrading 'gnupg-2.0.14_2' to 'gnupg-2.0.14_3'

Please read /usr/ports/UPDATING.


hth,

Doug

--

... and that's just a little bit of history repeating.
-- Propellerheads

Improve the effectiveness of your Internet presence with
a domain name makeover! http://SupersetSolutions.com/

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Matthew Seaman on
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14/06/2010 12:23:52, Doug Barton wrote:
> On 06/14/10 02:30, Paul Macdonald wrote:
>>
>> Hi
>>
>> Is anyone else seeing problems with
>>
>> Upgrading 'gnupg-2.0.14_2' to 'gnupg-2.0.14_3'
>
> Please read /usr/ports/UPDATING.

Even having replaced libassuan with libassuan-1, there still seems to be
a problem for some ports:

- ---> Upgrading 'dirmngr-1.0.3_1' to 'dirmngr-1.0.3_2' (security/dirmngr)
- ---> Building '/usr/ports/security/dirmngr'
===> Cleaning for libassuan-1-1.0.5
===> Cleaning for dirmngr-1.0.3_2
===> License check disabled, port has not defined LICENSE
===> Extracting for dirmngr-1.0.3_2
=> MD5 Checksum OK for dirmngr-1.0.3.tar.bz2.
=> SHA256 Checksum OK for dirmngr-1.0.3.tar.bz2.
===> Patching for dirmngr-1.0.3_2
===> dirmngr-1.0.3_2 depends on package: libassuan>=1.0.4 - not found
===> Verifying install for libassuan>=1.0.4 in
/usr/ports/security/libassuan-1
===> License check disabled, port has not defined LICENSE
===> Extracting for libassuan-1-1.0.5
=> MD5 Checksum OK for libassuan-1.0.5.tar.bz2.
=> SHA256 Checksum OK for libassuan-1.0.5.tar.bz2.
=> MD5 Checksum OK for libassuan-1.0.5.tar.bz2.sig.
=> SHA256 Checksum OK for libassuan-1.0.5.tar.bz2.sig.
===> Patching for libassuan-1-1.0.5
===> libassuan-1-1.0.5 depends on shared library: pth.20 - found
===> Configuring for libassuan-1-1.0.5
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes

[... elided output of successfully building libassuan-1 ...]

make all-am
/usr/local/libexec/ccache/world-cc -DHAVE_CONFIG_H -I. -I.. -O2
- -pipe -march=native -I/usr/local/include/pth -fPIC -fno-strict-aliasing
- -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -MT
fdpassing.o -MD -MP -MF .deps/fdpassing.Tpo -c -o fdpassing.o fdpassing.c
mv -f .deps/fdpassing.Tpo .deps/fdpassing.Po
/usr/local/libexec/ccache/world-cc -O2 -pipe -march=native
- -I/usr/local/include/pth -fPIC -fno-strict-aliasing -Wall -Wcast-align
- -Wshadow -Wstrict-prototypes -Wpointer-arith -o fdpassing fdpassing.o
.../src/libassuan.a
===> Installing for libassuan-1-1.0.5
===> Generating temporary packing list
===> Checking if security/libassuan-1 already installed
===> libassuan-1-1.0.5 is already installed
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of security/libassuan-1
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/security/libassuan-1.
*** Error code 1

Stop in /usr/ports/security/dirmngr.

The BUILD_DEPENDS in security/dirmngr should probably read:

lucid-nonsense:...ports/security/dirmngr:% diff -u Makefile{~,}
- --- Makefile~ 2010-06-14 07:01:42.471983265 +0100
+++ Makefile 2010-06-14 12:43:58.961764828 +0100
@@ -15,7 +15,7 @@
MAINTAINER= umq(a)ueo.co.jp
COMMENT= A client for managing and downloading certificate revocation lists

- -BUILD_DEPENDS= libassuan>=1.0.4:${PORTSDIR}/security/libassuan-1
+BUILD_DEPENDS= libassuan-1>=1.0.4:${PORTSDIR}/security/libassuan-1
LIB_DEPENDS= gcrypt.16:${PORTSDIR}/security/libgcrypt \
gpg-error.0:${PORTSDIR}/security/libgpg-error \
ksba.17:${PORTSDIR}/security/libksba \


I guess a similar fix is needed in any of the other ports that don't
work with libassuan-2.0.0.

Cheers,

Matthew


- --
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew(a)infracaninophile.co.uk Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwWFvgACgkQ8Mjk52CukIw+4gCffMpRs6uMIXBw3POAGPslwNkj
npwAn2GHG7keEtnLnyqwiRAY4QbYDl1C
=RxlY
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Doug Barton on
On 06/14/10 04:48, Matthew Seaman wrote:
>
> Even having replaced libassuan with libassuan-1, there still seems to be
> a problem for some ports:

Yes, I fixed that shortly after the first update, thanks to QAT. :)

I had tested picking up the new dependency for building the port, but
didn't test for re-building because I thought the >= in BUILD_DEPENDS
referred to the library version number. In retrospect that was a silly
thing to think, but my belief was reinforced when my first change
actually worked.


Doug

--

... and that's just a little bit of history repeating.
-- Propellerheads

Improve the effectiveness of your Internet presence with
a domain name makeover! http://SupersetSolutions.com/

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"