new dependency for libtizcore required for mesa?

Dennis Clarke dclarke at blastwave.org
Thu Jun 7 16:30:51 UTC 2018


On 6/7/18 11:47 AM, Braiam Peguero wrote:
> 
> 
> On Thu, Jun 7, 2018 at 11:06 AM, Dennis Clarke <dclarke at blastwave.org 
> <mailto:dclarke at blastwave.org>> wrote:
> 
>     On 6/7/18 10:44 AM, Michal Srb wrote:
> 
>         On čtvrtek 7. června 2018 16:15:50 CEST Dennis Clarke wrote:
> 
>             Package libtizcore was not found in the pkg-config search path.
>             Perhaps you should add the directory containing `libtizcore.pc'
>             to the PKG_CONFIG_PATH environment variable
>             No package 'libtizcore' found
> 
> 
>         This is not a problem. It seems to be optional requirement. I
>         see the same
>         message in my build log.
> 
>             checking for RADEON... yes
>             checking for RADEON... yes
>             configure: error: LLVM 3.9.0 or newer is required for r600
> 
> 
>         This is a problem. As it says, you need LLVM >= 3.9.0 and it did
>         not find one.
> 
> 
>     Ah .. oops. Thanks for the reply and I should look closer before jumping
>       on the "what?" button.
> 
>     How very odd :
> 
>     root at xorg:~# apt-get install llvm
>     Reading package lists... Done
>     Building dependency tree
>     Reading state information... Done
>     llvm is already the newest version.
>     0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
>     root at xorg:~#
> 
>     Yet my old build process fails looking for LLVM?
> 
>     The funky Tizonia's OpenMAX IL Core thing isn't required and isn't even
>     in the debian package list for that matter. Fine. However llvm is
>     definately installed and has been for a long while.  I am just doing the
>     usual per the instructions at :
> 
>     Testing X servers from git
>     http://who-t.blogspot.com/2012/05/testing-x-servers-from-git.html
>     <http://who-t.blogspot.com/2012/05/testing-x-servers-from-git.html>
> 
>     That has worked since about 2013 however it has been a while since I
>     tried. Something odd here ... not sure what it is yet.
> 
>     Dennis
> 
> 
>     _______________________________________________
>     xorg at lists.x.org <mailto:xorg at lists.x.org>: X.Org support
>     Archives: http://lists.freedesktop.org/archives/xorg
>     <http://lists.freedesktop.org/archives/xorg>
>     Info: https://lists.x.org/mailman/listinfo/xorg
>     <https://lists.x.org/mailman/listinfo/xorg>
>     Your subscription address: %(user_address)s
> 
> 
> Have you checked that the version installed of llvm is >= 3.9.0?
> Debian Stretch by default install 3.8, while you can have 3.9 if
> you install the llvm-toolchain-3.9 package. That should be enough.
> 

The issue is definately version.
This is an older debian 8 system and thus  :

root at xorg:~# apt-get install llvm-3.5 llvm-3.5-dev llvm-3.5-runtime 
llvm-3.5-examples llvm-3.5-doc llvm-3.5-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
llvm-3.5 is already the newest version.
llvm-3.5 set to manually installed.
llvm-3.5-dev is already the newest version.
llvm-3.5-dev set to manually installed.
llvm-3.5-runtime is already the newest version.
llvm-3.5-runtime set to manually installed.
The following extra packages will be installed:
   libjs-underscore
The following NEW packages will be installed:
   libjs-underscore llvm-3.5-doc llvm-3.5-examples llvm-3.5-tools
0 upgraded, 4 newly installed, 0 to remove and 5 not upgraded.
Need to get 1,847 kB of archives.
After this operation, 10.6 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ftp.ca.debian.org/debian/ jessie/main libjs-underscore all 
1.7.0~dfsg-1 [49.9 kB]
Get:2 http://ftp.ca.debian.org/debian/ jessie/main llvm-3.5-doc all 
1:3.5-10 [1,461 kB]
Get:3 http://ftp.ca.debian.org/debian/ jessie/main llvm-3.5-examples all 
1:3.5-10 [181 kB]
Get:4 http://ftp.ca.debian.org/debian/ jessie/main llvm-3.5-tools amd64 
1:3.5-10 [154 kB]
Fetched 1,847 kB in 3s (598 kB/s)
Selecting previously unselected package libjs-underscore.
(Reading database ... 155535 files and directories currently installed.)
Preparing to unpack .../libjs-underscore_1.7.0~dfsg-1_all.deb ...
Unpacking libjs-underscore (1.7.0~dfsg-1) ...
Selecting previously unselected package llvm-3.5-doc.
Preparing to unpack .../llvm-3.5-doc_1%3a3.5-10_all.deb ...
Unpacking llvm-3.5-doc (1:3.5-10) ...
Selecting previously unselected package llvm-3.5-examples.
Preparing to unpack .../llvm-3.5-examples_1%3a3.5-10_all.deb ...
Unpacking llvm-3.5-examples (1:3.5-10) ...
Selecting previously unselected package llvm-3.5-tools.
Preparing to unpack .../llvm-3.5-tools_1%3a3.5-10_amd64.deb ...
Unpacking llvm-3.5-tools (1:3.5-10) ...
Setting up libjs-underscore (1.7.0~dfsg-1) ...
Setting up llvm-3.5-doc (1:3.5-10) ...
Setting up llvm-3.5-examples (1:3.5-10) ...
Setting up llvm-3.5-tools (1:3.5-10) ...
root at xorg:~# exit
logout
xorg $
xorg $ ./util/modular/build.sh --clone --autoresume built.modules /opt/xorg
Building to run Linux / x86_64 ()
Thu Jun  7 16:27:03 GMT 2018
Skipping util/macros...
Skipping font/util...
Skipping doc/xorg-sgml-doctools...
Skipping doc/xorg-docs...
Skipping proto/xorgproto...
Skipping xcb/proto...
Skipping util/makedepend...
Skipping lib/libxtrans...
Skipping lib/libXau...
Skipping lib/libXdmcp...
Skipping xcb/pthread-stubs...
Skipping xcb/libxcb...
Skipping xcb/util...
Skipping xcb/util-image...
Skipping xcb/util-keysyms...
Skipping xcb/util-renderutil...
Skipping xcb/util-wm...
Skipping lib/libX11...
Skipping lib/libXext...
Skipping lib/libdmx...
Skipping lib/libfontenc...
Skipping lib/libFS...
Skipping lib/libICE...
Skipping lib/libSM...
Skipping lib/libXt...
Skipping lib/libXmu...
Skipping lib/libXpm...
Skipping lib/libXaw...
Skipping lib/libXaw3d...
Skipping lib/libXfixes...
Skipping lib/libXcomposite...
Skipping lib/libXrender...
Skipping lib/libXdamage...
Skipping lib/libXcursor...
Skipping lib/libXfont...
Skipping lib/libXft...
Skipping lib/libXi...
Skipping lib/libXinerama...
Skipping lib/libxkbfile...
Skipping lib/libXrandr...
Skipping lib/libXRes...
Skipping lib/libXScrnSaver...
Skipping lib/libxshmfence...
Skipping lib/libXtst...
Skipping lib/libXv...
Skipping lib/libXvMC...
Skipping lib/libXxf86dga...
Skipping lib/libXxf86vm...
Skipping lib/libpciaccess...
Skipping pixman...
Skipping mesa/drm...

======================================================================
==  Processing:  "mesa/mesa"
==        configuration options:
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /opt/xorg/share/aclocal -I 
/opt/xorg/share/aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `bin'.
libtoolize: copying file `bin/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '16411' is supported by ustar format... yes
checking whether GID '20002' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to run the C preprocessor... gcc -E
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for grep that handles long lines and -e... /bin/grep
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking dependency style of gcc... gcc3
checking for GNU make... make
checking for python2.7... python2.7
checking for a sed that does not truncate output... /bin/sed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to 
x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain 
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports 
shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports 
shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports 
shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for rm... rm -f
checking for bison... bison -y
checking if bison is the parser generator... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking if flex is the lexer generator... yes
checking for indent... cat
checking if module mako in python is installed... yes
checking if compiling with clang... no
checking whether gcc version is sufficient... yes
checking whether __SUNPRO_C is declared... no
checking for __builtin_bswap32... yes
checking for __builtin_bswap64... yes
checking for __builtin_clz... yes
checking for __builtin_clzll... yes
checking for __builtin_ctz... yes
checking for __builtin_expect... yes
checking for __builtin_ffs... yes
checking for __builtin_ffsll... yes
checking for __builtin_popcount... yes
checking for __builtin_popcountll... yes
checking for __builtin_unreachable... yes
checking for __attribute__((const))... yes
checking for __attribute__((flatten))... yes
checking for __attribute__((format))... yes
checking for __attribute__((malloc))... yes
checking for __attribute__((packed))... yes
checking for __attribute__((pure))... yes
checking for __attribute__((returns_nonnull))... yes
checking for __attribute__((unused))... yes
checking for __attribute__((visibility))... yes
checking for __attribute__((warn_unused_result))... yes
checking for __attribute__((weak))... yes
checking for __attribute__((alias))... yes
checking for __attribute__((noreturn))... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts 
-Werror=implicit-function-declaration... yes
checking whether C compiler accepts -Werror=missing-prototypes... yes
checking whether C compiler accepts -Wmissing-prototypes... yes
checking whether C compiler accepts -fno-math-errno... yes
checking whether C compiler accepts -fno-trapping-math... yes
checking whether C compiler accepts -fvisibility=hidden... yes
checking whether C++ compiler accepts -Wall... yes
checking whether C++ compiler accepts -fno-math-errno... yes
checking whether C++ compiler accepts -fno-trapping-math... yes
checking whether C++ compiler accepts -fvisibility=hidden... yes
checking whether C compiler accepts -Werror=pointer-arith... yes
checking whether C compiler accepts -Werror=vla... yes
checking whether C++ compiler accepts -Werror=pointer-arith... yes
checking whether C++ compiler accepts -Werror=vla... yes
checking whether c++11 is enabled by default... no
checking whether c++11 is enabled by via -std=c++11... yes
checking whether C compiler accepts -Woverride-init... yes
checking whether C compiler accepts -Winitializer-overrides... no
checking whether __atomic_load_n is supported... yes
checking whether __sync_add_and_fetch_8 is supported... yes
checking whether byte ordering is bigendian... no
checking whether gcc supports -mpower8-vector... no
checking if ld supports -Bsymbolic... yes
checking whether ld supports --gc-sections... yes
checking if the linker supports version-scripts... yes
checking if the linker supports --dynamic-list... yes
checking whether to enable assembly... yes, x86_64
checking whether sys/types.h defines makedev... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking xlocale.h usability... yes
checking xlocale.h presence... yes
checking for xlocale.h... yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking for strtof... yes
checking for mkostemp... yes
checking for timespec_get... yes
checking for memfd_create... no
checking whether strtod has locale support... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for dladdr... yes
checking for dl_iterate_phdr... yes
checking for clock_gettime... yes
checking for posix_memalign... yes
checking for ZLIB... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... no
checking linux/futex.h usability... yes
checking linux/futex.h presence... yes
checking for linux/futex.h... yes
checking for LIBELF... no
checking for elf_memory in -lelf... no
checking for llvm-config... /usr/bin/llvm-config
checking for LIBDRM... yes
checking for GLPROTO... yes
checking for DRI2PROTO... yes
checking for XF86VIDMODE... yes
checking for DRIGL... yes
checking for XCB_DRI2... yes
checking for XCB_DRI3... yes
checking for XCB_DRI3_MODIFIERS... yes
checking for EXPAT... yes
checking for I915... yes
checking for NVVIEUX... yes
checking for RADEON... yes
checking for RADEON... yes
checking for mincore... yes
checking for VL... yes
checking for XVMC... yes
Package libtizcore was not found in the pkg-config search path.
Perhaps you should add the directory containing `libtizcore.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libtizcore' found
checking for RADEON... yes
checking for RADEON... yes
configure: error: LLVM 3.9.0 or newer is required for r600
build.sh: "./autogen.sh" failed on mesa/mesa
build.sh: error processing:  "mesa/mesa"
xorg $

So .. there we are.

This likely means getting a build on some other types of systems wwill 
be a chore also ( think solaris ).

Thanks for the help .. time to move upwards to debian 9 me thinks.

Dennis


More information about the xorg mailing list