Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 253709

Summary: [TRACKER] Packages failing to build with GnuTLS >=2.7.1
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever>
Component: New packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: acevery, wolf31o2
Priority: High Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: All   
URL: http://tinderbox.dev.gentoo.org/misc/dindex/net-libs/gnutls
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 253710, 253711, 253714, 253717, 253729, 268447, 268448, 268450, 268456, 268472, 268488, 268489, 268501, 268502, 268583, 271989, 272027, 273616, 273980, 274213, 278789, 279525, 279581, 282355, 296830, 297321, 297323, 297324    
Bug Blocks:    

Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-01-04 14:04:23 UTC
This bug is used to track packages which fail to build with GnuTLS >=2.7.1.

'libgnutls-config' and 'libgnutls-extra-config' scripts have been removed, so 'pkg-config gnutls' / 'pkg-config gnutls-extra' should be used.

'libgnutls.m4' and 'libgnutls-extra.m4' (which were defining AM_PATH_LIBGNUTLS and AM_PATH_LIBGNUTLS_EXTRA macros, respectively) also have been removed.

Example transformations:
 'libgnutls-config --libs'     =>  'pkg-config gnutls --libs'
 'libgnutls-config --version'  =>  'pkg-config gnutls --modversion'
Comment 1 Daniel Black (RETIRED) gentoo-dev 2009-01-05 07:08:34 UTC
worth noting that gnutls-2.2.5, the earliest version still in portage, comes with the libgnutls.m4 and libgnutls-extra.m4 macros which are exactly the same as the current stable 2.6.0-r2 version.

Just port to the libgnutls.m4 macros and don't worry about supporting libgnutls-*-config for any package (or if you do use a conditional dependency <net-libs/gnutls-2.7.0)
Comment 2 Daniel Black (RETIRED) gentoo-dev 2009-01-10 22:48:21 UTC
added net-libs/gnutls-2.7.4 masked for your testing please.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-05-30 21:48:39 UTC
GnuTLS 2.8.* has been unmasked.
Comment 4 Yu Yuwei 2009-07-23 01:42:54 UTC
lftp-3.7.14 and lftp-3.7.15 fail to find gnutls-2.8.1

which use:

if test x$with_gnutls = xyes; then
   AM_PATH_LIBGNUTLS([1.0.0], [
      AC_DEFINE([USE_GNUTLS], 1, [Define to 1 when using GNU TLS library])
      gnutls_version_code=`echo $libgnutls_config_version | $AWK -F. '{ printf "0x%02X%02X%02X\n",$1,$2,$3 }'`
      AC_DEFINE_UNQUOTED([LFTP_LIBGNUTLS_VERSION_CODE], $gnutls_version_code, [Define to libgnutls version, e.g. 0x010203 for 1.2.3])
   ])
fi
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-07-23 01:48:33 UTC
(In reply to comment #4)

Please report separate bugs and make them block this bug. Maintainers of packages failing to build with GnuTLS >=2.7.1 will not see your comments in this bug.
Comment 6 Yu Yuwei 2009-07-23 02:50:46 UTC
(In reply to comment #5)
> (In reply to comment #4)
> 
> Please report separate bugs and make them block this bug. Maintainers of
> packages failing to build with GnuTLS >=2.7.1 will not see your comments in
> this bug.
> 
done, report as #278789
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-06-20 12:54:50 UTC
all bugs done -> feel free to close this tracker
Comment 8 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-06-21 18:46:27 UTC
Closing.