Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608102 - net-libs/gnutls-3.5.8: segfaults in configure step with +idn
Summary: net-libs/gnutls-3.5.8: segfaults in configure step with +idn
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-03 09:15 UTC by Toralf Förster
Modified: 2017-02-03 16:36 UTC (History)
1 user (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 Toralf Förster gentoo-dev 2017-02-03 09:15:41 UTC
During setup of a new tinderbox image I got at the image
gnome-systemd-unstable_20170203-005839 :


Calculating dependencies  ... done!
[ebuild  N     ] mail-mta/ssmtp-2.64-r3::gentoo  USE="gnutls ipv6 mta ssl -libressl" 0 KiB
[ebuild  N     ]  net-mail/mailbase-1.1::gentoo  USE="pam" 0 KiB
[ebuild  N     ]  net-libs/gnutls-3.5.8:0/30::gentoo  USE="cxx idn nls openssl sslv3 tls-heartbeat tools zlib -dane -doc -examples -guile -pkcs11 -sslv2 -static-libs {-test} -test-full -valgrind" ABI_X86="(64) -32 (-x32)" LINGUAS="-cs -de -en -fi -fr -it -ms -nl -pl -sv -uk -vi -zh_CN" 0 KiB
[ebuild  N     ]   dev-libs/libtasn1-4.10:0/6::gentoo  USE="-doc -static-libs -valgrind" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ]   sys-devel/autogen-5.18.12::gentoo  USE="-libopts -static-libs" 0 KiB
[ebuild  N     ]    dev-scheme/guile-2.0.13-r1:12/22::gentoo  USE="deprecated networking nls regex threads -debug -debug-malloc" 0 KiB
[ebuild  N     ]     dev-libs/boehm-gc-7.4.2::gentoo  USE="cxx threads -static-libs" 0 KiB
[ebuild  N     ]      dev-libs/libatomic_ops-7.4.2::gentoo  0 KiB
[ebuild  N     ]   dev-libs/nettle-3.3:0/6::gentoo  USE="gmp -doc (-neon) -static-libs {-test}" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="aes" 0 KiB
[ebuild  N     ]   net-dns/libidn-1.33::gentoo  USE="nls -doc -emacs -java -mono -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ]   dev-libs/libunistring-0.9.7:0/2::gentoo  USE="-doc -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB

...
checking for getrandom... no
checking for getentropy... /usr/lib/portage/python3.4/phase-helpers.sh: line 556: 18308 Segmentation fault      "${ECONF_SOURCE}/configure" "$@"



The log file is lost unfortunately.

emerge --info (with a successfully installed gnutls due to -idn) gives :


mr-fox / # emerge --info --verbose=n gnutls
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.9.4, glibc-2.23-r3, 4.8.17-hardened-r2 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.8.17-hardened-r2-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.3
KiB Mem:    65285560 total,   4285704 free
KiB Swap:   67108860 total,  67079936 free
Timestamp of repository gentoo: Fri, 03 Feb 2017 08:22:17 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.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.22.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

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

tinderbox
    location: /tmp/tb/data/portage
    masters: gentoo
    priority: 2

local
    location: /usr/local/portage
    masters: gentoo
    priority: 99

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -Wall"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--verbose --verbose-conflicts --color=n --nospinner --tree --quiet-build"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bugzilla bzip2 cairo cdb cdda cdr cli colord cracklib crypt cups cxx dbus dec_av2 declarative dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gnutls gpm gstreamer gtk havege iconv introspection ipv6 jpeg lcms ldap libnotify libsecret lua mad mikmod mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl nss odbc ogg opengl openmp openmpi pam pango pax_kernel pcre pdf plasma png policykit postproc ppds pulseaudio qt3support qt4 readline sdl seccomp server session spell ssl ssp startup-notification svg system-libs systemd tcpd tiff tools tracepath tracker truetype udev udisks unicode upower usb vorbis wma wxwidgets x264 xa xattr xcb xml xmlreader xtpax xv xvid xz zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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" CPU_FLAGS_X86="aes avx 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" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="nso pt-BR" 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" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="intel i965" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

net-libs/gnutls-3.5.8::gentoo was built with the following:
USE="cxx nls openssl sslv3 tls-heartbeat tools zlib -dane -doc -examples -guile -idn -pkcs11 -sslv2 -static-libs -test -test-full -valgrind" ABI_X86="64 -32 -x32" LINGUAS="-cs -de -en -fi -fr -it -ms -nl -pl -sv -uk -vi -zh_CN"
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2017-02-03 09:47:44 UTC
Please attach config.log
Comment 2 Toralf Förster gentoo-dev 2017-02-03 14:49:08 UTC
I can't repeat it - config.log was lost, enhanced my setup script to catch log files during tinderbox setup in future, just for the record :


# grep gnutls /var/log/grsec.log | grep Seg
Feb  3 01:37:21 mr-fox kernel: [102575.601975] grsec: Segmentation fault occurred at 000000fa00004784 in /home/tinderbox/img2/gnome-systemd-unstable_20170203-005839/var/tmp/portage/net-libs/gnutls-3.5.8/work/gnutls-3.5.8/configure[configure:18308] uid/euid:250/250 gid/egid:250/250, parent /home/tinderbox/img2/gnome-systemd-unstable_20170203-005839/usr/lib64/portage/python3.4/ebuild.sh[ebuild.sh:17687] uid/euid:250/250 gid/egid:250/250
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2017-02-03 16:36:50 UTC
it is like shell has segmentation fault... strange.