Bug 293491 - java/sqlitejdbc: source distfile is not available
Summary: java/sqlitejdbc: source distfile is not available
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-27 16:06 UTC by Ronald Klop
Modified: 2026-03-05 09:07 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (lapo)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald Klop freebsd_committer freebsd_triage 2026-02-27 16:06:20 UTC
Hi maintainer of this port,

The original distfile of this port is not available.

$ make -C /usr/ports/java/sqlitejdbc fetch
===>   sqlitejdbc-056_3 depends on file: /usr/local/sbin/pkg - found
=> sqlitejdbc-v056-src.tgz doesn't seem to exist in /data/distfiles.
=> Attempting to fetch http://files.zentus.com/sqlitejdbc/sqlitejdbc-v056-src.tgz
fetch: http://files.zentus.com/sqlitejdbc/sqlitejdbc-v056-src.tgz: Operation timed out
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/sqlitejdbc-v056-src.tgz
sqlitejdbc-v056-src.tgz                                156 kB   19 MBps    00s
===> Fetching all distfiles required by sqlitejdbc-056_3 for building


The file is only available from the FreeBSD distcache. The original source times out.

Can this be fixed?
And is it worth keeping this port?
Comment 1 Ronald Klop freebsd_committer freebsd_triage 2026-02-27 16:07:58 UTC
NB: I'm not directly interested in the port, but I'm going through the java ports for the openjdk21 default (bug #272855) and noticed this.
Comment 2 Michael Osipov freebsd_committer freebsd_triage 2026-02-27 18:34:09 UTC
The project has been here https://github.com/xerial/sqlite-jdbc for ages now. Could of years ago I modified upstream for FreeBSD and other to be able to link the JNI code dynamically against libsqlite.so instead of using the archive.
Moreover, the JAR can be fully stripped of the bundled native libs because it will happily the FreeBSD-compiled one from the loader's path.

Let's wait for the maintainer...

Commits:
* https://github.com/xerial/sqlite-jdbc/commit/bb91612de41c4fec90a4736916c1a486b19855d5
* https://github.com/xerial/sqlite-jdbc/commit/45a05e09c7a56c4082a6dd9606b117361d1c7334
Comment 3 Michael Osipov freebsd_committer freebsd_triage 2026-03-05 09:07:38 UTC
I'd recommend not to touch the port until this one is merged: https://github.com/xerial/sqlite-jdbc/pull/1387