Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686952 - net-vpn/libreswan-3.28: fatal error: unbound-event.h: No such file or directory
Summary: net-vpn/libreswan-3.28: fatal error: unbound-event.h: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on: 687010
Blocks:
  Show dependency tree
 
Reported: 2019-05-29 17:44 UTC by Gary E. Miller
Modified: 2019-05-30 19:25 UTC (History)
1 user (show)

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


Attachments
build.log (net-vpn:libreswan-3.28:20190529-171338.log,618.59 KB, text/plain)
2019-05-29 17:45 UTC, Gary E. Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gary E. Miller 2019-05-29 17:44:40 UTC
blondie ~ # emerge --info '=net-vpn/libreswan-3.28::gentoo'
Portage 2.3.67 (python 2.7.16-final-0, default/linux/amd64/17.1/desktop, gcc-9.1.0, glibc-2.29-r2, 5.1.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.1.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-gentoo-2.6
KiB Mem:    16291488 total,   3561064 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Wed, 29 May 2019 16:30:01 +0000
Head commit of repository gentoo: 5b65f4d4e4213f010a3cace7f39b359f3a59011a
Head commit of repository brother-overlay: 47f14e766fbbd0cf283c733b1501788eab5deba4

sh bash 5.0_p7
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          5.0_p7::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.5.7::gentoo, 3.6.8::gentoo, 3.7.3::gentoo
dev-util/cmake:           3.14.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.17::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo, 9.1.0::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: 5.0-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: --exclude ChangeLog* --delete-excluded
    sync-rsync-verify-max-age: 24

brother-overlay
    location: /usr/local/overlay/brother-overlay
    sync-type: git
    sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo

torbrowser
    location: /var/lib/layman/torbrowser
    sync-type: laymansync
    sync-uri: https://github.com/MeisterP/torbrowser-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/mnt/backup/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --backtrack=20"
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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs candy clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j3 -l3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog* --delete-excluded"
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 a52 aac aalib acl acpi adns aio alsa amd64 audiofile berkdb bluetooth bogofilter branding brotli bzip2 cacert cairo caps cdda cddb cdr chromecast cli compat conntrack consolekit crypt cups curl cxx dane dbus dns dnssec doc dot dri dri3 drm dts dvb dvd dvdr egl emboss encode exif expat extra faad fam fdk ffmpeg flac fontconfig fortran fox ftdi gbm gd gdbm gegl geoip gif gimp glamor glib gmp gnuplot gpg gpm grc gsl gstreamer gtk gtk3 http2 iconv icu id3tag imagemagick introspection ipsec ipv6 jadetex jpeg jpeg2k kate kms latex lcms ldap libass libedit libnotify libsamplerate libtirpc libvisual lm_sensors lto lz4 lzma lzo mad matroska microdns minizip mng mod modplug moodbar mount mp3 mp4 mpeg mtp multilib ncurses netgroups netlink nls nptl ogg openexr opengl openh264 openmp opus pam pango pcap pcre pcre16 pdf pgo png policykit postproc ppds printsupport pulseaudio python qemu qt4 qt5 readline realtime rtlsdr rtsp savedconfig scrypt sctp seccomp sieve smime smp smtp spamassassin spell sqlite ssh ssl startup-notification svc svg taglib tcpd theora threads tiff tk toolbar tools truetype twolame udev udisks unicode unwind upnp upower urandom usb utils v4l vaapi vdpau vim-syntax vlc vorbis vulkan wavpack webp wifi wmf wxwidgets x264 x265 xattr xcb xetex xface xinerama xml xosd xpm xrandr xscreensaver xv xvid xvmc zeroconf zlib zstd" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="emu efi-64 pc" INPUT_DEVICES="keyboard mouse synaptics evdev roccat_savu" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_5 python3_6" QEMU_SOFTMMU_TARGETS="arm x86_64" RUBY_TARGETS="ruby24" SANE_BACKENDS="pie" USERLAND="GNU" VIDEO_CARDS="intel nouveau i965 i915 nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

blondie ~ # emerge -pqv '=net-vpn/libreswan-3.28::gentoo'
[ebuild     U ] net-vpn/libreswan-3.28 [3.27-r1] USE="caps curl dnssec ldap pam seccomp (-selinux) -systemd -test" 
blondie ~ #
Comment 1 Gary E. Miller 2019-05-29 17:45:07 UTC
Created attachment 578008 [details]
build.log

build.log
Comment 2 Gary E. Miller 2019-05-29 17:45:57 UTC
[...]
/var/tmp/portage/net-vpn/libreswan-3.28/work/libreswan-3.28/lib/libswan/unbound.c:36:10: fatal error: unbound-event.h: No such file or directory
   36 | #include <unbound-event.h> /* from unbound devel */
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
Comment 3 Hans de Graaff gentoo-dev Security 2019-05-30 13:38:41 UTC
(In reply to Gary E. Miller from comment #2)
> [...]
> /var/tmp/portage/net-vpn/libreswan-3.28/work/libreswan-3.28/lib/libswan/
> unbound.c:36:10: fatal error: unbound-event.h: No such file or directory
>    36 | #include <unbound-event.h> /* from unbound devel */
>       |          ^~~~~~~~~~~~~~~~~
> compilation terminated.

It turns out that this required the event-api feature of ubound which is not enabled by default or via a USE flag, so I guess dnssec support has been broken for quite some time.
Comment 4 Larry the Git Cow gentoo-dev 2019-05-30 16:48:55 UTC
The bug has been closed via the following commit(s):

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

commit cbc9951aff215345035b25b14a1d8a5e85ea7f4c
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2019-05-30 16:48:27 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2019-05-30 16:48:27 +0000

    net-vpn/libreswan: update unbound dependency
    
    Depend on a new enough unbound that includes the
    unbound-event.h header file.
    
    Fixes: https://bugs.gentoo.org/686952
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>
    Package-Manager: Portage-2.3.66, Repoman-2.3.11

 net-vpn/libreswan/libreswan-3.28.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 5 Gary E. Miller 2019-05-30 19:25:24 UTC
> 
> It turns out that this required the event-api feature of ubound which is not
> enabled by default or via a USE flag, so I guess dnssec support has been
> broken for quite some time.

Pretty recent.  The problems was on a Gentoo unstable host that gets daily world updates.

Thanks for helping get it fixed so fast.