Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153842 - sys-libs/libsemanage-1.6 fails to emerge on hardened system
Summary: sys-libs/libsemanage-1.6 fails to emerge on hardened system
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-02 11:00 UTC by Alan Hourihane
Modified: 2006-11-22 00:52 UTC (History)
0 users

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 Alan Hourihane 2006-11-02 11:00:56 UTC
I've just bootstrapped a hardened system and things start to emerge fine until this one...

cc  -shared -o libsemanage.so.1 boolean_record.lo booleans_active.lo booleans_activedb.lo booleans_file.lo booleans_local.lo booleans_policy.lo booleans_policydb.lo context_record.lo database.lo database_activedb.lo database_file.lo database_join.lo database_llist.lo database_policydb.lo debug.lo direct_api.lo fcontext_record.lo fcontexts_file.lo fcontexts_local.lo fcontexts_policy.lo handle.lo iface_record.lo interfaces_file.lo interfaces_local.lo interfaces_policy.lo interfaces_policydb.lo modules.lo node_record.lo nodes_file.lo nodes_local.lo nodes_policy.lo nodes_policydb.lo parse_utils.lo policy_components.lo port_record.lo ports_file.lo ports_local.lo ports_policy.lo ports_policydb.lo semanage_store.lo seuser_record.lo seusers_file.lo seusers_local.lo seusers_policy.lo user_base_record.lo user_extra_record.lo user_record.lo users_base_file.lo users_base_policydb.lo users_extra_file.lo users_join.lo users_local.lo users_policy.lo conf-scan.lo conf-parse.lo -lsepol -lselinux -L/usr/lib -Wl,-soname,libsemanage.so.1,--version-script=libsemanage.map,-z,defs
conf-parse.lo: In function `semanage_parse':
conf-parse.c:(.text+0x375): undefined reference to `semanage_lex'
conf-parse.lo: In function `semanage_conf_parse':
conf-parse.c:(.text+0xa56): undefined reference to `semanage_in'
collect2: ld returned 1 exit status
make[2]: *** [libsemanage.so.1] Error 1
make[2]: *** Waiting for unfinished jobs....
ar rcs libsemanage.a boolean_record.o booleans_active.o booleans_activedb.o booleans_file.o booleans_local.o booleans_policy.o booleans_policydb.o context_record.o database.o database_activedb.o database_file.o database_join.o database_llist.o database_policydb.o debug.o direct_api.o fcontext_record.o fcontexts_file.o fcontexts_local.o fcontexts_policy.o handle.o iface_record.o interfaces_file.o interfaces_local.o interfaces_policy.o interfaces_policydb.o modules.o node_record.o nodes_file.o nodes_local.o nodes_policy.o nodes_policydb.o parse_utils.o policy_components.o port_record.o ports_file.o ports_local.o ports_policy.o ports_policydb.o semanage_store.o seuser_record.o seusers_file.o seusers_local.o seusers_policy.o user_base_record.o user_extra_record.o user_record.o users_base_file.o users_base_policydb.o users_extra_file.o users_join.o users_local.o users_policy.o conf-scan.o conf-parse.o
ranlib libsemanage.a
ln -sf libsemanage.so.1 libsemanage.so
make[2]: Leaving directory `/var/tmp/portage/libsemanage-1.6/work/libsemanage-1.6/src'
make[2]: Leaving directory `/var/tmp/portage/libsemanage-1.6/work/libsemanage-1.6/src'
make[1]: *** [pywrap] Error 2
make[1]: Leaving directory `/var/tmp/portage/libsemanage-1.6/work/libsemanage-1.6'

!!! ERROR: sys-libs/libsemanage-1.6 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  libsemanage-1.6.ebuild, line 39:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

... done!
Comment 1 Alan Hourihane 2006-11-22 00:52:19 UTC
This is fixed now.