libselinux doesn't build on mips and mipsel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libselinux (Debian) |
Fix Released
|
Unknown
|
|||
libselinux (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Automatically imported from Debian bug report #281464 http://
Debian Bug Importer (debzilla) wrote : | #1 |
Debian Bug Importer (debzilla) wrote : | #2 |
Message-Id: <email address hidden>
Date: Tue, 16 Nov 2004 02:14:41 +0100
From: Adrian Bunk <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: libselinux doesn't build on mips and mipsel
Package: libselinux
Version: 1.18-1
Severity: serious
buildd.debian.org lists the following build error on
mips and mipsel:
<-- snip -->
...
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_rela
bel.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 ge
tpidcon.lo getprevcon.lo init.lo lgetfilecon.lo load_policy.lo lsetfilecon.lo m
atchmediacon.lo matchpathcon.lo policyvers.lo query_user_
nux_config.lo setenforce.lo setexeccon.lo setfilecon.lo setfscreatecon.lo -Wl,-
soname,
get_context_
: undefined reference to `context_new'
get_context_
: undefined reference to `context_free'
get_context_
: 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(
: undefined reference to `context_type_set'
rpm.lo(
: undefined reference to `freecon'
rpm.lo(
: undefined reference to `context_str'
rpm.lo(
: undefined reference to `context_free'
rpm.lo(
: undefined reference to `freecon'
rpm.lo(
: undefined reference to `freecon'
rpm.lo(
: undefined reference to `freecon'
collect2: ld returned 1 exit status
make[2]: *** [libselinux.so.1] Error 1
make[2]: Leaving directory `/build/
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/
make: *** [build/libselinux1] Error 2
<-- snip -->
In Debian Bug tracker #281464, Manoj (srivasta) wrote : Re: Bug#281464: libselinux doesn't build on mips and mipsel | #3 |
reassign 281464 gcc
severity 281464 grave
thanks
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.
/tmp/ccHLEY94.
/tmp/ccHLEY94.
/tmp/ccHLEY94.
/tmp/ccHLEY94.
=======
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.
manoj
--
Avoid the Gates of Hell. Use Linux (Unknown source)
Manoj Srivastava <email address hidden> <http://
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Debian Bug Importer (debzilla) wrote : | #4 |
Message-ID: <email address hidden>
Date: Tue, 16 Nov 2004 00:38:52 -0600
From: Manoj Srivastava <email address hidden>
To: Adrian Bunk <email address hidden>
Cc: <email address hidden>, <email address hidden>, <email address hidden>
Subject: Re: Bug#281464: libselinux doesn't build on mips and mipsel
--=-=-=
reassign 281464 gcc
severity 281464 grave
thanks
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.
/tmp/ccHLEY94.
/tmp/ccHLEY94.
/tmp/ccHLEY94.
/tmp/ccHLEY94.
=======
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.
--=-=-=
Content-
Content-
Content-
File `log' in libselinux_
libselinux <build.
<build.
<build.
> 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://
Get:2 http://
Get:3 http://
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 un...
In Debian Bug tracker #281464, Matthias Klose (doko-cs) wrote : | #5 |
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.
>
> /tmp/ccHLEY94.
>
> /tmp/ccHLEY94.
>
> /tmp/ccHLEY94.
>
> /tmp/ccHLEY94.
> =======
>
> 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_
>
> libselinux <build.
> <build.
> <build.
>
> 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://
> Get:2 http://
> Get:3 http://
> 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 directorie...
In Debian Bug tracker #281464, Manoj (srivasta) wrote : Bug#281464: fixed in libselinux 1.18-2 | #6 |
Source: libselinux
Source-Version: 1.18-2
We believe that the bug you reported is fixed in the latest version of
libselinux, which is due to be installed in the Debian FTP archive:
libselinux1-
to pool/main/
libselinux1_
to pool/main/
libselinux_
to pool/main/
libselinux_
to pool/main/
selinux-
to pool/main/
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Manoj Srivastava <email address hidden> (supplier of updated libselinux package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 16 Nov 2004 01:34:13 -0600
Source: libselinux
Binary: libselinux1-dev selinux-utils libselinux1
Architecture: source i386
Version: 1.18-2
Distribution: unstable
Urgency: low
Maintainer: Manoj Srivastava <email address hidden>
Changed-By: Manoj Srivastava <email address hidden>
Description:
libselinux1 - SELinux shared libraries
libselinux1-dev - SELinux development headers
selinux-utils - SELinux utility programs
Closes: 281464
Changes:
libselinux (1.18-2) unstable; urgency=low
.
* Bug fix: "libselinux doesn't build on mips and mipsel", thanks to
Adrian Bunk. (Closes: #281464).
Files:
534f1db80e2ae2
e9473570b3f724
ab08687f9ded3e
dd57802bb45dc8
f5da92206a9ce0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBmbptIbr
5EYi2TZYlqv94o8
=FbZ/
-----END PGP SIGNATURE-----
Debian Bug Importer (debzilla) wrote : | #7 |
Message-ID: <email address hidden>
Date: Tue, 16 Nov 2004 09:43:00 +0100
From: Matthias Klose <email address hidden>
To: Manoj Srivastava <email address hidden>
Cc: Adrian Bunk <email address hidden>, <email address hidden>, <email address hidden>,
Thiemo Seufer <email address hidden>
Subject: Re: Bug#281464: libselinux doesn't build on mips and mipsel
b2hoLCBNci4gQnV
Ck1hbm9qIFNyaXZ
dmVyaXR5IDI4MTQ
Y2MgYnVnLCBub3Q
IDMuNC4NCg0KPiB
bGludXggdG8gZmF
c2VsIChidWlsZCB
YW5kIG1pcHNlbCw
Cj4gIGZhaWx1cmV
PT09PT09PT09PT0
PT09PQ0KPiBjYyA
RUQgLWMgLW8gYXZ
c3NhZ2VzOg0KPiA
IHVucmVjb2duaXp
YWwNCj4gDQo+
dW5yZWNvZ25pemV
Cj4gDQo+
ZWNvZ25pemVkIHN
L3RtcC9jY0hMRVk
ZWQgc3ltYm9sOiB
SExFWTk0LnM6Mzg
b2w6IGF2Y19oYXN
DQo+ID09PT09PT0
PT09PT09PT09PT0
IG9uIGFsbCBvdGh
bm90IGp1c3QgaTM
ZXJzIGZhaWwgdG8
ZSBub3QNCj4gIGV
eCBvdXQgb2YgdGV
bnV4XzEuMTgtMV9
ZC5waHA/
aHA/JnBrZz1saWJ
MQ0KPiA8YnVpbGQ
dGFtcD0xMDk5Njk
ZWxpbnV4XzEuMTg
bGQgc3RhcnRlZCB
KioqKioqKioqKio
Kg0KPiBDaGVja2l
IHNvdXJjZSBmaWx
Debian Bug Importer (debzilla) wrote : | #8 |
Message-Id: <email address hidden>
Date: Tue, 16 Nov 2004 03:47:04 -0500
From: Manoj Srivastava <email address hidden>
To: <email address hidden>
Subject: Bug#281464: fixed in libselinux 1.18-2
Source: libselinux
Source-Version: 1.18-2
We believe that the bug you reported is fixed in the latest version of
libselinux, which is due to be installed in the Debian FTP archive:
libselinux1-
to pool/main/
libselinux1_
to pool/main/
libselinux_
to pool/main/
libselinux_
to pool/main/
selinux-
to pool/main/
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Manoj Srivastava <email address hidden> (supplier of updated libselinux package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 16 Nov 2004 01:34:13 -0600
Source: libselinux
Binary: libselinux1-dev selinux-utils libselinux1
Architecture: source i386
Version: 1.18-2
Distribution: unstable
Urgency: low
Maintainer: Manoj Srivastava <email address hidden>
Changed-By: Manoj Srivastava <email address hidden>
Description:
libselinux1 - SELinux shared libraries
libselinux1-dev - SELinux development headers
selinux-utils - SELinux utility programs
Closes: 281464
Changes:
libselinux (1.18-2) unstable; urgency=low
.
* Bug fix: "libselinux doesn't build on mips and mipsel", thanks to
Adrian Bunk. (Closes: #281464).
Files:
534f1db80e2ae2
e9473570b3f724
ab08687f9ded3e
dd57802bb45dc8
f5da92206a9ce0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBmbptIbr
5EYi2TZYlqv94o8
=FbZ/
-----END PGP SIGNATURE-----
In Debian Bug tracker #281464, Manoj (srivasta) wrote : Oops. turns out it was a libselinux bug after all | #9 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 16 Nov 2004 01:34:13 -0600
Source: libselinux
Binary: libselinux1-dev selinux-utils libselinux1
Architecture: source i386
Version: 1.18-2
Distribution: unstable
Urgency: low
Maintainer: Manoj Srivastava <email address hidden>
Changed-By: Manoj Srivastava <email address hidden>
Description:
libselinux1 - SELinux shared libraries
libselinux1-dev - SELinux development headers
selinux-utils - SELinux utility programs
Closes: 281464
Changes:
libselinux (1.18-2) unstable; urgency=low
.
* Bug fix: "libselinux doesn't build on mips and mipsel", thanks to
Adrian Bunk. (Closes: #281464).
Files:
534f1db80e2ae2
e9473570b3f724
ab08687f9ded3e
dd57802bb45dc8
f5da92206a9ce0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBmbptIbr
5EYi2TZYlqv94o8
=FbZ/
-----END PGP SIGNATURE-----
--
Your domestic life may be harmonious.
Manoj Srivastava <email address hidden> <http://
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Debian Bug Importer (debzilla) wrote : | #10 |
Message-ID: <email address hidden>
Date: Tue, 16 Nov 2004 09:14:45 -0600
From: Manoj Srivastava <email address hidden>
To: <email address hidden>
Subject: Oops. turns out it was a libselinux bug after all
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 16 Nov 2004 01:34:13 -0600
Source: libselinux
Binary: libselinux1-dev selinux-utils libselinux1
Architecture: source i386
Version: 1.18-2
Distribution: unstable
Urgency: low
Maintainer: Manoj Srivastava <email address hidden>
Changed-By: Manoj Srivastava <email address hidden>
Description:
libselinux1 - SELinux shared libraries
libselinux1-dev - SELinux development headers
selinux-utils - SELinux utility programs
Closes: 281464
Changes:
libselinux (1.18-2) unstable; urgency=low
.
* Bug fix: "libselinux doesn't build on mips and mipsel", thanks to
Adrian Bunk. (Closes: #281464).
Files:
534f1db80e2ae2
e9473570b3f724
ab08687f9ded3e
dd57802bb45dc8
f5da92206a9ce0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBmbptIbr
5EYi2TZYlqv94o8
=FbZ/
-----END PGP SIGNATURE-----
--
Your domestic life may be harmonious.
Manoj Srivastava <email address hidden> <http://
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
In Debian Bug tracker #281464, Thiemo Seufer (ica2-ts) wrote : Re: Bug#281464: libselinux doesn't build on mips and mipsel | #11 |
Matthias Klose wrote:
> 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.
Guessing from the buildlog: Neither nor. It looks more like the build
system is broken for mips/mipsel.
Thiemo
Debian Bug Importer (debzilla) wrote : | #12 |
Message-ID: <email address hidden>
Date: Tue, 16 Nov 2004 20:09:03 +0100
From: Thiemo Seufer <email address hidden>
To: Matthias Klose <email address hidden>
Cc: Manoj Srivastava <email address hidden>, Adrian Bunk <email address hidden>,
<email address hidden>, <email address hidden>
Subject: Re: Bug#281464: libselinux doesn't build on mips and mipsel
Matthias Klose wrote:
> 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.
Guessing from the buildlog: Neither nor. It looks more like the build
system is broken for mips/mipsel.
Thiemo
Daniel Stone (daniels) wrote : | #13 |
lucky we don't do mips, then
Changed in libselinux: | |
status: | Unknown → Fix Released |
Automatically imported from Debian bug report #281464 http:// bugs.debian. org/281464