Evergreen ILS Website

IRC log for #evergreen, 2025-10-06

| Channels | #evergreen index | Today | | Search | Google Search | Plain-Text | summary | Join Webchat

All times shown according to the server's local time.

Time Nick Message
05:14 degraafk joined #evergreen
06:30 Bmagic joined #evergreen
06:36 eglogbot joined #evergreen
06:36 Topic for #evergreen is now Welcome to #evergreen (https://evergreen-ils.org). This channel is publicly logged. Logs for today: http://irc.evergreen-ils.org/evergreen/today
06:39 dluch joined #evergreen
07:26 collum joined #evergreen
08:38 mmorgan joined #evergreen
09:10 Bmagic csharp_: I'd like to know more about the failing anubis situation! Maybe rotate the key? That's why they're beating it?
09:42 mmorgan1 joined #evergreen
10:34 Christineb joined #evergreen
10:40 Dyrcona joined #evergreen
10:50 Dyrcona Sometimes it is simpler just to delete a virtual machine and rebuild it than it is to try and "fix" it.
10:51 Dyrcona I suppose we should start looking at Pg 18.
10:51 Dyrcona csharp_: I'll have a look at your branches for Debian 13 "Trixie." I see there are show stoppers with libdbi.
11:22 Dyrcona Oof. I always forget that defaults on Debian are different from those on Ubuntu.
12:16 Dyrcona Well OpenSRF works....
12:47 Dyrcona I rebased the Evergreen branch on main, and after installing debian-trixie and debian-trixie-develper prerequisites, I get an error on configure:
12:47 Dyrcona checking for libdbi pgsql driver (dynamic load)... configure: error: in '/home/opensrf/Evergreen':
12:47 Dyrcona configure: error: "pgsql driver not installed?"
12:47 Dyrcona See 'config.log' for more details
12:50 mantis joined #evergreen
12:52 mantis does anyone enable Global Flags related to ingest?  We started giving it a try in our test server but our cataloger can't delete any records
12:52 mantis we enabled ingest.queued.biblio.all,
12:52 mantis ingest.queued.biblio.insert, and ingest.queued.biblio.update - not sure if that's overkill with .all enabled
12:53 mantis sorry also the .delete flag
13:06 Dyrcona mantis: maybe there's a cron job required for queued ingest? I don't remember.
13:07 Dyrcona ./config.log:configure:14202: gcc -qversion >&5
13:07 Dyrcona ./config.log:gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
13:07 Dyrcona not sure where that's coming from.
13:09 Dyrcona Yeah, I get the implicit declaration error, too.
13:13 mantis Dyrcona: does your local system have those flags enabled?
13:13 mantis just wondering if it's needed at all
13:37 Dyrcona mantis: Our production version doesn't have that feature.
13:43 Dyrcona The libdbi packages are installed, so it's a change in behavior in GCC.
13:51 Dyrcona OK! I fixed the test for libdbi. However, since we're looking for a dbi package, we can probably remove the test from configure.ac.
13:52 Dyrcona I think this should be a different bug from Lp 1325054.
13:52 pinesol Launchpad bug 1325054 in Evergreen "libdbi deprecation warnings when building Evergreen" [High,Confirmed] https://launchpad.net/bugs/1325054
13:53 Dyrcona Now that I've fixed that a check libpcre fails.
13:58 mmorgan1 joined #evergreen
13:59 Dyrcona Well, I can't get configure to recognize that libpcre2 is installed
14:01 mmorgan mantis: I'll check our flags. I know we have them set such that actiivities done in the client don't get queued, because then they would need to wait.
14:06 Dyrcona Great... libpcre2 is multiple packages:libpcre2-8, libpcre2-16, libpcre2-32, libpcre2-posix.
14:09 Dyrcona Now, we have a problem. We have to check for libpcre or libpcre2-32.
14:11 csharp_ Dyrcona: glad you're taking a look
14:11 csharp_ I was a little thrown by the instance stuff in libdbi
14:12 Dyrcona So, the deprecated libdbi warnings pop up when compiling, but C code won't compile now because of libpcre2 changes.
14:13 csharp_ Dyrcona: yeah - we talked here about that some time ago - looking for the log...
14:13 Dyrcona I fixed the configure problem with libdbi, but it's not the same thing as the LP bug.
14:14 csharp_ http://irc.evergreen-ils.org/​evergreen/2025-08-29#i_582453 - there we go
14:14 Dyrcona AC_RUN_IFELSE(
14:14 Dyrcona -      [AC_LANG_PROGRAM(,
14:14 Dyrcona +      [AC_LANG_PROGRAM([#include <dbi/dbi.h>],
14:14 Dyrcona [[dbi_initialize(0); return(dbi_conn_new("pgsql") ? 0 : 1);]])],
14:14 Dyrcona [AC_MSG_RESULT("yes")],
14:14 Dyrcona [AC_MSG_FAILURE("pgsql driver not installed?")])
14:14 Dyrcona @
14:15 Dyrcona On the pcre thing, we should probably switch to libpcre2. Thing is, I'd really like to replace the C code with Rust.
14:16 csharp_ sed 's/C/Rust/g' - done!
14:16 Dyrcona Ha!
14:17 csharp_ Dyrcona: https://bugs.launchpad.net/evergreen/+bug/1563531
14:17 pinesol Launchpad bug 1563531 in Evergreen "Missing libpcre during installation ./config EG 2.10.1" [Medium,Fix released]
14:17 csharp_ oh wait - nm - that's not it
14:18 Dyrcona So I wonder if I can just sed/<pcre.h>/<pcre2.h>/ ? I doubt it.
14:18 Dyrcona Thing is, libpcre is gone on Debian 13. It's replaced with libpcre2.
14:18 csharp_ right
14:19 Dyrcona I'm going to try sed on Open-ILS/src/c-apps/oils_auth.c
14:20 Dyrcona Nope. Not that simple "error: #error PCRE2_CODE_UNIT_WIDTH must be defined before including pcre2.h."
14:21 * Dyrcona spins up an older vm to see if libpcre2 is available on older distros.
14:22 csharp_ Dyrcona: it's available on Ubuntu 22.04
14:23 csharp_ Dyrcona: and it's on Debian 9
14:23 Dyrcona csharp_++ I was going to check bullseye and bookworm, too. I confirmed it's available on Ubuntu 25.04. I'm going to check noble, too.
14:23 csharp_ so yeah, I think we can assume it's fine to change for all debian-ish targets
14:23 Dyrcona Yeah.
14:24 csharp_ we can put in a testing note in the bug that we need to actually compile on all current versions
14:24 Dyrcona Ok. 2 new bugs: 1. Fix configure check for libdbi. 2. Switch to libpcre2.
14:24 csharp_ Dyrcona++
14:25 Dyrcona I pushed a signed-off branch for the OpenSRF changes.
14:25 csharp_ oh, and per my concern about libdbi's project health - the last commits in their git are actually from 2017, so it's only *8* years old instead of *12*
14:27 Dyrcona Yeah. I was going to suggestion in IRC back in August that we stop using libdbi and just go with libpq since we're never supporting anything but PostgreSQL.
14:27 Dyrcona I censored myself....
14:29 * csharp_ immediately halts efforts to use MySQL, Oracle, and MSSQL
14:35 Dyrcona I'm surprised the check for the pgsql driver ever worked given the reason for the error.
14:37 mantis left #evergreen
14:43 Dyrcona Hmm. Think I'll file the libpcre2 bug before finishing my commit message, so that I can refer to the bug.
14:55 Dyrcona At some point, it might be easier to implement this in Rust rather than fix all of the C bugs. :)
14:59 Dyrcona Lp 2126958
14:59 pinesol Launchpad bug 2126958 in Evergreen "configure fails on Debian 13 with gcc 14.2" [Undecided,New] https://launchpad.net/bugs/2126958
14:59 Dyrcona Lp 2126962
15:00 pinesol Launchpad bug 2126962 in Evergreen "Switch to libpcre2 in C code" [Undecided,New] https://launchpad.net/bugs/2126962
17:04 mmorgan @later tell mantis Our global flags for ingest are ingest.queued.biblio.update.marc_edit_inline, ingest.queued.biblio.insert.marc_edit_inline, ingest.queued.all set to True, ingest.queued.max_threads set to 10. All others set to False.
17:04 pinesol mmorgan: The operation succeeded.
17:06 mmorgan left #evergreen
22:34 eglogbot joined #evergreen
22:34 Topic for #evergreen is now Welcome to #evergreen (https://evergreen-ils.org). This channel is publicly logged. Logs for today: http://irc.evergreen-ils.org/evergreen/today

| Channels | #evergreen index | Today | | Search | Google Search | Plain-Text | summary | Join Webchat