Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 576188 - net-misc/curl - please add sub slot operator on dev-libs/openssl atom
Summary: net-misc/curl - please add sub slot operator on dev-libs/openssl atom
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-03-02 01:24 UTC by Thomas Deutschmann (RETIRED)
Modified: 2016-03-02 02:42 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2016-03-02 01:24:11 UTC
With the recent dev-libs/openssl-1.0.2g bump (bug 575548) a sub slot was added.

Please consider adding a sub slot operator on the dev-libs/openssl atom in the next revbump of net-misc/curl so that an update of dev-libs/openssl will trigger a rebuild of net-misc/curl when necessary.

This will prevent problems like

> [...]
> x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=ivybridge -mtune=ivybridge -Wall -I. -DUSE_LIBPCRE -DHAVE_ALLOCA_H -DUSE_CURL_FOR_IMAP_SEND  -DHAVE_PATHS_H
> -DHAVE_DEV_TTY -DXDL_FAST_HASH -DHAVE_CLOCK_GETTIME -DHAVE_CLOCK_MONOTONIC -DHAVE_GETDELIM -DSHA1_HEADER='"block-sha1/sha1.h"'  -DNO_STRLCPY -DNO_MKST
> EMPS -DSHELL_PATH='"/bin/sh"' -o git-credential-cache -Wl,-O1 -Wl,--as-needed  credential-cache.o libgit.a xdiff/lib.a  -lpcre -lz -lpthread -lrt
> /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libcurl.so: undefined reference to `SSLv2_client_method'
> collect2: error: ld returned 1 exit status
> Makefile:2018: recipe for target 'git-imap-send' failed
> make: *** [git-imap-send] Error 1
> make: *** Waiting for unfinished jobs....
> /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libcurl.so: undefined reference to `SSLv2_client_method'
> collect2: error: ld returned 1 exit status
> Makefile:2022: recipe for target 'git-http-fetch' failed
> make: *** [git-http-fetch] Error 1
> /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libcurl.so: undefined reference to `SSLv2_client_method'
> collect2: error: ld returned 1 exit status
> Makefile:2025: recipe for target 'git-http-push' failed
> make: *** [git-http-push] Error 1
>  * ERROR: dev-vcs/git-2.7.2::gentoo failed (compile phase):
>  *   emake failed


Something like

diff --git a/net-misc/curl/curl-7.47.1.ebuild b/net-misc/curl/curl-7.47.1.ebuild
index 1ff98ac..cc3b300 100644
--- a/net-misc/curl/curl-7.47.1.ebuild
+++ b/net-misc/curl/curl-7.47.1.ebuild
@@ -39,7 +39,7 @@ RDEPEND="ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] )
                        app-misc/ca-certificates
                )
                curl_ssl_openssl? (
-                       dev-libs/openssl:0[static-libs?,${MULTILIB_USEDEP}]
+                       dev-libs/openssl:0=[static-libs?,${MULTILIB_USEDEP}]
                )
                curl_ssl_nss? (
                        dev-libs/nss:0[${MULTILIB_USEDEP}]



Thanks!