Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jan 2024 18:20:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 276182] qt5-imageformats-5.15.12p12 won't build from source
Message-ID:  <bug-276182-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276182

            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.  Buil=
ding
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 libqmn=
g.so
.obj/main.o  .obj/qmnghandler.o=20
-L/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/l=
ib
-L/usr/local/lib /usr/local/lib/qt5/libQt5Gui.so
/usr/local/lib/qt5/libQt5Core.so -lGL -lmng=20
--- 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::QMngHandlerPrivat=
e(QMngHandler*))

ld: error: undefined symbol: mng_create
>>> referenced by qmnghandler.cpp
>>>               .obj/qmnghandler.o:(QMngHandlerPrivate::writeImage(QImage=
 const&))

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276182-7788>