Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kde-plasma:plasma-workspace-5.21.5 fails to build
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
AstroFloyd
n00b
n00b


Joined: 18 Oct 2011
Posts: 43

PostPosted: Sun Jun 20, 2021 5:33 pm    Post subject: kde-plasma:plasma-workspace-5.21.5 fails to build Reply with quote

I haven't found this elsewhere, so perhaps something strange is going on on my system in which case I don't want to file a bug, but the stable kde-plasma:plasma-workspace-5.21.5 fails to build repeatedly on my laptop. (I also now notice that I don't know how to attach large files to a post on this forum.) Does anyone know what the issue might be?

Code:

[662/1325] : && /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=ivybridge -O2 -pipe -w -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always  -Wl,--no-undefined -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libkfontinst.so.5 -o bin/libkfontinst.so.5.21.5 kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/kfontinst_autogen/mocs_compilation.cpp.o kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/Misc.cpp.o kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/Fc.cpp.o kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/Family.cpp.o kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/Style.cpp.o kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/File.cpp.o kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/WritingSystems.cpp.o  /usr/lib64/libKF5KIOCore.so.5.83.0  /usr/lib64/libfreetype.so  /usr/lib64/libxcb.so  /usr/lib64/libxcb-image.so  /usr/lib64/libKF5Service.so.5.83.0  /usr/lib64/libQt5Xml.so.5.15.2  /usr/lib64/libKF5I18n.so.5.83.0  /usr/lib64/libQt5Network.so.5.15.2  /usr/lib64/libKF5ConfigCore.so.5.83.0  /usr/lib64/libQt5Gui.so.5.15.2  /usr/lib64/libQt5DBus.so.5.15.2  /usr/lib64/libKF5CoreAddons.so.5.83.0  /usr/lib64/libQt5Core.so.5.15.2  /usr/lib64/libxcb-shm.so  /usr/lib64/libxcb.so && :
FAILED: bin/libkfontinst.so.5.21.5
: && /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=ivybridge -O2 -pipe -w -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always  -Wl,--no-undefined -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libkfontinst.so.5 -o bin/libkfontinst.so.5.21.5 kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/kfontinst_autogen/mocs_compilation.cpp.o kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/Misc.cpp.o kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/Fc.cpp.o kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/Family.cpp.o kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/Style.cpp.o kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/File.cpp.o kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/WritingSystems.cpp.o  /usr/lib64/libKF5KIOCore.so.5.83.0  /usr/lib64/libfreetype.so  /usr/lib64/libxcb.so  /usr/lib64/libxcb-image.so  /usr/lib64/libKF5Service.so.5.83.0  /usr/lib64/libQt5Xml.so.5.15.2  /usr/lib64/libKF5I18n.so.5.83.0  /usr/lib64/libQt5Network.so.5.15.2  /usr/lib64/libKF5ConfigCore.so.5.83.0  /usr/lib64/libQt5Gui.so.5.15.2  /usr/lib64/libQt5DBus.so.5.15.2  /usr/lib64/libKF5CoreAddons.so.5.83.0  /usr/lib64/libQt5Core.so.5.15.2  /usr/lib64/libxcb-shm.so  /usr/lib64/libxcb.so && :
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/Fc.cpp.o: in function `KFI::FC::getFcString(_FcPattern*, char const*, int)':
Fc.cpp:(.text+0x25b1): undefined reference to `FcPatternGetString'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/Fc.cpp.o: in function `KFI::FC::getFcInt(_FcPattern*, char const*, int, int)':
Fc.cpp:(.text+0x28df): undefined reference to `FcPatternGetInteger'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/Fc.cpp.o: in function `KFI::FC::getName(QString const&)':
Fc.cpp:(.text+0x355c): undefined reference to `FcFreeTypeQuery'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: Fc.cpp:(.text+0x35e6): undefined reference to `FcPatternDestroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: Fc.cpp:(.text+0x3628): undefined reference to `FcPatternDestroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/Fc.cpp.o: in function `KFI::FC::bitmapsEnabled()':
Fc.cpp:(.text+0x3709): undefined reference to `FcObjectSetBuild'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: Fc.cpp:(.text+0x3726): undefined reference to `FcPatternBuild'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: Fc.cpp:(.text+0x3736): undefined reference to `FcFontList'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: Fc.cpp:(.text+0x3741): undefined reference to `FcPatternDestroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: Fc.cpp:(.text+0x3749): undefined reference to `FcObjectSetDestroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: Fc.cpp:(.text+0x375d): undefined reference to `FcFontSetDestroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/WritingSystems.cpp.o: in function `KFI::WritingSystems::get(_FcPattern*) const':
WritingSystems.cpp:(.text+0xc0): undefined reference to `FcPatternGetLangSet'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: WritingSystems.cpp:(.text+0xfd): undefined reference to `FcLangSetHasLang'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: WritingSystems.cpp:(.text+0x135): undefined reference to `FcPatternGetCharSet'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: WritingSystems.cpp:(.text+0x177): undefined reference to `FcCharSetHasChar'
collect2: error: ld returned 1 exit status
[663/1325] cd /var/tmp/portage/portage/kde-plasma/plasma-workspace-5.21.5/work/plasma-workspace-5.21.5_build/containmentactions/contextmenu && /usr/bin/cmake -E cmake_autogen /var/tmp/portage/portage/kde-plasma/plasma-workspace-5.21.5/work/plasma-workspace-5.21.5_build/containmentactions/contextmenu/CMakeFiles/plasma_containmentactions_contextmenu_autogen.dir/AutogenInfo.json Gentoo && /usr/bin/cmake -E touch /var/tmp/portage/portage/kde-plasma/plasma-workspace-5.21.5/work/plasma-workspace-5.21.5_build/containmentactions/contextmenu/plasma_containmentactions_contextmenu_autogen/timestamp
[664/1325] cd /var/tmp/portage/portage/kde-plasma/plasma-workspace-5.21.5/work/plasma-workspace-5.21.5_build/kcms/cursortheme && /usr/bin/cmake -E cmake_autogen /var/tmp/portage/portage/kde-plasma/plasma-workspace-5.21.5/work/plasma-workspace-5.21.5_build/kcms/cursortheme/CMakeFiles/kcm_cursortheme_autogen.dir/AutogenInfo.json Gentoo && /usr/bin/cmake -E touch /var/tmp/portage/portage/kde-plasma/plasma-workspace-5.21.5/work/plasma-workspace-5.21.5_build/kcms/cursortheme/kcm_cursortheme_autogen/timestamp
[665/1325] : && /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -march=ivybridge -O2 -pipe -w -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed kcms/colors/editor/CMakeFiles/kcolorschemeeditor.dir/kcolorschemeeditor_autogen/mocs_compilation.cpp.o kcms/colors/editor/CMakeFiles/kcolorschemeeditor.dir/kcolorschemeeditor.cpp.o kcms/colors/editor/CMakeFiles/kcolorschemeeditor.dir/scmeditordialog.cpp.o kcms/colors/editor/CMakeFiles/kcolorschemeeditor.dir/scmeditoroptions.cpp.o kcms/colors/editor/CMakeFiles/kcolorschemeeditor.dir/scmeditorcolors.cpp.o kcms/colors/editor/CMakeFiles/kcolorschemeeditor.dir/scmeditoreffects.cpp.o kcms/colors/editor/CMakeFiles/kcolorschemeeditor.dir/previewwidget.cpp.o kcms/colors/editor/CMakeFiles/kcolorschemeeditor.dir/setpreviewwidget.cpp.o -o bin/kcolorschemeeditor  /usr/lib64/libKF5NewStuff.so.5.83.0  /usr/lib64/libKF5NewStuffCore.so.5.83.0  /usr/lib64/libKF5Attica.so.5.83.0  /usr/lib64/libKF5XmlGui.so.5.83.0  /usr/lib64/libKF5Service.so.5.83.0  /usr/lib64/libKF5WindowSystem.so.5.83.0  /usr/lib64/libQt5Network.so.5.15.2  /usr/lib64/libKF5ConfigWidgets.so.5.83.0  /usr/lib64/libKF5GuiAddons.so.5.83.0  /usr/lib64/libKF5Codecs.so.5.83.0  /usr/lib64/libKF5Auth.so.5.83.0  /usr/lib64/libKF5AuthCore.so.5.83.0  /usr/lib64/libKF5CoreAddons.so.5.83.0  /usr/lib64/libKF5I18n.so.5.83.0  /usr/lib64/libKF5WidgetsAddons.so.5.83.0  /usr/lib64/libKF5ConfigGui.so.5.83.0  /usr/lib64/libQt5Xml.so.5.15.2  /usr/lib64/libKF5ConfigCore.so.5.83.0  /usr/lib64/libQt5DBus.so.5.15.2  /usr/lib64/libQt5Widgets.so.5.15.2  /usr/lib64/libQt5Gui.so.5.15.2  /usr/lib64/libQt5Core.so.5.15.2 && :
ninja: build stopped: subcommand failed.
 * ERROR: kde-plasma/plasma-workspace-5.21.5::gentoo failed (compile phase):
 *   ninja -v -j4 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  127:  Called src_compile
 *   environment, line 2825:  Called cmake_src_compile
 *   environment, line 1261:  Called cmake_build
 *   environment, line 1230:  Called eninja
 *   environment, line 1872:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=kde-plasma/plasma-workspace-5.21.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-plasma/plasma-workspace-5.21.5::gentoo'`.
 * The complete build log is located at '/var/log/portage/kde-plasma:plasma-workspace-5.21.5:20210620-111206.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/portage/kde-plasma/plasma-workspace-5.21.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/kde-plasma/plasma-workspace-5.21.5/temp/environment'.
 * Working directory: '/var/tmp/portage/portage/kde-plasma/plasma-workspace-5.21.5/work/plasma-workspace-5.21.5_build'
 * S: '/var/tmp/portage/portage/kde-plasma/plasma-workspace-5.21.5/work/plasma-workspace-5.21.5'

>>> Failed to emerge kde-plasma/plasma-workspace-5.21.5, Log file:



Last edited by AstroFloyd on Sun Jun 20, 2021 7:20 pm; edited 2 times in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 27479
Location: here

PostPosted: Sun Jun 20, 2021 5:42 pm    Post subject: Reply with quote

Code:
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/Fc.cpp.o: in function `KFI::FC::getFcString(_FcPattern*, char const*, int)':
Fc.cpp:(.text+0x25b1): undefined reference to `FcPatternGetString'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/Fc.cpp.o: in function `KFI::FC::getFcInt(_FcPattern*, char const*, int, int)':
Fc.cpp:(.text+0x28df): undefined reference to `FcPatternGetInteger'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/Fc.cpp.o: in function `KFI::FC::getName(QString const&)':
Fc.cpp:(.text+0x355c): undefined reference to `FcFreeTypeQuery'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: Fc.cpp:(.text+0x35e6): undefined reference to `FcPatternDestroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: Fc.cpp:(.text+0x3628): undefined reference to `FcPatternDestroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/Fc.cpp.o: in function `KFI::FC::bitmapsEnabled()':
Fc.cpp:(.text+0x3709): undefined reference to `FcObjectSetBuild'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: Fc.cpp:(.text+0x3726): undefined reference to `FcPatternBuild'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: Fc.cpp:(.text+0x3736): undefined reference to `FcFontList'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: Fc.cpp:(.text+0x3741): undefined reference to `FcPatternDestroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: Fc.cpp:(.text+0x3749): undefined reference to `FcObjectSetDestroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: Fc.cpp:(.text+0x375d): undefined reference to `FcFontSetDestroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: kcms/kfontinst/lib/CMakeFiles/kfontinst.dir/WritingSystems.cpp.o: in function `KFI::WritingSystems::get(_FcPattern*) const':
WritingSystems.cpp:(.text+0xc0): undefined reference to `FcPatternGetLangSet'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: WritingSystems.cpp:(.text+0xfd): undefined reference to `FcLangSetHasLang'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: WritingSystems.cpp:(.text+0x135): undefined reference to `FcPatternGetCharSet'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: WritingSystems.cpp:(.text+0x177): undefined reference to `FcCharSetHasChar'
collect2: error: ld returned 1 exit status

Try to rebuild media-libs/fontconfig package
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
AstroFloyd
n00b
n00b


Joined: 18 Oct 2011
Posts: 43

PostPosted: Sun Jun 20, 2021 7:21 pm    Post subject: Reply with quote

Thanks a lot for your help. Unfortunately, it doesn't seem to solve my issue - I get the same error as before...

Hmmm,
Code:
USE=-fontconfig emerge plasma-workspace
works though. I'm not sure what I'm missing in that case.
Back to top
View user's profile Send private message
paulj
Guru
Guru


Joined: 30 Sep 2004
Posts: 464
Location: Wales, UK

PostPosted: Sun Aug 01, 2021 3:48 pm    Post subject: Reply with quote

Did you resolve this issue? I am having the same problem at the moment, and can also report that rebuilding fontconfig didn't solve the problem.

Thanks!
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4127
Location: Germany

PostPosted: Sun Aug 01, 2021 4:33 pm    Post subject: Reply with quote

Hm, it builds fine here (last build was yesterday)

Please try it without ccache

/edit
Oh, you build stable plasma 5.21.5 with brand new testing gcc:11 (not sure it is already compatible)
/edit2
Oh, and -w in cflags - please try it without it.
Back to top
View user's profile Send private message
paulj
Guru
Guru


Joined: 30 Sep 2004
Posts: 464
Location: Wales, UK

PostPosted: Sun Aug 01, 2021 8:30 pm    Post subject: Reply with quote

Josef.95 wrote:
Hm, it builds fine here (last build was yesterday)

Please try it without ccache

/edit
Oh, you build stable plasma 5.21.5 with brand new testing gcc:11 (not sure it is already compatible)
/edit2
Oh, and -w in cflags - please try it without it.


Thanks for the comments Josef.95.

I have three gentoo machines here - on my desktop and workshop machines, it compiles with no problem but on the laptop I get the fontconfig library errors shown in the original post. All machines use gcc 10.3.0, and have similar configuration. The laptop is an intel Core i5 (7th generation) machine, the other two are AMD based. None use ccache, nor have -w in CFLAGS (on the laptop, CFLAGS="-march=skylake -O2 -pipe" - not really extreme?).

It clearly isn't a common problem, otherwise there would be many other people raising this issue as plasma 5.21.5 is stable, and therefore I guess widely installed.

If you have other ideas, I appreciate your suggestions!

Thanks.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4127
Location: Germany

PostPosted: Sun Aug 01, 2021 10:31 pm    Post subject: Reply with quote

paulj,
sorry I don't know what exactly is the issue :-/
I would try the following rebuild:
Code:
emerge -av1 kde-frameworks/kio media-libs/freetype x11-libs/libxcb x11-libs/xcb-util-image kde-frameworks/kservice dev-qt/qtxml kde-frameworks/ki18n dev-qt/qtnetwork kde-frameworks/kconfig dev-qt/qtgui dev-qt/qtdbus kde-frameworks/kcoreaddons dev-qt/qtcore x11-libs/libxcb kde-plasma/plasma-workspace
Back to top
View user's profile Send private message
paulj
Guru
Guru


Joined: 30 Sep 2004
Posts: 464
Location: Wales, UK

PostPosted: Tue Aug 03, 2021 9:01 am    Post subject: Reply with quote

Josef.95 wrote:
paulj,
sorry I don't know what exactly is the issue :-/
I would try the following rebuild:
Code:
emerge -av1 kde-frameworks/kio media-libs/freetype x11-libs/libxcb x11-libs/xcb-util-image kde-frameworks/kservice dev-qt/qtxml kde-frameworks/ki18n dev-qt/qtnetwork kde-frameworks/kconfig dev-qt/qtgui dev-qt/qtdbus kde-frameworks/kcoreaddons dev-qt/qtcore x11-libs/libxcb kde-plasma/plasma-workspace


That didn’t do the trick. I also noticed that I had the unstable version of crake installed, so reverted to stable, but again without luck. I also re-installed gcc.

It seems the problem is with finding the library for linking, so I thought that the cmake and/or gcc re-install would sort it out.

I am now in our caravan on holiday, but I brought the laptop with me in case other ideas come up!

Thanks again for your suggestions!
Back to top
View user's profile Send private message
AstroFloyd
n00b
n00b


Joined: 18 Oct 2011
Posts: 43

PostPosted: Wed Aug 04, 2021 2:30 pm    Post subject: Reply with quote

paulj wrote:
Did you resolve this issue? I am having the same problem at the moment, and can also report that rebuilding fontconfig didn't solve the problem.

The only 'solution' I found is the workaround I reported: installing plasma-workspace without support for fontconfig:

  • rebuilding media-libs/fontconfig doesn't help;
  • using media-libs/fontconfig-2.13.93 doesn't help;
  • remerging plasma-workspace without ccache doesn't help;
  • remerging plasma-workspace with USE=-fontconfig provides a workaround.
Back to top
View user's profile Send private message
paulj
Guru
Guru


Joined: 30 Sep 2004
Posts: 464
Location: Wales, UK

PostPosted: Thu Aug 05, 2021 6:01 pm    Post subject: Reply with quote

AstroFloyd wrote:
paulj wrote:
Did you resolve this issue? I am having the same problem at the moment, and can also report that rebuilding fontconfig didn't solve the problem.

The only 'solution' I found is the workaround I reported: installing plasma-workspace without support for fontconfig:

  • remerging plasma-workspace with USE=-fontconfig provides a workaround.


Thanks for the response AstroFloyd. It seems quite strange that so few people are coming across this issue. I will continue to look for a solution, but if I don't find one, hopefully the next version bump will fix the problem.
Back to top
View user's profile Send private message
paulj
Guru
Guru


Joined: 30 Sep 2004
Posts: 464
Location: Wales, UK

PostPosted: Fri Aug 06, 2021 2:14 pm    Post subject: Reply with quote

I seem to have solved this problem here, but I am not exactly sure which step achieved the result. What I did:

  • Went through the package.accept-keywords folder, and removed all unneeded entries. There were packages marked as unstable, but in fact stable packages were now installed as unstable packages were not available. I did roll back ninja from unstable to stable, as there was no reason for this to be installed as unstable.
  • Went through the package.use folder, and again removed all the cruft which has built up over the last years.
  • Removed unneeded flags from global USE in make.conf
  • Updated with "emerge -avuDN @world"
  • Emerged plasma-workspace without removing the fontconfig flag

It isn't clear which step resolved the problem. I thought it might be the unstable ninja, but re-installing the unstable version didn't break the build of plasma-workspace.

If I can find a way to repeat the problem (ie to pin down the real cause), I will post back here.
Back to top
View user's profile Send private message
WendyB
n00b
n00b


Joined: 30 May 2010
Posts: 41
Location: Hilversum, Holland

PostPosted: Tue Sep 14, 2021 6:32 am    Post subject: Reply with quote

Downgrading to kde-frameworks/extra-cmake-modules-5.82.0 was the solution for me
Back to top
View user's profile Send private message
JuNix
Apprentice
Apprentice


Joined: 05 Mar 2003
Posts: 224
Location: Sheffield

PostPosted: Tue Sep 14, 2021 7:53 am    Post subject: Reply with quote

WendyB wrote:
Downgrading to kde-frameworks/extra-cmake-modules-5.82.0 was the solution for me


Great! That worked for me too. Thanks!
Back to top
View user's profile Send private message
jhon987
Apprentice
Apprentice


Joined: 18 Nov 2013
Posts: 288

PostPosted: Tue Sep 14, 2021 8:17 am    Post subject: Reply with quote

I've encountered the same issue today too and I also downgraded to kde-frameworks/extra-cmake-modules-5.82.0 (from 5.85.0) and that worked for me as well
Back to top
View user's profile Send private message
mao
n00b
n00b


Joined: 22 Mar 2017
Posts: 43
Location: Poland

PostPosted: Tue Sep 14, 2021 9:14 am    Post subject: Reply with quote

WendyB wrote:
Downgrading to kde-frameworks/extra-cmake-modules-5.82.0 was the solution for me

I had the same issue and this solution worked for me as well, thanks!

At the moment kde-frameworks/extra-cmake-modules-5.82.0 is flagged as unstable for amd64.
Back to top
View user's profile Send private message
lazydog
n00b
n00b


Joined: 26 Feb 2007
Posts: 7

PostPosted: Tue Sep 14, 2021 9:22 am    Post subject: Reply with quote

I had the same problem, kde-plasma/plasma-workspace-5.21.5 failed to compile (gcc 10.3.0)

I can confirm that downgrade to extra-cmake-modules-5.82.0 solved everything.
Back to top
View user's profile Send private message
Blind_Sniper
Apprentice
Apprentice


Joined: 20 Apr 2018
Posts: 252

PostPosted: Tue Sep 14, 2021 11:43 am    Post subject: Reply with quote

WendyB wrote:
Downgrading to kde-frameworks/extra-cmake-modules-5.82.0 was the solution for me


It works, but what about next world update? It tries to pull extra-cmake-modules-5.85.0 back.
_________________
GNU is Not Usable
Back to top
View user's profile Send private message
paulj
Guru
Guru


Joined: 30 Sep 2004
Posts: 464
Location: Wales, UK

PostPosted: Tue Sep 14, 2021 12:50 pm    Post subject: Reply with quote

Blind_Sniper wrote:
WendyB wrote:
Downgrading to kde-frameworks/extra-cmake-modules-5.82.0 was the solution for me


It works, but what about next world update? It tries to pull extra-cmake-modules-5.85.0 back.


Only if you have marked extra-cmake-modules as unstable. Current stable version is 5.82.0.
Have a look through the contents of the /etc/portage/package.accept_keywords (if it is a file), or the files under that location (if it is a directory). You may find extra-cmake-modules in there, and without any version information, this will always keep you with the unstable version. I would recommend removing the offending line (or comment it out), then run a new world update and see if you are asked to unmask it again. I had it unmasked as a result of a request or issue previously (I can't remember exactly when), but when I removed the reference to it in /etc/portage/package.accept_keywords along with several other packages, everything downgraded and built correctly when I did the world update.
Back to top
View user's profile Send private message
koe
n00b
n00b


Joined: 14 Sep 2021
Posts: 2

PostPosted: Tue Sep 14, 2021 1:07 pm    Post subject: Reply with quote

I recently installed Gentoo and am also running into this issue.
I am having some trouble downgrading through:
Code:
emerge -a =kde-frameworks/extra-cmake-modules-5.82.0

From which I obtain:
Code:
emerge: there are no ebuilds to satisfy "=kde-frameworks/extra-cmake-modules-5.82.0"

The oldest version that I seem to be able to install is 5.85.0.
Sorry for the silly question, but how would I be able to gain access to older versions?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8438
Location: Austria

PostPosted: Tue Sep 14, 2021 1:12 pm    Post subject: Reply with quote

Use this file to upgrade to KDE Plasma 5.22.5:

https://gitweb.gentoo.org/proj/kde.git/tree/Documentation/package.accept_keywords/kde-plasma-5.22.keywords

KDE Frameworks 5.82 is gone:

Code:
$ eshowkw extra-cmake-modules
Keywords for kde-frameworks/extra-cmake-modules:
       |                             |   u        | 
       | a   a     p s   a   r       |   n        | 
       | m   r h   p p   l i i m m s | e u s      | r
       | d a m p p c a x p a s 6 i 3 | a s l      | e
       | 6 r 6 p p 6 r 8 h 6 c 8 p 9 | p e o      | p
       | 4 m 4 a c 4 c 6 a 4 v k s 0 | i d t      | o
-------+-----------------------------+------------+-------
5.85.0 | + ~ + ~ + + o + o o ~ o o o | 8 o 5/5.85 | gentoo
-------+-----------------------------+------------+-------
5.86.0 | ~ ~ ~ ~ ~ ~ o ~ o o ~ o o o | 8 o 5/5.86 | gentoo

_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
paulj
Guru
Guru


Joined: 30 Sep 2004
Posts: 464
Location: Wales, UK

PostPosted: Tue Sep 14, 2021 1:18 pm    Post subject: Reply with quote

koe wrote:
I recently installed Gentoo and am also running into this issue.
I am having some trouble downgrading through:
Code:
emerge -a =kde-frameworks/extra-cmake-modules-5.82.0

From which I obtain:
Code:
emerge: there are no ebuilds to satisfy "=kde-frameworks/extra-cmake-modules-5.82.0"

The oldest version that I seem to be able to install is 5.85.0.
Sorry for the silly question, but how would I be able to gain access to older versions?


Sorry - you are correct. Since my last update, 5.85.0 has been made stable (I have just synced to check this).

As I write this, I see asturm has also posted a suggestion to move to kde plasma 5.22.5, which I see is now marked as unstable in portage. You could follow his suggestion.

It is unusual for a stable version of kde plasma not to build with stable versions of the build tools... I suspect 5.22.5 will be stabilised quite quickly?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8438
Location: Austria

PostPosted: Tue Sep 14, 2021 1:48 pm    Post subject: Reply with quote

paulj wrote:
I suspect 5.22.5 will be stabilised quite quickly?

The process was kicked off already.

Meanwhile old 5.21.5 got a fix anyway, so syncing in a couple of hours should fix it for everyone either way.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dbebfcbf698947655af1d3ed9a8444f36772e94
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Blind_Sniper
Apprentice
Apprentice


Joined: 20 Apr 2018
Posts: 252

PostPosted: Tue Sep 14, 2021 1:53 pm    Post subject: Reply with quote

paulj wrote:
Blind_Sniper wrote:
WendyB wrote:
Downgrading to kde-frameworks/extra-cmake-modules-5.82.0 was the solution for me


It works, but what about next world update? It tries to pull extra-cmake-modules-5.85.0 back.


Only if you have marked extra-cmake-modules as unstable. Current stable version is 5.82.0.


There is no any "kde-frameworks/extra-cmake-modules" in package.accept_keywords.
But emerge -avuDN tries to update it to 5.85.0.

Code:
# cat /usr/portage/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.85.0.ebuild | grep KEYWORDS
KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 ~riscv x86"


Seems 5.85.0 is stable...
_________________
GNU is Not Usable
Back to top
View user's profile Send private message
paulj
Guru
Guru


Joined: 30 Sep 2004
Posts: 464
Location: Wales, UK

PostPosted: Tue Sep 14, 2021 2:02 pm    Post subject: Reply with quote

You are right - I hadn't synced my system for a few days, but on checking now, it is stable. I am currently doing a world build to see what happens. If it fails with stable versions of kde and extra-cmake-modules, then it would be appropriate to submit a bug report. See asturm's response for an alternative approach - install unstable version of plasma. In my experience in the past, this is a low risk approach worth considering.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8438
Location: Austria

PostPosted: Tue Sep 14, 2021 2:05 pm    Post subject: Reply with quote

paulj wrote:
If it fails with stable versions of kde and extra-cmake-modules, then it would be appropriate to submit a bug report.

No need to: https://bugs.gentoo.org/813041
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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