graphics/qt5-imageformats not building in 14.0-STABLE
Jason E. Hale
jhale at freebsd.org
Mon Jan 8 19:20:06 GMT 2024
On Mon, Jan 8, 2024 at 3:57 AM William Bulley <web at umich.edu> wrote:
>
> I am attempting to build graphics/qt5-imageformats using
> portmaster on 14.0-STABLE. The O/S is up-to-date as of
> 1/4/2024. The ports are up-to-date as of 4/6/2024.
>
> Here are the errors that I get today:
>
> + -Wl,--undefined-version -Wl,--as-needed -fstack-protector-strong -Wl,--no-undefined -pthread -Wl,-rpath,/usr/local/lib/qt5 -shared -o libqmng.so .obj/main.o .obj/qmnghandler.o -L/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/lib -L/usr/local/lib /usr/local/lib/qt5/libQt5Gui.so /usr/local/lib/qt5/libQt5Core.so -lGL -lmng
> ld: error: undefined symbol: mng_setcb_writedata
> >>> referenced by qmnghandler.cpp
> >>> .obj/qmnghandler.o:(QMngHandlerPrivate::QMngHandlerPrivate(QMngHandler*))
>
> ld: error: undefined symbol: mng_create
> >>> referenced by qmnghandler.cpp
> >>> .obj/qmnghandler.o:(QMngHandlerPrivate::writeImage(QImage const&))
>
> ld: error: undefined symbol: mng_putchunk_mhdr
> >>> referenced by qmnghandler.cpp
> >>> .obj/qmnghandler.o:(QMngHandlerPrivate::writeImage(QImage const&))
>
> ld: error: undefined symbol: mng_putchunk_term
> >>> referenced by qmnghandler.cpp
> >>> .obj/qmnghandler.o:(QMngHandlerPrivate::writeImage(QImage const&))
>
> ld: error: undefined symbol: mng_putchunk_ihdr
> >>> referenced by qmnghandler.cpp
> >>> .obj/qmnghandler.o:(QMngHandlerPrivate::writeImage(QImage const&))
>
> ld: error: undefined symbol: mng_putimgdata_ihdr
> >>> referenced by qmnghandler.cpp
> >>> .obj/qmnghandler.o:(QMngHandlerPrivate::writeImage(QImage const&))
>
> ld: error: undefined symbol: mng_putchunk_iend
> >>> referenced by qmnghandler.cpp
> >>> .obj/qmnghandler.o:(QMngHandlerPrivate::writeImage(QImage const&))
>
> ld: error: undefined symbol: mng_putchunk_mend
> >>> referenced by qmnghandler.cpp
> >>> .obj/qmnghandler.o:(QMngHandlerPrivate::writeImage(QImage const&))
>
> ld: error: undefined symbol: mng_write
> >>> referenced by qmnghandler.cpp
> >>> .obj/qmnghandler.o:(QMngHandlerPrivate::writeImage(QImage const&))
> c++: error: linker command failed with exit code 1 (use -v to see invocation)
> *** [../../../../plugins/imageformats/libqmng.so] Error code 1
>
> make[5]: stopped in /usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/src/plugins/imageformats/mng
> 1 error
>
> make[5]: stopped in /usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/src/plugins/imageformats/mng
> *** [sub-mng-all] Error code 2
>
> make[4]: stopped in /usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/src/plugins/imageformats
> --- sub-webp-all ---
> *** [sub-webp-all] Error code 6
>
> make[4]: stopped in /usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/src/plugins/imageformats
> 2 errors
>
> make[4]: stopped in /usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/src/plugins/imageformats
> *** [sub-imageformats-all] Error code 2
>
> make[3]: stopped in /usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/src/plugins
> 1 error
>
> make[3]: stopped in /usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/src/plugins
> *** [sub-plugins-all] Error code 2
>
> make[2]: stopped in /usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/src
> 1 error
>
> make[2]: stopped in /usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/src
> *** [sub-src-all] Error code 2
>
> make[1]: stopped in /usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12
> 1 error
>
> make[1]: stopped in /usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12
> ===> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
> the maintainer.
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/graphics/qt5-imageformats
>
> ===>>> make build failed for graphics/qt5-imageformats
> ===>>> Aborting update
>
> ===>>> Update for graphics/qt5-imageformats failed
> ===>>> Aborting update
>
> ===>>> Update for devel/py-qt5-pyqt at py39 failed
> ===>>> Aborting update
>
> ===>>> Update for www/py-qt5-webengine at py39 failed
> ===>>> Aborting update
>
> --
> William Bulley
> E-MAIL: web at umich.edu
> <web at umich.edu>
Hi,
We're working on it. So far, I've tracked the problem down to
graphics/libmng. A patch was inexplicably deleted from its files a few
days ago and that seems to be what is causing these errors. Feel free
to track the issue progress at [1].
[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276182
-Jason
More information about the kde-freebsd
mailing list