From nobody@FreeBSD.org  Wed Nov  2 19:48:54 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3628916A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  2 Nov 2005 19:48:54 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 00B5543D4C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  2 Nov 2005 19:48:53 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id jA2Jmr91043396
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 2 Nov 2005 19:48:53 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id jA2Jmr9c043395;
	Wed, 2 Nov 2005 19:48:53 GMT
	(envelope-from nobody)
Message-Id: <200511021948.jA2Jmr9c043395@www.freebsd.org>
Date: Wed, 2 Nov 2005 19:48:53 GMT
From: Michael Nottebrock <lofi@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: devel/apr picks up e2fsprogs header and fails to compile
X-Send-Pr-Version: www-2.3

>Number:         88406
>Category:       ports
>Synopsis:       devel/apr-svn picks up e2fsprogs header and fails to compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    rodrigc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 02 19:50:16 GMT 2005
>Closed-Date:    Mon Jun 05 05:47:40 GMT 2006
>Last-Modified:  Mon Jun 05 05:47:40 GMT 2006
>Originator:     Michael Nottebrock
>Release:        FreeBSD 5.4-STABLE
>Organization:
FreeBSD
>Environment:
FreeBSD kiste 5.4-STABLE FreeBSD 5.4-STABLE #1: Sun Oct 16 18:16:21 CEST 2005     root@kiste:/usr/obj/usr/src/sys/KISTE-UP  i386  
>Description:
/bin/sh /usr/ports/devel/apr/work/apr-1.2.2/libtool --silent --mode=compile i386-portbld-freebsd5.4-gcc -g -O2   -DHAVE_CONFIG_H    -I./include -I/usr/ports/devel/apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/usr/ports/devel/apr/work/apr-1.2.2/include  -o misc/unix/rand.lo -c misc/unix/rand.c && touch misc/unix/rand.lo
In file included from /usr/include/uuid.h:34,
                 from misc/unix/rand.c:42:
/usr/include/sys/uuid.h:70: conflicting types for `uuid_t'
/usr/local/include/uuid/uuid.h:42: previous declaration of `uuid_t'
In file included from misc/unix/rand.c:42:
/usr/include/uuid.h:49: conflicting types for `uuid_compare'
/usr/local/include/uuid/uuid.h:71: previous declaration of `uuid_compare'
misc/unix/rand.c: In function `apr_os_uuid_get':
misc/unix/rand.c:68: incompatible type for argument 1 of `uuid_generate'
misc/unix/rand.c:70: incompatible type for argument 2 of `memcpy'
gmake[1]: *** [misc/unix/rand.lo] Fehler 1
gmake[1]: Leaving directory `/usr/ports/devel/apr/work/apr-1.2.2'
gmake: *** [all-recursive] Fehler 1
*** Error code 2


/usr/local/include/uuid/uuid.h is a header installed by the e2fsprogs port.
>How-To-Repeat:
Install sysutils/e2fsprogs, then try to install devel/apr-svn.         
>Fix:
              
>Release-Note:
>Audit-Trail:

From: Edwin Groothuis <edwin@FreeBSD.org>
To: rodrigc@crodrigues.org
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/88406: devel/apr picks up e2fsprogs header and fails to compile
Date: Wed, 2 Nov 2005 19:54:20 UT

 Maintainer of devel/apr,
 
 Please note that PR ports/88406 just has been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/88406
 
 -- 
 Edwin Groothuis
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->rodrigc 
Responsible-Changed-By: lofi 
Responsible-Changed-When: Wed Nov 2 20:22:13 GMT 2005 
Responsible-Changed-Why:  
Maintainer *is* a committer. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=88406 

From: Michael Nottebrock <lofi@freebsd.org>
To: bug-followup@freebsd.org, lofi@freebsd.org
Cc:  
Subject: Re: ports/88406: devel/apr picks up e2fsprogs header and fails to compile
Date: Wed, 2 Nov 2005 21:28:52 +0100

 N.B. This was actually observed with devel/apr-svn. I haven't checked whether 
 it also happens with devel-apr.
State-Changed-From-To: open->feedback 
State-Changed-By: rodrigc 
State-Changed-When: Thu Nov 3 01:37:11 GMT 2005 
State-Changed-Why:  
Can you verify that the patch that I committed to this port works for you? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88406 

From: Michael Nottebrock <lofi@freebsd.org>
To: bug-followup@freebsd.org, lofi@freebsd.org
Cc:  
Subject: Re: ports/88406: devel/apr-svn picks up e2fsprogs header and fails to compile
Date: Thu, 3 Nov 2005 12:12:02 +0100

 Still fails, but with less errors now:
 
 /usr/local/bin/bash /usr/ports/devel/apr-svn/work/apr-1.2.2/libtool --silent 
 --mode=compile i386-portbld-freebsd5.4-gcc -g -O2   -DHAVE_CONFIG_H    
 -I./include -I/usr/ports/devel/apr-svn/work/apr-1.2.2/include/arch/unix 
 -I./include/arch/unix -I/usr/ports/devel/apr-svn/work/apr-1.2.2/include  -o 
 misc/unix/rand.lo -c misc/unix/rand.c && touch misc/unix/rand.lo
 misc/unix/rand.c: In function `apr_os_uuid_get':
 misc/unix/rand.c:69: incompatible type for argument 2 of `memcpy'
 gmake[1]: *** [misc/unix/rand.lo] Fehler 1
 gmake[1]: Leaving directory `/usr/ports/devel/apr-svn/work/apr-1.2.2'
 gmake: *** [all-recursive] Fehler 1
 *** Error code 2
 
 Stop in /usr/ports/devel/apr-svn
State-Changed-From-To: feedback->closed 
State-Changed-By: rodrigc 
State-Changed-When: Mon Jun 5 05:46:43 UTC 2006 
State-Changed-Why:  
Should be fixed in apr-1.2.7 

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