Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 543828 - dev-libs/openssl-1.0.2a[sctp] fails to build
Summary: dev-libs/openssl-1.0.2a[sctp] fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-20 00:23 UTC by Conrad Kostecki
Modified: 2015-03-21 09:14 UTC (History)
2 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 2015-03-20 00:23:34 UTC
I am unable to compile dev-libs/openssl-1.0.2a.
Disabling the use flag sctp does not help.

There is also some problems with unpacking:
>>> Unpacking openssl-c_rehash.sh.1.7 to /var/tmp/portage/dev-libs/openssl-1.0.2a/work
unpack openssl-c_rehash.sh.1.7: file format not recognized. Ignoring.

x86_64-pc-linux-gnu-gcc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include  -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -march=corei7 -O3 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mcx16 -mpopcnt -msahf -pipe -fomit-frame-pointer -mfpmath=sse -fno-strict-aliasing -Wa,--noexecstack  -DOPENSSL_NO_BUF_FREELISTS  -c -o bss_dgram.o bss_dgram.c
bss_dgram.c: In function 'dgram_sctp_read':
bss_dgram.c:1355:41: error: 'ERR_R_MALLOC_ERROR' undeclared (first use in this function)
                 BIOerr(BIO_F_DGRAM_SCTP_READ, ERR_R_MALLOC_ERROR);
                                         ^
bss_dgram.c:1355:41: note: each undeclared identifier is reported only once for each function it appears in
bss_dgram.c: In function 'dgram_sctp_write':
bss_dgram.c:1427:37: error: 'ERR_R_MALLOC_ERROR' undeclared (first use in this function)
             BIOerr(BIO_F_DGRAM_SCTP_WRITE, ERR_R_MALLOC_ERROR);
                                     ^
<builtin>: recipe for target 'bss_dgram.o' failed
make[2]: *** [bss_dgram.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-libs/openssl-1.0.2a/work/openssl-1.0.2a-abi_x86_64.amd64/crypto/bio'
Makefile:88: recipe for target 'subdirs' failed
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-libs/openssl-1.0.2a/work/openssl-1.0.2a-abi_x86_64.amd64/crypto'
Makefile:282: recipe for target 'build_crypto' failed
make: *** [build_crypto] Error 1


Reproducible: Always




Portage 2.2.18 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-4.9.2, glibc-2.20-r2, 3.19.0-gentoo x86_64)
=================================================================
System uname: Linux-3.19.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    32876316 total,   7785684 free
KiB Swap:   33537916 total,  33533764 free
Timestamp of repository gentoo: Thu, 19 Mar 2015 23:15:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
ccache version 3.1.10 [enabled]
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.1.10-r1::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

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

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O3 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mcx16 -mpopcnt -msahf -pipe -fomit-frame-pointer -mfpmath=sse"
CHOST="x86_64-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/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7 -O3 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mcx16 -mpopcnt -msahf -pipe -fomit-frame-pointer -mfpmath=sse -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/etc/systemd/network/* /etc/systemd/system/* /etc/xinetd.d/* /usr/lib64/systemd/system/* /usr/lib64/systemd/system-shutdown/*"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,now"
MAKEOPTS="-j9 -l8"
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="--delete-before --delete-excluded --exclude-from=/etc/portage/rsync_excludes --stats"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X alsa amd64 bash-completion berkdb bzip2 cairo caps cdinstall cracklib crypt ctype curl cvs cxx dbus dedicated exif fontconfig ftp gd git gmp gnutls gpm graphviz iconv icu idn ipv6 jabber javascript jit jpeg jpeg2k lcms lm_sensors lzma lzo maildir mhash mng mysql mysqli ncurses nls nntp nptl offensive ogg openal opengl openmp pam pcre perl pie png posix python readline session simplexml slang sockets speex spell sqlite ssl subversion suid svg symlink tcpd theora threads tiff truetype udev unicode usb vhosts vim-syntax vorbis xml yahoo zlib" ABI_X86="64" COLLECTD_PLUGINS="cgroups conntrack contextswitch cpu cpufreq df disk dns entropy ethstat exec filecount hddtemp interface iptables irq load logfile md memory mysql netlink nginx openvpn ping postgresql processes rrdcached sensors serial swap tail tcpconns thermal uptime users unixsock" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LINGUAS="de" NGINX_MODULES_HTTP="access ajp auth_basic autoindex charset fancyindex fastcgi gzip proxy realip rewrite spdy stub_status" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_USER_TARGETS="i386 x86_64" USERLAND="GNU" VIDEO_CARDS="intel"
USE_PYTHON="2.7 3.4"
Unset:  CPPFLAGS, CTARGET
Comment 1 Conrad Kostecki gentoo-dev 2015-03-20 00:34:00 UTC
> Disabling the use flag sctp does not help.

Sorry, my fault. Disabling the use flag sctp works. After that, I am able to compile openssl.
Comment 2 SpanKY gentoo-dev 2015-03-21 09:14:37 UTC
should be all set now in the tree; thanks for the report!

Commit message: Fix typo in malloc define
http://sources.gentoo.org/dev-libs/openssl/files/openssl-1.0.2a-malloc-typo.patch?rev=1.1
http://sources.gentoo.org/dev-libs/openssl/openssl-1.0.2a.ebuild?r1=1.2&r2=1.3