Menu

#54 psmisc-22.20 fails to build on selinux systems

Next Release
closed
nobody
None
1
2014-01-31
2012-10-06
No

It fails to build due to undeclared variable:

pstree.c: In function ‘fix_orphans’:
pstree.c:811:39: error: ‘scontext’ undeclared (first use in this function)
pstree.c:811:39: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [pstree.o] Error 1

from pstree in function fix_orphans(void):

ifdef WITH_SELINUX

root = new_proc("?", ROOT_PID, 0, scontext);

else /WITH_SELINUX /

root = new_proc("?", ROOT_PID, 0);

endif

https://bugs.gentoo.org/show_bug.cgi?id=437332

Discussion

  • Craig Small

    Craig Small - 2012-10-06

    Fixed in commit [89fa40f] by having much less conditional compiling.

    • status: open --> pending
    • milestone: -->
     

    Last edit: Craig Small 2014-01-31
  • Craig Small

    Craig Small - 2014-01-31
    • status: pending --> closed
    • Group: --> Next Release
     

Anonymous
Anonymous

Add attachments
Cancel