From nobody Sat Dec 31 13:11:26 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NkjFB4yCrz2nSCW for ; Sat, 31 Dec 2022 13:11:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NkjFB300lz4RD4 for ; Sat, 31 Dec 2022 13:11:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672492286; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CBiv3N4tAYfCYCUqMXfZQVQFAHp7vxR1w+dV5tFKkdk=; b=koeJBAjIlzj2wtpVQWKoQbad6un9If+EITKu6/XAES5GwzfyHbUMiqIr3RtzTiKsQ2Ruxv P7ios8bRL5ijFnQ2Ljp4S3Q4fdFkKwtFt02i2m9IklM+trvC8oVUJqY7wOA9lz1t2YqBUF MOIo/H2UCyNGXA57CpWoTInrQ5m5Ik/YRQJt7gMVIHM0/ltSQ2FFtKs0DzXOS30jjlmIvV QR+zVXacBjYjx9azx7f5S+Mere8nX2zOHyGEHVkFVnVOuQN0lqGQ7bjb0XOS1/gyDSI+he MQb39miiJoBQC2ZIIPAv1aAwR28830RdGrGd3t7L86T69SmPePPvSMx9Cz06RQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672492286; a=rsa-sha256; cv=none; b=KdQ6riWoFCgWm9KWL5ixFc1x0wG5nxgFJ+XIyYHAwkNCPjvfFtTTZODsfkayfy0KW7FC0E inZqV4bkN9tmaP6Z6p9873kSQotFhBt7rXmuMNzcB0b+6XYxbqmAfKkdfuShCKnjAnC7+P /cxSCa6C+hW6xtVhgS84EDG1N2z3ZcfbuFkRJm4WfbA7SWFdr/j4HtDrZCXaz56RXqmA8e L4w5VjuaVdvz/oll5Ptfc60YOBLy4jcb25Cpb+YUj3V9TgT+nCSk1C61+XkBATwv3k/jpE nPk6unJObKKYjVzOE2dW4vWaithAbindUIgEUO5RsaVuM9Jq4E5P5LGUB+IDHQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NkjFB24JhzptB for ; Sat, 31 Dec 2022 13:11:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2BVDBQKf030307 for ; Sat, 31 Dec 2022 13:11:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BVDBQig030305 for ports-bugs@FreeBSD.org; Sat, 31 Dec 2022 13:11:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268674] databases/soci: Fails to build after removing firebird25 Date: Sat, 31 Dec 2022 13:11:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rhurlin@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: nc@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N 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.=