From nobody@FreeBSD.org  Tue Sep 10 22:07:46 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 11726A1A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 10 Sep 2013 22:07:46 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id D9178207D
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 10 Sep 2013 22:07:45 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8AM7jbv085918
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 10 Sep 2013 22:07:45 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8AM7j7S085911;
	Tue, 10 Sep 2013 22:07:45 GMT
	(envelope-from nobody)
Message-Id: <201309102207.r8AM7j7S085911@oldred.freebsd.org>
Date: Tue, 10 Sep 2013 22:07:45 GMT
From: Wolfgang Zenker <wolfgang@lyxys.ka.sub.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: graphics/dri build error
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         181999
>Category:       ports
>Synopsis:       graphics/dri build error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-x11
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 10 22:10:00 UTC 2013
>Closed-Date:    Sat Sep 21 15:19:30 UTC 2013
>Last-Modified:  Sat Sep 21 15:19:30 UTC 2013
>Originator:     Wolfgang Zenker
>Release:        CURRENT
>Organization:
>Environment:
FreeBSD merkur.lyx 10.0-CURRENT FreeBSD 10.0-CURRENT #4: Tue Sep 10 04:35:47 CEST 2013     wolfgang@merkur.lyx:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Build of graphics/dri fails with

cc -c -I../../include -I../../src/mesa -I../../src/gallium/include -I../../src/gallium/auxiliary -I/usr/local/include -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -std=c99  -fno-strict-aliasing  -fPIC  -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING glapi/glapi_getproc.c -o glapi/glapi_getproc.o
In file included from glapi/glapi_getproc.c:78:
glapi/glprocs.h:1666:67: error: use of undeclared identifier
      'driDispatchRemapTable'
    NAME_FUNC_OFFSET( 5769, glAttachShader, glAttachShader, NULL, _gloff...
                                                                  ^
glapi/glapioffsets.h:831:32: note: expanded from macro '_gloffset_AttachShader'
#define _gloffset_AttachShader driDispatchRemapTable[AttachShader_remap_index]
                               ^
glapi/glprocs.h:49:67: note: expanded from macro 'NAME_FUNC_OFFSET'
#  define NAME_FUNC_OFFSET(n,f1,f2,f3,o) { n , (_glapi_proc) f3 , o }
                                                                  ^
glapi/glprocs.h:1666:67: error: use of undeclared identifier
      'AttachShader_remap_index'
glapi/glapioffsets.h:831:54: note: expanded from macro '_gloffset_AttachShader'
#define _gloffset_AttachShader driDispatchRemapTable[AttachShader_remap_index]
                                                     ^
glapi/glprocs.h:49:67: note: expanded from macro 'NAME_FUNC_OFFSET'
#  define NAME_FUNC_OFFSET(n,f1,f2,f3,o) { n , (_glapi_proc) f3 , o }

etc .. until error-limit is reached

Build options RADEON and SWRAST were selected, but build also fails with only one or the other.

                                                                  
>How-To-Repeat:
use current/i386 after gcc removal, go to port graphics/dri, set config options RADEON and SWRAST, make
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-x11 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Sep 10 22:10:08 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

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

From: Niclas Zeising <zeising@freebsd.org>
To: bug-followup@FreeBSD.org, wolfgang@lyxys.ka.sub.org
Cc:  
Subject: Re: ports/181999: graphics/dri build error
Date: Wed, 11 Sep 2013 00:18:21 +0200

 Which version of graphics/dri are you trying to build?  Have you tried
 building with the default set of options?
 Do you have any special flags in /etc/make.conf or similar?
 Regards!
 -- 
 Niclas Zeising

From: Wolfgang Zenker <wolfgang@lyxys.ka.sub.org>
To: Niclas Zeising <zeising@freebsd.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/181999: graphics/dri build error
Date: Wed, 11 Sep 2013 09:08:54 +0200

 Hi,
 
 * Niclas Zeising <zeising@freebsd.org> [130911 00:18]:
 > Which version of graphics/dri are you trying to build?  Have you tried
 > building with the default set of options?
 > Do you have any special flags in /etc/make.conf or similar?
 
 Makefile says
 # $FreeBSD: head/graphics/dri/Makefile 319055 2013-05-25 14:37:02Z zeising $
 
 Same build error with default option set, however the port built
 ok with the same set of options about three weeks ago on current
 before the libiconv changes and gcc removal.
 
 make.conf has these flags:
 WRKDIRPREFIX=/var/ports/build
 DISTDIR=/var/ports/dist
 PACKAGES=/var/ports/packages
 WITH_PKGNG=yes
 PERL_VERSION=5.14.4
 
 Wolfgang

From: Wolfgang Zenker <wolfgang@lyxys.ka.sub.org>
To: Niclas Zeising <zeising@freebsd.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/181999: graphics/dri build error
Date: Sat, 21 Sep 2013 11:10:54 +0200

 Problem identified: Pilot error. Apparently I had my system clock set to
 a time in the future on same earlier installs, so some outdated header
 files had not been replaced and this caused the build failure.
 This problem report can be closed.
 
 Wolfgang
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sat Sep 21 15:19:11 UTC 2013 
State-Changed-Why:  
apparently a local problem. 

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