Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 357249

Summary: net-misc/dropbear-0.53.1 fails with as-needed/static
Product: Gentoo Linux Reporter: J.Taimr <tai>
Component: Current packagesAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED FIXED    
Severity: normal CC: bugzie, esigra, nbowler, nixphoeni
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://thread.gmane.org/gmane.network.ssh.dropbear/1015
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 129413    
Attachments: Patch for --as-needed
The modified ebuild

Description J.Taimr 2011-03-03 18:46:00 UTC
If LDFLAGS contain '--as-needed' then emerge of the dropbear-0.53.1 fails with undefined crypt symbol

Reproducible: Always

Steps to Reproduce:
1. Put --as-neede into LDFLAGS
2.
3.

Actual Results:  
Compilation fails with undefined 'crypt' symbol

Expected Results:  
It should compile even with --as-needed

It can be fixed by the attached patch and the appropriately modified (also attached) ebuild
Comment 1 J.Taimr 2011-03-03 18:46:58 UTC
Created attachment 264601 [details]
Patch for --as-needed
Comment 2 J.Taimr 2011-03-03 18:47:22 UTC
Created attachment 264603 [details]
The modified ebuild
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-04 00:50:29 UTC
Comment on attachment 264601 [details]
Patch for --as-needed

oops
Comment 4 SpanKY gentoo-dev 2011-03-04 08:21:47 UTC
this was explicitly supposed to be fixed in 0.53.1 over 0.53 ...
Comment 5 Piotr Szymaniak 2011-06-23 21:53:46 UTC
(In reply to comment #4)
> this was explicitly supposed to be fixed in 0.53.1 over 0.53 ...

Can we include the patch then? It still fails to compile right now…