Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 799335

Summary: gnome-base/gnome-shell-40.1-r1: build fails
Product: Gentoo Linux Reporter: Didier Colle <didier.colle>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED OBSOLETE    
Severity: major CC: dev-portage
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
output of emerge --info
output of emerge -pqv

Description Didier Colle 2021-06-30 09:53:26 UTC
Created attachment 720324 [details]
build.log

"emerge -qauDN --with-bdeps=y @world" failed on the build of gnome-base/gnome-shell. This happens for version 40.1-r1; playing with accept_keywords, it appears the same problem exists in version 40.2.
After reboot, graphical user interface (gnome) does not start up as normal/hangs.
For details: cfr. attached files.
Comment 1 Didier Colle 2021-06-30 09:54:48 UTC
Created attachment 720327 [details]
output of emerge --info
Comment 2 Didier Colle 2021-06-30 09:56:24 UTC
Created attachment 720333 [details]
output of emerge -pqv
Comment 3 Jory A. Pratt gentoo-dev 2021-06-30 16:49:06 UTC
(In reply to Didier Colle from comment #2)
> Created attachment 720333 [details]
> output of emerge -pqv

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libgjs.so: undefined reference to `sysprof_clock'

as your error states it is having problems finding references. Try to re-emerge dev-libs/gjs then attempt your build again.
Comment 4 Pacho Ramos gentoo-dev 2021-06-30 17:28:18 UTC
I also saw this. I think it's because of bug 631490 (I thought there was another similar bug somewhere else). In summary, as gnome-shell dependency is ok with gjs >=1.65.1 it doesn't pull latest gjs (that pulls =dev-util/sysprof-capture-3.40.1) before and tries to build gnome-shell with a broken gjs version due to sysprof-capture update. 

I am unsure about how this could be fixed... maybe portage should try to always updates packages in DEPEND before... Or maybe we are missing to set some blockers that could help portage to not update sysprof-capture without immediately updating things like gjs to their newer/fixes versions :/
Comment 5 Didier Colle 2021-06-30 20:55:28 UTC
(In reply to Jory A. Pratt from comment #3)
> (In reply to Didier Colle from comment #2)
> > Created attachment 720333 [details]
> > output of emerge -pqv
> 
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/
> ld: /usr/lib64/libgjs.so: undefined reference to `sysprof_clock'
> 
> as your error states it is having problems finding references. Try to
> re-emerge dev-libs/gjs then attempt your build again.

that indeed solved the problem; I nevertheless expect portage to take care of such dependency.