Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 799335 - gnome-base/gnome-shell-40.1-r1: build fails
Summary: gnome-base/gnome-shell-40.1-r1: build fails
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-30 09:53 UTC by Didier Colle
Modified: 2022-07-26 02:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,229.44 KB, text/plain)
2021-06-30 09:53 UTC, Didier Colle
Details
output of emerge --info (emerge.info,6.72 KB, text/plain)
2021-06-30 09:54 UTC, Didier Colle
Details
output of emerge -pqv (emerge.pqv,1.16 KB, text/plain)
2021-06-30 09:56 UTC, Didier Colle
Details

Note You need to log in before you can comment on or make changes to this bug.
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.