From fenner@fenestro.attlabs.att.com  Thu Jun  3 15:48:17 2004
Return-Path: <fenner@fenestro.attlabs.att.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5D7A316A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  3 Jun 2004 15:48:17 -0700 (PDT)
Received: from fenestro.attlabs.att.com (c-24-6-154-239.client.comcast.net [24.6.154.239])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D1AB943D54
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  3 Jun 2004 15:48:14 -0700 (PDT)
	(envelope-from fenner@fenestro.attlabs.att.com)
Received: from fenestro.attlabs.att.com (localhost [127.0.0.1])
	by fenestro.attlabs.att.com (8.12.9p2/8.12.9) with ESMTP id i53MlvG3050345
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 3 Jun 2004 15:47:57 -0700 (PDT)
	(envelope-from fenner@fenestro.attlabs.att.com)
Received: (from fenner@localhost)
	by fenestro.attlabs.att.com (8.12.9p2/8.12.9/Submit) id i53Mlu1f050344;
	Thu, 3 Jun 2004 15:47:56 -0700 (PDT)
	(envelope-from fenner)
Message-Id: <200406032247.i53Mlu1f050344@fenestro.attlabs.att.com>
Date: Thu, 3 Jun 2004 15:47:56 -0700 (PDT)
From: Bill Fenner <fenner@research.att.com>
Reply-To: Bill Fenner <fenner@research.att.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: linux_devtools port needs to install kernel headers
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         67548
>Category:       ports
>Synopsis:       linux_devtools port needs to install kernel headers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    trevor
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 03 15:50:22 PDT 2004
>Closed-Date:    Wed Jun 23 08:13:43 GMT 2004
>Last-Modified:  Wed Jun 23 08:13:43 GMT 2004
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->trevor 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Jun 3 16:18:20 PDT 2004 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=67548 
State-Changed-From-To: open->closed 
State-Changed-By: vs 
State-Changed-When: Wed Jun 23 08:13:16 GMT 2004 
State-Changed-Why:  
Duplicate of ports/65940 

http://www.freebsd.org/cgi/query-pr.cgi?pr=67548 
>Unformatted:
