Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
media-libs/mesa fails to build
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
juliedeville
n00b
n00b


Joined: 14 Oct 2024
Posts: 39

PostPosted: Wed Nov 27, 2024 11:04 pm    Post subject: media-libs/mesa fails to build Reply with quote

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
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1471
Location: Earth

PostPosted: Wed Nov 27, 2024 11:13 pm    Post subject: Reply with quote

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

8)
_________________
" 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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22730

PostPosted: Wed Nov 27, 2024 11:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1987

PostPosted: Wed Nov 27, 2024 11:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
juliedeville
n00b
n00b


Joined: 14 Oct 2024
Posts: 39

PostPosted: Thu Nov 28, 2024 12:00 am    Post subject: Reply with quote

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
View user's profile Send private message
juliedeville
n00b
n00b


Joined: 14 Oct 2024
Posts: 39

PostPosted: Thu Nov 28, 2024 12:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum