View previous topic :: View next topic |
Author |
Message |
juliedeville n00b
Joined: 14 Oct 2024 Posts: 39
|
Posted: Wed Nov 27, 2024 11:04 pm Post subject: media-libs/mesa fails to build |
|
|
I am trying to install the pentoo overlay in a virtual machine, and updating the global set fails because media-libs/mesa fails to build
pastebin.com/Z5XQ1EDS |
|
Back to top |
|
|
CooSee Veteran
Joined: 20 Nov 2004 Posts: 1473 Location: Earth
|
Posted: Wed Nov 27, 2024 11:13 pm Post subject: |
|
|
Code: | * Unable to find kernel sources at /usr/src/linux
* Unable to calculate Linux Kernel version for build, attempting to use running version |
check if a symlink exist, which points to a kernel in /usr/src or check with eselect,e.g.
eselect kernel list
Code: | Available kernel symlink targets:
[1] linux-6.11.10-gentoo-dist
[2] linux-6.12.1-gentoo
[3] linux-6.12.1-gentoo-1 * |
eselect kernel set Number you choose
_________________ " Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier " |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22778
|
Posted: Wed Nov 27, 2024 11:25 pm Post subject: |
|
|
This post will last long after the pastebin expires. To make it more useful in the future, consider including in the title and the body the version of mesa that failed, and including in the body the error message shown.
Also, note that automatic linking only works with URLs. A hostname with a path is not a URL (because you did not set a protocol), so it is not automatically linked for readers. Consider copying the contents of the browser's URL bar to your post, which should include the protocol for you. |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 2008
|
Posted: Wed Nov 27, 2024 11:51 pm Post subject: |
|
|
Quote: |
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/c11/impl/libmesa_util_c11.a.p/threads_posix.c.o: in function `cnd_timedwait':
threads_posix.c.text.cnd_timedwait+0x5): undefined reference to `__pthread_cond_timedwait64'
|
You have an old version of GCC 13 installed (why not newer?) but you also now have GCC 14 as it was recently stabled, so if you select it with 'gcc-config', your issue should go away. The issue itself is bug 933282. |
|
Back to top |
|
|
juliedeville n00b
Joined: 14 Oct 2024 Posts: 39
|
Posted: Thu Nov 28, 2024 12:00 am Post subject: |
|
|
sam_ wrote: | Quote: |
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/c11/impl/libmesa_util_c11.a.p/threads_posix.c.o: in function `cnd_timedwait':
threads_posix.c.text.cnd_timedwait+0x5): undefined reference to `__pthread_cond_timedwait64'
|
You have an old version of GCC 13 installed (why not newer?) but you also now have GCC 14 as it was recently stabled, so if you select it with 'gcc-config', your issue should go away. The issue itself is bug 933282. |
I am using a qubes template for gentoo, so I am still in the process of configuring it. The thing is I had mesa installed earlier after rebuilding gcc-config and gcc, but it did not switch profiles this time (I restarted at a certain point). I think I have got it now.
Last edited by juliedeville on Thu Nov 28, 2024 12:05 am; edited 1 time in total |
|
Back to top |
|
|
juliedeville n00b
Joined: 14 Oct 2024 Posts: 39
|
Posted: Thu Nov 28, 2024 12:04 am Post subject: |
|
|
Hu wrote: | This post will last long after the pastebin expires. To make it more useful in the future, consider including in the title and the body the version of mesa that failed, and including in the body the error message shown.
Also, note that automatic linking only works with URLs. A hostname with a path is not a URL (because you did not set a protocol), so it is not automatically linked for readers. Consider copying the contents of the browser's URL bar to your post, which should include the protocol for you. |
Sorry about that, it was hastily done and I meant to correct it. I think I have got it sorted out now though. |
|
Back to top |
|
|
|