I just upgraded my machine to Debian Trixie and need to buil a new SWI-prolog deb package.
I cloned the development repository with git, not forgetting to initialize submodules.
I installed all the necessary build dependencies, changed working directory to the `debian` subdir and launched the package building with `debuild -b -uc -us`
All the binaries compliation went well but there is a problem with xpce :
[2728/2744] -- Building xpce class index
FAILED: home/xpce/prolog/lib/CLASSINDEX.pl /home/wurbel/src/swi-prolog/build/home/xpce/prolog/lib/CLASSINDEX.pl
cd /home/wurbel/src/swi-prolog/build/packages/xpce && /home/wurbel/src/swi-prolog/build/src/swipl --no-packs --home=/home/wurbel/src/swi-prolog/build/home -DSDL_VIDEODRIVER=dummy -f none -t halt -g "pce_make_library_index('/home/wurbel/src/swi-prolog/build/home/xpce/prolog/lib')" --
ERROR: [Thread main] -g pce_make_library_index('/home/wurbel/src/swi-prolog/build/home/xpce/prolog/lib'): catch/3: Unknown procedure: pce_make_library_index/1
I launched manually the built swipl program and checked for the presence of the pce_make_library_index/1 predicate : it exists.
Not yet. I see that the PPA builds for Ubuntu questing and resolute failed for the same reason. The command looks a little dubious, but has always done the job.
Yes. A change in starting the Prolog steps caused it to think it had no GUI. Pushed a fix to GIT. Please test. Main repo commit ac2b7d4ea9da7c23583c90aa5871c04e3f5c57b4
P.s. Do not forget to do a recursive git submodule update/init