FreeBSD Port: graphics/dri

alain.lefevre alain.lefevre at gmx.fr
Wed May 21 20:39:05 UTC 2014


Hi,

First, it's not a public mailing list. Am I right?


I tried recently to update dri.

The port do not build.
Google gave me nothing.
pkg delete -f dri and reinstall the port didn't change anything.
portmaster -f… nothing.
I changed my make.conf but that didn't help.

I always have the same error.

Can you give me a tip? That would be nice.

Thanks,
Alain

------------------------------------------------------------------------
uname -a
FreeBSD MyMachine 9.2-RELEASE-p5 FreeBSD 9.2-RELEASE-p5 #0: Tue Apr 29
18:53:19 UTC 2014
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
------------------------------------------------------------------------
pkg version -IvL=
dri-9.1.7_3,2         <   needs updating (index has 9.1.7_4,2)
------------------------------------------------------------------------
pkg info | grep libGL
libGL-9.1.7_1             OpenGL library that renders using GLX or DRI
libGLU-9.0.0              OpenGL utility library
------------------------------------------------------------------------
cat /etc/make.conf
WITH_PKGNG=yes
WITH_NEW_XORG=yes
WITH_BDB_VER=5
DEFAULT_VERSIONS=python=2.7 python3=3.3 python2=2.7 tcltk=8.6 java=1.7
# I added the following line
MAKE_JOBS_UNSAFE=yes
# I tried with and without the following line
WITH_GALLIUM=yes
------------------------------------------------------------------------
Extract of the build output:

  CC       entry.lo
clang: warning: argument unused during compilation:
'-fno-builtin-memcmp'
In file included from ../../../src/mapi/mapi/entry.c:47:
../../../src/mapi/mapi/entry_x86_tsd.h:63:19: warning: tentative array
definition assumed to have one element
static const char x86_entry_start[];
                  ^
../../../src/mapi/mapi/entry_x86_tsd.h:64:19: warning: tentative array
definition assumed to have one element
static const char x86_entry_end[];
                  ^
Assertion failed: (Symbol->isUndefined() && "Cannot define a symbol
twice!"), function EmitLabel,
file /usr/src/lib/clang/libllvmmc/../../../contrib/llvm/lib/MC/MCELFStreamer.cpp, line 83.
Stack dump:
0.	Program arguments: /usr/bin/clang -cc1 -triple
i386-unknown-freebsd9.2 -emit-obj -disable-free -main-file-name entry.c
-mrelocation-model pic -pic-level 2 -mdisable-fp-elim -relaxed-aliasing
-masm-verbose -mconstructor-aliases -target-cpu i486
-coverage-file /usr/ports/graphics/dri/work/Mesa-9.1.7/src/mapi/shared-glapi/.libs/entry.o -resource-dir /usr/bin/../lib/clang/3.3 -dependency-file .deps/entry.Tpo -sys-header-deps -MP -MT entry.lo -isystem /usr/local/include -D PACKAGE_NAME="Mesa" -D PACKAGE_TARNAME="mesa" -D PACKAGE_VERSION="9.1.7" -D PACKAGE_STRING="Mesa 9.1.7" -D PACKAGE_BUGREPORT="https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa" -D PACKAGE_URL="" -D PACKAGE="mesa" -D VERSION="9.1.7" -D STDC_HEADERS=1 -D HAVE_SYS_TYPES_H=1 -D HAVE_SYS_STAT_H=1 -D HAVE_STDLIB_H=1 -D HAVE_STRING_H=1 -D HAVE_MEMORY_H=1 -D HAVE_STRINGS_H=1 -D HAVE_INTTYPES_H=1 -D HAVE_STDINT_H=1 -D HAVE_UNISTD_H=1 -D HAVE_DLFCN_H=1 -D LT_OBJDIR=".libs/" -D YYTEXT_POINTER=1 -D HAVE_CLOCK_GETTIME=1 -D HAVE_PTHREAD_PRIO_INHERIT=1 -D HAVE_PTHREAD=1 -D HAVE_LIBEXPAT=1 -D USE_X86_ASM -D USE_MMX_ASM -D USE_3DNOW_ASM -D USE_SSE_ASM -D HAVE_DLOPEN -D HAVE_POSIX_MEMALIGN -D IN_DRI_DRIVER -D GLX_INDIRECT_RENDERING -D GLX_DIRECT_RENDERING -D HAVE_PTHREAD -D USE_EXTERNAL_DXTN_LIB=1 -D IN_DRI_DRIVER -D HAVE_ALIAS -D HAVE_LLVM=0x0303 -D MAPI_MODE_GLAPI -D MAPI_ABI_HEADER="shared-glapi/glapi_mapi_tmp.h" -D _THREAD_SAFE -D PIC -I . -I ../../../include -I ../../../src/mapi -I ../../../src/mapi -O2 -Wall -Werror=implicit-function-declaration -Werror=missing-prototypes -std=c99 -fdebug-compilation-dir /usr/ports/graphics/dri/work/Mesa-9.1.7/src/mapi/shared-glapi -ferror-limit 19 -fmessage-length 200 -pthread -mstackrealign -fobjc-runtime=gnustep -fobjc-default-synthesize-properties -fdiagnostics-show-option -fcolor-diagnostics -backend-option -vectorize-loops -o .libs/entry.o -x c ../../../src/mapi/mapi/entry.c 
1.	<eof> parser at end of file
2.	Code generation
clang: error: unable to execute command: Abort trap: 6 (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
Target: i386-unknown-freebsd9.2
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed
source, and associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/entry-P25IvO.c
clang: note: diagnostic msg: /tmp/entry-P25IvO.sh
clang: note: diagnostic msg: 

********************
gmake[3]: *** [entry.lo] Erreur 1
gmake[3] : on quitte le répertoire
« /usr/ports/graphics/dri/work/Mesa-9.1.7/src/mapi/shared-glapi »
gmake[2]: *** [all] Erreur 2
gmake[2] : on quitte le répertoire
« /usr/ports/graphics/dri/work/Mesa-9.1.7/src/mapi/shared-glapi »
gmake[1]: *** [all-recursive] Erreur 1
gmake[1] : on quitte le répertoire
« /usr/ports/graphics/dri/work/Mesa-9.1.7/src »
gmake: *** [all-recursive] Erreur 1
*** [do-build] Error code 1

Stop in /usr/ports/graphics/dri.

===>>> make failed for graphics/dri
===>>> Aborting update

===>>> Killing background jobs
Terminated

===>>> You can restart from the point of failure with this command line:
       portmaster <flags> graphics/dri 

===>>> Exiting




More information about the freebsd-x11 mailing list