Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721270 - dev-python/pycurl fails SSL tests: OSError: tests/fake-curl/libcurl/with_nss.so: wrong ELF class: ELFCLASS64
Summary: dev-python/pycurl fails SSL tests: OSError: tests/fake-curl/libcurl/with_nss....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-05-06 14:25 UTC by Agostino Sarubbo
Modified: 2020-05-16 16:12 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,68.74 KB, text/plain)
2020-05-06 14:25 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-05-06 14:25:00 UTC
This is an auto-filled bug because dev-python/pycurl fails tests.
The issue was originally discovered on x86, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-06 14:25:07 UTC
Created attachment 636466 [details]
build.log

build log and emerge --info
Comment 2 Rolf Eike Beer archtester 2020-05-10 09:09:30 UTC
I see the the same on hppa, which also has a 32 bit userspace on 64 bit kernel. I guess it uses uname to see what platform it is on and get's it wrong somehow.
Comment 3 Larry the Git Cow gentoo-dev 2020-05-11 09:04:07 UTC
The bug has been referenced in the following commit(s):

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

commit 13ef44bf3be7c4117825edde0add989c3aae86eb
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-05-11 08:46:51 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-05-11 09:03:56 +0000

    dev-python/pycurl: Respect CC/*FLAGS in fake-curl
    
    Bug: https://bugs.gentoo.org/721270
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../pycurl/files/pycurl-7.43.0.5-cc-cflags.patch   | 34 ++++++++++++++++++++++
 dev-python/pycurl/pycurl-7.43.0.5.ebuild           |  5 ++--
 2 files changed, 37 insertions(+), 2 deletions(-)
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-05-11 09:04:25 UTC
Please try now.  Hopefully the patch will resolve it.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-05-16 16:07:23 UTC
So I've looked into the new failures that started occurring after the last fix.  Turns out that the tests are broken by a new version of bottle, and upstream's answer to that was to force old bottle.  Since we can't lastrite this creepy package, I'm just going to disable broken tests.
Comment 6 Larry the Git Cow gentoo-dev 2020-05-16 16:12:51 UTC
The bug has been closed via the following commit(s):

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

commit 77d56b9d2d82d112e9b6ac7beab09b0c6e814510
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-05-16 16:11:07 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-05-16 16:12:47 +0000

    dev-python/pycurl: Disable tests broken by bottle upgrade
    
    Upstream is silly and requires old dev-python/bottle version
    for testing.  Instead of harming users and preventing downgrade, let's
    disable the few tests that require that.
    
    Closes: https://bugs.gentoo.org/721270
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/pycurl/pycurl-7.43.0.5.ebuild | 2 ++
 1 file changed, 2 insertions(+)