[Bug 276182] qt5-imageformats-5.15.12p12 won't build from source

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 07 Jan 2024 18:20:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276182

            Bug ID: 276182
           Summary: qt5-imageformats-5.15.12p12 won't build from source
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: drac7ft@gmail.com

Building qt5-imageformats will not build from source in FreeBSD 13.2.  Building
with kde-qtimageformats-5.15.12p12 will not build.  A prior version,
kde-qtimageformat-5.15.11p12 will build but is no longer current.

The build compiles until it tries to link then fails when the linker can't
resolve "mng_setcb_writedata" and other symbols which looks like it is part of
libmng.

c++ -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 
--- sub-tiff-all ---
mv -f libqtiff.so ../../../../plugins/imageformats/libqtiff.so
--- sub-icns-all ---
mv -f libqicns.so ../../../../plugins/imageformats/libqicns.so
--- sub-mng-all ---
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&))

-- 
You are receiving this mail because:
You are the assignee for the bug.