From ernst@zaphod.euronet.nl  Mon May 12 03:51:35 2003
Return-Path: <ernst@zaphod.euronet.nl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 97FDD37B401
	for <FreeBSD-gnats-submit@FreeBSD.ORG>; Mon, 12 May 2003 03:51:35 -0700 (PDT)
Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B580E43FE0
	for <FreeBSD-gnats-submit@FreeBSD.ORG>; Mon, 12 May 2003 03:51:34 -0700 (PDT)
	(envelope-from ernst@zaphod.euronet.nl)
Received: from zaphod.euronet.nl (localhost [127.0.0.1])
	by zaphod.euronet.nl (8.12.9/8.12.9) with ESMTP id h4CApc4G047275;
	Mon, 12 May 2003 12:51:38 +0200 (CEST)
	(envelope-from ernst@zaphod.euronet.nl)
Received: from localhost (localhost [[UNIX: localhost]])
	by zaphod.euronet.nl (8.12.9/8.12.9/Submit) id h4CApcAH047274;
	Mon, 12 May 2003 12:51:38 +0200 (CEST)
Message-Id: <200305121251.38103.znerd@FreeBSD.org>
Date: Mon, 12 May 2003 12:51:38 +0200
From: Ernst de Haan <znerd@FreeBSD.ORG>
To: Maxim Sobolev <sobomax@portaone.com>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
In-Reply-To: <20030512104302.GE10011@vega.vega.com>
Subject: Re: devel/sdl12 build failure on 4.8-S
References: <200305120750.h4C7oBvK087005@zaphod.euronet.nl> <200305121223.06670.znerd@FreeBSD.org> <20030512104302.GE10011@vega.vega.com>

>Number:         52104
>Category:       ports
>Synopsis:       Re: devel/sdl12 build failure on 4.8-S
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 12 04:00:29 PDT 2003
>Closed-Date:    Mon May 19 04:55:33 PDT 2003
>Last-Modified:  Mon May 19 04:55:33 PDT 2003
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 $ grep -n report_size /usr/include/libusbhid.h
 51:     int report_size;
 89:int hid_report_size(report_desc_t d, unsigned int id, enum hid_kind k);
 
 Ernst
 
 On Monday 12 May 2003 12:43, Maxim Sobolev wrote:
 > Weird. Please do the following:
 >
 > $ grep report_size /usr/include/libusbhid.h
 >
 > And send me the output.
 >
 > -Maxim
 >
 > On Mon, May 12, 2003 at 12:23:06PM +0200, Ernst de Haan wrote:
 > > Have not both:
 > >
 > > $ ls /usr/include/usbhid.h
 > > ls: /usr/include/usbhid.h: No such file or directory
 > > $ ls /usr/include/libusbhid.h
 > > /usr/include/libusbhid.h
 > >
 > > I haven't had FreeBSD 5 on this system yet...
 > >
 > > Ernst
 > >
 > > On Monday 12 May 2003 12:21, Maxim Sobolev wrote:
 > > > Check that you don't have both /usr/include/usbhid.h and
 > > > /use/include/libusbhid.h. The former is from 5-CURRENT and the latter
 > > > is from 4-STABLE. You can have both if you first installed 5-CURRENT
 > > > and then falled back to 4.x. If so, remore /usr/include/usbhid.h
 > > > and try again (make clean all). Please let me know whether it helps
 > > > or not.
 > > >
 > > > -Maxim
 > > >
 > > > On Mon, May 12, 2003 at 09:50:11AM +0200, Ernst de Haan wrote:
 > > > > >Submitter-Id:	current-users
 > > > > >Originator:	Ernst de Haan
 > > > > >Organization:	FreeBSD Project
 > > > > >Confidential:	no
 > > > > >Synopsis:	devel/sdl12 build failure on 4.8-S
 > > > > >Severity:	serious
 > > > > >Priority:	medium
 > > > > >Category:	ports
 > > > > >Class:		sw-bug
 > > > > >Release:	FreeBSD 4.8-STABLE i386
 > > > > >Environment:
 > > > >
 > > > > System: FreeBSD zaphod.euronet.nl 4.8-STABLE FreeBSD 4.8-STABLE
 > > > > #14: Tue Apr 22 11:40:33 CEST 2003
 > > > > root@zaphod.euronet.nl:/usr/obj/usr/src/sys/ZAPHOD i386
 > > > >
 > > > > >Description:
 > > > >
 > > > > When 'make install'-ing devel/sdl12, the build fails. Note that
 > > > > sdl12 is a requirement for building multimedia/avifile.
 > > > >
 > > > > Tail:
 > > > >
 > > > > cc -DPACKAGE=\"SDL\" -DVERSION=\"1.2.5\" -DHAVE_ALLOCA=1 -I. -I. -O
 > > > > -pipe -march=pentiumpro -D_THREAD_SAFE -DHAVE_LIBUSBHID_H -Wall
 > > > > -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_ASMBLIT -I./hermes
 > > > > -I../../../src/hermes -DOSS_SUPPORT -DARTSC_SUPPORT
 > > > > -I/usr/local/include/artsc -DESD_SUPPORT -I/usr/local/include
 > > > > -I/usr/X11R6/include -DENABLE_X11 -I./include -I./src/video
 > > > > -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE
 > > > > -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA -Isrc/video
 > > > > -DENABLE_DGA -DENABLE_SVGALIB -DENABLE_AALIB -DHAVE_OPENGL
 > > > > -D_REENTRANT -D_THREAD_SAFE
 > > > > -DSDL_USE_PTHREADS
 > > > > -DPTHREAD_NO_RECURSIVE_MUTEX -DHAVE_SEMUN -DHAVE_LIBUSB_H
 > > > > -DHAVE_LIBUSBHID_H -DUSBHID_UCR_DATA -I../../../include
 > > > > -I../../../include/SDL -I../../../src -I../../../src/freebsd
 > > > > -I../../../src/main -I../../../src/audio -I../../../src/video
 > > > > -I../../../src/video/XFree86/extensions
 > > > > -I../../../src/events -I../../../src/joystick -I../../../src/cdrom
 > > > > -I../../../src/thread -I../../../src/timer -I../../../src/endian
 > > > > -I../../../src/file -c SDL_sysjoystick.c  -fPIC -DPIC -o
 > > > > .libs/SDL_sysjoystick.lo
 > > > > SDL_sysjoystick.c: In function `report_alloc':
 > > > > SDL_sysjoystick.c:410: incompatible type for argument 3 of
 > > > > `hid_report_size' *** Error code 1
 > > > >
 > > > > Stop in /usr/ports/devel/sdl12/work/SDL-1.2.5/src/joystick/bsd.
 > > > > *** Error code 1
 > > > >
 > > > > Stop in /usr/ports/devel/sdl12/work/SDL-1.2.5/src/joystick.
 > > > > *** Error code 1
 > > > >
 > > > > Stop in /usr/ports/devel/sdl12/work/SDL-1.2.5/src.
 > > > > *** Error code 1
 > > > >
 > > > > Stop in /usr/ports/devel/sdl12/work/SDL-1.2.5.
 > > > > *** Error code 1
 > > > >
 > > > > Stop in /usr/ports/devel/sdl12.
 > > > >
 > > > > >How-To-Repeat:
 > > > >
 > > > > * Have a FreeBSD 4.8-S system
 > > > > * cvsup ports
 > > > > * cd /usr/ports/devel/sdl12
 > > > > * make install
 > > > >
 > > > > >Fix:
 > > > >
 > > > > Unknown :-(
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: keramida 
State-Changed-When: Mon May 19 04:55:16 PDT 2003 
State-Changed-Why:  
Followup to ports/52093 misfiled as a new PR. 

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