On 11/22/19 10:04 PM, Brian Cole wrote:
> Hello,
>
> I was working on building CDE on Arch Linux (by way of making
> https://aur.archlinux.org/packages/cdesktopenv-git/ ), and it seems that I
> can get it to build if I `git checkout 2.3.1`, but anything since
> ba68ff0a179ca82194783b75ae0807c4065ce28a (inclusive) fails. I've run demo
> builds in sourcehut to try and isolate the issue and make it easy to
> demonstrate.
>
> The first failure case appears to look like this
> (https://builds.sr.ht/~yjftsjthsd/job/111697):
>
> make[4]: Entering directory '/home/build/code/cde/doc/de_DE.ISO8859-1/help'
> + mkdir -p ../help-sdl
> LANG=de_DE.ISO8859-1 SGML_SEARCH_PATH=".:.."
> LD_LIBRARY_PATH=../../../exports/lib:/usr/dt/lib:/usr/lib
> DTLCXSEARCHPATH=../../../lib/DtHelp /bin/ksh
> ../../../programs/dtdocbook/doc2sdl/dtdocbook -t
> ../../../programs/dtdocbook/doc2sdl -H
> ../../../programs/dthelp/parser/pass2/htag2/dthelp_htag2 -I
> ../../../programs/dtdocbook/instant/instant -L
> ../../../programs/dtdocbook/xlate_locale/xlate_locale -S
> ../../../programs/nsgmls/nsgmls -o ../help-sdl/Appmanager.sdl
> Appmanager/book.sgm
> /bin/sh: /bin/ksh: No such file or directory
> make[4]: *** [Makefile:749: ../help-sdl/Appmanager.sdl] Error 127
> make[4]: Leaving directory '/home/build/code/cde/doc/de_DE.ISO8859-1/help'
>
> My first thought was that it was failing because "/bin/ksh" isn't there; I
> think this is a regression regardless, because Arch was doing this:
>
> cat >> config/cf/site.def <<EOF
> #define KornShell /bin/mksh
> ---snip---
> q
> to force the substitution of mksh. Unfortunately, even if I accept that
> literally ksh is a hard requirement, I still can't build successfully.
> I've attempted (https://builds.sr.ht/~yjftsjthsd/job/111717) to just run the
> same build with ksh pulled in from the AUR, and that gets *further*, but
> errors out all the same:
>
>
> make[4]: Entering directory '/home/build/code/cde/doc/de_DE.ISO8859-1/help'
> + mkdir -p ../help-sdl
> LANG=de_DE.ISO8859-1 SGML_SEARCH_PATH=".:.."
> LD_LIBRARY_PATH=../../../exports/lib:/usr/dt/lib:/usr/lib
> DTLCXSEARCHPATH=../../../lib/DtHelp /bin/ksh
> ../../../programs/dtdocbook/doc2sdl/dtdocbook -t
> ../../../programs/dtdocbook/doc2sdl -H
> ../../../programs/dthelp/parser/pass2/htag2/dthelp_htag2 -I
> ../../../programs/dtdocbook/instant/instant -L
> ../../../programs/dtdocbook/xlate_locale/xlate_locale -S
> ../../../programs/nsgmls/nsgmls -o ../help-sdl/Appmanager.sdl
> Appmanager/book.sgm
> dtdocbook fatal error:
> Error processing book.out.sdl by
> ../../../programs/dthelp/parser/pass2/htag2/dthelp_htag2
> make[4]: *** [Makefile:749: ../help-sdl/Appmanager.sdl] Error 1
> make[4]: Leaving directory '/home/build/code/cde/doc/de_DE.ISO8859-1/help'
>
>
> So a few concrete questions:
> - Did build dependencies change with the utf8 merge?
> - Does master currently build for anyone else? If so, what OS are you using
> and are you just using the build steps described on the wiki?
> - Am I just doing something wrong? My build process is
> https://builds.sr.ht/api/jobs/111717/manifest (failing) and
> https://builds.sr.ht/api/jobs/111640/manifest (working 2.3.1).
>
I notice that it can't seem to find /lib/cpp either...
The only 'new' requirement I can think of is the need to install the
UTF-8 versions of the de, fr, it, and es locales. The ISO8859-1 locales
are still needed for the doc and help system, but everything else
requires the correct UTF-8 locales as well now - I wonder if that is at
least one of the issues.
The gencat errors regarding invalid characters - this smells a lot like
the UTF-8 versions of those locales is missing.
WRT to ksh and cpp though, nothing has changed that I am aware of.
I've built this on ubuntu 18.04LTS, FreeBSD 11.1 Release, OpenBSD 6.2
and OpenBSD 6.5.
I have not tried arch in awhile - it's quite the moving target. But if
2.3.1 builds fine, all I can think of right now would be to make sure
you install the UTF-8 version of those locales.
...and figure out what's up with ksh and cpp. cpp is quite important to
many aspects of building CDE. I am not aware of any changes there though.
You could also git bisect it starting at 2.3.1 to HEAD and find out
when/where something broke...
-jon
--
Jon Trulson
"Entropy. It isn't what it used to be."
-- Sheldon
_______________________________________________
cdesktopenv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel