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

Bug 436338

Summary: apol does not work with setools-3.3.7-r5
Product: Gentoo Linux Reporter: Sven Vermeulen (RETIRED) <swift>
Component: SELinuxAssignee: SE Linux Bugs <selinux>
Status: VERIFIED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: selinux-utils
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430262    

Description Sven Vermeulen (RETIRED) gentoo-dev 2012-09-26 18:10:48 UTC
When running apol:

"""
18:08 <pebenito> $ apol policy.26 
18:08 <pebenito> Initializing libqpol... done.
18:08 <pebenito> Initializing libapol... done.
18:08 <pebenito> Initializing libsefs... done.
18:08 <pebenito> Initializing libapol_tcl... done.
18:08 <pebenito> Initializing Tk... done.
18:08 <pebenito> invalid command name "new_apol_string_vector_t"
18:08 <pebenito>     while executing
18:08 <pebenito> "new_apol_string_vector_t"
18:08 <pebenito>     (procedure "list_to_str_vector" line 2)
18:08 <pebenito>     invoked from within
18:08 <pebenito> "list_to_str_vector {}"
18:08 <pebenito>     (procedure "handle_args" line 28)
18:08 <pebenito>     invoked from within
18:08 <pebenito> "handle_args $argv0 $argv"
18:08 <pebenito>     invoked from within
18:08 <pebenito> "set path [handle_args $argv0 $argv]"
18:08 <pebenito>     (file "/usr/bin/apol" line 12462
"""

looks related to the swig fixes

Reproducible: Always
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2012-09-29 07:28:54 UTC
Looks like the (heavy) patch for swig isn't needed anymore, more recent swig seems to build the code just fine again :-S
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2012-09-29 17:48:29 UTC
My bad, most recent swig still fails to build -r3 and works with -r5. Guess I need to look how this tcl/tk integratino within swig works
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2012-10-31 19:12:26 UTC
I can't find it - if anyone wants to take a stab at this, please.
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2012-11-18 13:18:34 UTC
fixed in r6, in hardened-dev overlay
Comment 5 Sven Vermeulen (RETIRED) gentoo-dev 2012-11-23 20:53:10 UTC
Moved to main tree
Comment 6 Sven Vermeulen (RETIRED) gentoo-dev 2012-12-30 15:30:34 UTC
Stable