From owner-freebsd-x11@freebsd.org Sat May 20 13:06:42 2017 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E054D74841 for ; Sat, 20 May 2017 13:06:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EC1671CC7 for ; Sat, 20 May 2017 13:06:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E868BD7483F; Sat, 20 May 2017 13:06:41 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E807FD7483E for ; Sat, 20 May 2017 13:06:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CE6901CC6 for ; Sat, 20 May 2017 13:06:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v4KD6fAM063459 for ; Sat, 20 May 2017 13:06:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-feedback requested: [Bug 219417] graphics/mesa-dri: fails to build with elfutils installed Date: Sat, 20 May 2017 13:06:41 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2017 13:06:42 -0000 Ting-Wei Lan has reassigned Bugzilla Automation 's request for maintainer-feedback to x11@FreeBSD.org: Bug 219417: graphics/mesa-dri: fails to build with elfutils installed https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219417 --- Description --- devel/elfutils port installs some header files and shared libraries that ha= ve the same names as the base system, causing compilation error when building graphics/mesa-dri port. gmake all-am gmake[5]: Entering directory '/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.0.4/src/amd' /bin/sh ../../libtool --tag=3DCC --mode=3Dcompile cc -DPACKAGE_NAME=3D\"= Mesa\" -DPACKAGE_TARNAME=3D\"mesa\" -DPACKAGE_VERSION=3D\"17.0.4\" -DPACKAGE_STRING=3D\"Mesa\ 17.0.4\" -DPACKAGE_BUGREPORT=3D\"https://bugs.freedesktop.org/enter_bug.cgi\?product= =3DMesa\ " -DPACKAGE_URL=3D\"\" -DPACKAGE=3D\"mesa\" -DVERSION=3D\"17.0.4\" -DSTDC_HEA= DERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STR= ING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDIN= T_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\".libs/\" -DYYTEXT_PO= INTER=3D1 -DHAVE___BUILTIN_BSWAP32=3D1 -DHAVE___BUILTIN_BSWAP64=3D1 -DHAVE___BUILTIN_= CLZ=3D1 -DHAVE___BUILTIN_CLZLL=3D1 -DHAVE___BUILTIN_CTZ=3D1 -DHAVE___BUILTIN_EXPECT= =3D1 -DHAVE___BUILTIN_FFS=3D1 -DHAVE___BUILTIN_FFSLL=3D1 -DHAVE___BUILTIN_POPCOU= NT=3D1 -DHAVE___BUILTIN_POPCOUNTLL=3D1 -DHAVE___BUILTIN_UNREACHABLE=3D1 -DHAVE_FUNC_ATTRIBUTE_CONST=3D1 -DHAVE_FUNC_ATTRIBUTE_FLATTEN=3D1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=3D1 -DHAVE_FUNC_ATTRIBUTE_MALLOC=3D1 -DHAVE_FUNC_ATTRIBUTE_PACKED=3D1 -DHAVE_FUNC_ATTRIBUTE_PURE=3D1 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=3D1 -DHAVE_FUNC_ATTRIBUTE_UNUSED=3D1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=3D1 -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESU= LT=3D1 -DHAVE_FUNC_ATTRIBUTE_WEAK=3D1 -DHAVE_FUNC_ATTRIBUTE_ALIAS=3D1 -DHAVE_DLADD= R=3D1 -DHAVE_CLOCK_GETTIME=3D1 -DHAVE_PTHREAD_PRIO_INHERIT=3D1 -DHAVE_PTHREAD=3D1= -I.=20=20 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DHAVE_DRI3 -DENABLE_SHADER_CACHE -DHAVE_MINCORE -DHAVE_LLVM=3D0x0400 -DMESA_LLVM_VERSION_PATCH=3D1 -I../../include -I../../src -I../../src -I../../src/amd/common -I../../src/amd/common -I../../src/compiler -I../../src/compiler/nir -I../../src/compiler -I../../src/mapi -I../../src/= mesa -I../../src/mesa/drivers/dri/common -I../../src/gallium/auxiliary -I../../src/gallium/include -isystem /usr/local/include -fvisibility=3Dhidd= en -D_THREAD_SAFE -pthread -I/usr/local/llvm40/include -D__STDC_CONSTANT_MAC= ROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -pipe -march=3Dsandybridg= e=20 -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -std=3Dc99 -Werror=3Dimplicit-function-declaration -Werror=3Dmissing-protot= ypes -fno-math-errno -fno-trapping-math -Qunused-arguments -MT common/common_libamd_common_la-ac_binary.lo -MD -MP -MF common/.deps/common_libamd_common_la-ac_binary.Tpo -c -o common/common_libamd_common_la-ac_binary.lo `test -f 'common/ac_binary.c' || echo './'`common/ac_binary.c libtool: compile: cc -DPACKAGE_NAME=3D\"Mesa\" -DPACKAGE_TARNAME=3D\"mesa\" -DPACKAGE_VERSION=3D\"17.0.4\" "-DPACKAGE_STRING=3D\"Mesa 17.0.4\"" "-DPACKAGE_BUGREPORT=3D\"https://bugs.freedesktop.org/enter_bug.cgi?product= =3DMesa\ "" -DPACKAGE_URL=3D\"\" -DPACKAGE=3D\"mesa\" -DVERSION=3D\"17.0.4\" -DSTDC_HEA= DERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STR= ING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDIN= T_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\".libs/\" -DYYTEXT_PO= INTER=3D1 -DHAVE___BUILTIN_BSWAP32=3D1 -DHAVE___BUILTIN_BSWAP64=3D1 -DHAVE___BUILTIN_= CLZ=3D1 -DHAVE___BUILTIN_CLZLL=3D1 -DHAVE___BUILTIN_CTZ=3D1 -DHAVE___BUILTIN_EXPECT= =3D1 -DHAVE___BUILTIN_FFS=3D1 -DHAVE___BUILTIN_FFSLL=3D1 -DHAVE___BUILTIN_POPCOU= NT=3D1 -DHAVE___BUILTIN_POPCOUNTLL=3D1 -DHAVE___BUILTIN_UNREACHABLE=3D1 -DHAVE_FUNC_ATTRIBUTE_CONST=3D1 -DHAVE_FUNC_ATTRIBUTE_FLATTEN=3D1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=3D1 -DHAVE_FUNC_ATTRIBUTE_MALLOC=3D1 -DHAVE_FUNC_ATTRIBUTE_PACKED=3D1 -DHAVE_FUNC_ATTRIBUTE_PURE=3D1 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=3D1 -DHAVE_FUNC_ATTRIBUTE_UNUSED=3D1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=3D1 -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESU= LT=3D1 -DHAVE_FUNC_ATTRIBUTE_WEAK=3D1 -DHAVE_FUNC_ATTRIBUTE_ALIAS=3D1 -DHAVE_DLADD= R=3D1 -DHAVE_CLOCK_GETTIME=3D1 -DHAVE_PTHREAD_PRIO_INHERIT=3D1 -DHAVE_PTHREAD=3D1= -I. -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DHAVE_DRI3 -DENABLE_SHADER_CACHE -DHAVE_MINCORE -DHAVE_LLVM=3D0x0400 -DMESA_LLVM_VERSION_PATCH=3D1 -I../../include -I../../src -I../../src -I../../src/amd/common -I../../src/amd/common -I../../src/compiler -I../../src/compiler/nir -I../../src/compiler -I../../src/mapi -I../../src/= mesa -I../../src/mesa/drivers/dri/common -I../../src/gallium/auxiliary -I../../src/gallium/include -isystem /usr/local/include -fvisibility=3Dhidd= en -D_THREAD_SAFE -pthread -I/usr/local/llvm40/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -pipe -march=3Dsandybridge -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -std=3Dc99 -Werror=3Dimplicit-function-declaration -Werror=3Dmissing-protot= ypes -fno-math-errno -fno-trapping-math -Qunused-arguments -MT common/common_libamd_common_la-ac_binary.lo -MD -MP -MF common/.deps/common_libamd_common_la-ac_binary.Tpo -c common/ac_binary.c -= fPIC -DPIC -o common/.libs/common_libamd_common_la-ac_binary.o In file included from common/ac_binary.c:33: In file included from /usr/local/include/gelf.h:32: /usr/local/include/libelf.h:308:8: error: unknown type name 'Elf32_Chdr' extern Elf32_Chdr *elf32_getchdr (Elf_Scn *__scn); ^ /usr/local/include/libelf.h:309:8: error: unknown type name 'Elf64_Chdr' extern Elf64_Chdr *elf64_getchdr (Elf_Scn *__scn); ^ In file included from common/ac_binary.c:33: /usr/local/include/gelf.h:93:9: error: unknown type name 'Elf64_Chdr' typedef Elf64_Chdr GElf_Chdr; ^ 3 errors generated. gmake[5]: *** [Makefile:858: common/common_libamd_common_la-ac_binary.lo] E= rror 1 gmake[5]: Leaving directory '/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.0.4/src/amd' gmake[4]: *** [Makefile:700: all] Error 2 gmake[4]: Leaving directory '/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.0.4/src/amd' gmake[3]: *** [Makefile:859: all-recursive] Error 1 gmake[3]: Leaving directory '/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.0.4/src' gmake[2]: *** [Makefile:650: all] Error 2 gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.0.4/src' gmake[1]: *** [Makefile:647: all-recursive] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.0.4' *** Error code 1 Stop. make: stopped in /usr/ports/graphics/mesa-dri