ports/182723: dri fails to build on 9.2-Stable

Kevin Oberman rkoberman at gmail.com
Sun Oct 6 00:20:00 UTC 2013


>Number:         182723
>Category:       ports
>Synopsis:       dri fails to build on 9.2-Stable
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 06 00:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Oberman
>Release:        9.2 Stable r255452
>Organization:
ESnet
>Environment:
FreeBSD rogue.local 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0 r255452M: Tue Sep 10 11:20:05 PDT 2013     root at rogue.local:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
graphics/dri fails to build. System attempt to use gcc, but it does not handle the binary declarations of ints. This is noted in the comments, but for OSVERION of 902503, clang is not used. It is only used for ${OSVERSION} < 902502.
  CC       brw_eu_util.lo
brw_eu_compact.c:44:4: error: invalid suffix "b00000000000000000" on integer constant
brw_eu_compact.c:45:4: error: invalid suffix "b01000000000000000" on integer constant
brw_eu_compact.c:46:4: error: invalid suffix "b00110000000000000" on integer constant

I am not aware of any change made to compilers after 9.2 was branched that would justify this statement:
. if ${OSVERSION} >= 901000 && ${OSVERSION} < 902502 \
                && (${ARCH} == i386 || ${ARCH} == amd64)

>How-To-Repeat:
Build port with a version of 9-STABLE after 9.2 was branched
>Fix:
Change the statement to:

. if ${OSVERSION} >= 901000 && (${ARCH} == i386 || ${ARCH} == amd64)

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list