Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672494 - net-dns/dnssec-validator-2.2-r1: error: storage size of 'ctx' isn't known
Summary: net-dns/dnssec-validator-2.2-r1: error: storage size of 'ctx' isn't known
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2018-12-04 12:39 UTC by Conrad Kostecki
Modified: 2019-04-21 12:37 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki gentoo-dev 2018-12-04 12:39:19 UTC
/bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe -Ulinux -Dlinux=linux -Ulinux -Dlinux=linux -DLIBVAL_CONFIGURED=1  -I../include   -c -o res_tsig.lo res_tsig.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe -Ulinux -Dlinux=linux -Ulinux -Dlinux=linux -DLIBVAL_CONFIGURED=1 -I../include -c res_tsig.c  -fPIC -DPIC -o .libs/res_tsig.o
res_tsig.c: In function 'res_tsig_sign':
res_tsig.c:240:14: error: storage size of 'ctx' isn't known
     HMAC_CTX ctx;
              ^~~
res_tsig.c:277:9: warning: implicit declaration of function 'HMAC_CTX_init'; did you mean 'HMAC_CTX_new'? [-Wimplicit-function-declaration]
         HMAC_CTX_init(&ctx);
         ^~~~~~~~~~~~~
         HMAC_CTX_new
res_tsig.c:351:9: warning: implicit declaration of function 'HMAC_CTX_cleanup'; did you mean 'HMAC_CTX_get_md'? [-Wimplicit-function-declaration]
         HMAC_CTX_cleanup(&ctx);
         ^~~~~~~~~~~~~~~~
         HMAC_CTX_get_md
make[1]: *** [Makefile:157: res_tsig.lo] Fehler 1
make[1]: Verzeichnis „/var/tmp/portage/net-dns/dnssec-validator-2.2-r1/work/dnsval-2.2/libsres“ wird verlassen
make: *** [Makefile:135: subdirmake] Fehler 1
 * ERROR: net-dns/dnssec-validator-2.2-r1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-dns/dnssec-validator-2.2-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-dns/dnssec-validator-2.2-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-dns/dnssec-validator-2.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-dns/dnssec-validator-2.2-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-dns/dnssec-validator-2.2-r1/work/dnsval-2.2'
 * S: '/var/tmp/portage/net-dns/dnssec-validator-2.2-r1/work/dnsval-2.2'
Comment 1 Conrad Kostecki gentoo-dev 2018-12-04 12:40:03 UTC
Portage 2.3.52 (python 3.6.6-final-0, default/linux/amd64/17.1, gcc-8.2.0, glibc-2.28-r2, 4.19.2-gentoo x86_64)
=================================================================
System uname: Linux-4.19.2-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_X_990_@_3.47GHz-with-gentoo-2.6
KiB Swap:   25690108 total,  25690108 free
Timestamp of repository gentoo: Sun, 02 Dec 2018 12:15:01 +0000
Head commit of repository gentoo: 682c520702bbdd3bd00f606834511152fbf11b93
sh bash 4.4_p23
ld GNU ld (Gentoo 2.31.1 p3) 2.31.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.5 [enabled]
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.5.5-r1::gentoo, 3.6.6::gentoo, 3.7.0::gentoo
dev-util/ccache:          3.5-r1::gentoo
dev-util/cmake:           3.13.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.39.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r1::gentoo
sys-devel/gcc:            8.2.0-r4::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --exclude-from=/etc/portage/rsync_excludes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

bl4ckb0x
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /etc/teamspeak3-server/ts3server.ini /etc/teamspeak3-server/ts3server_mariadb.ini /etc/teamspeak3-server/tsdns_settings.ini /opt/fhem /usr/share/gnupg/qualified.txt /var/lib/fhem"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n --with-bdeps=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-frecord-gcc-switches"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch protect-owned sandbox sfperms sign strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-frecord-gcc-switches"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/"
INSTALL_MASK="/etc/systemd/* /etc/xinetd.d/* /usr/lib/systemd/system/*"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--sort-common -Wl,-z,now"
LINGUAS="de de_DE"
MAKEOPTS="-j13 -l12"
PKGDIR="/usr/portage/packages"
PORTAGE_BUNZIP2_COMMAND="pbunzip2"
PORTAGE_BZIP2_COMMAND="pbzip2"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9e"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X aalib acl alsa amd64 avahi berkdb bzip2 cairo caps cddb cdinstall cjk cracklib crypt curl cvs cxx dbus dedicated dga djvu encode exif fbcon ffmpeg fftw flac flite fontconfig ftp gd gif git gmp gnutls gphoto2 gpm graphviz gsm gstreamer iconv icu idn imagemagick imlib inotify introspection ipv6 java javascript jbig jit joystick jpeg jpeg2k lcms ldap libcaca libnotify libsamplerate lm_sensors lzma lzo maildir mbox mhash mikmod mmap mng modplug mp3 mysql mysqli ncurses nls nntp nptl nsplugin offensive ogg openal openexr opengl openmp orc oss pam pcre pdf perl pie png posix postproc postscript pulseaudio python qt4 qt5 raw readline rtmp samba scanner sdl session slang sndfile sockets sound speex spell sqlite ssl subversion suid svg symlink syslog tcpd theora threads tiff timidity truetype udev unicode upnp usb v4l vaapi vcd vdpau vhosts vim-syntax vnc vorbis wavpack webkit webp wmf x264 xattr xcb xface xml xmlrpc xmp xmpp xpm xscreensaver xv xvid zeroconf zlib zsh-completion" ABI_X86="32 64" COLLECTD_PLUGINS="cgroups conntrack contextswitch cpu cpufreq cpusleep df disk dns entropy ethstat exec filecount hddtemp hugepages interface ipc iptables irq java load memory mysql netlink nfs nginx numa openvpn ping postgresql processes protocols rrdcached sensors serial smart swap syslog tcpconns thermal turbostat unixsock uptime users" CPU_FLAGS_X86="aes mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2" CURL_SSL="openssl" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de de_DE" LLVM_TARGETS="AMDGPU" NGINX_MODULES_HTTP="access auth_basic autoindex brotli browser charset fancyindex fastcgi geo geoip geoip2 gunzip gzip headers_more limit_conn proxy realip referer rewrite sticky stub_status upstream_keepalive vhost_traffic_status" NGINX_MODULES_STREAM="access geo geoip geoip2 limit_conn realip return ssl_preread" PHP_TARGETS="php7-2" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu radeon"
Unset:  CC, CPPFLAGS, CTARGET, CXX, PORTAGE_BINHOST
Comment 2 Conrad Kostecki gentoo-dev 2018-12-04 12:47:00 UTC
Note: This package got dropped upstream and can't be fetched anymore.
Maybe a candidate for lastrite?
Comment 3 Larry the Git Cow gentoo-dev 2018-12-04 14:14:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c63436db36ad9d3585ae97eb0b69a45286394e4d

commit c63436db36ad9d3585ae97eb0b69a45286394e4d
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-12-04 14:13:46 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-12-04 14:14:16 +0000

    net-dns/dnssec-tools: Bump to version 2.2.3
    
    - Added dev-perl/CGI dependency
    - This release builds against >=openssl-1.1.0
    
    Closes: https://bugs.gentoo.org/664754
    Closes: https://bugs.gentoo.org/672494
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 net-dns/dnssec-tools/Manifest                  |  1 +
 net-dns/dnssec-tools/dnssec-tools-2.2.3.ebuild | 74 ++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)
Comment 4 Conrad Kostecki gentoo-dev 2018-12-04 23:07:07 UTC
I am sorry, this was the wrong package name in title, so it got closed ;-)
Comment 5 Hanno Böck gentoo-dev 2018-12-31 10:00:09 UTC
The webpage that is listed in the ebuild as upstream doesn't mention dnssec-validator, so it's unclear to me what the upstream is and if an upstream even exists.

So it's maintainer-needed, no upstream and doesn't compile with current OpenSSL.

Shall we just mask and remove it?
Comment 6 Conrad Kostecki gentoo-dev 2018-12-31 13:23:12 UTC
(In reply to Hanno Boeck from comment #5)
> The webpage that is listed in the ebuild as upstream doesn't mention
> dnssec-validator, so it's unclear to me what the upstream is and if an
> upstream even exists.
> 
> So it's maintainer-needed, no upstream and doesn't compile with current
> OpenSSL.
> 
> Shall we just mask and remove it?

Nope. See my comments in the github pr.

TL;DR: The dnssec-validator got merged into net-dns/dnssec-tools-2.3 release. It's there explictly disabled. So the question is, drop this ebuild and enable in dnssec-tools or bump this so 2.3. too? There is a build failure open with openssl-1.0, which I will look into it. Someone has to decide, what to do.
Comment 7 Conrad Kostecki gentoo-dev 2018-12-31 13:25:42 UTC
@Lars: Since you bumped dnssec-tools to 2.2.3, what do you think?
Comment 8 Larry the Git Cow gentoo-dev 2019-04-21 12:37:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e14bfd440f7a9e5a57540879580e87032813e64f

commit e14bfd440f7a9e5a57540879580e87032813e64f
Author:     Conrad Kostecki <conrad@kostecki.com>
AuthorDate: 2019-02-21 21:22:09 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-04-21 12:37:34 +0000

    net-dns/dnssec-validator: bump to version 2.2.3
    
    The old dnsval package seems to be removed by upstream,
    as it has been integrated into the dnssec-tools package.
    This version needs support for openssl-1.1.
    
    Closes: https://bugs.gentoo.org/641552
    Closes: https://bugs.gentoo.org/672494
    Package-Manager: Portage-2.3.60, Repoman-2.3.12
    Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
    Closes: https://github.com/gentoo/gentoo/pull/10597
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 net-dns/dnssec-validator/Manifest                  |  1 +
 .../dnssec-validator/dnssec-validator-2.2.3.ebuild | 61 ++++++++++++++++++++++
 .../files/dnssec-validator-2.2.3-ldflags.patch     | 33 ++++++++++++
 net-dns/dnssec-validator/metadata.xml              | 26 +++++++--
 4 files changed, 117 insertions(+), 4 deletions(-)