Date: Sat, 31 Dec 2022 13:11:26 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268674] databases/soci: Fails to build after removing firebird25 Message-ID: <bug-268674-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268674 Bug ID: 268674 Summary: databases/soci: Fails to build after removing firebird25 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: nc@FreeBSD.org Reporter: rhurlin@FreeBSD.org Flags: maintainer-feedback?(nc@FreeBSD.org) Assignee: nc@FreeBSD.org Created attachment 239157 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D239157&action= =3Dedit patch to disable default option firebird After removing databases/firebird25-client from the tree [1][2], databases/= soci does not built with the new default databases/firebird30-client: [ 31% 67/211] /usr/bin/c++ -DBOOST_ALL_NO_LIB -DCATCH_CONFIG_CPP11_NO_IS_EN= UM -DHAVE_DL=3D1 -DSOCI_ABI_VERSION=3D\"4.0\" -Dsoci_firebird_EXPORTS -I/usr/local/include -I/wrkdirs/usr/ports/databases/soci/work/.build -I/wrkdirs/usr/ports/databases/soci/work/soci-4.0.3/include -I/wrkdirs/usr/ports/databases/soci/work/.build/include -I/wrkdirs/usr/ports/databases/soci/work/soci-4.0.3/include/private -I/wrkdirs/usr/ports/databases/soci/work/soci-4.0.3/src/core/../../include = -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -pedantic -Wno-error=3Dparentheses -Wall -Wextra -Wpointer-arith -Wcast-align -Wcast-= qual -Wfloat-equal -Woverloaded-virtual -Wredundant-decls -Wno-long-long -std=3D= c++11=20 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -fvisibility=3Dhidden -MD -MT src/backends/firebird/CMakeFiles/soci_firebird.dir/blob.cpp.o -MF src/backends/firebird/CMakeFiles/soci_firebird.dir/blob.cpp.o.d -o src/backends/firebird/CMakeFiles/soci_firebird.dir/blob.cpp.o -c /wrkdirs/usr/ports/databases/soci/work/soci-4.0.3/src/backends/firebird/blo= b.cpp FAILED: src/backends/firebird/CMakeFiles/soci_firebird.dir/blob.cpp.o /usr/bin/c++ -DBOOST_ALL_NO_LIB -DCATCH_CONFIG_CPP11_NO_IS_ENUM -DHAVE_DL= =3D1 -DSOCI_ABI_VERSION=3D\"4.0\" -Dsoci_firebird_EXPORTS -I/usr/local/include -I/wrkdirs/usr/ports/databases/soci/work/.build -I/wrkdirs/usr/ports/databases/soci/work/soci-4.0.3/include -I/wrkdirs/usr/ports/databases/soci/work/.build/include -I/wrkdirs/usr/ports/databases/soci/work/soci-4.0.3/include/private -I/wrkdirs/usr/ports/databases/soci/work/soci-4.0.3/src/core/../../include = -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -pedantic -Wno-error=3Dparentheses -Wall -Wextra -Wpointer-arith -Wcast-align -Wcast-= qual -Wfloat-equal -Woverloaded-virtual -Wredundant-decls -Wno-long-long -std=3D= c++11=20 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -fvisibility=3Dhidden -MD -MT src/backends/firebird/CMakeFiles/soci_firebird.dir/blob.cpp.o -MF src/backends/firebird/CMakeFiles/soci_firebird.dir/blob.cpp.o.d -o src/backends/firebird/CMakeFiles/soci_firebird.dir/blob.cpp.o -c /wrkdirs/usr/ports/databases/soci/work/soci-4.0.3/src/backends/firebird/blo= b.cpp In file included from /wrkdirs/usr/ports/databases/soci/work/soci-4.0.3/src/backends/firebird/blo= b.cpp:9: In file included from /wrkdirs/usr/ports/databases/soci/work/soci-4.0.3/include/soci/firebird/soc= i-firebird.h:24: /usr/local/include/ibase.h:6:10: fatal error: '../jrd/ibase.h' file not fou= nd #include "../jrd/ibase.h" ^~~~~~~~~~~~~~~~ 1 error generated. It turns out, that the SOCI Firebird backend only supports versions of Fire= bird from 1.5 to 2.5 [3]. Soci can be used with either the client-server or embe= dded Firebird libraries. The former is the default, to select the latter set SOCI_FIREBIRD_EMBEDDED CMake option to ON value when building. I was not able to turn SOCI_FIREBIRD_EMBEDDED to ON and to build with embed= ded Firebird. So as a workaround I attached a patch which disables the default option for Firebird in the port. [1] https://cgit.freebsd.org/ports/commit/?id=3D80c3e9f81d398e9a548879867dfb28b= d60f66617 [2] https://cgit.freebsd.org/ports/commit/?id=3D6229ceb6f2b8da993dae01c7ed46677= a042839ba [3] https://github.com/SOCI/soci/blob/4ae2d90c5f7e4b864e149a63364d68a15c7806b2/= docs/backends/firebird.md#prerequisites --=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-268674-7788>