Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273332 - x11-wm/wmii: package unconditionally links statically
Summary: x11-wm/wmii: package unconditionally links statically
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High 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:
Depends on:
Blocks:
 
Reported: 2009-06-09 12:01 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2013-10-19 15: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 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-09 12:01:00 UTC
I'm reporting this bug because your package is currently using static linking on at least part of the files it installs:

x11-wm/wmii (/usr/bin/wmiir)


Now, while there are packages for which the static linking is mandatory, if it's just that it's desired, you should make it optional via USE flag default for +static with EAPI=1.

Static linking _may_ be a security issue, thus shouldn't be forced on. If your package is actually a prebuilt or proprietary package, you should install in /opt instead.
Comment 1 Kevin Vigor 2011-05-31 14:06:49 UTC
This bug is now serious, since glibc's continuing destruction of static linking suppoer now makes the statically linked wmiir segfaults (http://bugs.gentoo.org/show_bug.cgi?id=368603)

wmii may be made to link dynamically by adding 'STATIC= ' to the make invocation, like so:

diff a//wmii-3.9.2-r1.ebuild b//wmii-3.9.2-r1.ebuild
35c35
< MAKEOPTS="${MAKEOPTS} -j1"
---
> MAKEOPTS="${MAKEOPTS} STATIC= -j1"
Comment 2 Pacho Ramos gentoo-dev 2013-10-19 15:42:36 UTC
+*wmii-3.9.2-r4 (19 Oct 2013)
+
+  19 Oct 2013; Pacho Ramos <pacho@gentoo.org> +wmii-3.9.2-r4.ebuild,
+  -wmii-3.9.2-r3.ebuild:
+  Build dynamically (#273332)
+