Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 676080 - net-libs/liboauth - liboauth.so: undefined reference to EVP_MD_CTX_cleanup
Summary: net-libs/liboauth - liboauth.so: undefined reference to EVP_MD_CTX_cleanup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 675846 676090 (view as bug list)
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2019-01-23 02:52 UTC by Albert W. Hopkins
Modified: 2019-03-06 17:00 UTC (History)
1 user (show)

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


Attachments
patch for liboauth-1.0.3-openssl-1.1.patch (liboauth-1.0.3-openssl-1.1-not_enough.patch,750 bytes, patch)
2019-01-26 14:35 UTC, Wataru Sakurai
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2019-01-23 02:52:01 UTC
This is equivalent to bug #675588, which was closed.  However I've re-build liboauth and am still not able to build packages against it:

For example, with dev-libs/libgdata-0.17.9-r1:

libtool: link: x86_64-pc-linux-gnu-gcc -o /var/tmp/portage/dev-libs/libgdata-0.17.9-r1/work/libgdata-0.17.9/tmp-introspect1i4s11l3/.libs/GData-0.0 -march=core-avx-i -mtune=skylake -O2 -fomit-frame-pointer -pipe /var/tmp/portage/dev-libs/libgdata-0.17.9-r1/work/libgdata-0.17.9/tmp-introspect1i4s11l3/GData-0.0.o -Wl,--export-dynamic -pthread -Wl,-O1 -Wl,--export-dynamic  -L. gdata/.libs/libgdata.so -lsoup-2.4 -ljson-glib-1.0 -lgthread-2.0 -loauth -lgcr-base-3 -lgck-1 -lp11-kit -lxml2 -lgoa-1.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -Wl,--as-needed -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../lib64/liboauth.so: undefined reference to `EVP_MD_CTX_cleanup'
collect2: error: ld returned 1 exit status

# emerge --info
Portage 2.3.57 (python 3.6.6-final-0, default/linux/amd64/17.0/no-multilib, gcc-8.2.0, glibc-2.28-r5, 4.20.3-gentoo x86_64)
=================================================================
System uname: Linux-4.20.3-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E3-1225_V2_@_3.20GHz-with-gentoo-2.6
KiB Mem:    32744428 total,    758064 free
KiB Swap:    3145724 total,   3108860 free
Timestamp of repository gentoo: Wed, 23 Jan 2019 00:56:14 +0000
Head commit of repository gentoo: 484599d30d3b5a3a9737aac24d0b3c862fd03cf7

sh bash 5.0_p2
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
app-shells/bash:          5.0_p2::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.28.0::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.6::gentoo, 3.7.0::gentoo
dev-util/cmake:           3.13.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.15::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r3::gentoo
sys-devel/gcc:            8.2.0-r6::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.20::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: /var/lib/jenkins/workspace/lighthouse/
    priority: -1000

marduk
    location: /var/lib/layman/marduk
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x google-chrome google-talkplugin Google-TOS google-talkplugin Google-TOS skype-4.0.0.7-copyright"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx-i -mtune=skylake -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core-avx-i -mtune=skylake -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="     --autounmask=n      --binpkg-respect-use=y     --changed-deps=y     --jobs      --keep-going      --misspell-suggestions=n     --oneshot     --quiet-build      --quiet-unmerge-warn      --usepkg   --usepkg=n --buildpkg --jobs=5 --with-bdeps=y --ignore-built-slot-operator-deps=y"
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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg cgroup config-protect-if-modified distlocks fixlafiles ipc-sandbox multilib-strict network-sandbox news noinfo notitles parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned sandbox sfperms skiprocheck strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS=""
MAKEOPTS="--jobs=5 --load-average=5.64"
PKGDIR="/var/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_COMPRESS_FLAGS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--info=progress2"
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 aes amd64 asm avx avx2 f16c fma3 glamor introspection ipv6 mmx mmxext nls opentype pam pclmul popcnt split-usr sse sse2 sse3 sse4_1 sse4_2 ssse3 systemd udev unicode utf8 wayland xattr" ABI_X86="64" APACHE2_MODULES="authn_core authz_core authz_host authz_user unixd socache_shmcb auth_digest authn_file authz authz_groupfile dav dav_fs dir group_file mime" APACHE2_MPMS="prefork" CAMERAS="*" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" FFTOOLS="*" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" LLVM_TARGETS="X86" NGINX_MODULES_HTTP="auth_basic gzip proxy rewrite uwsgi" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-01-23 07:51:02 UTC
*** Bug 676090 has been marked as a duplicate of this bug. ***
Comment 2 Wataru Sakurai 2019-01-26 14:34:35 UTC
This bug is occurred because not enough fixing for bug #671178
In the attached patch (liboauth-1.0.3-openssl-1.1.patch), below parts are forgetted rename function.

> +  EVP_MD_CTX_cleanup(md_ctx);
Comment 3 Wataru Sakurai 2019-01-26 14:35:51 UTC
Created attachment 562868 [details, diff]
patch for liboauth-1.0.3-openssl-1.1.patch
Comment 4 Larry the Git Cow gentoo-dev 2019-01-26 16:01:59 UTC
The bug has been closed via the following commit(s):

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

commit 8e4607e47bdd7d76671a3119a8ae0bcff598023b
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2019-01-26 16:01:35 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2019-01-26 16:01:52 +0000

    net-libs/liboauth: Fix openssl-1.1 building
    
    Thanks-to: Wataru Sakurai
    Thanks-to: Albert W. Hopkins
    Closes: https://bugs.gentoo.org/676080
    Package-Manager: Portage-2.3.58, Repoman-2.3.12
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 .../files/liboauth-1.0.3-openssl-1.1_2.patch       | 22 ++++++++++++++++++++++
 net-libs/liboauth/liboauth-1.0.3-r1.ebuild         |  3 ++-
 2 files changed, 24 insertions(+), 1 deletion(-)
Comment 5 Mart Raudsepp gentoo-dev 2019-02-16 10:47:11 UTC
*** Bug 675846 has been marked as a duplicate of this bug. ***
Comment 6 Larry the Git Cow gentoo-dev 2019-03-06 17:00:38 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=8f3b953a6fb652b2b093dc9c0860a14dd1dcc261

commit 8f3b953a6fb652b2b093dc9c0860a14dd1dcc261
Author:     Stefan Strogin <stefan.strogin@gmail.com>
AuthorDate: 2019-03-06 16:56:05 +0000
Commit:     Stefan Strogin <stefan.strogin@gmail.com>
CommitDate: 2019-03-06 16:58:19 +0000

    net-libs/liboauth: drop; fix no longer relevant
    
    Current version from gentoo.git builds successfully with USE="-nss libressl".
    
    Bug: https://bugs.gentoo.org/671178
    Bug: https://bugs.gentoo.org/676080
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Stefan Strogin <stefan.strogin@gmail.com>

 net-libs/liboauth/Manifest                         |   5 -
 .../files/liboauth-1.0.1-doxygen-out-of-tree.patch |  50 -------
 .../files/liboauth-1.0.3-openssl-1.1.patch         | 143 ---------------------
 net-libs/liboauth/liboauth-1.0.3-r100.ebuild       |  87 -------------
 net-libs/liboauth/metadata.xml                     |  24 ----
 5 files changed, 309 deletions(-)