Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Aug 2019 06:13:12 -0700
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        Tijl Coosemans <tijl@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r508152 - head/security/gnutls
Message-ID:  <201908051313.x75DDCDJ031528@slippy.cwsent.com>
In-Reply-To: <201908050955.x759tUVT014444@repo.freebsd.org>
References:  <201908050955.x759tUVT014444@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <201908050955.x759tUVT014444@repo.freebsd.org>, Tijl 
Coosemans write
s:
> Author: tijl
> Date: Mon Aug  5 09:55:30 2019
> New Revision: 508152
> URL: https://svnweb.freebsd.org/changeset/ports/508152
>
> Log:
>   Update to 3.6.9.
>
> Modified:
>   head/security/gnutls/Makefile
>   head/security/gnutls/distinfo
>   head/security/gnutls/pkg-plist
>
> Modified: head/security/gnutls/Makefile
> =============================================================================
> =
> --- head/security/gnutls/Makefile	Mon Aug  5 09:47:27 2019	(r50815
> 1)
> +++ head/security/gnutls/Makefile	Mon Aug  5 09:55:30 2019	(r50815
> 2)
> @@ -1,8 +1,7 @@
>  # $FreeBSD$
>  
>  PORTNAME=	gnutls
> -PORTVERSION=	3.6.8
> -PORTREVISION=	2
> +PORTVERSION=	3.6.9
>  CATEGORIES=	security net
>  MASTER_SITES=	GNUPG/gnutls/v${PORTVERSION:R}
>  
>
> Modified: head/security/gnutls/distinfo
> =============================================================================
> =
> --- head/security/gnutls/distinfo	Mon Aug  5 09:47:27 2019	(r50815
> 1)
> +++ head/security/gnutls/distinfo	Mon Aug  5 09:55:30 2019	(r50815
> 2)
> @@ -1,3 +1,3 @@
> -TIMESTAMP = 1559037734
> -SHA256 (gnutls-3.6.8.tar.xz) = aa81944e5635de981171772857e72be231a7e0f559ae0
> 292d2737de475383e83
> -SIZE (gnutls-3.6.8.tar.xz) = 5712580
> +TIMESTAMP = 1564998433
> +SHA256 (gnutls-3.6.9.tar.xz) = 4331fca55817ecdd74450b908a6c29b4f05bb24dd1314
> 4c6284aa34d872e1fcb
> +SIZE (gnutls-3.6.9.tar.xz) = 5773928
>
> Modified: head/security/gnutls/pkg-plist
> =============================================================================
> =
> --- head/security/gnutls/pkg-plist	Mon Aug  5 09:47:27 2019	(r50815
> 1)
> +++ head/security/gnutls/pkg-plist	Mon Aug  5 09:55:30 2019	(r50815
> 2)
> @@ -32,7 +32,7 @@ include/gnutls/x509.h
>  %%DANE%%lib/libgnutls-dane.so.0.4.1
>  lib/libgnutls.so
>  lib/libgnutls.so.30
> -lib/libgnutls.so.30.24.0
> +lib/libgnutls.so.30.25.0
>  lib/libgnutlsxx.so
>  lib/libgnutlsxx.so.28
>  lib/libgnutlsxx.so.28.1.0
> @@ -263,6 +263,7 @@ man/man3/gnutls_ext_set_data.3.gz
>  man/man3/gnutls_fingerprint.3.gz
>  man/man3/gnutls_fips140_mode_enabled.3.gz
>  man/man3/gnutls_fips140_set_mode.3.gz
> +man/man3/gnutls_get_system_config_file.3.gz
>  man/man3/gnutls_global_deinit.3.gz
>  man/man3/gnutls_global_init.3.gz
>  man/man3/gnutls_global_set_audit_log_function.3.gz
> @@ -288,6 +289,7 @@ man/man3/gnutls_handshake_set_private_extensions.3.gz
>  man/man3/gnutls_handshake_set_random.3.gz
>  man/man3/gnutls_handshake_set_timeout.3.gz
>  man/man3/gnutls_hash.3.gz
> +man/man3/gnutls_hash_copy.3.gz
>  man/man3/gnutls_hash_deinit.3.gz
>  man/man3/gnutls_hash_fast.3.gz
>  man/man3/gnutls_hash_get_len.3.gz
> @@ -305,6 +307,7 @@ man/man3/gnutls_hex_decode2.3.gz
>  man/man3/gnutls_hex_encode.3.gz
>  man/man3/gnutls_hex_encode2.3.gz
>  man/man3/gnutls_hmac.3.gz
> +man/man3/gnutls_hmac_copy.3.gz
>  man/man3/gnutls_hmac_deinit.3.gz
>  man/man3/gnutls_hmac_fast.3.gz
>  man/man3/gnutls_hmac_get_len.3.gz
>

This fails to build on i386 (32-bit).

libtool: link: cc -shared  -fPIC -DPIC  .libs/range.o .libs/record.o 
.libs/compress.o .libs/debug.o .libs/cipher.o .libs/handshake-tls13.o 
.libs/mbuffers.o .libs/buffers.o .libs/handshake.o .libs/num.o 
.libs/errors.o .libs/dh.o .libs/kx.o .libs/cipher-cbc.o 
.libs/priority.o .libs/hash_int.o .libs/cipher_int.o .libs/session.o 
.libs/db.o .libs/x509_b64.o .libs/hello_ext.o .libs/auth.o 
.libs/sslv2_compat.o .libs/datum.o .libs/session_pack.o .libs/mpi.o 
.libs/pk.o .libs/cert-cred.o .libs/global.o .libs/constate.o 
.libs/anon_cred.o .libs/pkix_asn1_tab.o .libs/gnutls_asn1_tab.o 
.libs/mem.o .libs/fingerprint.o .libs/tls-sig.o .libs/ecc.o 
.libs/alert.o .libs/privkey_raw.o system/.libs/certs.o 
system/.libs/threads.o system/.libs/fastopen.o system/.libs/sockets.o 
.libs/str-iconv.o .libs/system.o .libs/profiles.o inih/.libs/ini.o 
.libs/str.o .libs/str-unicode.o .libs/str-idna.o .libs/state.o 
.libs/cert-cred-x509.o .libs/file.o .libs/supplemental.o .libs/random.o 
.libs/crypto-api.o .libs/privkey.o .libs/pcert.o .libs/pubkey.o 
.libs/locks.o .libs/dtls.o .libs/system_override.o 
.libs/crypto-backend.o .libs/verify-tofu.o .libs/pin.o .libs/tpm.o 
.libs/fips.o .libs/safe-memfuncs.o .libs/atfork.o .libs/randomart.o 
.libs/urls.o .libs/prf.o .libs/auto-verify.o .libs/dh-session.o 
.libs/cert-session.o .libs/handshake-checks.o .libs/dtls-sw.o 
.libs/dh-primes.o .libs/openpgp_compat.o .libs/crypto-selftests.o 
.libs/crypto-selftests-pk.o .libs/secrets.o .libs/extv.o 
.libs/hello_ext_lib.o .libs/ocsp-api.o .libs/stek.o 
.libs/cert-cred-rawpk.o system/.libs/keys-dummy.o tls13/.libs/encrypted_
extensions.o tls13/.libs/certificate_request.o tls13/.libs/certificate_v
erify.o .libs/tls13-sig.o tls13/.libs/finished.o tls13/.libs/key_update.
o tls13/.libs/hello_retry.o tls13/.libs/session_ticket.o 
tls13/.libs/certificate.o tls13/.libs/early_data.o 
tls13/.libs/post_handshake.o tls13/.libs/psk_ext_parser.o 
tls13/.libs/anti_replay.o .libs/pkcs11.o .libs/pkcs11x.o 
.libs/pkcs11_privkey.o .libs/pkcs11_write.o .libs/pkcs11_secret.o 
.libs/pkcs11_int.o .libs/srp.o .libs/psk.o  -Wl,--whole-archive 
../gl/.libs/libgnu.a x509/.libs/libgnutls_x509.a ext/.libs/libgnutls_ext
.a auth/.libs/libgnutls_auth.a algorithms/.libs/libgnutls_alg.a 
extras/.libs/libgnutls_extras.a accelerated/.libs/libaccelerated.a 
nettle/.libs/libcrypto.a -Wl,--no-whole-archive  -Wl,-rpath 
-Wl,/usr/local/lib -L/usr/local/lib -lp11-kit -lidn2 -lunistring 
-ltasn1 -lnettle -lhogweed -lgmp -lintl  -O2 -fstack-protector-strong 
-Wl,--version-script=./libgnutls.map -fstack-protector-strong   
-Wl,-soname -Wl,libgnutls.so.30 -o .libs/libgnutls.so.30.25.0
mv -f .deps/libgnutlsxx_la-gnutlsxx.Tpo .deps/libgnutlsxx_la-gnutlsxx.Pl
o
ld: error: can't create dynamic relocation R_386_32 against symbol: 
_gnutls_x86_cpuid_s in readonly segment; recompile object files with 
-fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in accelerated/.libs/libaccelerated.a(x86-common.o)
>>> referenced by aesni-x86.o:(_aesni_set_encrypt_key) in archive 
accelerated/.libs/libaccelerated.a
cc: error: linker command failed with exit code 1 (use -v to see 
invocation)
gmake[6]: *** [Makefile:1943: libgnutls.la] Error 1
gmake[6]: Leaving directory '/export/wrkdir/i386/usr/ports/security/gnut
ls/work/gnutls-3.6.9/lib'
gmake[5]: *** [Makefile:2191: all-recursive] Error 1
gmake[5]: Leaving directory '/export/wrkdir/i386/usr/ports/security/gnut
ls/work/gnutls-3.6.9/lib'
gmake[4]: *** [Makefile:1815: all] Error 2
gmake[4]: Leaving directory '/export/wrkdir/i386/usr/ports/security/gnut
ls/work/gnutls-3.6.9/lib'
gmake[3]: *** [Makefile:1591: all-recursive] Error 1
gmake[3]: Leaving directory '/export/wrkdir/i386/usr/ports/security/gnut
ls/work/gnutls-3.6.9'
gmake[2]: *** [Makefile:1518: all] Error 2
gmake[2]: Leaving directory '/export/wrkdir/i386/usr/ports/security/gnut
ls/work/gnutls-3.6.9'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the 
failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/security/gnutls
*** Error code 1

Stop.
make: stopped in /usr/ports/security/gnutls

===>>> make build failed for security/gnutls
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> security/gnutls 

This command has been saved to /tmp/portmasterfail.txt

Summary:
-- security/gnutls build and install is sucessful on amd64
Exiting due to failure at i386, RC=1


amd64 is good.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.





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