[Bug 240171] security/gnutls build error with poudriere

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 28 13:51:40 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240171

            Bug ID: 240171
           Summary: security/gnutls build error with poudriere
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: tijl at FreeBSD.org
          Reporter: peixoto.cassiano at gmail.com
          Assignee: tijl at FreeBSD.org
             Flags: maintainer-feedback?(tijl at FreeBSD.org)

Hi there,

I'm running FreeBSD 11.3-RELEASE with poudriere 3.3.2_1 to build
security/gnutls. It always compiled with no issues. But after the update it's
not building anymore. I need to make it clear that the issue is building only
with poudriere. Can someone help?

Here are poudriere logs:

libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl
-I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../
-DLIBICONV_PLUG -isystem /usr/local/include -I/usr/local/include -Wtype-limits
-fno-common -W -Wabi -Waddress -Wall -Wattributes -Wbad-function-cast
-Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wcomment -Wcomments
-Wcpp -Wdate-time -Wdeprecated -Wdeprecated-declarations
-Wdisabled-optimization -Wdiv-by-zero -Wdouble-promotion -Wempty-body
-Wendif-labels -Wenum-compare -Wextra -Wformat-extra-args -Wformat-security
-Wformat-zero-length -Wignored-attributes -Wignored-qualifiers -Wimplicit
-Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types
-Winit-self -Wint-conversion -Wint-to-pointer-cast -Winvalid-pch
-Wlogical-not-parentheses -Wmain -Wmemset-transposed-args -Wmissing-braces
-Wmissing-declarations -Wmissing-field-initializers -Wmissing-include-dirs
-Wmissing-prototypes -Wmultichar -Wnarrowing -Wnested-externs -Wnonnull
-Wnull-dereference -Wodr -Wold-style-definition -Woverflow -Woverride-init
-Wpacked -Wparentheses -Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast
-Wpragmas -Wreturn-type -Wsequence-point -Wshadow -Wshift-count-negative
-Wshift-count-overflow -Wshift-negative-value -Wsizeof-array-argument
-Wsizeof-pointer-memaccess -Wstrict-aliasing -Wstrict-prototypes -Wswitch
-Wswitch-bool -Wtautological-compare -Wtrigraphs -Wtype-limits -Wuninitialized
-Wunknown-pragmas -Wunused -Wunused-function -Wunused-label
-Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value
-Wunused-variable -Wvarargs -Wvariadic-macros -Wvolatile-register-var
-Wwrite-strings -Wno-missing-field-initializers -Wno-unused-parameter
-fdiagnostics-show-option -I/usr/local/include -I/usr/local/include
-I/usr/local/include/p11-kit-1 -DASM_X86_64 -DASM_X86 -O2 -pipe -DLIBICONV_PLUG
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MT
aes-padlock.lo -MD -MP -MF .deps/aes-padlock.Tpo -c aes-padlock.c  -fPIC -DPIC
-o .libs/aes-padlock.o
aes-padlock.c:92:4: warning: 'nettle_aes_set_encrypt_key' is deprecated
[-Wdeprecated-declarations]
                        aes_set_encrypt_key(&nc, keysize, userkey);
                        ^
/usr/local/include/nettle/aes.h:44:29: note: expanded from macro
'aes_set_encrypt_key'
#define aes_set_encrypt_key nettle_aes_set_encrypt_key
                            ^
/usr/local/include/nettle/aes.h:160:3: note: 'nettle_aes_set_encrypt_key' has
been explicitly marked deprecated here
  _NETTLE_ATTRIBUTE_DEPRECATED;
  ^
/usr/local/include/nettle/nettle-types.h:46:53: note: expanded from macro
'_NETTLE_ATTRIBUTE_DEPRECATED'
#define _NETTLE_ATTRIBUTE_DEPRECATED __attribute__((deprecated))
                                                    ^
aes-padlock.c:94:4: warning: 'nettle_aes_set_decrypt_key' is deprecated
[-Wdeprecated-declarations]
                        aes_set_decrypt_key(&nc, keysize, userkey);
                        ^
/usr/local/include/nettle/aes.h:45:29: note: expanded from macro
'aes_set_decrypt_key'
#define aes_set_decrypt_key nettle_aes_set_decrypt_key
                            ^
/usr/local/include/nettle/aes.h:165:3: note: 'nettle_aes_set_decrypt_key' has
been explicitly marked deprecated here
  _NETTLE_ATTRIBUTE_DEPRECATED;
  ^
/usr/local/include/nettle/nettle-types.h:46:53: note: expanded from macro
'_NETTLE_ATTRIBUTE_DEPRECATED'
#define _NETTLE_ATTRIBUTE_DEPRECATED __attribute__((deprecated))
                                                    ^
aes-padlock.c:96:29: error: no member named 'keys' in 'struct aes_ctx'
                memcpy(pce->ks.rd_key, nc.keys, sizeof(nc.keys));
                                       ~~ ^
aes-padlock.c:96:45: error: no member named 'keys' in 'struct aes_ctx'
                memcpy(pce->ks.rd_key, nc.keys, sizeof(nc.keys));
                                                       ~~ ^
aes-padlock.c:97:23: error: no member named 'rounds' in 'struct aes_ctx'
                pce->ks.rounds = nc.rounds;
                                 ~~ ^
2 warnings and 3 errors generated.
gmake[6]: *** [Makefile:1661: aes-padlock.lo] Error 1
gmake[6]: Leaving directory
'/wrkdirs/usr/ports/security/gnutls/work/gnutls-3.5.19/lib/accelerated/x86'
gmake[5]: *** [Makefile:1492: all-recursive] Error 1
gmake[5]: Leaving directory
'/wrkdirs/usr/ports/security/gnutls/work/gnutls-3.5.19/lib/accelerated'
gmake[4]: *** [Makefile:1953: all-recursive] Error 1
gmake[4]: Leaving directory
'/wrkdirs/usr/ports/security/gnutls/work/gnutls-3.5.19/lib'
gmake[3]: *** [Makefile:1640: all] Error 2
gmake[3]: Leaving directory
'/wrkdirs/usr/ports/security/gnutls/work/gnutls-3.5.19/lib'
gmake[2]: *** [Makefile:1473: all-recursive] Error 1
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/security/gnutls/work/gnutls-3.5.19'
gmake[1]: *** [Makefile:1400: all] Error 2
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/security/gnutls/work/gnutls-3.5.19'
*** Error code 1

Stop.
make: stopped in /usr/ports/security/gnutls
=>> Cleaning up wrkdir
===>  Cleaning for gnutls-3.5.19

Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list