Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350604 - sys-apps/busybox-1.18.1 fails to compile on selinux systems
Summary: sys-apps/busybox-1.18.1 fails to compile on selinux systems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-04 23:05 UTC by Chris Richards
Modified: 2011-01-07 17:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
system emerge --info (emerge.info,3.83 KB, text/plain)
2011-01-04 23:10 UTC, Chris Richards
Details
busybox mkswap selinux patch (busybox-1.18.1-mkswap.patch,395 bytes, patch)
2011-01-04 23:11 UTC, Chris Richards
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Richards 2011-01-04 23:05:36 UTC
emerging the above package fails with the error:
util-linux/mkswap.c: In function 'mkswap_selinux_setcontext':
util-linux/mkswap.c::18: error: 'argv' undeclared (first use in this function)

Reproducible: Always

Steps to Reproduce:
1. Configure system for SELinux
2. Emerge sys-apps/busybox-1.18.1
3.

Actual Results:  
Fails to compile with the above error.

Expected Results:  
Compiles and installs successfully.

This appears to be due to an undocumented change introduced in 1.18.0.  1.17.4 compiles and installs just fine.
Comment 1 Chris Richards 2011-01-04 23:10:25 UTC
Created attachment 258864 [details]
system emerge --info
Comment 2 Chris Richards 2011-01-04 23:11:36 UTC
Created attachment 258866 [details, diff]
busybox mkswap selinux patch

Not exactly certain what the original intention was here, but this seems to work.
Comment 3 Chris Richards 2011-01-06 20:44:34 UTC
Patch submitted to upstream, will be fixed in 1.18.2.

Should I close this, then?
Comment 4 SpanKY gentoo-dev 2011-01-06 20:47:17 UTC
nah ... we'll close once we add to our tree.  thanks for working this out upstream for us !
Comment 5 SpanKY gentoo-dev 2011-01-07 17:30:32 UTC
ive added the current batch of 1.18.1 hotfixes which should includes your patch