Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726678 - net-libs/serf-1.3.9-r1 - ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.1/../../../../lib64/libserf-1.so: undefined reference to `OPENSSL_malloc_init'
Summary: net-libs/serf-1.3.9-r1 - ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.1/../../.....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords:
Depends on: 730632
Blocks:
  Show dependency tree
 
Reported: 2020-06-01 16:36 UTC by Jason Oliveira
Modified: 2021-02-16 04:17 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 Jason Oliveira 2020-06-01 16:36:55 UTC
Bug https://bugs.gentoo.org/show_bug.cgi?id=703910 was prematurely closed by dilfridge@gentoo.org without due dilligence, and issue was discovered/resolved at the end of the bug's comments.

net-libs/serf-1.3.9-r1 in the portage tree has a USE="libressl" flag, but it does not respect it. the openssl patch applied during compilation creates a need for "OPENSSL_malloc_init", which Libressl does not support. serf package will build completely and incorrectly, rendering all packages that depend on net-libs/serf to fail with the same "OPENSSL_malloc_init" error. 

In the case of the prematurely-closed bug above, subversion is directly affected by this issue, and refuses to build. 

Issue was resolved by using the (hard-masked) ebuild of net-libs/serf-1.3.9 from the libressl repo, because it actually works.



Reproducible: Always

Steps to Reproduce:
1. USE="libressl" in your make.conf
2. build subversion, and let portage pull in net-libs/serf as a dependency.
3. Take a drink every time Subversion's compile fails. 
Actual Results:  
subversion fails, complaining about:
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.1/../../../../lib64/libserf-1.so: undefined reference to `OPENSSL_malloc_init'

Expected Results:  
Software should have built without issue

dilfridge@gentoo.org: Hose-and-close (https://www.quora.com/What-does-hose-and-close-mean) is extremely unprofessional. You don't get a gold star or blue ribbon for closing the most bugs. Gentoo doesn't get any better because you closed a bug prematurely.
Comment 1 Stefan Strogin gentoo-dev 2020-06-01 16:56:31 UTC
Install net-libs/serf-1.3.9-r2. The bug is fixed there, it's the latest version.
Comment 2 Jason Oliveira 2020-06-03 02:34:42 UTC
These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "=net-libs/serf-1.3.9-r2" have been masked.
!!! One of the following masked packages is required to complete your request:
- net-libs/serf-1.3.9-r2 (masked by: ~amd64 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

--

"resolved by ~amd64 package".

seriously? re-opening bug until serf ebuild is marked stable.
Comment 3 Jason Oliveira 2020-06-03 02:41:07 UTC
In addition, your lack of due diligence in logging proper resolution of bugs is messing up the overall stats. Please do a better job.
Comment 4 Jason Oliveira 2021-02-16 04:17:38 UTC
Bug was resolved in July 2020. setting status RESOLVED FIXED.