Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 174786
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Roy Marples (RETIRED) <uberlord@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Michael Gisbers <michael@gisbers.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 174786 depends on: Show dependency tree
Bug 174786 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-16 11:16 0000
Emerging static version of openvpn results in dynamic linked version.

Reproducible: Always

Steps to Reproduce:
1. USE="static" emerge =net-misc/openvpn-2.0.6
2. ldd /usr/sbin/openvpn


Actual Results:  
ldd /usr/sbin/openvpn
      linux-gate.so.1 =>  (0xffffe000)
      libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xf7ead000)
      libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xf7d78000)
      liblzo2.so.2 => /usr/lib/liblzo2.so.2 (0xf7d59000)
      libdl.so.2 => /lib/libdl.so.2 (0xf7d55000)
      libc.so.6 => /lib/libc.so.6 (0xf7c36000)
      /lib/ld-linux.so.2 (0xf7eef000)


Expected Results:  
ldd /usr/sbin/openvpn
      not a dynamic executable


Seems like '-e' and '-i' have to be exchanged in ebuild:

--- openvpn-2.0.6.ebuild_old    2007-04-16 13:14:42.000000000 +0200
+++ openvpn-2.0.6.ebuild        2007-04-16 13:15:04.000000000 +0200
@@ -53,7 +53,7 @@
                $(use_enable threads pthread) \
                || die "configure failed"

-       use static && sed -e -i '/^LIBS/s/LIBS = /LIBS = -static /' Makefile
+       use static && sed -i -e '/^LIBS/s/LIBS = /LIBS = -static /' Makefile

        emake || die "make failed"

------- Comment #1 From Roy Marples (RETIRED) 2007-04-16 11:43:52 0000 -------
Fixed, thanks.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug