Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2023 01:57:00 -0500
From:      "Jason E. Hale" <jhale@freebsd.org>
To:        Joseph Mingrone <jrm@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org,  dev-commits-ports-main@freebsd.org
Subject:   Re: git: 1c35fdc48d6a - main - textproc/redland: Unbreak BDB option
Message-ID:  <CAJE75NHjkSiuhgpNDDXYC07kHc0Q1VFkJ3teLHOp0yXwMW7qqg@mail.gmail.com>
In-Reply-To: <CAJE75NEDtcpiaia0AuTdhbWp4cYtcZBbXj9SCq9K1qLahZ1nvQ@mail.gmail.com>
References:  <202312122048.3BCKmSfI038896@gitrepo.freebsd.org> <865y1380my.fsf@phe.ftfl.ca> <CAJE75NEDtcpiaia0AuTdhbWp4cYtcZBbXj9SCq9K1qLahZ1nvQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/13/23, Jason E. Hale <jhale@freebsd.org> wrote:
> On Tue, Dec 12, 2023 at 6:25=E2=80=AFPM Joseph Mingrone <jrm@freebsd.org>=
 wrote:
>>
>> On Tue, 2023-12-12 at 20:48, "Jason E. Hale" <jhale@FreeBSD.org> wrote:
>>
>> > The branch main has been updated by jhale:
>>
>> > URL:
>> > https://cgit.FreeBSD.org/ports/commit/?id=3D1c35fdc48d6ae9ff7d417ad6b5=
409bdf79a67511
>>
>> > commit 1c35fdc48d6ae9ff7d417ad6b5409bdf79a67511
>> > Author:     Jason E. Hale <jhale@FreeBSD.org>
>> > AuthorDate: 2023-12-12 20:10:37 +0000
>> > Commit:     Jason E. Hale <jhale@FreeBSD.org>
>> > CommitDate: 2023-12-12 20:41:25 +0000
>>
>> >     textproc/redland: Unbreak BDB option
>>
>> >     Before [1] we had former port devel/virtuoso explicitly disabled a=
s
>> > a
>> >     pseudo-option, but this configure argument was lost in that commit=
.
>> > The
>> >     seemingly buggy configure script tries to use virtuoso despite its
>> >     non-existence.
>>
>> >     rdf_storage_virtuoso.c:55:10: fatal error: 'sql.h' file not found
>>
>> >     [1]
>> > https://cgit.freebsd.org/ports/commit/?id=3D134cdd54850031bfdc8202d27b=
1a69b2839d94bb
>>
>> >     PR:             275700
>> >     Reported by:    <andy@neu.net>
>> > ---
>> >  textproc/redland/Makefile | 3 ++-
>> >  1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> > diff --git a/textproc/redland/Makefile b/textproc/redland/Makefile
>> > index 4a9ed73772dd..72449e33a5bc 100644
>> > --- a/textproc/redland/Makefile
>> > +++ b/textproc/redland/Makefile
>> > @@ -22,7 +22,8 @@ USE_LDCONFIG=3D       yes
>> >  USE_PERL5=3D   build
>> >  SHEBANG_FILES=3D       scripts/touch-mtime.pl
>> >  GNU_CONFIGURE=3D       yes
>> > -CONFIGURE_ARGS=3D      --with-threestore=3Dno
>> > +CONFIGURE_ARGS=3D      --with-threestore=3Dno \
>> > +             --with-virtuoso=3Dno
>>
>> >  INSTALL_TARGET=3D      install-strip
>> >  TEST_TARGET=3D check
>>
>> It's certainly better to explicitly set this configure option, but I'm
>> curious why the submitter was seeing the failure.  I tested all option
>> combinations in different poudriere jails.  I would have guessed he was
>> building on a live system with virtuoso installed, but
>> databases/virtuoso was removed.
>>
>> In any case, thanks for fixing.
>>
>
> No worries, Joe. I don't doubt you did your due diligence and tested
> in poudriere, because I was also unable to reproduce this in a clean
> environment as-is, but on a live system without databases/virtuoso
> installed, I got the exact same error as stated in the PR with just
> the BDB option selected or BDB + other options. I was also a bit off
> in my original analysis. After some digging, I've found what actually
> triggers the error is if either databases/unixODBC or
> databases/libiodbc are also installed, because the configure script
> auto-enables virtuoso support if ODBC is found. Before my change and
> after adding USES=3Dlocalbase, the missing header is found and the port
> builds fine, but adds:
>
> lib/redland/librdf_storage_virtuoso.a
> lib/redland/librdf_storage_virtuoso.so
>
> Doubtful we need to worry about these, though, since databases/virtuoso i=
s
> gone.
>
> - Jason
>

Forgot to CC the lists.



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