Opened 16 years ago

Closed 16 years ago

#265 closed defect (fixed)

mindi-busybox fails to build on Fedora 9

Reported by: Matt Anderson Owned by: Bruno Cornec
Priority: normal Milestone: 2.2.7
Component: mindi-busybox Version: 2.2.6
Severity: normal Keywords:


When attempting to build mindi-busybox from the source rpm the build fails on Fedora 9 with an error about a missing include file <asm/page.h> After a brief search it seems that Debian also had this problem and was able to get around it by removing the include line in question.

This seems to work on Fedora as well (it builds, in a bit I'll check to see if it runs ;)

This is the patch I used to build the rpm:

--- mindi-busybox-1.2.2/util-linux/mkswap.c	2006-09-23 17:32:34.000000000 -0400
+++ mindi-busybox-1.2.2/util-linux/mkswap.c-new	2008-06-25 11:44:04.000000000 -0400
@@ -41,8 +41,6 @@
 #include <fcntl.h>
 #include <sys/ioctl.h>			/* for _IO */
 #include <sys/utsname.h>
-#include <asm/page.h>			/* for PAGE_SIZE and PAGE_SHIFT */
-				/* we also get PAGE_SIZE via getpagesize() */
 static char *device_name = NULL;
 static int DEV = -1;

Change History (2)

comment:1 by Bruno Cornec, 16 years ago

Status: newassigned

Indeed I forgot to re-build mindi-busybox, thus I didn't see that. I now need a new feature in project-builder to support patches :-( Will come back to you with that asap.

comment:2 by Bruno Cornec, 16 years ago

Resolution: fixed
Status: assignedclosed

Fix in rev [579] of project-builder

Note: See TracTickets for help on using tickets.