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

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 08 Jan 2024 00:26:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276182

--- Comment #7 from dennis <drac7ft@gmail.com> ---
It looks like it lost my comment after I attached the pkg info.

Again thanks for your help in trying to solve this.  I appreciate it.

The results from pkg check:

fbsdhost# pkg check -d
Checking all packages: 100%

fbsdhost# pkg check -B
Checking all packages: 100%

I went to the "/usr/ports/graphics/qt5-imageformats" directory and did a "make
clean" and "make configure".  The results are below.  I also did a "make" after
the configure, it failed again with the same undefined symbol error.

--make configure--

fbsdhost# make configure
===>  License LGPL21 accepted by the user
===>   qt5-imageformats-5.15.12p12 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by qt5-imageformats-5.15.12p12 for
building
===>  Extracting for qt5-imageformats-5.15.12p12
=> SHA256 Checksum OK for KDE/Qt/5.15.12/kde-qtimageformats-5.15.12p12.tar.xz.
===>  Patching for qt5-imageformats-5.15.12p12
===>  Applying FreeBSD patches for qt5-imageformats-5.15.12p12 from
/usr/ports/graphics/qt5-imageformats/files
===>   qt5-imageformats-5.15.12p12 depends on package: qt5-buildtools>=5.15 -
found
===>   qt5-imageformats-5.15.12p12 depends on package: qt5-qmake>=5.15 - found
===>   qt5-imageformats-5.15.12p12 depends on shared library: libjasper.so -
found (/usr/local/lib/libjasper.so)
===>   qt5-imageformats-5.15.12p12 depends on shared library: libmng.so - found
(/usr/local/lib/libmng.so)
===>   qt5-imageformats-5.15.12p12 depends on shared library: libtiff.so -
found (/usr/local/lib/libtiff.so)
===>   qt5-imageformats-5.15.12p12 depends on shared library: libwebp.so -
found (/usr/local/lib/libwebp.so)
===>   qt5-imageformats-5.15.12p12 depends on shared library: libQt5Core.so -
found (/usr/local/lib/qt5/libQt5Core.so)
===>   qt5-imageformats-5.15.12p12 depends on shared library: libQt5Gui.so -
found (/usr/local/lib/qt5/libQt5Gui.so)
===>  Configuring for qt5-imageformats-5.15.12p12
/bin/mkdir -p
/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12
echo 'CMAKE_MODULE_TESTS = -' >
/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/.qmake.cache
touch
/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/.git
touch
/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/.qmake.conf
# easier than to -f before the sed
/usr/bin/sed -i.bak -e '/MODULE_VERSION/s|5\.15\.\([0-9]*\)|5.15.12|g' 
/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/.qmake.conf
echo 'QMAKE_LIBDIR_FLAGS =
-L/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/lib'
>>
/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/.qmake.cache
echo 'QMAKE_DEFAULT_LIBDIRS += /usr/local/lib /usr/lib /lib' >>
/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/.qmake.cache
echo 'QMAKE_DEFAULT_INCDIRS += /usr/local/include /usr/include' >>
/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/.qmake.cache
Info: creating stash file
/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/.qmake.stash

Running configuration tests...
Done running configuration tests.

Configure summary:

Further Image Formats:
  JasPer ................................. yes
  MNG .................................... yes
  TIFF ................................... yes
    Using system libtiff ................. yes
  WEBP ................................... yes
    Using system libwebp ................. yes

Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into '/usr/local'.

Prior to reconfiguration, make sure you remove any leftovers from
the previous build.

Reading
/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/src/src.pro
 Reading
/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/src/imageformats/imageformats.pro
 Reading
/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/src/plugins/plugins.pro
  Reading
/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/src/plugins/imageformats/imageformats.pro
  Reading
/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/src/plugins/imageformats/tga/tga.pro
  Reading
/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/src/plugins/imageformats/wbmp/wbmp.pro
  Reading
/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/src/plugins/imageformats/tiff/tiff.pro
  Reading
/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/src/plugins/imageformats/webp/webp.pro
  Reading
/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/src/plugins/imageformats/icns/icns.pro
  Reading
/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/src/plugins/imageformats/mng/mng.pro
  Reading
/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/src/plugins/imageformats/jp2/jp2.pro

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