[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#281464: libselinux doesn't build on mips and mipsel



ohh, Mr. Bunk's "quality" control strikes again ...

Manoj Srivastava writes:
> reassign 281464 gcc
> severity 281464 grave
> thanks

you are sure this a gcc bug, not a binutils bug? same results with 3.2
and 3.4.

> Hi,
> 
> 	Grave, sine it is causing libselinux to fail to build from
>  source on mips and mipsel (build fine on all other arches).
> 
> 	On mips and mipsel, gcc is failing to compile libselinux with
>  failures like  (full og attached):
> ======================================================================
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o avc.lo avc.c
> /tmp/ccHLEY94.s: Assembler messages:
> /tmp/ccHLEY94.s:2198: Warning: Tried to set unrecognized symbol: avc_av_stats,avc_av_stats_internal
> 
> /tmp/ccHLEY94.s:2642: Warning: Tried to set unrecognized symbol: avc_cleanup,avc_cleanup_internal
> 
> /tmp/ccHLEY94.s:2798: Warning: Tried to set unrecognized symbol: avc_reset,avc_reset_internal
> 
> /tmp/ccHLEY94.s:3596: Warning: Tried to set unrecognized symbol: avc_audit,avc_audit_internal
> 
> /tmp/ccHLEY94.s:3844: Warning: Tried to set unrecognized symbol: avc_has_perm_noaudit,avc_has_perm_noaudit_internal
> ======================================================================
> 
> 	The same code builds fine on all other architectures (so
>  normal builds are not just i386 specific quirks). Subsequently,
>  linkers fail to link to this library, since the symbols are not
>  exported. 
> 
> 	This is keeping libselinux out of testing.
> 
> 
>     File `log' in libselinux_1.18-1_mips (Nov 5 17:41)
> 
> 	libselinux <build.php?&pkg=libselinux&arch=mips> >> 1.18-1
> <build.php?&pkg=libselinux&ver=1.18-1&arch=mips> >> Nov 5 17:41
> <build.php?&pkg=libselinux&ver=1.18-1&arch=mips&stamp=1099694464> >> log
> 
> Automatic build of libselinux_1.18-1 on hawking by sbuild/mips 1.170.5
> Build started at 20041103-2123
> ******************************************************************************
> Checking available source versions...
> Fetching source files...
> Reading Package Lists...
> Building Dependency Tree...
> Need to get 116kB of source archives.
> Get:1 http://incoming.debian.org  libselinux 1.18-1 (dsc) [594B]
> Get:2 http://incoming.debian.org  libselinux 1.18-1 (tar) [69.3kB]
> Get:3 http://incoming.debian.org  libselinux 1.18-1 (diff) [45.7kB]
> Fetched 116kB in 0s (324kB/s)
> Download complete and in download only mode
> ** Using build dependencies supplied by package:
> Build-Depends: file
> Checking for already installed source dependencies...
> file: missing
> Checking for source dependency conflicts...
>   /usr/bin/sudo /usr/bin/apt-get --purge $CHROOT_OPTIONS -q -y install file
> Reading Package Lists...
> Building Dependency Tree...
> The following extra packages will be installed:
>   libmagic1
> The following NEW packages will be installed:
>   file libmagic1
> 0 upgraded, 2 newly installed, 0 to remove and 15 not upgraded.
> Need to get 0B/254kB of archives.
> After unpacking 1483kB of additional disk space will be used.
> Selecting previously deselected package libmagic1.
> (Reading database ... 7888 files and directories currently installed.)
> Unpacking libmagic1 (from .../libmagic1_4.10-3_mips.deb) ...
> Selecting previously deselected package file.
> Unpacking file (from .../archives/file_4.10-3_mips.deb) ...
> Setting up libmagic1 (4.10-3) ...
> 
> Setting up file (4.10-3) ...
> Checking correctness of source dependencies...
> Toolchain package versions: libc6-dev_2.3.2.ds1-18 linux-kernel-headers_2.5.999-test7-bk-17 gcc-3.3_1:3.3.5-2 g++-3.3_1:3.3.5-1 binutils_2.15-4 libstdc++5_1:3.3.5-1 libstdc++5-3.3-dev_1:3.3.5-1
> ------------------------------------------------------------------------------
> dpkg-source: extracting libselinux in libselinux-1.18
> dpkg-buildpackage: source package is libselinux
> dpkg-buildpackage: source version is 1.18-1
> dpkg-buildpackage: host architecture is mips
>  /usr/bin/sudo debian/rules clean
> ====== making (creating) CLN-common ======
> test ! -f Makefile || /usr/bin/make clean
> make[1]: Entering directory `/build/buildd/libselinux-1.18'
> /usr/bin/make -C src clean
> make[2]: Entering directory `/build/buildd/libselinux-1.18/src'
> rm -f avc.o avc_internal.o avc_sidtab.o booleans.o checkAccess.o check_context.o compute_av.o compute_create.o compute_relabel.o compute_user.o context.o disable.o enabled.o fgetfilecon.o freecon.o freeconary.o fsetfilecon.o get_context_list.o get_default_type.o getcon.o getenforce.o getexeccon.o getfilecon.o getfscreatecon.o getpeercon.o getpidcon.o getprevcon.o init.o lgetfilecon.o load_policy.o lsetfilecon.o matchmediacon.o matchpathcon.o policyvers.o query_user_context.o rpm.o selinux_config.o setenforce.o setexeccon.o setfilecon.o setfscreatecon.o avc.lo avc_internal.lo avc_sidtab.lo booleans.lo checkAccess.lo check_context.lo compute_av.lo compute_create.lo compute_relabel.lo compute_user.lo context.lo disable.lo enabled.lo fgetfilecon.lo freecon.lo freeconary.lo fsetfilecon.lo get_context_list.lo get_default_type.lo getcon.lo getenforce.lo getexeccon.lo getfilecon.lo getfscreatecon.lo getpeercon.lo getpidcon.lo getprevcon.lo init.lo lgetfilecon.lo load_policy.lo lsetfilecon.lo matchmediacon.lo matchpathcon.lo policyvers.lo query_user_context.lo rpm.lo selinux_config.lo setenforce.lo setexeccon.lo setfilecon.lo setfscreatecon.lo libselinux.a  libselinux.so.1 libselinux.so 
> make[2]: Leaving directory `/build/buildd/libselinux-1.18/src'
> /usr/bin/make -C utils clean
> make[2]: Entering directory `/build/buildd/libselinux-1.18/utils'
> rm -f compute_av compute_create compute_relabel compute_user deftype execcon getcon getconlist getenforce getenforcemode getfilecon getpidcon getsebool matchpathcon mkdircon policyvers selinuxconfig selinuxdisable selinuxenabled setenforce setfilecon setsebool togglesebool *.o 
> make[2]: Leaving directory `/build/buildd/libselinux-1.18/utils'
> make[1]: Leaving directory `/build/buildd/libselinux-1.18'
> rm -rf /build/buildd/libselinux-1.18/debian/selinux-utils
> rm -rf /build/buildd/libselinux-1.18/debian/libselinux1
> rm -rf /build/buildd/libselinux-1.18/debian/libselinux1-dev
> test -f Makefile && /usr/bin/make distclean
> make[1]: Entering directory `/build/buildd/libselinux-1.18'
> make[1]: *** No rule to make target `distclean'.  Stop.
> make[1]: Leaving directory `/build/buildd/libselinux-1.18'
> make: [stamp-clean] Error 2 (ignored)
> rm -f  debian/files debian/substvars substvars.utils  stamp-arch-conf stamp-indep-conf stamp-configure-arch stamp-configure-indep stamp-configure stamp-arch-build stamp-indep-build stamp-build-arch stamp-build-indep stamp-build stamp-arch-inst stamp-indep-inst stamp-install stamp-install-arch stamp-install-indep stamp-arch-bin stamp-indep-bin stamp-binary stamp-binary-arch stamp-binary-indep stamp-build-libselinux1
> rm -rf 
> rm -f core `find . \( -name '*.orig' -o -name '*.rej' -o -name '*~'     \
>          -o -name '*.bak' -o -name '#*#' -o -name '.*.orig'              \
> 	 -o -name '.*.rej' -o -name '.SUMS' -o -size 0 \) -print` TAGS
>  debian/rules build
> ====== making (creating) build/libselinux1 ======
> /usr/bin/make CC="cc" CFLAGS="-O2" LDFLAGS="-s"
> make[1]: Entering directory `/build/buildd/libselinux-1.18'
> /usr/bin/make -C src 
> make[2]: Entering directory `/build/buildd/libselinux-1.18/src'
> cc -O2 -I../include -D_GNU_SOURCE -c -o avc.o avc.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o avc_internal.o avc_internal.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o avc_sidtab.o avc_sidtab.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o booleans.o booleans.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o checkAccess.o checkAccess.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o check_context.o check_context.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o compute_av.o compute_av.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o compute_create.o compute_create.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o compute_relabel.o compute_relabel.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o compute_user.o compute_user.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o context.o context.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o disable.o disable.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o enabled.o enabled.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o fgetfilecon.o fgetfilecon.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o freecon.o freecon.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o freeconary.o freeconary.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o fsetfilecon.o fsetfilecon.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o get_context_list.o get_context_list.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o get_default_type.o get_default_type.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o getcon.o getcon.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o getenforce.o getenforce.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o getexeccon.o getexeccon.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o getfilecon.o getfilecon.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o getfscreatecon.o getfscreatecon.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o getpeercon.o getpeercon.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o getpidcon.o getpidcon.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o getprevcon.o getprevcon.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o init.o init.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o lgetfilecon.o lgetfilecon.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o load_policy.o load_policy.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o lsetfilecon.o lsetfilecon.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o matchmediacon.o matchmediacon.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o matchpathcon.o matchpathcon.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o policyvers.o policyvers.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o query_user_context.o query_user_context.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o rpm.o rpm.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o selinux_config.o selinux_config.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o setenforce.o setenforce.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o setexeccon.o setexeccon.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o setfilecon.o setfilecon.c
> cc -O2 -I../include -D_GNU_SOURCE -c -o setfscreatecon.o setfscreatecon.c
> ar rcs libselinux.a avc.o avc_internal.o avc_sidtab.o booleans.o checkAccess.o check_context.o compute_av.o compute_create.o compute_relabel.o compute_user.o context.o disable.o enabled.o fgetfilecon.o freecon.o freeconary.o fsetfilecon.o get_context_list.o get_default_type.o getcon.o getenforce.o getexeccon.o getfilecon.o getfscreatecon.o getpeercon.o getpidcon.o getprevcon.o init.o lgetfilecon.o load_policy.o lsetfilecon.o matchmediacon.o matchpathcon.o policyvers.o query_user_context.o rpm.o selinux_config.o setenforce.o setexeccon.o setfilecon.o setfscreatecon.o
> ranlib libselinux.a
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o avc.lo avc.c
> /tmp/ccHLEY94.s: Assembler messages:
> /tmp/ccHLEY94.s:2198: Warning: Tried to set unrecognized symbol: avc_av_stats,avc_av_stats_internal
> 
> /tmp/ccHLEY94.s:2642: Warning: Tried to set unrecognized symbol: avc_cleanup,avc_cleanup_internal
> 
> /tmp/ccHLEY94.s:2798: Warning: Tried to set unrecognized symbol: avc_reset,avc_reset_internal
> 
> /tmp/ccHLEY94.s:3596: Warning: Tried to set unrecognized symbol: avc_audit,avc_audit_internal
> 
> /tmp/ccHLEY94.s:3844: Warning: Tried to set unrecognized symbol: avc_has_perm_noaudit,avc_has_perm_noaudit_internal
> 
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o avc_internal.lo avc_internal.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o avc_sidtab.lo avc_sidtab.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o booleans.lo booleans.c
> /tmp/ccC86wRM.s: Assembler messages:
> /tmp/ccC86wRM.s:710: Warning: Tried to set unrecognized symbol: security_set_boolean,security_set_boolean_internal
> 
> /tmp/ccC86wRM.s:800: Warning: Tried to set unrecognized symbol: security_commit_booleans,security_commit_booleans_internal
> 
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o checkAccess.lo checkAccess.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o check_context.lo check_context.c
> /tmp/ccUpzU4u.s: Assembler messages:
> /tmp/ccUpzU4u.s:77: Warning: Tried to set unrecognized symbol: security_check_context,security_check_context_internal
> 
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o compute_av.lo compute_av.c
> /tmp/ccvsztaa.s: Assembler messages:
> /tmp/ccvsztaa.s:163: Warning: Tried to set unrecognized symbol: security_compute_av,security_compute_av_internal
> 
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o compute_create.lo compute_create.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o compute_relabel.lo compute_relabel.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o compute_user.lo compute_user.c
> /tmp/cc3wSs22.s: Assembler messages:
> /tmp/cc3wSs22.s:229: Warning: Tried to set unrecognized symbol: security_compute_user,security_compute_user_internal
> 
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o context.lo context.c
> /tmp/cc0D5SPc.s: Assembler messages:
> /tmp/cc0D5SPc.s:301: Warning: Tried to set unrecognized symbol: context_new,context_new_internal
> 
> /tmp/cc0D5SPc.s:426: Warning: Tried to set unrecognized symbol: context_free,context_free_internal
> 
> /tmp/cc0D5SPc.s:532: Warning: Tried to set unrecognized symbol: context_str,context_str_internal
> 
> /tmp/cc0D5SPc.s:748: Warning: Tried to set unrecognized symbol: context_type_set,context_type_set_internal
> 
> /tmp/cc0D5SPc.s:783: Warning: Tried to set unrecognized symbol: context_role_set,context_role_set_internal
> 
> /tmp/cc0D5SPc.s:818: Warning: Tried to set unrecognized symbol: context_user_set,context_user_set_internal
> 
> /tmp/cc0D5SPc.s:870: Warning: Tried to set unrecognized symbol: context_range_set,context_range_set_internal
> 
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o disable.lo disable.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o enabled.lo enabled.c
> /tmp/ccJU3LqD.s: Assembler messages:
> /tmp/ccJU3LqD.s:153: Warning: Tried to set unrecognized symbol: is_selinux_enabled,is_selinux_enabled_internal
> 
> /tmp/ccJU3LqD.s:257: Warning: Tried to set unrecognized symbol: is_selinux_mls_enabled,is_selinux_mls_enabled_internal
> 
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o fgetfilecon.lo fgetfilecon.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o freecon.lo freecon.c
> /tmp/cczahCSw.s: Assembler messages:
> /tmp/cczahCSw.s:36: Warning: Tried to set unrecognized symbol: freecon,freecon_internal
> 
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o freeconary.lo freeconary.c
> /tmp/ccBdnbbw.s: Assembler messages:
> /tmp/ccBdnbbw.s:74: Warning: Tried to set unrecognized symbol: freeconary,freeconary_internal
> 
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o fsetfilecon.lo fsetfilecon.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o get_context_list.lo get_context_list.c
> /tmp/cchv0GS6.s: Assembler messages:
> /tmp/cchv0GS6.s:1623: Warning: Tried to set unrecognized symbol: get_ordered_context_list,get_ordered_context_list_internal
> 
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o get_default_type.lo get_default_type.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o getcon.lo getcon.c
> /tmp/ccX9sUTb.s: Assembler messages:
> /tmp/ccX9sUTb.s:103: Warning: Tried to set unrecognized symbol: getcon,getcon_internal
> 
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o getenforce.lo getenforce.c
> /tmp/ccHtE4gR.s: Assembler messages:
> /tmp/ccHtE4gR.s:103: Warning: Tried to set unrecognized symbol: security_getenforce,security_getenforce_internal
> 
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o getexeccon.lo getexeccon.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o getfilecon.lo getfilecon.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o getfscreatecon.lo getfscreatecon.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o getpeercon.lo getpeercon.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o getpidcon.lo getpidcon.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o getprevcon.lo getprevcon.c
> /tmp/ccRg69kV.s: Assembler messages:
> /tmp/ccRg69kV.s:103: Warning: Tried to set unrecognized symbol: getprevcon,getprevcon_internal
> 
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o init.lo init.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o lgetfilecon.lo lgetfilecon.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o load_policy.lo load_policy.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o lsetfilecon.lo lsetfilecon.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o matchmediacon.lo matchmediacon.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o matchpathcon.lo matchpathcon.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o policyvers.lo policyvers.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o query_user_context.lo query_user_context.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o rpm.lo rpm.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o selinux_config.lo selinux_config.c
> /tmp/cc7EDsEr.s: Assembler messages:
> /tmp/cc7EDsEr.s:522: Warning: Tried to set unrecognized symbol: selinux_default_type_path,selinux_default_type_path_internal
> 
> /tmp/cc7EDsEr.s:569: Warning: Tried to set unrecognized symbol: selinux_default_context_path,selinux_default_context_path_internal
> 
> /tmp/cc7EDsEr.s:602: Warning: Tried to set unrecognized symbol: selinux_failsafe_context_path,selinux_failsafe_context_path_internal
> 
> /tmp/cc7EDsEr.s:635: Warning: Tried to set unrecognized symbol: selinux_removable_context_path,selinux_removable_context_path_internal
> 
> /tmp/cc7EDsEr.s:696: Warning: Tried to set unrecognized symbol: selinux_file_context_path,selinux_file_context_path_internal
> 
> /tmp/cc7EDsEr.s:785: Warning: Tried to set unrecognized symbol: selinux_user_contexts_path,selinux_user_contexts_path_internal
> 
> /tmp/cc7EDsEr.s:818: Warning: Tried to set unrecognized symbol: selinux_booleans_path,selinux_booleans_path_internal
> 
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o setenforce.lo setenforce.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o setexeccon.lo setexeccon.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o setfilecon.lo setfilecon.c
> cc -O2 -I../include -D_GNU_SOURCE -fpic -DSHARED -c -o setfscreatecon.lo setfscreatecon.c
> cc -s -shared -o libselinux.so.1 avc.lo avc_internal.lo avc_sidtab.lo booleans.lo checkAccess.lo check_context.lo compute_av.lo compute_create.lo compute_relabel.lo compute_user.lo context.lo disable.lo enabled.lo fgetfilecon.lo freecon.lo freeconary.lo fsetfilecon.lo get_context_list.lo get_default_type.lo getcon.lo getenforce.lo getexeccon.lo getfilecon.lo getfscreatecon.lo getpeercon.lo getpidcon.lo getprevcon.lo init.lo lgetfilecon.lo load_policy.lo lsetfilecon.lo matchmediacon.lo matchpathcon.lo policyvers.lo query_user_context.lo rpm.lo selinux_config.lo setenforce.lo setexeccon.lo setfilecon.lo setfscreatecon.lo -Wl,-soname,libselinux.so.1,-z,defs
> get_context_list.lo(.text+0xd4): In function `get_default_context_with_role':
> : undefined reference to `context_new'
> get_context_list.lo(.text+0x134): In function `get_default_context_with_role':
> : undefined reference to `context_free'
> get_context_list.lo(.text+0x164): In function `get_default_context_with_role':
> : undefined reference to `context_free'
> rpm.lo(.text+0x54): In function `rpm_execcon':
> : undefined reference to `getcon'
> rpm.lo(.text+0xf4): In function `rpm_execcon':
> : undefined reference to `context_new'
> rpm.lo(.text+0x120): In function `rpm_execcon':
> : undefined reference to `context_type_set'
> rpm.lo(.text+0x140): In function `rpm_execcon':
> : undefined reference to `freecon'
> rpm.lo(.text+0x158): In function `rpm_execcon':
> : undefined reference to `context_str'
> rpm.lo(.text+0x1c0): In function `rpm_execcon':
> : undefined reference to `context_free'
> rpm.lo(.text+0x1d8): In function `rpm_execcon':
> : undefined reference to `freecon'
> rpm.lo(.text+0x1f0): In function `rpm_execcon':
> : undefined reference to `freecon'
> rpm.lo(.text+0x208): In function `rpm_execcon':
> : undefined reference to `freecon'
> collect2: ld returned 1 exit status
> make[2]: *** [libselinux.so.1] Error 1
> make[2]: Leaving directory `/build/buildd/libselinux-1.18/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/build/buildd/libselinux-1.18'
> make: *** [build/libselinux1] Error 2
> ******************************************************************************
> Build finished at 20041103-2129
> FAILED [dpkg-buildpackage died]
> Purging chroot-unstable/build/buildd/libselinux-1.18
> ------------------------------------------------------------------------------
>   /usr/bin/sudo dpkg --root=/data1/buildd/build/chroot-unstable --purge file libmagic1
> (Reading database ... 7906 files and directories currently installed.)
> Removing file ...
> Purging configuration files for file ...
> Removing libmagic1 ...
> Purging configuration files for libmagic1 ...
> ******************************************************************************
> Finished at 20041103-2129
> Build needed 00:04:04, 2780k disk space
> 
> Ryan Murray <rmurray@debian.org <mailto:rmurray@debian.org>>
> 
> 	( index <index.php> | build logs <build.php> )
> 
> 
> 
> 
> 	manoj
> -- 
> Avoid the Gates of Hell.  Use Linux (Unknown source)
> Manoj Srivastava   <srivasta@debian.org>  <http://www.debian.org/%7Esrivasta/>
> 1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C

Reply to: