Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 632050 - dev-libs/libevent-2.1.8 - .../work/libevent-2.1.8-stable/bufferevent_openssl.c:66:25: fatal error: openssl/bio.h: No such file or directory
Summary: dev-libs/libevent-2.1.8 - .../work/libevent-2.1.8-stable/bufferevent_openssl....
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-26 12:52 UTC by Thomas
Modified: 2020-07-05 15:05 UTC (History)
0 users

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 Thomas 2017-09-26 12:52:01 UTC
# emerge --info '=dev-libs/libevent-2.1.8::gentoo'
Portage 2.3.0 (python 3.4.5-final-0, default/linux/x86/13.0, gcc-4.8.5, glibc-2.21-r2, 4.9.47-std510-i686 i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.47-std510-i686-i686-Intel-R-_Core-TM-_i3-2100_CPU_@_3.10GHz-with-gentoo-2.3
KiB Mem:     2066312 total,    263692 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 26 Sep 2017 00:45:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.15::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            4.8.5::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-Os -mtune=i686 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="acl berkdb build bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 modules ncurses nls nptl openmp pam pcmcia pcre png readline seccomp session ssl tcpd truetype unicode usb x86 xattr zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# emerge -pqv '=dev-libs/libevent-2.1.8::gentoo'
[ebuild  r  U ] dev-libs/libevent-2.1.8 [2.0.22] USE="ssl static-libs* threads -debug (-libressl) {-test}"
[ebuild  rR   ] app-misc/tmux-2.3-r1  USE="-debug (-selinux) -utempter -vim-syntax"
[ebuild  r  U ] net-misc/ntp-4.2.8_p10-r1 [4.2.8_p9] USE="ipv6 readline ssl threads -caps -debug (-libressl) -openntpd -parse-clocks -samba* (-selinux) -snmp -vim-syntax -zeroconf"

The following packages are causing rebuilds:

  (dev-libs/libevent-2.1.8:0/2.1-6::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (net-misc/ntp-4.2.8_p10-r1:0/0::gentoo, ebuild scheduled for merge)
    (app-misc/tmux-2.3-r1:0/0::gentoo, ebuild scheduled for merge)

!!! The following installed packages are masked:
- sys-devel/binutils-2.26.1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Michał Górny <mgorny@gentoo.org>, Andreas K. Hüttel <dilfridge@gentoo.org>,
# Matthias Maier <tamiko@gentoo.org> (21 May 2017)
# These old versions of toolchain packages (binutils, gcc, glibc) are no
# longer officially supported and are not suitable for general use. Using
# these packages can result in build failures (and possible breakage) for
# many packages, and may leave your system vulnerable to known security
# exploits.
# If you still use one of these old toolchain packages, please upgrade (and
# switch the compiler / the binutils) ASAP. If you need them for a specific
# (isolated) use case, feel free to unmask them on your system.

- sys-libs/glibc-2.21-r2::gentoo (masked by: package.mask)
- sys-devel/gcc-4.8.5::gentoo (masked by: package.mask)
- dev-libs/libusb-1.0.19-r1::gentoo (masked by: package.mask)
/etc/portage/package.mask:
# fix problems
# move dev-libs/libusbx dev-libs/libusb

- net-dialup/gtkterm-0.99.7_rc1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Pacho Ramos <pacho@gentoo.org> (14 Jul 2017)
# Dead for ages, relies on dead libs (#622010), you can move to moserial, cutecom or
# minicom. Removal in 2 months.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

!!! Invalid news item: /usr/portage/metadata/news/2017-08-19-hardened-sources-removal/2017-08-19-hardened-sources-removal.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2017-07-16-systemd-rootprefix/2017-07-16-systemd-rootprefix.en.txt
!!!   line 5: News-Item-Format: 2.0
!!! Invalid news item: /usr/portage/metadata/news/2017-04-10-split-and-slotted-wine/2017-04-10-split-and-slotted-wine.en.txt
!!!   line 6: News-Item-Format: 2.0

Compiling fails:
I/var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable/compat -I/var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable/include -I./include -Os -mtune=i686 -pipe -Wall -fno-strict-aliasing -pthread -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wbad-function-cast -Wswitch -Wno-unused-parameter -Wstrict-aliasing -Winit-self -Wmissing-field-initializers -Wdeclaration-after-statement -Waddress -Wnormalized=id -Woverride-init -Wlogical-op -c /var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable/evrpc.c -o evrpc.o >/dev/null 2>&1
/bin/sh ./libtool  --tag=CC   --mode=link i486-pc-linux-gnu-gcc  -Os -mtune=i686 -pipe -Wall -fno-strict-aliasing -pthread -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wbad-function-cast -Wswitch -Wno-unused-parameter -Wstrict-aliasing -Winit-self -Wmissing-field-initializers -Wdeclaration-after-statement -Waddress -Wnormalized=id -Woverride-init -Wlogical-op -version-info 6:2:0 -release 2.1  -Wl,-O1 -Wl,--as-needed -o libevent_core.la -rpath /usr/lib buffer.lo bufferevent.lo bufferevent_filter.lo bufferevent_pair.lo bufferevent_ratelim.lo bufferevent_sock.lo event.lo evmap.lo evthread.lo evutil.lo evutil_rand.lo evutil_time.lo listener.lo log.lo strlcpy.lo select.lo poll.lo   epoll.lo  signal.lo  -lcrypto
libtool: compile:  i486-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable -I/var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable/compat -I/var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable/include -I./include -Os -mtune=i686 -pipe -Wall -fno-strict-aliasing -pthread -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wbad-function-cast -Wswitch -Wno-unused-parameter -Wstrict-aliasing -Winit-self -Wmissing-field-initializers -Wdeclaration-after-statement -Waddress -Wnormalized=id -Woverride-init -Wlogical-op -c /var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable/bufferevent_openssl.c  -fPIC -DPIC -o .libs/libevent_openssl_la-bufferevent_openssl.o
/var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable/bufferevent_openssl.c:66:25: fatal error: openssl/bio.h: No such file or directory
 #include <openssl/bio.h>
                         ^
compilation terminated.
Makefile:1730: recipe for target 'libevent_openssl_la-bufferevent_openssl.lo' failed
make[1]: *** [libevent_openssl_la-bufferevent_openssl.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: link: i486-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/buffer.o .libs/bufferevent.o .libs/bufferevent_filter.o .libs/bufferevent_pair.o .libs/bufferevent_ratelim.o .libs/bufferevent_sock.o .libs/event.o .libs/evmap.o .libs/evthread.o .libs/evutil.o .libs/evutil_rand.o .libs/evutil_time.o .libs/listener.o .libs/log.o .libs/strlcpy.o .libs/select.o .libs/poll.o .libs/epoll.o .libs/signal.o   -Wl,--as-needed -lcrypto  -Os -mtune=i686 -pthread -Wl,-O1   -pthread -Wl,-soname -Wl,libevent_core-2.1.so.6 -o .libs/libevent_core-2.1.so.6.0.2
libtool: link: (cd ".libs" && rm -f "libevent_core-2.1.so.6" && ln -s "libevent_core-2.1.so.6.0.2" "libevent_core-2.1.so.6")
libtool: link: (cd ".libs" && rm -f "libevent_core.so" && ln -s "libevent_core-2.1.so.6.0.2" "libevent_core.so")
libtool: link: i486-pc-linux-gnu-ar cru .libs/libevent_core.a  buffer.o bufferevent.o bufferevent_filter.o bufferevent_pair.o bufferevent_ratelim.o bufferevent_sock.o event.o evmap.o evthread.o evutil.o evutil_rand.o evutil_time.o listener.o log.o strlcpy.o select.o poll.o epoll.o signal.o
libtool: link: i486-pc-linux-gnu-ranlib .libs/libevent_core.a
libtool: link: ( cd ".libs" && rm -f "libevent_core.la" && ln -s "../libevent_core.la" "libevent_core.la" )
libtool: compile:  i486-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable -I/var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable/compat -I/var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable/include -I./include -Os -mtune=i686 -pipe -Wall -fno-strict-aliasing -pthread -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wbad-function-cast -Wswitch -Wno-unused-parameter -Wstrict-aliasing -Winit-self -Wmissing-field-initializers -Wdeclaration-after-statement -Waddress -Wnormalized=id -Woverride-init -Wlogical-op -c /var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable/evdns.c -o evdns.o >/dev/null 2>&1
libtool: compile:  i486-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable -I/var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable/compat -I/var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable/include -I./include -Os -mtune=i686 -pipe -Wall -fno-strict-aliasing -pthread -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wbad-function-cast -Wswitch -Wno-unused-parameter -Wstrict-aliasing -Winit-self -Wmissing-field-initializers -Wdeclaration-after-statement -Waddress -Wnormalized=id -Woverride-init -Wlogical-op -c /var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable/http.c -o http.o >/dev/null 2>&1
make[1]: Leaving directory '/var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable-abi_x86_32.x86'
Makefile:1248: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: dev-libs/libevent-2.1.8::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-libs/libevent-2.1.8::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/libevent-2.1.8::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/libevent-2.1.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libevent-2.1.8/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable-abi_x86_32.x86'
 * S: '/var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable'
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-07-05 15:05:31 UTC
I can't figure out any way in which /usr/include/openssl/bio.h could be absent.