Menu

#144 2.5.0 only languages available with dtlogin are C and en_US.UTF-8

closed
nobody
None
2023-05-20
2022-07-29
Roger Brown
No

With 2.4.0 dtlogin supported

  • C
  • de_DE.UTF-8
  • en_US.UTF-8
  • es_ES.UTF-8
  • fr_FR.UTF-8
  • it_IT.UTF-8

2.5.0 just offers

  • C
  • en_US.UTF-8

With 2.4.0 help content existed for all supported languages including C
With 2.5.0 help only works for en_US.UTF-8, not C

Related

Tickets: #144

Discussion

  • Jon Trulson

    Jon Trulson - 2022-07-30

    By default only C/en_US languages are built.

    To build additional languages, you need to use the corresponding --enable-<lang> option - see configure --help.</lang>

    If you want to build all of them, use
    
    ./configure --enable-spanish --enable-italian --enable-french --enable-german
    
     
  • Roger Brown

    Roger Brown - 2022-07-31

    Thanks. I tried that and got

    gmake[3]: Entering directory 'cdesktopenv-code/cde/doc/fr_FR.UTF-8/help'
    LC_CTYPE=fr_FR.UTF-8 SGML_SEARCH_PATH=".:.." \
        /usr/bin/ksh ../../../programs/dtdocbook/doc_utils/dtdocbook2sdl -H ../../../programs/dthelp/parser/pass2/parser/dthelp_htag2 -L fr_FR.UTF-8 \
            -o Appmanager.sdl `basename Appmanager.sdl .sdl`/book.sgm
    In entity PART included from Appmanager/book.sgm:53:0
    onsgmls:cdesktopenv-code/cde/programs/dtdocbook/sgml/docbook.dtd:72:30:W: duplicate declaration of parameter entity "local.notations"
    LC_CTYPE=fr_FR.UTF-8 SGML_SEARCH_PATH=".:.." \
        /usr/bin/ksh ../../../programs/dtdocbook/doc_utils/dtdocbook2sdl -H ../../../programs/dthelp/parser/pass2/parser/dthelp_htag2 -L fr_FR.UTF-8 \
            -o Calculator.sdl `basename Calculator.sdl .sdl`/book.sgm
    In entity PART included from Calculator/book.sgm:53:0
    onsgmls:cdesktopenv-code/cde/programs/dtdocbook/sgml/docbook.dtd:72:30:W: duplicate declaration of parameter entity "local.notations"
    LC_CTYPE=fr_FR.UTF-8 SGML_SEARCH_PATH=".:.." \
        /usr/bin/ksh ../../../programs/dtdocbook/doc_utils/dtdocbook2sdl -H ../../../programs/dthelp/parser/pass2/parser/dthelp_htag2 -L fr_FR.UTF-8 \
            -o Calendar.sdl `basename Calendar.sdl .sdl`/book.sgm
    In entity PART included from Calendar/book.sgm:53:0
    onsgmls:cdesktopenv-code/cde/programs/dtdocbook/sgml/docbook.dtd:72:30:W: duplicate declaration of parameter entity "local.notations"
    LC_CTYPE=fr_FR.UTF-8 SGML_SEARCH_PATH=".:.." \
        /usr/bin/ksh ../../../programs/dtdocbook/doc_utils/dtdocbook2sdl -H ../../../programs/dthelp/parser/pass2/parser/dthelp_htag2 -L fr_FR.UTF-8 \
            -o CreatAct.sdl `basename CreatAct.sdl .sdl`/book.sgm
    In entity PART included from CreatAct/book.sgm:52:0
    onsgmls:cdesktopenv-code/cde/programs/dtdocbook/sgml/docbook.dtd:72:30:W: duplicate declaration of parameter entity "local.notations"
    dtdocbook2sdl fatal error:
        Error processing book.82589.esis by instant
    gmake[3]: *** [Makefile:1299: CreatAct.sdl] Error 1
    gmake[3]: Leaving directory 'cdesktopenv-code/cde/doc/fr_FR.UTF-8/help'
    gmake[2]: *** [Makefile:436: all-recursive] Error 1
    gmake[2]: Leaving directory 'cdesktopenv-code/cde/doc/fr_FR.UTF-8'
    gmake[1]: *** [Makefile:443: all-recursive] Error 1
    gmake[1]: Leaving directory 'cdesktopenv-code/cde/doc'
    gmake: *** [Makefile:583: all-recursive] Error 1
    

    I am able to build 2.5.0 default with just en_US.UTF-8 and also complete 2.4.0.

     

    Last edit: Roger Brown 2022-07-31
    • Jon Trulson

      Jon Trulson - 2022-08-01

      On 7/30/22 18:12, Roger Brown wrote:

      Thanks. I tried that and got

      That doesn't help me much...  What OS?  Version?  Do you have all of the
      correct UTF-8 locales installed?

      This builds fine on 4 versions of Ubuntu, CENTOS, freebsd 12, freebsd13,
      netbsd92 and openbsd7...

      -jon

      |gmake[3]: Entering directory
      'cdesktopenv-code/cde/doc/fr_FR.UTF-8/help' LC_CTYPE=fr_FR.UTF-8
      SGML_SEARCH_PATH=".:.." \ /usr/bin/ksh
      ../../../programs/dtdocbook/doc_utils/dtdocbook2sdl -H
      ../../../programs/dthelp/parser/pass2/parser/dthelp_htag2 -L
      fr_FR.UTF-8 \ -o Appmanager.sdl basename Appmanager.sdl .sdl/book.sgm In entity PART included from Appmanager/book.sgm:53:0
      onsgmls:cdesktopenv-code/cde/programs/dtdocbook/sgml/docbook.dtd:72:30:W:
      duplicate declaration of parameter entity "local.notations"
      LC_CTYPE=fr_FR.UTF-8 SGML_SEARCH_PATH=".:.." \ /usr/bin/ksh
      ../../../programs/dtdocbook/doc_utils/dtdocbook2sdl -H
      ../../../programs/dthelp/parser/pass2/parser/dthelp_htag2 -L
      fr_FR.UTF-8 \ -o Calculator.sdl basename Calculator.sdl .sdl/book.sgm In entity PART included from Calculator/book.sgm:53:0
      onsgmls:cdesktopenv-code/cde/programs/dtdocbook/sgml/docbook.dtd:72:30:W:
      duplicate declaration of parameter entity "local.notations"
      LC_CTYPE=fr_FR.UTF-8 SGML_SEARCH_PATH=".:.." \ /usr/bin/ksh
      ../../../programs/dtdocbook/doc_utils/dtdocbook2sdl -H
      ../../../programs/dthelp/parser/pass2/parser/dthelp_htag2 -L
      fr_FR.UTF-8 \ -o Calendar.sdl basename Calendar.sdl .sdl/book.sgm In
      entity PART included from Calendar/book.sgm:53:0
      onsgmls:cdesktopenv-code/cde/programs/dtdocbook/sgml/docbook.dtd:72:30:W:
      duplicate declaration of parameter entity "local.notations"
      LC_CTYPE=fr_FR.UTF-8 SGML_SEARCH_PATH=".:.." \ /usr/bin/ksh
      ../../../programs/dtdocbook/doc_utils/dtdocbook2sdl -H
      ../../../programs/dthelp/parser/pass2/parser/dthelp_htag2 -L
      fr_FR.UTF-8 \ -o CreatAct.sdl basename CreatAct.sdl .sdl/book.sgm In
      entity PART included from CreatAct/book.sgm:52:0
      onsgmls:cdesktopenv-code/cde/programs/dtdocbook/sgml/docbook.dtd:72:30:W:
      duplicate declaration of parameter entity "local.notations"
      dtdocbook2sdl fatal error: Error processing book.82589.esis by instant
      gmake[3]: [Makefile:1299: CreatAct.sdl] Error 1 gmake[3]: Leaving
      directory 'cdesktopenv-code/cde/doc/fr_FR.UTF-8/help' gmake[2]:

      [Makefile:436: all-recursive] Error 1 gmake[2]: Leaving directory
      'cdesktopenv-code/cde/doc/fr_FR.UTF-8' gmake[1]: [Makefile:443:
      all-recursive]
      Error 1 gmake[1]: Leaving directory
      'cdesktopenv-code/cde/doc' gmake:
      [Makefile:583: all-recursive]
      Error 1 |

      I am able to build 2.5.0 default with just en_US.UTF-8 and also
      complete 2.4.0.

      |-o CreatAct.sdl basename CreatAct.sdl .sdl/book.sgm |

      S


      [tickets:#144] https://sourceforge.net/p/cdesktopenv/tickets/144/
      2.5.0 only languages available with dtlogin are C and en_US.UTF-8

      Status: open
      Created: Fri Jul 29, 2022 08:46 PM UTC by Roger Brown
      Last Updated: Sat Jul 30, 2022 06:20 PM UTC
      Owner: nobody

      With 2.4.0 dtlogin supported

      • C
      • de_DE.UTF-8
      • en_US.UTF-8
      • es_ES.UTF-8
      • fr_FR.UTF-8
      • it_IT.UTF-8

      2.5.0 just offers

      • C
      • en_US.UTF-8

      With 2.4.0 help content existed for all supported languages including C
      With 2.5.0 help only works for en_US.UTF-8, not C


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/cdesktopenv/tickets/144/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      Jon Trulson

      "The less you know, the more you believe."
      -- Bono

       

      Related

      Tickets: #144

  • Roger Brown

    Roger Brown - 2022-08-01

    2.4.0 builds cleanly on these environments...

    I consistently get the dtdocbook2sdl fatal error while doing fr_FR.UTF-8 on

    ubuntu 20.04
    debian 10
    opensuse 15.4
    kali

    I have success on

    debian 11
    ubuntu 22.04
    centos 8

     
    • -

      - - 2022-08-04

      Could you provide more details about your OS? Architecture, version, etc.. It seems OK on Debian 10.

       
      • Roger Brown

        Roger Brown - 2022-08-04

        My build environment is a docker container for each platform and architecture set up with just the compiler tools and the required libraries.

        I don't do a build and install, I do a build and create an RPM or DEB package, then that is installed on another machine.

        I think it it is a build environment problem.

        I have it now working with the four additional languages if I set LANG=C before doing the compilation.

         
        • -

          - - 2022-08-04

          Please check your locale settings. Unset LC_ALL and try again.

           
          • Roger Brown

            Roger Brown - 2022-08-05

            Thanks, but no diffence, LC_ALL is already not set in my docker environments.

             
      • Roger Brown

        Roger Brown - 2022-08-04

        My build environment is described here, I am working through the table trying to promote the builds from 2.4.0 to 2.5.0.
        I now build with

        LANG=C ./package.sh 2.5.0
        

        This is done in a newly created docker for each operating system with the dependencies loaded into the environment. It does not build as root or actually install in the docker. The build process produces packages.

         
  • Roger Brown

    Roger Brown - 2022-08-03

    Hi, I think I have got to the bottom of it.
    I isolated the problem to just being --enable-french, building default English or the other languages caused no problem.
    I seem to have solved it by setting LANG=C before each build.

     
  • Roger Brown

    Roger Brown - 2022-08-03

    ... and can now build with all four additional languages enabled. Good work!

     
  • Roger Brown

    Roger Brown - 2022-08-04

    Most seem to now be working with the addition of LANG=C except "almalinux" 8.6 on x86_64. This fails in the same place but the first one to fail with en_US.UTF-8. However rocky 8.6 does work.

    gmake[3]: Entering directory '/home/rogerb/rhubarb-pi-code/trunk/pkg/cdesktopenv/cdesktopenv-code/cde/doc/en_US.UTF-8/help'
    LC_CTYPE=en_US.UTF-8 SGML_SEARCH_PATH=".:.." \
        /usr/bin/ksh ../../../programs/dtdocbook/doc_utils/dtdocbook2sdl -H ../../../programs/dthelp/parser/pass2/parser/dthelp_htag2 -L en_US.UTF-8 \
            -o Appmanager.sdl `basename Appmanager.sdl .sdl`/book.sgm
    In entity PART included from Appmanager/book.sgm:53:0
    onsgmls:/home/rogerb/rhubarb-pi-code/trunk/pkg/cdesktopenv/cdesktopenv-code/cde/programs/dtdocbook/sgml/docbook.dtd:72:30:W: duplicate declaration of parameter entity "local.notations"
    dtdocbook2sdl fatal error:
        Error processing book.out.7278.sdl by ../../../programs/dthelp/parser/pass2/parser/dthelp_htag2
    
     
  • Roger Brown

    Roger Brown - 2022-08-05

    https://sourceforge.net/p/rhubarb-pi/wiki/pkg-cdesktopenv/

    With the use of LANG=C I have got all the Linux builds that I want upgraded to 2.5.0.
    It still fails on almalinux 8.6 even though it works on rocky 8.6.

     
  • Roger Brown

    Roger Brown - 2022-08-06

    I notice that I often see ( this example was from opensuse 15.3) when processing the help files

    An invalid multi-byte character was found in the input.
    

    Is this because the build system file character sets are different to the operating system default character sets? Given the source files ar under source control and are a known format, shouldn't the buildsystem itself be specifying any multibyte character set encoding for it's own source rather than accepting it from the environment? For example if all source files are UTF8 then all processing should be using UTF8 and not dependent on host platform.

     
    • -

      - - 2022-08-12
       
      • Roger Brown

        Roger Brown - 2022-08-12

        That worked on Debian x86_64 bullseye in a docker.

         
  • Jon Trulson

    Jon Trulson - 2022-08-07
    • status: open --> closed
     
  • Marco

    Marco - 2023-05-20

    On Debian 12 (currently still sid) I had the same error, the fix was to include en_US.UTF-8 in the locales.
    Runsudo dpkg-reconfigure locales and also select it.
    However, I ran ./configure --enable-german if that is relevant.

     

Log in to post a comment.