Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722284 - dev-python/pycurl-7.43.0.5: fails tests (libcurl/*.so: cannot open shared object file)
Summary: dev-python/pycurl-7.43.0.5: fails tests (libcurl/*.so: cannot open shared obj...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-05-10 22:50 UTC by Sam James
Modified: 2020-07-05 11:57 UTC (History)
1 user (show)

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


Attachments
build.log (file_722284.txt,67.25 KB, text/plain)
2020-05-10 22:50 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-05-10 22:50:30 UTC
Created attachment 637806 [details]
build.log

FAILED (SKIP=18, errors=3)
part1part2 * ERROR: dev-python/pycurl-7.43.0.5::gentoo failed (test phase):
 *   Tests fail with python2.7
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_test
 *   environment, line 2948:  Called distutils-r1_src_test
 *   environment, line 1271:  Called _distutils-r1_run_foreach_impl 'python_test'
 *   environment, line  451:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_test'
 *   environment, line 2549:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 2053:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 2051:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test'
  File "/var/tmp/portage/dev-python/pycurl-7.43.0.5/work/pycurl-7.43.0.5-python2_7/setup.py", line 182, in detect_ssl_backend
    ssl_lib_detected = self.detect_ssl_lib_from_libcurl_dll(libcurl_dll_path)
  File "/var/tmp/portage/dev-python/pycurl-7.43.0.5/work/pycurl-7.43.0.5-python2_7/setup.py", line 356, in detect_ssl_lib_from_libcurl_dll
    curl_version_info = self.get_curl_version_info(libcurl_dll_path)
  File "/var/tmp/portage/dev-python/pycurl-7.43.0.5/work/pycurl-7.43.0.5-python2_7/setup.py", line 490, in get_curl_version_info
    dll = ctypes.CDLL(dll_path)
  File "/usr/lib64/python2.7/ctypes/__init__.py", line 366, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: tests/fake-curl/libcurl/with_nss.so: cannot open shared object file: No such file or directory
-------------------- >> begin captured stdout << ---------------------
Using /var/tmp/portage/dev-python/pycurl-7.43.0.5/work/pycurl-7.43.0.5-python2_7/tests/fake-curl/curl-config-ssl-feature-only ()

--------------------- >> end captured stdout << ----------------------

======================================================================
ERROR: test_libcurl_ssl_openssl (tests.setup_test.SetupTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/pycurl-7.43.0.5/work/pycurl-7.43.0.5-python2_7/tests/util.py", line 206, in decorated
    return fn(*args, **kwargs)
  File "/var/tmp/portage/dev-python/pycurl-7.43.0.5/work/pycurl-7.43.0.5-python2_7/tests/setup_test.py", line 45, in decorated
    return fn(*args, **kwargs)
  File "/var/tmp/portage/dev-python/pycurl-7.43.0.5/work/pycurl-7.43.0.5-python2_7/tests/setup_test.py", line 166, in test_libcurl_ssl_openssl
    '--libcurl-dll=tests/fake-curl/libcurl/with_openssl.so'])
  File "/var/tmp/portage/dev-python/pycurl-7.43.0.5/work/pycurl-7.43.0.5-python2_7/setup.py", line 101, in __init__
    self.configure()
  File "/var/tmp/portage/dev-python/pycurl-7.43.0.5/work/pycurl-7.43.0.5-python2_7/setup.py", line 322, in configure_unix
    self.detect_ssl_backend()
  File "/var/tmp/portage/dev-python/pycurl-7.43.0.5/work/pycurl-7.43.0.5-python2_7/setup.py", line 182, in detect_ssl_backend
    ssl_lib_detected = self.detect_ssl_lib_from_libcurl_dll(libcurl_dll_path)
  File "/var/tmp/portage/dev-python/pycurl-7.43.0.5/work/pycurl-7.43.0.5-python2_7/setup.py", line 356, in detect_ssl_lib_from_libcurl_dll
    curl_version_info = self.get_curl_version_info(libcurl_dll_path)
  File "/var/tmp/portage/dev-python/pycurl-7.43.0.5/work/pycurl-7.43.0.5-python2_7/setup.py", line 490, in get_curl_version_info
    dll = ctypes.CDLL(dll_path)
  File "/usr/lib64/python2.7/ctypes/__init__.py", line 366, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: tests/fake-curl/libcurl/with_openssl.so: cannot open shared object file: No such file or directory
-------------------- >> begin captured stdout << ---------------------
Using /var/tmp/portage/dev-python/pycurl-7.43.0.5/work/pycurl-7.43.0.5-python2_7/tests/fake-curl/curl-config-ssl-feature-only ()


----
Portage 2.3.99 (python 3.7.7-final-0, default/linux/arm64/17.0, gcc-9.2.0, glibc-2.30-r8, 4.19.113-v8+ aarch64)
=================================================================
System uname: Linux-4.19.113-v8+-aarch64-with-gentoo-2.6
KiB Mem:     3897612 total,    605464 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 10 May 2020 21:05:32 +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.1::gentoo
dev-lang/python:          2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo
dev-util/cmake:           3.14.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo, 9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::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-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="arm64"
ACCEPT_LICENSE="@FREE"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fdiagnostics-show-option -frecord-gcc-switches"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/portage/package.keywords/zz-autounmask /etc/portage/package.use/archtest /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"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/bound/distfiles"
EMERGE_DEFAULT_OPTS="--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 -pipe -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync 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 -pipe -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/usr/share/doc/*/*.pdf /usr/share/man/*/*"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j4 -l5"
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 arm64 berkdb bzip2 cli crc32 crypt dri edsp fortran gdbm iconv ipv6 libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd thumb thumb2 unicode v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4 xattr zlib" ADA_TARGET="gnat_2018" 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_ARM="edsp thumb vfp vfpv3 vfpv4 vfp-d32 crc32 v4 v5 v6 v7 v8 thumb2" 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" 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="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="fbdev 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, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-05-16 16:06:16 UTC
Does this still happen after ea725b364bcd0ea4?
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-06-08 17:08:10 UTC
(In reply to Michał Górny from comment #1)
> Does this still happen after ea725b364bcd0ea4?

No, unfortunately. But will stable for now given it seems to work, as I know they do odd things with tests (bundled libs, precompiled, whatever).
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-06-08 17:27:20 UTC
(In reply to Sam James (sec padawan) from comment #2)
> (In reply to Michał Górny from comment #1)
> > Does this still happen after ea725b364bcd0ea4?
> 
> No, unfortunately. But will stable for now given it seems to work, as I know
> they do odd things with tests (bundled libs, precompiled, whatever).

Uh... yes, it still happens! Bad phrasing. (Thanks leio.)