Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 2014 12:57:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 193654] New: graphics/libosmesa: flex: unknown flag '-'.
Message-ID:  <bug-193654-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193654

            Bug ID: 193654
           Summary: graphics/libosmesa: flex: unknown flag '-'.
           Product: Ports Tree
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gahr@FreeBSD.org
          Reporter: ohartman@zedat.fu-berlin.de
          Assignee: gahr@FreeBSD.org
             Flags: maintainer-feedback?(gahr@FreeBSD.org)

On FreeBSD 9.3-STABLE,
FreeBSD 9.3-STABLE #0 r271571: Sun Sep 14 10:58:31 CEST 2014 amd64,

installation/updating of port graphics/libosmesa fails with the following
obscure errro:

[...]
gmake[3]: Entering directory `/usr/ports/graphics/libosmesa/work/Mesa-10.2.7'
gmake[3]: Leaving directory `/usr/ports/graphics/libosmesa/work/Mesa-10.2.7'
  GEN      main/get_hash.h
updating main/git_sha1.h
  GEN      program/program_parse.tab.c
  GEN      program/lex.yy.c
flex: unknown flag '-'.  For usage, try
        flex --help
gmake[2]: *** [program/lex.yy.c] Error 1
gmake[2]: Leaving directory
`/usr/ports/graphics/libosmesa/work/Mesa-10.2.7/src/mesa'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/graphics/libosmesa/work/Mesa-10.2.7/src'
gmake: *** [all-recursive] Error 1
*** [do-build] Error code 1
[...]

Operating system and ports get compiled using CLANG via settings in
/etc/src.conf:

[...]
#
CPUTYPE?=               native
CFLAGS+=                -O3 -pipe
COPTFLAGS+=             -O3 -pipe
CXXFLAGS+=              -std=c++11
CXXFLAGS+=              -stdlib=libc++
WITH_CLANG=             YES
WITH_CLANG_FULL=        YES
WITH_CLANG_EXTRAS=      YES


The box' hardware is as follows:

Copyright (c) 1992-2014 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.3-STABLE #0 r271571: Sun Sep 14 10:58:31 CEST 2014
    root@thusnelda.geoinf.fu-berlin.de:/usr/obj/usr/src/sys/THUSNELDA amd64
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
CPU: Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz (2493.80-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x10676  Family = 0x6  Model = 0x17  Stepping =
6
 
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
 
Features2=0xce3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant, performance statistics
real memory  = 17179869184 (16384 MB)
avail memory = 16518033408 (15752 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <DELL   PE_SC3  >
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 2 package(s) x 4 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  6
 cpu7 (AP): APIC ID:  7

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer gahr@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193654-13>