Package: libselinux
Version: 2.0.82-1
Severity: normal
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic

Hi!

We've seen libselinux FTBFS in Ubuntu when built with >1 core.  It's
intermittent, though, so it's been hard to isolate.  If we retry for long
enough, it works.  Logs were:

cc -Wall -g -O2 -I../include -D_GNU_SOURCE   -Wl,-Bsymbolic-functions -s -s 
compute_user.c  -L../src -lselinux -L/usr/lib -o compute_user
ar rcs libselinux.a avc.o avc_internal.o avc_sidtab.o booleans.o callbacks.o 
canonicalize_context.o checkAccess.o check_context.o compute_av.o 
compute_create.o compute_member.o compute_relabel.o compute_user.o context.o 
deny_unknown.o disable.o enabled.o fgetfilecon.o freecon.o freeconary.o 
fsetfilecon.o get_context_list.o get_default_type.o get_initial_context.o 
getenforce.o getfilecon.o getpeercon.o init.o is_customizable_type.o label.o 
label_file.o label_media.o label_x.o lgetfilecon.o load_policy.o lsetfilecon.o 
mapping.o matchmediacon.o matchpathcon.o policyvers.o procattr.o 
query_user_context.o rpm.o selinux_check_securetty_context.o selinux_config.o 
setenforce.o setfilecon.o setrans_client.o seusers.o stringrep.o
ranlib libselinux.a
cc -Wall -g -O2 -I../include -I/usr/include -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64  -Wl,-Bsymbolic-functions -s -s -shared -o 
libselinux.so.1 avc.lo avc_internal.lo avc_sidtab.lo booleans.lo callbacks.lo 
canonicalize_context.lo checkAccess.lo check_context.lo compute_av.lo 
compute_create.lo compute_member.lo compute_relabel.lo compute_user.lo 
context.lo deny_unknown.lo disable.lo enabled.lo fgetfilecon.lo freecon.lo 
freeconary.lo fsetfilecon.lo get_context_list.lo get_default_type.lo 
get_initial_context.lo getenforce.lo getfilecon.lo getpeercon.lo init.lo 
is_customizable_type.lo label.lo label_file.lo label_media.lo label_x.lo 
lgetfilecon.lo load_policy.lo lsetfilecon.lo mapping.lo matchmediacon.lo 
matchpathcon.lo policyvers.lo procattr.lo query_user_context.lo rpm.lo 
selinux_check_securetty_context.lo selinux_config.lo setenforce.lo 
setfilecon.lo setrans_client.lo seusers.lo stringrep.lo -ldl -lpthread 
-L/usr/lib -Wl,-soname,libselinux.so.1,-z,defs,-z,relro
../src/libselinux.so: file not recognized: File truncated
collect2: ld returned 1 exit status
make[3]: *** [compute_user] Error 1
make[3]: Leaving directory `/build/buildd/libselinux-2.0.82/utils'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/build/buildd/libselinux-2.0.82'
make[1]: *** [debian/stamp/build/libselinux1] Error 2
make[1]: *** Waiting for unfinished jobs....

I think adding:
  FAILS_PARALLEL_BUILD=parallel=N
before:
  include debian/common/pkgvars.mk
in debian/rules would work around this, but I've had a very hard time
re-creating the issue locally.

I would assume this is an upstream makefile issue, but I've had a very hard
time reproducing the bug.

-Kees

-- 
Kees Cook                                            @debian.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to