[apparmor] [patch] fix libapparmor ruby bindings for ruby 2.0
apparmor at cboltz.de
Wed Jun 5 20:23:41 UTC 2013
you might have noticed the discussion about the libapparmor ruby
bindings build failures on openSUSE Factory, which is the first version
with ruby 2.0.
The problem was that DESTDIR was added to too many variables, which
finally resulted in
[ 1399s] make: Entering directory
[ 1399s] make: *** No rule to make target
See https://bugzilla.novell.com/show_bug.cgi?id=822277 for all details.
Klaus Kaempf provided the attached patch which fixes the build, but he
intentionally enabled it for Factory builds only (not <= 12.3) and wrote
about it in the bugreport:
Added a clunky workaround: created request id 177452
Should be fixed upstream
Well, it is a crude hack, based on the contents of the created
Other distributions have different Makefiles (hence this bug doesn't
appear there) and the patch might create more harm.
The only thing I can say about the patch is that it fixes the problem.
I don't know if it breaks anything on other distributions etc.,
therefore I'm asking for an extra strict review (and some testing) ;-)
> Ich geh' jetzt erstmal Gummienten beim Wettschwimmen zugucken...
Du Gluecklicher. Ich darf morgen "echten" eNTen beim Umfallen zuschaun.
[Jochen Erwied und Thomas Ogrisegg in dasr]
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1080 bytes
Desc: not available
More information about the AppArmor