Trying to build knotifications framework, kdesrc-build and qt5

Albert Astals Cid aacid at kde.org
Thu Aug 5 23:13:29 BST 2021


El dijous, 5 d’agost de 2021, a les 9:39:55 (CEST), Colin Williams va escriure:
> ./kdesrc-build knotifications --verbose --debug --stop-on-failure
> 
> kdesrc-buildrc: http://ix.io/3v2J
> 
> I was building Qt5 because the provided Qt5 had the header issue from the
> begining of the post.

This is confusing, for me it doesn't seem to try to build qt webengine

The log says:
Using Qt 5 modules: qtbase, qtdeclarative, qtgraphicaleffects, qtimageformats, qtmultimedia, qtquickcontrols, qtquickcontrols2, qtscript, qtsensors, qtsvg, qttools, qtwayland, qtwebchannel, qtwebsockets, qtwebview, qtx11extras, qtnetworkauth, qtspeech, qtxmlpatterns

Do you get a different output?

Albert

> 
> Thanks!
> 
> On Wed, Aug 4, 2021, 1:41 AM Colin Williams <
> colin.williams.seattle at gmail.com> wrote:
> 
> > I was able to remove the relocations option by editing the make.conf. The
> > qt5 build looks like maybe it completed about 1/4 of the build process then
> > failed.
> >
> > There are a few errors sprinkled across the build log which appears
> > identical to the error log: http://ix.io/3uXA
> >
> > From the errors it looks like there are issues locating functions. I'm not
> > sure why or what to do to try to continue the build.
> >
> > On Tue, Aug 3, 2021, 5:29 AM Colin Williams <
> > colin.williams.seattle at gmail.com> wrote:
> >
> >> After nuking the build as mentioned, my issues with the Qt5 submodules
> >> have gone away. I'm still failing to build Qt5 via the script.
> >>
> >> I get the error: ERROR: Feature 'reduce_relocations' was enabled, but
> >> the pre-condition '!config.win32 && tests.reduce_relocations' failed.
> >>
> >> I don't have a clue regarding 'reduce_relocations'. Is there a way to
> >> disable it and would it make sense to do so?
> >>
> >> I'm attaching
> >>
> >> /usr/local/kde/src/log/2021-08-03-02/Qt5/error.log : http://ix.io/3uSt
> >> ./build/Qt5/config.log : http://ix.io/3uSv
> >>
> >> On Tue, Aug 3, 2021 at 3:01 AM Colin Williams
> >> <colin.williams.seattle at gmail.com> wrote:
> >> >
> >> > > Your Qt is broken.
> >> >
> >> > > /usr/local/lib/libQt5Core.so.5: undefined symbol: u_strToUpper_68
> >> >
> >> > Agreed
> >> >
> >> > > "Couldn't update Qt5 repository submodules!" means running the
> >> init-repository command from the qt5 repo failed, maybe you don't have perl
> >> or any of the perl dependencies > for that command?
> >> >
> >> > I have a recent version of perl, not 100% sure what perl dependencies
> >> > I think I need. One thing to note of interest is that I am trying to
> >> > invoke ./kdesrc-build knotifications and with my config it attempts to
> >> > build 7 "major" components. Regarding the source cloning issue the
> >> > only one reporting the source fetching or submodule issue is qt5.
> >> > Every other module doesn't have a source fetching issue. I was trying
> >> > the --verbose flag, but just discovered the --debug flag. Then I've
> >> > blown away the build and source directories and trying again.
> >> >
> >> >
> >> > Well i guess you have perl since kdesrc-build is in perl, anyhow
> >> > you'll have to figure out what's going on wrong with that command
> >> >
> >> > Cheers,
> >> >   Albert
> >> >
> >> > On Sun, Aug 1, 2021 at 12:55 AM Colin Williams
> >> > <colin.williams.seattle at gmail.com> wrote:
> >> > >
> >> > > I'm trying to build the knotifications framework on a platform that
> >> > > doesn't provide packages for kde. The platform provided qt5 and
> >> > > qt5-tools packages. I installed them. Then when building the framework
> >> > > dependencies I got http://ix.io/3uDy
> >> > >
> >> > > From that error I suspect that the system qt5 is broken. So now I am
> >> > > interested in allowing kdesrc-build to create QT5, and then back to
> >> > > the steps to build the framework.
> >> > >
> >> > > On the Qt5 build I am getting >Couldn't update Qt5 repository
> >> submodules!
> >> > >
> >> > > Unable to update Qt5, build cancelled.
> >> > >
> >> > > I went to the qt5 src directory and ran git submodule update. It took
> >> > > awhile, but it looks like it updated the submodules. However I still
> >> > > get the same error mentioned above when I try to build. Can someone
> >> > > suggest how I can manually update the submodules or satisfy the
> >> > > sources so kdesrc-build can build qt5 and I can move to the next step?
> >>
> >
> 







More information about the kde-devel mailing list