Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733170 - dev-libs/concurrencykit-0.7.0: fails tests
Summary: dev-libs/concurrencykit-0.7.0: fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 721454
  Show dependency tree
 
Reported: 2020-07-18 21:09 UTC by Sam James
Modified: 2020-11-22 01:50 UTC (History)
1 user (show)

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


Attachments
build.log (file_733170.txt,188.81 KB, text/plain)
2020-07-18 21:09 UTC, Sam James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-07-18 21:09:49 UTC
Created attachment 649800 [details]
build.log

make[1]: *** [Makefile:129: check] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-libs/concurrencykit-0.7.0/work/ck-0.7.0/regressions'
make: *** [Makefile:32: check] Error 2
 * ERROR: dev-libs/concurrencykit-0.7.0::gentoo failed (test phase):

----
Portage 2.3.99 (python 3.7.7-final-0, default/linux/x86/17.0, gcc-9.3.0, glibc-2.30-r8, 4.19.97-gentoo-x86_64 i686)
=================================================================
System uname: Linux-4.19.97-gentoo-x86_64-i686-Intel-R-_Core-TM-_i9-9880H_CPU_@_2.30GHz-with-gentoo-2.6
KiB Mem:     6180316 total,   2183848 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 18 Jul 2020 20:35:17 +0000
sh bash 5.0_p17
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          5.0_p17::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo
dev-util/cmake:           3.16.5::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r8::gentoo
Repositories:

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

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="@FREE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -fdiagnostics-show-option -frecord-gcc-switches"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/gnupg/qualified.txt /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 /var/spool/fax/etc/xferfaxlog"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/bound/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --jobs=3"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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 cgroup compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync mount-sandbox multilib-strict network-sandbox news nodoc noinfo noman parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/usr/share/doc/*/*.pdf /usr/share/man/*/*"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en en_GB"
MAKEOPTS="-j6 -l6"
PKGDIR="/var/cache/binpkgs"
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="PIC acl aes avx avx2 berkdb bindist bzip2 caps cli crypt dri f16c fma3 gdbm gmp graphite hardened hunspell iconv ipv6 jit libtirpc mmx mmxext ncurses nptl openmp pam pclmul pcre pie popcnt readline seccomp split-usr sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 system-av1 system-binutils system-boost system-bootstrap system-cairo system-clang system-digest system-ffmpeg system-harfbuzz system-heimdal system-icu system-jpeg system-leveldb system-libevent system-libs system-libvpx system-libyaml system-lz4 system-mitkrb5 system-sqlite system-ssl system-tbb system-uulib system-webp system-zlib tcpd threads unicode x86 xattr zlib" ABI_X86="32" ADA_TARGET="gnat_2018" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="intel" 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, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-31 12:01:10 UTC
I am getting

> ck_pr_unary.c: In function ‘run_test_dec_int’:
> ck_pr_unary.c:104:1: error: unsupported size for integer register
>   104 | GENERATE_TEST(dec, -, 1, 1)
>       | ^~~~~~~~~~~~~
> ../../../include/gcc/x86/ck_pr.h: Assembler messages:
> ../../../include/gcc/x86/ck_pr.h:260: Error: bad register name `%dil'
> make[2]: *** [Makefile:87: ck_pr_unary] Error 1
> make[2]: *** Waiting for unfinished jobs....
> 

on my x86 system and not even reaching tests.
Comment 2 Conrad Kostecki gentoo-dev 2020-11-22 01:05:44 UTC
I am unable to reproduce amd64. All tests pass for me.

Sams tests fail due:
Waiting for threads to finish correctness regression...make[2]: *** [Makefile:13: check] Segmentation fault

But with x86 (just a x86 chroot on my amd64 system) does trigger the same problems as of whissi.

I will talk to upstream.
Comment 3 Conrad Kostecki gentoo-dev 2020-11-22 01:30:11 UTC
Oh, there is a 'PROFILE' switch, which I can use to override 64bit for x86.

If I do that, compilation works on x86 and all tests pass.
Comment 4 Larry the Git Cow gentoo-dev 2020-11-22 01:50:47 UTC
The bug has been closed via the following commit(s):

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

commit d9e2dd79d860822c8ee78b6844511472a2bbcc6a
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2020-11-22 01:47:55 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2020-11-22 01:50:36 +0000

    dev-libs/concurrencykit: fixed several bugs
    
    This is a overhaul of the whole ebuild. Nothing will change for the
    user, so I will keep the stable keyword for amd64, as I will drop 0.7.0
    afterwards.
    
    Fixes:
    1) Fixed calling AR - upstream accepted patch.
    2) Failing tests on x86 - Setting PROFILE correctly.
    3) Disabling static libs - upstream accepted patch.
    4) Updated patches to use from upstreams git.
    
    Closes: https://bugs.gentoo.org/721926
    Closes: https://bugs.gentoo.org/733170
    Closes: https://bugs.gentoo.org/726398
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 .../concurrencykit/concurrencykit-0.7.0-r1.ebuild  |  40 ++++++++
 .../files/concurrencykit-0.7.0-ar.patch            | 112 +++++++++++++++++++++
 .../files/concurrencykit-0.7.0-glibc-2.30.patch    |  54 ++++++++++
 .../files/concurrencykit-0.7.0-gzip.patch          |  58 +++++++++++
 .../files/concurrencykit-0.7.0-static-libs.patch   |  75 ++++++++++++++
 5 files changed, 339 insertions(+)