Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675148 - app-arch/tar ? app-arch/bzip2 ? - *** stack smashing detected ***: <unknown> terminated /usr/lib/portage/python3.6/misc-functions.sh: line 411: 22 Broken pipe tar $tar_options -cf - $PORTAGE_BINPKG_TAR_OPTS -C "${D}" . 23 Aborted
Summary: app-arch/tar ? app-arch/bzip2 ? - *** stack smashing detected ***: <unknown> ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-10 20:50 UTC by Jeroen Roovers
Modified: 2019-01-10 20:57 UTC (History)
0 users

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


Attachments
dev-libs:boost-1.65.0:20190110-154225.log.xz (dev-libs:boost-1.65.0:20190110-154225.log.xz,223.35 KB, application/x-xz)
2019-01-10 20:50 UTC, Jeroen Roovers
Details
dev-libs:boost-1.65.0:20190109-223905.log.xz (dev-libs:boost-1.65.0:20190109-223905.log.xz,223.68 KB, application/x-xz)
2019-01-10 20:55 UTC, Jeroen Roovers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers gentoo-dev 2019-01-10 20:50:01 UTC
Created attachment 560650 [details]
dev-libs:boost-1.65.0:20190110-154225.log.xz

...
./usr/include/boost/units/base_units/angle/
./usr/include/boost/units/base_units/angle/steradian.hpp
./usr/include/boost/units/base_units/angle/revolution.hpp
./usr/include/boost/units/base_units/angle/radian.hpp
./usr/include/boost/units/base_units/angle/gradian.hpp
./usr/include/boost/units/base_units/angle/degree.hpp
./usr/include/boost/units/base_units/angle/arcsecond.hpp
./usr/include/boost/units/base_units/angle/arcminute.hpp
./usr/include/boost/typeof/
./usr/include/boost/typeof/vector50.hpp
./usr/include/boost/typeof/vector200.hpp
*** stack smashing detected ***: <unknown> terminated
/usr/lib/portage/python3.6/misc-functions.sh: line 411:    22 Broken pipe             tar $tar_options -cf - $PORTAGE_BINPKG_TAR_OPTS -C "${D}" .
        23 Aborted                 | $PORTAGE_COMPRESSION_COMMAND > "$PORTAGE_BINPKG_TMPFILE"
 * ERROR: dev-libs/boost-1.65.0::gentoo failed (package phase):
 *   failed to pack binary package: '/aches/gentoo/packages/misha/dev-libs/boost-1.65.0.tbz2.4095'
 *
 * Call stack:
 *       misc-functions.sh, line 552:  Called __dyn_package
 *       misc-functions.sh, line 434:  Called assert 'failed to pack binary package: '/aches/gentoo/packages/misha/dev-libs/boost-1.65.0.tbz2.4095''
 *   isolated-functions.sh, line  18:  Called die
 * The specific snippet of code:
 *              [[ $x -eq 0 ]] || die "$@"
 *
 * If you need support, post the output of `emerge --info '=dev-libs/boost-1.65.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/boost-1.65.0::gentoo'`.
 * The complete build log is located at '/aches/gentoo/emergelogs/misha/dev-libs:boost-1.65.0:20190110-154225.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/boost-1.65.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/boost-1.65.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/boost-1.65.0/temp'
 * S: '/var/tmp/portage/dev-libs/boost-1.65.0/work/boost_1_65_0'

I am downgrading to 1.30 to see if that stops this from happening.
Comment 1 Jeroen Roovers gentoo-dev 2019-01-10 20:55:37 UTC
Created attachment 560652 [details]
dev-libs:boost-1.65.0:20190109-223905.log.xz

./usr/include/boost/typeof/vector150.hpp

bzip2: Caught a SIGSEGV or SIGBUS whilst compressing.

   Possible causes are (most likely first):
   (1) This computer has unreliable memory or cache hardware
       (a surprisingly common problem; try a different machine.)
   (2) A bug in the compiler used to create this executable
       (unlikely, if you didn't compile bzip2 yourself.)
   (3) A real bug in bzip2 -- I hope this should never be the case.
   The user's manual, Section 4.3, has more info on (1) and (2).

   If you suspect this is a bug in bzip2, or are unsure about (1)
   or (2), feel free to report it to me at: jseward@bzip.org.
   Section 4.3 of the user's manual describes the info a useful
   bug report should have.  If the manual is available on your
   system, please try and read it before mailing me.  If you don't
   have the manual or can't be bothered to read it, mail me anyway.

        Input file = (stdin), output file = (stdout)
 * ERROR: dev-libs/boost-1.65.0::gentoo failed (package phase):
 *   failed to pack binary package: '/aches/gentoo/packages/misha/dev-libs/boost-1.65.0.tbz2.29374'
 *
 * Call stack:
 *       misc-functions.sh, line 552:  Called __dyn_package
 *       misc-functions.sh, line 434:  Called assert 'failed to pack binary package: '/aches/gentoo/packages/misha/dev-libs/boost-1.65.0.tbz2.29374''
 *   isolated-functions.sh, line  18:  Called die
 * The specific snippet of code:
 *              [[ $x -eq 0 ]] || die "$@"
 *
 * If you need support, post the output of `emerge --info '=dev-libs/boost-1.65.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/boost-1.65.0::gentoo'`.
 * The complete build log is located at '/aches/gentoo/emergelogs/misha/dev-libs:boost-1.65.0:20190109-223905.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/boost-1.65.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/boost-1.65.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/boost-1.65.0/temp'
 * S: '/var/tmp/portage/dev-libs/boost-1.65.0/work/boost_1_65_0'

I've been seeing these for a while on this system, so it's not related to the app-arch/tar update.
Comment 2 Jeroen Roovers gentoo-dev 2019-01-10 20:57:26 UTC
Thu Jan 10 21:56:54 CET 2019
emerge --info 
Portage 2.3.54 (python 3.6.5-final-0, default/linux/x86/17.0, gcc-7.3.0, glibc-2.27-r6, 4.14.85-gentoo-JeR i686)
=================================================================
System uname: Linux-4.14.85-gentoo-JeR-i686-Intel-R-_Pentium-R-_4_CPU_2.60GHz-with-gentoo-2.6
KiB Mem:     3078016 total,    125936 free
KiB Swap:    1060284 total,   1059252 free
Timestamp of repository gentoo: Thu, 10 Jan 2019 15:15:01 +0000
Head commit of repository gentoo: ce9cbff3c8210a0b96dc0b1317e747b6f136914e
sh bash 4.4_p12
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
distcc[21135] (dcc_mkdir) ERROR: mkdir '/dev/shm/distcc/state' failed: No such file or directory [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.13.4::gentoo, 1.14.1::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.28-r2::gentoo, 2.30-r4::gentoo
sys-devel/gcc:            7.3.0-r3::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.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /aches/gentoo/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

JeR
    location: /aches/gentoo/local
    masters: gentoo
    priority: -100

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -g -pipe -march=i686 -Wall"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/distcc/bin /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-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -g -pipe -march=i686 -Wall"
DISTDIR="/aches/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask=n --keep-going"
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 -march=i686 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync metadata-transfer multilib-strict network-sandbox news notitles parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.leaseweb.com/gentoo/ "
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en nl fy"
MAKEOPTS="-j1"
PKGDIR="/aches/gentoo/packages/misha"
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="3dnow 3dnowext a52 aac aalib alsa amr apache2 apng artist-screen asf audiofile bash-completion berkdb bl bonobo boost branding bzip2 cairo caps cdda cdio cdparanoia cgi chroot cli colors consolekit cpudetection cracklib crypt cscope cups curl custom-cflags cxx d dbus dga dillo dlloader dri dts dv edl egl elf encode fame fastbuild fbcon ffmpeg flac flash fontconfig foomaticdb fortran fpx freetype gdbm ggi gimpprint glut gmp gnokii gnutls gpm graphite graphviz gs hfs iconv idn ieee1394 imap imapc imlib inkjar introspection ipv6 javascript jbig jingle jpeg jpeg2k ladspa lcms libcaca libtirpc live lm_sensors logrotate lyrics-screen lzma lzo mad matroska mjpeg mmx mmxext mng modplug mozilla mozsvg mozxmlterm multislot musepack nas natspec ncurses nethack network network-cron nfs nls nptl nsplugin odk offensive ogg opengl openmp pam pcre pcre16 pda pdf physfs pic pie png policykit portaudio qt5 readline real rtc samba screenshot seccomp server sftplogging slang smux song-screen sox speex spell sse ssl svg sysfs tcl tcpd tetex tga theora threads tiff tk truetype udev unicode usb userlocales v4l v4l2 vcd vidix vlm vorbis winbind x264 x86 xanim xcb xcomposite xface xine xkb xml xml2 xmlreader xosd xsl xvid zlib" ABI_X86="32" ALSA_CARDS="emu10k1 via82xx" 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 plan sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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="keyboard mouse wacom" KERNEL="linux" L10N="en nl fy" 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 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev" 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, LANG, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS