[Mesa-users] failed to build utils package while installing MESA v. 22.05.1

Oliwia Ziółkowska oliwiakz at camk.edu.pl
Tue Aug 9 00:29:13 UTC 2022


Rich,

Thank you for the reply.
I did what you recommended and unfortunately it didn't fix the problem.
I still get the same result.

Cheers,

Oliwia
On 08.08.2022 04:57, RICHARD H D TOWNSEND wrote:
> Dear Oliwia —
>
> Thanks for the bug report. As a first attempt at a fix, can you try 
> the following command:
>
> rm -v $MESASDK_ROOT/etc/*.done
>
> Then, reinitialize the SDK:
>
> . $MESASDK_ROOT/bin/mesasdk_init.sh
>
> This should remove some configuration files that the MESA SDK uses, 
> causing it to “re-configure” and hopefully fix the problem.
>
> cheers,
>
> Rich
>
>> On Aug 7, 2022, at 4:30 PM, Oliwia Ziółkowska via Mesa-users 
>> <mesa-users at lists.mesastar.org> wrote:
>>
>> *(base) olziol at olziol-Vostro-5515:~/mesa-r22.05.1$ uname -a *
>> Linux olziol-Vostro-5515 5.15.0-43-generic #46-Ubuntu SMP Tue Jul 12 
>> 10:30:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
>> *
>> **(base) olziol at olziol-Vostro-5515:~/mesa-r22.05.1$ gfortran -v *
>> Using built-in specs.
>> COLLECT_GCC=/home/olziol/mesasdk/bin/gfortran.exec
>> COLLECT_LTO_WRAPPER=/home/olziol/mesasdk/bin/../libexec/gcc/x86_64-pc-linux-gnu/12.1.0/lto-wrapper 
>>
>> Target: x86_64-pc-linux-gnu
>> Configured with: /home/user/sdk2-tmp/build/gcc/configure CC= CXX= 
>> --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu 
>> --target=x86_64-pc-linux-gnu --prefix=/home/user/sdk2-tmp/mesasdk 
>> --with-gmp=/home/user/sdk2-tmp/mesasdk 
>> --with-mpfr=/home/user/sdk2-tmp/mesasdk 
>> --with-mpc=/home/user/sdk2-tmp/mesasdk 
>> --enable-languages=c,c++,fortran --disable-multilib --disable-nls 
>> --disable-libsanitizer --enable-clocale=generic
>> Thread model: posix
>> Supported LTO compression algorithms: zlib
>> gcc version 12.1.0 (GCC) *
>> *
>>
>> *(base) olziol at olziol-Vostro-5515:~/mesa-r22.05.1$ echo $MESASDK_ROOT *
>> /home/olziol/mesasdk
>>
>> *(base) olziol at olziol-Vostro-5515:~/mesa-r22.05.1$ echo $PATH *
>>
>> /home/olziol/mesasdk/bin:/home/olziol/mesasdk/bin:/home/olziol/miniconda3/bin:/home/olziol/miniconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin 
>>
>>
>> *(base) olziol at olziol-Vostro-5515:~/mesa-r22.05.1$ echo $MESA_DIR *
>> /home/olziol/mesa-r22.05.1
>>
>>
>>
>> On 07.08.2022 23:25, Oliwia Ziółkowska via Mesa-users wrote:
>>> Hello,
>>>
>>> I would appreciate some help.
>>>
>>> I am trying to install the new MESA version 22.05.1, but I get an 
>>> error while building utils package.
>>> I have all the prerequisites listed on MESA SDK webpage.
>>> I am using the newest MESA SDK (22.05.1).
>>> My laptop is Dell Vostro.
>>> The system is Ubuntu 22.04.1 LTS.
>>>
>>> The previous MESA version works fine on my machine.
>>>
>>> I attach my build.log below.
>>>
>>> Best regards,
>>> Oliwia Ziółkowska
>>>
>>> MESA Version
>>> r22.05.1
>>>
>>> uname -a
>>> Linux olziol-Vostro-5515 5.15.0-43-generic #46-Ubuntu SMP Tue Jul 12 
>>> 10:30:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
>>>
>>> gfortran -v
>>> Using built-in specs.
>>> COLLECT_GCC=/home/olziol/mesasdk/bin/gfortran.exec
>>> COLLECT_LTO_WRAPPER=/home/olziol/mesasdk/bin/../libexec/gcc/x86_64-pc-linux-gnu/12.1.0/lto-wrapper 
>>>
>>> Target: x86_64-pc-linux-gnu
>>> Configured with: /home/user/sdk2-tmp/build/gcc/configure CC= CXX= 
>>> --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu 
>>> --target=x86_64-pc-linux-gnu --prefix=/home/user/sdk2-tmp/mesasdk 
>>> --with-gmp=/home/user/sdk2-tmp/mesasdk 
>>> --with-mpfr=/home/user/sdk2-tmp/mesasdk 
>>> --with-mpc=/home/user/sdk2-tmp/mesasdk 
>>> --enable-languages=c,c++,fortran --disable-multilib --disable-nls 
>>> --disable-libsanitizer --enable-clocale=generic
>>> Thread model: posix
>>> Supported LTO compression algorithms: zlib
>>> gcc version 12.1.0 (GCC)
>>>
>>> $MESASDK_ROOT
>>> /home/olziol/mesasdk
>>>
>>> MESASDK version
>>> x86_64-linux-22.6.1
>>>
>>> $PATH
>>> /home/olziol/mesasdk/bin:/home/olziol/mesasdk/bin:/home/olziol/miniconda3/bin:/home/olziol/miniconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin 
>>>
>>>
>>> $MESA_DIR
>>> /home/olziol/mesa-r22.05.1
>>>
>>>
>>> /home/olziol/mesa-r22.05.1/const
>>> building const package.
>>>
>>> make: '../tester' is up to date.
>>> export
>>> done
>>>
>>> mesa/const has been built, tested, and exported.
>>>
>>> ************************************************
>>>
>>> /home/olziol/mesa-r22.05.1/utils
>>> building utils package.
>>>
>>> CC ../private/utils_c_system.c
>>> In file included from 
>>> /home/olziol/mesasdk/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include-fixed/features.h:338,
>>>                  from 
>>> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
>>>                  from /usr/include/stdlib.h:26,
>>>                  from ../private/utils_c_system.c:26:
>>> /usr/include/x86_64-linux-gnu/sys/cdefs.h:146:55: error: missing 
>>> binary operator before token "("
>>>   146 | #if __USE_FORTIFY_LEVEL == 3 && (__glibc_clang_prereq (9, 
>>> 0)                  \
>>> | ^
>>> /usr/include/x86_64-linux-gnu/sys/cdefs.h:634:49: error: missing 
>>> binary operator before token "("
>>>   634 | #if __GNUC_PREREQ (4,8) || __glibc_clang_prereq (3,5)
>>> |                                                 ^
>>> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:74:17: error: 
>>> missing binary operator before token "("
>>>    74 | #if __GLIBC_USE (IEC_60559_BFP_EXT) || __GLIBC_USE (ISOC2X)
>>>       |                 ^
>>> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:80:17: error: 
>>> missing binary operator before token "("
>>>    80 | #if __GLIBC_USE (IEC_60559_BFP_EXT) || defined 
>>> __STDC_WANT_IEC_60559_EXT__
>>>       |                 ^
>>> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:97:17: error: 
>>> missing binary operator before token "("
>>>    97 | #if __GLIBC_USE (IEC_60559_FUNCS_EXT) || __GLIBC_USE (ISOC2X)
>>>       |                 ^
>>> /usr/include/stdlib.h:134:35: error: missing binary operator before 
>>> token "("
>>>   134 | #if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)
>>>       |                                   ^
>>> /usr/include/stdlib.h:140:35: error: missing binary operator before 
>>> token "("
>>>   140 | #if __HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)
>>>       |                                   ^
>>> /usr/include/stdlib.h:146:35: error: missing binary operator before 
>>> token "("
>>>   146 | #if __HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)
>>>       |                                   ^
>>> /usr/include/stdlib.h:152:36: error: missing binary operator before 
>>> token "("
>>>   152 | #if __HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
>>>       |                                    ^
>>> /usr/include/stdlib.h:158:36: error: missing binary operator before 
>>> token "("
>>>   158 | #if __HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)
>>>       |                                    ^
>>> /usr/include/stdlib.h:164:36: error: missing binary operator before 
>>> token "("
>>>   164 | #if __HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)
>>>       |                                    ^
>>> /usr/include/stdlib.h:170:37: error: missing binary operator before 
>>> token "("
>>>   170 | #if __HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)
>>>       |                                     ^
>>> /usr/include/stdlib.h:212:17: error: missing binary operator before 
>>> token "("
>>>   212 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X)
>>>       |                 ^
>>> /usr/include/stdlib.h:226:35: error: missing binary operator before 
>>> token "("
>>>   226 | #if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)
>>>       |                                   ^
>>> /usr/include/stdlib.h:232:35: error: missing binary operator before 
>>> token "("
>>>   232 | #if __HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)
>>>       |                                   ^
>>> /usr/include/stdlib.h:238:35: error: missing binary operator before 
>>> token "("
>>>   238 | #if __HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)
>>>       |                                   ^
>>> /usr/include/stdlib.h:244:36: error: missing binary operator before 
>>> token "("
>>>   244 | #if __HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
>>>       |                                    ^
>>> /usr/include/stdlib.h:250:36: error: missing binary operator before 
>>> token "("
>>>   250 | #if __HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)
>>>       |                                    ^
>>> /usr/include/stdlib.h:256:36: error: missing binary operator before 
>>> token "("
>>>   256 | #if __HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)
>>>       |                                    ^
>>> /usr/include/stdlib.h:262:37: error: missing binary operator before 
>>> token "("
>>>   262 | #if __HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)
>>>       |                                     ^
>>> In file included from /usr/include/stdio.h:27,
>>>                  from ../private/utils_c_system.c:27:
>>> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:74:17: error: 
>>> missing binary operator before token "("
>>>    74 | #if __GLIBC_USE (IEC_60559_BFP_EXT) || __GLIBC_USE (ISOC2X)
>>>       |                 ^
>>> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:80:17: error: 
>>> missing binary operator before token "("
>>>    80 | #if __GLIBC_USE (IEC_60559_BFP_EXT) || defined 
>>> __STDC_WANT_IEC_60559_EXT__
>>>       |                 ^
>>> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:97:17: error: 
>>> missing binary operator before token "("
>>>    97 | #if __GLIBC_USE (IEC_60559_FUNCS_EXT) || __GLIBC_USE (ISOC2X)
>>>       |                 ^
>>> /usr/include/stdio.h:136:17: error: missing binary operator before 
>>> token "("
>>>   136 | #if __GLIBC_USE (ISOC2X)
>>>       |                 ^
>>> /usr/include/stdio.h:306:43: error: missing binary operator before 
>>> token "("
>>>   306 | #if defined __USE_XOPEN2K8 || __GLIBC_USE (LIB_EXT2)
>>>       |                                           ^
>>> /usr/include/stdio.h:387:17: error: missing binary operator before 
>>> token "("
>>>   387 | #if __GLIBC_USE (LIB_EXT2)
>>>       |                 ^
>>> /usr/include/stdio.h:431:18: error: missing binary operator before 
>>> token "("
>>>   431 | #if !__GLIBC_USE (DEPRECATED_SCANF) && !defined __LDBL_COMPAT \
>>>       |                  ^
>>> /usr/include/stdio.h:476:19: error: missing binary operator before 
>>> token "("
>>>   476 | # if !__GLIBC_USE (DEPRECATED_SCANF)
>>>       |                   ^
>>> /usr/include/stdio.h:595:17: error: missing binary operator before 
>>> token "("
>>>   595 | #if __GLIBC_USE (DEPRECATED_GETS)
>>>       |                 ^
>>> /usr/include/stdio.h:621:43: error: missing binary operator before 
>>> token "("
>>>   621 | #if defined __USE_XOPEN2K8 || __GLIBC_USE (LIB_EXT2)
>>>       |                                           ^
>>> In file included from /usr/include/string.h:26,
>>>                  from ../private/utils_c_system.c:28:
>>> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:74:17: error: 
>>> missing binary operator before token "("
>>>    74 | #if __GLIBC_USE (IEC_60559_BFP_EXT) || __GLIBC_USE (ISOC2X)
>>>       |                 ^
>>> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:80:17: error: 
>>> missing binary operator before token "("
>>>    80 | #if __GLIBC_USE (IEC_60559_BFP_EXT) || defined 
>>> __STDC_WANT_IEC_60559_EXT__
>>>       |                 ^
>>> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:97:17: error: 
>>> missing binary operator before token "("
>>>    97 | #if __GLIBC_USE (IEC_60559_FUNCS_EXT) || __GLIBC_USE (ISOC2X)
>>>       |                 ^
>>> /usr/include/string.h:37:53: error: missing binary operator before 
>>> token "("
>>>    37 |                             || __glibc_clang_prereq (3, 5))
>>> | ^
>>> /usr/include/string.h:53:62: error: missing binary operator before 
>>> token "("
>>>    53 | #if defined __USE_MISC || defined __USE_XOPEN || __GLIBC_USE 
>>> (ISOC2X)
>>> |                                                              ^
>>> /usr/include/string.h:185:21: error: missing binary operator before 
>>> token "("
>>>   185 |      || __GLIBC_USE (LIB_EXT2) || __GLIBC_USE (ISOC2X))
>>>       |                     ^
>>> /usr/include/string.h:194:43: error: missing binary operator before 
>>> token "("
>>>   194 | #if defined __USE_XOPEN2K8 || __GLIBC_USE (LIB_EXT2) || 
>>> __GLIBC_USE (ISOC2X)
>>>       |                                           ^
>>> ../private/utils_c_system.c: In function 'c_mv':
>>> ../private/utils_c_system.c:202:17: warning: implicit declaration of 
>>> function 'mkstemp'; did you mean 'mkstemps'? 
>>> [-Wimplicit-function-declaration]
>>>   202 |         fTemp = mkstemp(temp);
>>>       |                 ^~~~~~~
>>>       |                 mkstemps
>>> make: *** [makefile_base:71: utils_c_system.o] Error 1
>>>
>>> /home/olziol/mesa-r22.05.1/utils/make
>>> FAILED
>>>
>>>
>>> /home/olziol/mesa-r22.05.1/utils
>>> ./build_and_test FAILED
>>>
>>> _______________________________________________
>>> mesa-users at lists.mesastar.org
>>> https://lists.mesastar.org/mailman/listinfo/mesa-users
>>>
>> _______________________________________________
>> mesa-users at lists.mesastar.org
>> https://lists.mesastar.org/mailman/listinfo/mesa-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20220809/21faf1b5/attachment.htm>


More information about the Mesa-users mailing list