[Slackbuilds-users] Qt5 Update to 5.12

Dave Woodfall dave at slackbuilds.org
Sun Jan 26 02:23:30 UTC 2020


On 2020-01-25 20:13,
Kyle Guinn <elyk03 at gmail.com> put forth the proposition:
> On 1/25/20, Dave Woodfall <dave at slackbuilds.org> wrote:
> > On 2020-01-25 14:15,
> > Kyle Guinn <elyk03 at gmail.com> put forth the proposition:
> >> I got stuck here in the qt5 build.  Any ideas?
> >>
> >> g++ -Wl,-O1 -L/usr/lib64 -Wl,--enable-new-dtags -Wl,--gc-sections -o
> >> ../../../bin/moc .obj/moc.o .obj/preprocessor.o .obj/generator.o
> >> .obj/parser.o .obj/token.o .obj/main.o
> >> -L/tmp/SBo/qt-everywhere-src-5.12.0/qtbase/lib -lQt5Bootstrap -lz
> >> -lpthread
> >> .obj/main.o: In function `runMoc(int, char**)':
> >> main.cpp:(.text._Z6runMociPPc+0x4206): undefined reference to
> >> `QtPrivate::QStringList_contains(QStringList const*, QLatin1String,
> >> Qt::CaseSensitivity)'
> >> main.cpp:(.text._Z6runMociPPc+0x429f): undefined reference to
> >> `QtPrivate::QStringList_contains(QStringList const*, QLatin1String,
> >> Qt::CaseSensitivity)'
> >> collect2: error: ld returned 1 exit status
> >> Makefile:135: recipe for target '../../../bin/moc' failed
> >> make[3]: *** [../../../bin/moc] Error 1
> >> make[3]: Leaving directory
> >> '/tmp/SBo/qt-everywhere-src-5.12.0/qtbase/src/tools/moc'
> >> Makefile:94: recipe for target 'sub-moc-make_first' failed
> >> make[2]: *** [sub-moc-make_first] Error 2
> >> make[2]: Leaving directory '/tmp/SBo/qt-everywhere-src-5.12.0/qtbase/src'
> >> Makefile:48: recipe for target 'sub-src-make_first' failed
> >> make[1]: *** [sub-src-make_first] Error 2
> >> make[1]: Leaving directory '/tmp/SBo/qt-everywhere-src-5.12.0/qtbase'
> >> Makefile:83: recipe for target 'module-qtbase-make_first' failed
> >> make: *** [module-qtbase-make_first] Error 2
> >
> > Do you have Qt5 installed already?  That moc error usually pops up
> > because of that.  If so, you need to uninstall the old version, log
> > out of root, and log back in again.
> >
>
> Yes, I had 5.9.8 installed.  Trying it again now.
>
> One more fix, the case of this variable got partially changed:
>
> -----
> @@ -200,7 +200,7 @@ export QT_PLUGIN_PATH="${QTDIR}/qtbase/plugins"
>    $USE_CCACHE \
>    $CODECS \
>    $PULSE \
> -  $RELOCAtions \
> +  $RELOCATIONS \
>    $BUILD_EXAMPLES
>
>  make
> -----

Fixed in my branch

https://git.slackbuilds.org/slackbuilds/log/?h=user/dive/qt5-5.12

-daw
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20200126/2c8e41c6/attachment.asc>


More information about the SlackBuilds-users mailing list