[Bug 268680] databases/qt5-sqldrivers-ibase fails to build

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 1 16:32:17 GMT 2023


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268680

--- Comment #1 from russo at bogodyn.org ---
I had hoped that git commit 54ce503 in ports (which fixed some uninstalled
firebird30-client headers) would have addressed this issue, but it still fails
with the same error.

I have, however, poked around in the work directory and looked at the
config.log file to see what's going on, and I'm finding:
---
looking for library ibase
Trying source 0 (type inline) of library ibase ...
  => source failed condition 'config.win32'.
Trying source 1 (type inline) of library ibase ...
+ cd
/usr/ports/databases/qt5-sqldrivers-ibase/work/kde-qtbase-5.15.7p177/config.tests/ibase
&&
/usr/ports/databases/qt5-sqldrivers-ibase/work/kde-qtbase-5.15.7p177/bin/qmake
"CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared
warn_off console single_arch" 'QMAKE_USE += ibase' 'QMAKE_LIBS_IBASE = -lgds'
/usr/ports/databases/qt5-sqldrivers-ibase/work/kde-qtbase-5.15.7p177/config.tests/ibase
+ cd
/usr/ports/databases/qt5-sqldrivers-ibase/work/kde-qtbase-5.15.7p177/config
.tests/ibase && MAKEFLAGS= make
> clang++ -c -pipe -O2 -w -fPIC  -I. -I/usr/local/include -I/usr/ports/databases/qt5-sqldrivers-ibase/work/kde-qtbase-5.15.7p177/mkspecs/freebsd-clang -o main.o main.cpp
> clang++  -o ibase main.o   -lgds  -L/usr/local/lib
> ld: error: unable to find library -lgds
> clang++: error: linker command failed with exit code 1 (use -v to see invocation)
> *** Error code 1
> Stop.
> make[1]: stopped in /usr/ports/databases/qt5-sqldrivers-ibase/work/kde-qtbase-5.15.7p177/config.tests/ibase
 => source failed verification.
test config.qtbase_sqldrivers.libraries.ibase FAILED
---

The port only looks for the presence of libfbclient.so when checking
dependencies, and not for libgds (which was in fact installed by the firebird25
client, but is not installed by firebird30-client).  So instead of failing at
the dependency checking stage, it's failing at the final build stage.

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


More information about the kde-freebsd mailing list