ports/67548: linux_devtools port needs to install kernel headers

Bill Fenner fenner at research.att.com
Thu Jun 3 22:50:28 UTC 2004


>Number:         67548
>Category:       ports
>Synopsis:       linux_devtools port needs to install kernel headers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 03 15:50:22 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Bill Fenner
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
AT&T Labs -- Research
>Environment:
System: FreeBSD fenestro.attlabs.att.com 4.9-RELEASE FreeBSD 4.9-RELEASE #6: Fri Nov 28 16:09:42 PST 2003 root at fenestro.attlabs.att.com:/usr/obj/usr/src/sys/FENESTRO i386


>Description:

The linux_devtools-8.0_1 port does not install the kernel headers.
Without the kernel headers, nearly any program will fail to compile,
e.g. #include <errno.h> includes <bits/errno.h> which includes
<linux/errno.h> which doesn't exist.

>How-To-Repeat:

Install linux_devtools-8.0_1 and try to compile something.

>Fix:

install kernheaders rpm; patch attached.

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/linux_devtools/Makefile,v
retrieving revision 1.42
diff -u -r1.42 Makefile
--- Makefile	10 Apr 2004 17:26:32 -0000	1.42
+++ Makefile	1 Jun 2004 04:47:09 -0000
@@ -7,11 +7,12 @@
 
 PORTNAME=		linux_devtools
 PORTVERSION=		8.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=		devel emulators linux
 MASTER_SITES=		${MASTER_SITE_REDHAT_LINUX}
 MASTER_SITE_SUBDIR=	${PORTVERSION}/${LANG}/os/${MACHINE_ARCH}/RedHat/RPMS
 DISTFILES=		glibc-devel-2.2.93-5.i386.rpm \
+			glibc-kernheaders-2.4-7.20.i386.rpm \
 			compat-libstdc++-devel-7.3-2.96.110.i386.rpm \
 			libstdc++-devel-3.2-7.i386.rpm \
 			make-3.79.1-14.i386.rpm \
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/devel/linux_devtools/distinfo,v
retrieving revision 1.8
diff -u -r1.8 distinfo
--- distinfo	17 Mar 2004 18:29:14 -0000	1.8
+++ distinfo	3 Jun 2004 22:34:27 -0000
@@ -16,6 +16,8 @@
 SIZE (rpm/i386/8.0/gdb-5.2.1-4.i386.rpm) = 1303349
 MD5 (rpm/i386/8.0/glibc-devel-2.2.93-5.i386.rpm) = b6324ccb082d61fd8419a340c5e98307
 SIZE (rpm/i386/8.0/glibc-devel-2.2.93-5.i386.rpm) = 2264199
+MD5 (rpm/i386/8.0/glibc-kernheaders-2.4-7.20.i386.rpm) = d707704a0ec9af5e650001a591636279
+SIZE (rpm/i386/8.0/glibc-kernheaders-2.4-7.20.i386.rpm) = 846425
 MD5 (rpm/i386/8.0/libstdc++-devel-3.2-7.i386.rpm) = 8eee18be94c23439282bebbc02cd4604
 SIZE (rpm/i386/8.0/libstdc++-devel-3.2-7.i386.rpm) = 3289385
 MD5 (rpm/i386/8.0/make-3.79.1-14.i386.rpm) = 1d31756f4f48f85c8ef4a7a861ffc6c5
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list