Menu

#99 Fail to build on NetBSD 9.1

closed-no-activity
NetBSD (1)
2022-08-07
2020-12-04
No

Failed to build on NetBSD9.1 - Full compilation log attached.

making all in doc/C/guides...
LANG=C SGML_SEARCH_PATH=".:.." LD_LIBRARY_PATH=../../../exports/lib:/usr/pkg/lib:/usr/X11R7/lib DTLCXSEARCHPATH=../../../lib/DtHelp DTINFO_HOME=../../../programs/dtinfo/dtinfogen DTINFO_BIN=../../../programs/dtinfo/dtinfogen/install:../../../programs/dtinfo/dtinfogen/mmdb/StyleSheet:../../../programs/dtinfo/dtinfogen/mmdb/src:../../../programs/nsgmls:../../../programs/dtsr ../../../programs/dtinfo/dtinfogen/infolib/etc/dtinfogen tocgen -T ../../../doc/tmp -n cde -d "CDE and Motif Information Library"  -f usersGuide/TOC.sgm -id cde.usersGuide.toc -title "User's Guide" usersGuide/book.sgm
eval: /root/cdesktopenv-code/cde/programs/dtinfo/dtinfogen/infolib/etc/dtinfogen_worker: not found
*** Error code 127

Stop.
make[4]: stopped in /root/cdesktopenv-code/cde/doc/C/guides
making all in doc/C/m-guides...
making all in doc/de_DE.ISO8859-1...
making all in doc/de_DE.ISO8859-1/help...

+ mkdir -p ../help-sdl
LANG=de_DE.ISO8859-1 SGML_SEARCH_PATH=".:.." LD_LIBRARY_PATH=../../../exports/lib:/usr/pkg/lib:/usr/X11R7/lib DTLCXSEARCHPATH=../../../lib/DtHelp /usr/pkg/bin/ksh93 ../../../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
../../../programs/dtdocbook/doc2sdl/dtdocbook[107]: ../../../programs/dtdocbook/xlate_locale/xlate_locale: not found [No such file or directory]
dtdocbook fatal error:
    Error processing book.out.sdl by ../../../programs/dthelp/parser/pass2/htag2/dthelp_htag2
*** Error code 1

Stop.
make[4]: stopped in /root/cdesktopenv-code/cde/doc/de_DE.ISO8859-1/help
*** Error code 1

Stop.
make[3]: stopped in /root/cdesktopenv-code/cde/doc/de_DE.ISO8859-1
making all in doc/es_ES.ISO8859-1...
making all in doc/es_ES.ISO8859-1/help...

+ mkdir -p ../help-sdl
LANG=es_ES.ISO8859-1 SGML_SEARCH_PATH=".:.." LD_LIBRARY_PATH=../../../exports/lib:/usr/pkg/lib:/usr/X11R7/lib DTLCXSEARCHPATH=../../../lib/DtHelp /usr/pkg/bin/ksh93 ../../../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
../../../programs/dtdocbook/doc2sdl/dtdocbook[107]: ../../../programs/dtdocbook/xlate_locale/xlate_locale: not found [No such file or directory]
dtdocbook fatal error:
    Error processing book.out.sdl by ../../../programs/dthelp/parser/pass2/htag2/dthelp_htag2
*** Error code 1

Stop.
make[4]: stopped in /root/cdesktopenv-code/cde/doc/es_ES.ISO8859-1/help
*** Error code 1

Stop.
make[3]: stopped in /root/cdesktopenv-code/cde/doc/es_ES.ISO8859-1
making all in doc/fr_FR.ISO8859-1...
making all in doc/fr_FR.ISO8859-1/help...

+ mkdir -p ../help-sdl
LANG=fr_FR.ISO8859-1 SGML_SEARCH_PATH=".:.." LD_LIBRARY_PATH=../../../exports/lib:/usr/pkg/lib:/usr/X11R7/lib DTLCXSEARCHPATH=../../../lib/DtHelp /usr/pkg/bin/ksh93 ../../../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
../../../programs/dtdocbook/doc2sdl/dtdocbook[107]: ../../../programs/dtdocbook/xlate_locale/xlate_locale: not found [No such file or directory]
dtdocbook fatal error:
    Error processing book.out.sdl by ../../../programs/dthelp/parser/pass2/htag2/dthelp_htag2
*** Error code 1

Stop.
make[4]: stopped in /root/cdesktopenv-code/cde/doc/fr_FR.ISO8859-1/help
*** Error code 1

Stop.
make[3]: stopped in /root/cdesktopenv-code/cde/doc/fr_FR.ISO8859-1
making all in doc/it_IT.ISO8859-1...
making all in doc/it_IT.ISO8859-1/help...

+ mkdir -p ../help-sdl
LANG=it_IT.ISO8859-1 SGML_SEARCH_PATH=".:.." LD_LIBRARY_PATH=../../../exports/lib:/usr/pkg/lib:/usr/X11R7/lib DTLCXSEARCHPATH=../../../lib/DtHelp /usr/pkg/bin/ksh93 ../../../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
../../../programs/dtdocbook/doc2sdl/dtdocbook[107]: ../../../programs/dtdocbook/xlate_locale/xlate_locale: not found [No such file or directory]
dtdocbook fatal error:
    Error processing book.out.sdl by ../../../programs/dthelp/parser/pass2/htag2/dthelp_htag2
*** Error code 1
Stop.
make[4]: stopped in /root/cdesktopenv-code/cde/doc/it_IT.ISO8859-1/help
*** Error code 1

Stop.
make[3]: stopped in /root/cdesktopenv-code/cde/doc/it_IT.ISO8859-1
*** Error code 1

Stop.
make[2]: stopped in /root/cdesktopenv-code/cde/doc
*** Error code 1

Stop.
make[1]: stopped in /root/cdesktopenv-code/cde
*** Error code 1

Stop.
make: stopped in /root/cdesktopenv-code/cde
# 
1 Attachments

Discussion

1 2 > >> (Page 1 of 2)
  • Lev Kujawski

    Lev Kujawski - 2021-01-26

    Hi, could you try editing PositionIndependentCFlags within config/cf/bsdLib.rules to read -fPIC instead of -fpic? That might help with some of the compilation failures within your log.

    Kind regards, Lev

     
  • Lev Kujawski

    Lev Kujawski - 2021-02-03
     
  • Lev Kujawski

    Lev Kujawski - 2021-02-03

    CDE git master now specifies -fPIC by default on BSD platforms. If you could please try building that and report back on any further errors, it would be greatly appreciated.

     

    Last edit: Lev Kujawski 2021-02-07
    • Leo  Schneider

      Leo Schneider - 2021-02-05

      I've made the changes from -fpic ro -fPIC and it is compiling now. It will take 1 day or 2 as I'm using a SunBlade100 500Mhz to compile it. Will post here the outcome. Thanks for your help.

       
    • Leo  Schneider

      Leo Schneider - 2021-02-06
      Options specified...
      
        - get the build tree to extract from
      
      Load the Desktop from /root/cde-2.3.2
      
        1. installing database CDE-RUN
            - creating CDE-RUN.lst file
            - installing ... 
              done.
            - checking for errors ...
            - missing files:
                 "/root/cde-2.3.2/programs/dtinfo/dtinfo/src/dtinfo".
                 "/root/cde-2.3.2/programs/dtinfo/dtinfogen/infolib/etc/MixedGen".
                 "/root/cde-2.3.2/programs/dtinfo/dtinfogen/infolib/etc/NCFGen".
                 "/root/cde-2.3.2/programs/dtinfo/dtinfogen/infolib/etc/NodeParser".
                 "/root/cde-2.3.2/programs/dtinfo/dtinfogen/infolib/etc/StyleUpdate".
                 "/root/cde-2.3.2/programs/dtinfo/dtinfogen/mmdb/src/dbdrv".
                 "/root/cde-2.3.2/programs/dtinfo/dtinfogen/infolib/etc/dtinfogen_worker".
                 "/root/cde-2.3.2/programs/dtinfo/dtinfogen/install/valBase".
                 "/root/cde-2.3.2/programs/dtinfo/dtinfogen/mmdb/StyleSheet/validator".
        2. installing database CDE-MIN
            - creating CDE-MIN.lst file
            - installing ... 
              done.
            - checking for errors ...
        3. installing database CDE-TT
            - creating CDE-TT.lst file
            - installing ... 
              done.
            - checking for errors ...
            - missing files:
                 ///usr/dt/bin/rpc.ttdbserver"
        4. installing database CDE-MAN
            - creating CDE-MAN.lst file
            - installing ... 
              done.
            - checking for errors ...
        5. installing database CDE-HELP-RUN
            - creating CDE-HELP-RUN.lst file
            - installing ... 
              done.
            - checking for errors ...
        6. installing database CDE-C
            - creating CDE-C.lst file
                 - installing ... 
              done.
            - checking for errors ...
        7. installing database CDE-MSG-C
            - creating CDE-MSG-C.lst file
            - installing ... 
              done.
            - checking for errors ...
        8. installing database CDE-HELP-C
            - creating CDE-HELP-C.lst file
            - installing ... 
              done.
            - checking for errors ...
        9. installing database CDE-SHLIBS
            - creating CDE-SHLIBS.lst file
            - installing ... 
              done.
            - checking for errors ...
            - missing files:
                 "/root/cde-2.3.2/lib/DtMmdb/libDtMmdb.so.2.1".
        10. installing database CDE-HELP-PRG
            - creating CDE-HELP-PRG.lst file
            - installing ... 
              done.
            - checking for errors ...
        11. installing database CDE-PRG
            - creating CDE-PRG.lst file
            - installing ... 
              done.
            - checking for errors ...
        12. installing database CDE-INC
            - creating CDE-INC.lst file
            - installing ... 
              done.
            - checking for errors ...
        13. installing database CDE-DEMOS
            - creating CDE-DEMOS.lst file
            - installing ... 
              done.
            - checking for errors ...
        14. installing database CDE-MAN-DEV
            - creating CDE-MAN-DEV.lst file
            - installing ... 
                   done.
            - checking for errors ...
        15. installing database CDE-ICONS
            - creating CDE-ICONS.lst file
            - installing ... 
              done.
            - checking for errors ...
        16. installing database CDE-FONTS
            - creating CDE-FONTS.lst file
            - installing ... 
              done.
            - checking for errors ...
        17. installing database CDE-INFO
            - creating CDE-INFO.lst file
            - installing ... 
              done.
            - checking for errors ...
        18. installing database CDE-INFOLIB-C
            - creating CDE-INFOLIB-C.lst file
            - installing ... 
              done.
            - checking for errors ...
            - missing files:
                 "/root/cde-2.3.2/doc/C/cde.dti/CDEDOC/CDEDOC.dbd".
                 "/root/cde-2.3.2/doc/C/cde.dti/CDEDOC/CDEDOC.dbi".
                 "/root/cde-2.3.2/doc/C/cde.dti/CDEDOC/CDEDOC.sch".
                 "/root/cde-2.3.2/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.d00".
                 "/root/cde-2.3.2/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.d01".
                 "/root/cde-2.3.2/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.d21".
                 "/root/cde-2.3.2/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.d22".
                 "/root/cde-2.3.2/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.d23".
                 "/root/cde-2.3.2/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.d99".
                 "/root/cde-2.3.2/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.dbd".
                 "/root/cde-2.3.2/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.k00".
                 "/root/cde-2.3.2/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.k01".
                 "/root/cde-2.3.2/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.k21".
                 "/root/cde-2.3.2/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.k22".
                 "/root/cde-2.3.2/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.k23".
                 "/root/cde-2.3.2/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.sfx".
                 "/root/cde-2.3.2/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.stp".
                 "/root/cde-2.3.2/doc/C/cde.dti/CDEDOC/dtsearch/dtsearch.ocf".
                 "/root/cde-2.3.2/doc/C/cde.dti/bookcase.map".
                 "/root/cde-2.3.2/doc/C/cde.dti/cde.oli".
                 19. installing database CDE-DE
            - creating CDE-DE.lst file
            - installing ... 
              done.
            - checking for errors ...
        20. installing database CDE-MSG-DE
            - creating CDE-MSG-DE.lst file
            - installing ... 
              done.
            - checking for errors ...
        21. installing database CDE-HELP-DE
            - creating CDE-HELP-DE.lst file
            - installing ... 
              done.
            - checking for errors ...
        22. installing database CDE-FR
            - creating CDE-FR.lst file
            - installing ... 
              done.
            - checking for errors ...
        23. installing database CDE-MSG-FR
            - creating CDE-MSG-FR.lst file
            - installing ... 
              done.
            - checking for errors ...
        24. installing database CDE-HELP-FR
            - creating CDE-HELP-FR.lst file
            - installing ... 
              done.
            - checking for errors ...
        25. installing database CDE-IT
            - creating CDE-IT.lst file
            - installing ... 
              done.
            - checking for errors ...
        26. installing database CDE-MSG-IT
            - creating CDE-MSG-IT.lst file
            - installing ... 
              done.
            - checking for errors ...
        27. installing database CDE-HELP-IT
            - creating CDE-HELP-IT.lst file
            - installing ... 
            - checking for errors ...
        24. installing database CDE-HELP-FR
            - creating CDE-HELP-FR.lst file
            - installing ... 
              done.
            - checking for errors ...
        25. installing database CDE-IT
            - creating CDE-IT.lst file
            - installing ... 
              done.
            - checking for errors ...
        26. installing database CDE-MSG-IT
            - creating CDE-MSG-IT.lst file
            - installing ... 
              done.
            - checking for errors ...
        27. installing database CDE-HELP-IT
            - creating CDE-HELP-IT.lst file
            - installing ... 
              done.
            - checking for errors ...
        28. installing database CDE-ES
            - creating CDE-ES.lst file
            - installing ... 
              done.
            - checking for errors ...
        29. installing database CDE-MSG-ES
            - creating CDE-MSG-ES.lst file
            - installing ... 
              done.
            - checking for errors ...
        30. installing database CDE-HELP-ES
            - creating CDE-HELP-ES.lst file
            - installing ... 
              done.
            - checking for errors ...
      
      Desktop installed in //usr/dt
      
      Executing netbsd specific CDE-TT customize script
      Executing netbsd specific CDE-MIN customize script
      Executing netbsd specific CDE-SHLIBS customize script
      Executing netbsd specific CDE-RUN customize script
      
       
    • Leo  Schneider

      Leo Schneider - 2021-02-06

      Compilation finishes without errors (apparently) but installation complain about a few missing things. Dtlogin works fine, but the desktop doesn't start and give the message attached.

       
  • Lev Kujawski

    Lev Kujawski - 2021-02-06

    Hi, I have an additional patch for you to fix the endianness issue on SPARC. This should allow the DtMmdb library (and its dependencies) to build correctly. For the ToolTalk error, are you running rpcbind (/etc/rc.d/rpcbind)?

    I know these older systems can require some patience, and I appreciate your help to get CDE running well on SPARC.

     
    • Leo  Schneider

      Leo Schneider - 2021-02-07

      No worries mate... no need to appreciate. I do appreciate your effort on keeping CDE alive!

      This is my rc.conf:

      sshd=YES
      ntpd=YES
      ntpdate=YES
      dhcpcd=YES
      rpcbind=YES             rpcbind_flags="-l"
      

      And checking the rpcbind status it shows:

      # /etc/rc.d/rpcbind status
      rpcbind is running as pid 157.
      

      I'm afraid I have no idea how to run this .patch file. Can you give me the exact command?

      Tried the below, not sure if this is the expected result.

      # patch < /root/sparc.patch   
      Hmm...  Looks like a unified diff to me...
      The text leading up to this was:
      --------------------------
      |--- a/config/cf/DtInfo.tmpl
      |+++ b/config/cf/DtInfo.tmpl
      --------------------------
      File to patch: config/cf/DtInfo.tmpl
      Patching file config/cf/DtInfo.tmpl using Plan A...
      Hunk #1 succeeded at 414.
      done
      
       

      Last edit: Leo Schneider 2021-02-07
  • Lev Kujawski

    Lev Kujawski - 2021-02-06
    • assigned_to: Lev Kujawski
     
  • Lev Kujawski

    Lev Kujawski - 2021-02-07

    Hmm... Taking a closer look (the color coding concealed it) at the installation log, I notice that /usr/dt/bin/rpc.ttdbserver is missing. That's probably the source of your error if it is actually not present, although I can only speculate as to why it did not build.

    To save time, you could run make within lib/tt just to build that component of CDE.

     

    Last edit: Lev Kujawski 2021-02-07
    • Leo  Schneider

      Leo Schneider - 2021-02-07

      I did apply the patch you've sent (as per my previous comment) and did the "make World" again to see how it goes (and then saw this comment).

      So I've aborted the "make World" and I'm running the make under lib/tt

       
      • Leo  Schneider

        Leo Schneider - 2021-02-07

        I found that the "exports" folder is empty and looking the compilation logs, it ios complaining about:

        make[2]: .depend, 475: ignoring stale .depend for ../../../../exports/include/Tt/tt_c.h
        

        So I've created the folder structure and linked the /lib/api/c/tt_c.h into that folder, ran make again and aparently it was compiled successfully. However, CDE still not working, same error. I may have to do make World again.

         
    • Leo  Schneider

      Leo Schneider - 2021-02-07

      This is the last screen of the make under the lib/tt - attached the full log

      tttar_spec.C:318:3: note: in expansion of macro 'note_err'
         note_err( tt_spec_bprop_add( spec_id, (char *)_propname,
         ^~~~~~~~
      rm -f tttar_file_utils.o
      g++ -c -O2 -fno-strict-aliasing    -I. -I../../lib -I../../../.. -I../../../../exports/include -I/usr/pkg/include -I/usr/X11R7/include  -DCSRG_BASED -DANSICPP -DMULTIBYTE -DNLS16 
          -DOSMAJORVERSION=9 -DOSMINORVERSION=1     tttar_file_utils.C
      rm -f tttar_string_map.o
      g++ -c -O2 -fno-strict-aliasing    -I. -I../../lib -I../../../.. -I../../../../exports/include -I/usr/pkg/include -I/usr/X11R7/include  -DCSRG_BASED -DANSICPP -DMULTIBYTE -DNLS16 
          -DOSMAJORVERSION=9 -DOSMINORVERSION=1     tttar_string_map.C
      make[2]: don't know how to make ../../slib/libstt.a. Stop
      
      make[2]: stopped in /root/cdesktopenv-code/cde/lib/tt/bin/tttar
      making all in lib/tt/bin/tttrace...
      rm -f tttrace.o
      g++ -c -O2 -fno-strict-aliasing    -I. -I../../lib -I../../../.. -I../../../../exports/include -I/usr/pkg/include -I/usr/X11R7/include  -DCSRG_BASED -DANSICPP -DMULTIBYTE -DNLS16 
          -DOSMAJORVERSION=9 -DOSMINORVERSION=1     tttrace.C
      rm -f tttrace_objs.o
      g++ -c -O2 -fno-strict-aliasing    -I. -I../../lib -I../../../.. -I../../../../exports/include -I/usr/pkg/include -I/usr/X11R7/include  -DCSRG_BASED -DANSICPP -DMULTIBYTE -DNLS16 
          -DOSMAJORVERSION=9 -DOSMINORVERSION=1     tttrace_objs.C
      rm -f tttrace
      g++ -o tttrace -O2 -fno-strict-aliasing     -L../../../../exports/lib  -L/usr/pkg/lib -L/usr/X11R7/lib tttrace.o tttrace_objs.o -ltt -lXext -lX11 -L/usr/X11R7/lib  -L/usr/pkg/lib -L/usr/X11R7/lib     -Wl,-rpath,/usr/pkg/lib:/usr/X11R7/lib:/usr/X11R7/lib:/usr/dt/lib
      ld: cannot find -ltt
      ld: tttrace_objs.o: in function `_Tt_trace_optobj::getopts(int, char**)':
      tttrace_objs.C:(.text+0xde8): warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()                                                                       
      *** Error code 1
      
      Stop.
      make[2]: stopped in /root/cdesktopenv-code/cde/lib/tt/bin/tttrace
      *** Error code 1
      
      Stop.
      make[1]: stopped in /root/cdesktopenv-code/cde/lib/tt/bin
      *** Error code 1
      
      Stop.
      make: stopped in /root/cdesktopenv-code/cde/lib/tt
      
       

      Last edit: Leo Schneider 2021-02-07
    • Leo  Schneider

      Leo Schneider - 2021-02-07

      This is the latest install log after running make World wuth the follwing changes:

      1. Applying the patch you've sent
      2. Creating the symlink under exports

      I'm still getting the same error saying "ttsession is not running" and the log shows /usr/dt/bin/ttrm as still missing.

      Options specified...
      
        - get the build tree to extract from
      
      Load the Desktop from /root/cdesktopenv-code/cde
      
        1. installing database CDE-RUN
            - creating CDE-RUN.lst file
            - installing ... 
              done.
            - checking for errors ...
        2. installing database CDE-MIN
            - creating CDE-MIN.lst file
            - installing ... 
              done.
            - checking for errors ...
        3. installing database CDE-TT
            - creating CDE-TT.lst file
            - installing ... 
              done.
            - checking for errors ...
            - missing files:
                 /usr/dt/bin/ttrm
        4. installing database CDE-MAN
            - creating CDE-MAN.lst file
            - installing ... 
              done.
            - checking for errors ...
        5. installing database CDE-HELP-RUN
            - creating CDE-HELP-RUN.lst file
            - installing ... 
              done.
            - checking for errors ...
        6. installing database CDE-C
            - creating CDE-C.lst file
            - installing ... 
              done.
            - checking for errors ...
        7. installing database CDE-MSG-C
            - creating CDE-MSG-C.lst file
            - installing ... 
              done.
            - checking for errors ...
        8. installing database CDE-HELP-C
            - creating CDE-HELP-C.lst file
            - installing ... 
              done.
            - checking for errors ...
        9. installing database CDE-SHLIBS
            - creating CDE-SHLIBS.lst file
            - installing ... 
              done.
            - checking for errors ...
        10. installing database CDE-HELP-PRG
            - creating CDE-HELP-PRG.lst file
            - installing ... 
              done.
            - checking for errors ...
        11. installing database CDE-PRG
            - creating CDE-PRG.lst file
            - installing ... 
              done.
            - checking for errors ...
        12. installing database CDE-INC
            - creating CDE-INC.lst file
            - installing ... 
              done.
            - checking for errors ...
        13. installing database CDE-DEMOS
            - creating CDE-DEMOS.lst file
            - installing ... 
              done.
            - checking for errors ...
        14. installing database CDE-MAN-DEV
            - creating CDE-MAN-DEV.lst file
            - installing ... 
              done.
            - checking for errors ...
        15. installing database CDE-ICONS
            - creating CDE-ICONS.lst file
            - installing ... 
              done.
            - checking for errors ...
        16. installing database CDE-FONTS
            - creating CDE-FONTS.lst file
            - installing ... 
              done.
            - checking for errors ...
        17. installing database CDE-INFO
            - creating CDE-INFO.lst file
            - installing ... 
              done.
            - checking for errors ...
        18. installing database CDE-INFOLIB-C
            - creating CDE-INFOLIB-C.lst file
            - installing ... 
              done.
            - checking for errors ...
            - missing files:
                 "/root/cdesktopenv-code/cde/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.d00".
                 "/root/cdesktopenv-code/cde/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.d01".
                 "/root/cdesktopenv-code/cde/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.d21".
                 "/root/cdesktopenv-code/cde/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.d22".
                 "/root/cdesktopenv-code/cde/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.d23".
                 "/root/cdesktopenv-code/cde/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.d99".
                 "/root/cdesktopenv-code/cde/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.dbd".
                 "/root/cdesktopenv-code/cde/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.k00".
                 "/root/cdesktopenv-code/cde/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.k01".
                 "/root/cdesktopenv-code/cde/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.k21".
                 "/root/cdesktopenv-code/cde/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.k22".
                 "/root/cdesktopenv-code/cde/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.k23".
                 "/root/cdesktopenv-code/cde/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.sfx".
                 "/root/cdesktopenv-code/cde/doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.stp".
                 "/root/cdesktopenv-code/cde/doc/C/cde.dti/CDEDOC/dtsearch/dtsearch.ocf".
                 "/root/cdesktopenv-code/cde/doc/C/cde.dti/cde.oli".
        19. installing database CDE-DE
            - creating CDE-DE.lst file
            - installing ... 
              done.
            - checking for errors ...
        20. installing database CDE-MSG-DE
            - creating CDE-MSG-DE.lst file
            - installing ... 
              done.
            - checking for errors ...
        21. installing database CDE-HELP-DE
            - creating CDE-HELP-DE.lst file
            - installing ... 
              done.
            - checking for errors ...
        22. installing database CDE-FR
            - creating CDE-FR.lst file
            - installing ... 
              done.
            - checking for errors ...
        23. installing database CDE-MSG-FR
            - creating CDE-MSG-FR.lst file
            - installing ... 
              done.
            - checking for errors ...
        24. installing database CDE-HELP-FR
            - creating CDE-HELP-FR.lst file
            - installing ... 
              done.
            - checking for errors ...
        25. installing database CDE-IT
            - creating CDE-IT.lst file
            - installing ... 
              done.
            - checking for errors ...
        26. installing database CDE-MSG-IT
            - creating CDE-MSG-IT.lst file
            - installing ... 
              done.
            - checking for errors ...
        27. installing database CDE-HELP-IT
            - creating CDE-HELP-IT.lst file
            - installing ... 
              done.
            - checking for errors ...
        28. installing database CDE-ES
            - creating CDE-ES.lst file
            - installing ... 
              done.
            - checking for errors ...
        29. installing database CDE-MSG-ES
            - creating CDE-MSG-ES.lst file
            - installing ... 
              done.
            - checking for errors ...
        30. installing database CDE-HELP-ES
            - creating CDE-HELP-ES.lst file
            - installing ... 
              done.
            - checking for errors ...
      
      Desktop installed in //usr/dt
      
      Executing netbsd specific CDE-TT customize script
      Executing netbsd specific CDE-MIN customize script
      Executing netbsd specific CDE-SHLIBS customize script
      Executing netbsd specific CDE-RUN customize script
      

      Interesting that ttrm is compiled. Perhaps the install script has a bug... look below:

      # cd lib/tt/bin/shell/                                                                               
      # ls
      .depend       copier.C      mover.h       remover.C     ttcp.C        ttmv.o        ttrm.o
      Imakefile     copier.h      mover.o       remover.h     ttcp.o        ttrcp.C       ttrmdir*
      Makefile      copier.o      rcopier.C     remover.o     ttmv*         ttrm*
      admindefines  mover.C       rcopier.h     ttcp*         ttmv.C        ttrm.C
      # make
      # make install
      install -c -s  ttmv /usr/dt/bin/ttmv
      install -c -s  ttrm /usr/dt/bin/ttrm
      install -c -s  ttcp /usr/dt/bin/ttcp
      install -c -s  ttrmdir /usr/dt/bin/ttrmdir
      install in lib/tt/bin/shell done
      
       

      Last edit: Leo Schneider 2021-02-07
  • Lev Kujawski

    Lev Kujawski - 2021-02-09

    Sorry for the delay. Unfortunately, CDE is very sensitive to the proper functioning of ToolTalk because all of its components use it as a form of inter-process communication.

    Here's what I would recommend:
    a) Start from a clean build directory (applying the patch but nothing else)
    Ideally, this would be straight from unpacking the tarball or running
    'git clean -dfx'
    'git checkout .'
    if you have cloned the repository.
    b) Run the following commands in sequence from the CDE directory root:
    make Makefile.boot
    make Makefiles
    make includes
    make depend
    c) Change directory to lib/tt and run 'make 2>&1 | tee build.log'
    This should be significantly faster than a run of make World. Please send the resultant build.log

    Thanks, Lev

     

    Last edit: Lev Kujawski 2021-02-09
    • Leo  Schneider

      Leo Schneider - 2021-02-09

      Sure, will try that. Have you seen on my last comment that there are some weird things happening, i.e. ttrm was compiled but not installed and the exports folder was empty and I had to create as symlink?

       
      • Lev Kujawski

        Lev Kujawski - 2021-02-09

        I had, but 'make includes' should do that for you, i.e., exports shouldn't exist beforehand but will after running that command. I am concerned the build system might not function properly if it thinks that exports has been updated after the fact because it is all based on timestamps. I certainly don't mean to indicate that you should delete your changes, but perhaps move that directory to a backup location.

         
  • Lev Kujawski

    Lev Kujawski - 2021-02-20

    Hi Leo,
    All of the changes necessary to compile on SPARC should now be in git master. Please let me know if you are still having difficulties either building or running CDE.

     
    • Leo  Schneider

      Leo Schneider - 2021-02-22

      I will wipe everything and recompile all over again from git. Will come back in a few days (you know...ancient machine)

       
    • Leo  Schneider

      Leo Schneider - 2021-02-23

      Hi Lev,

      I've wiped out all sources and binaries, cloned the repo from git and followed the instructions on the wiki. The compilation completed without errors and the installation was also completed ok except for some documentation. However something is not working still.

      Have a look:
      https://youtu.be/lALe_66Fb_s

       
      • Jon Trulson

        Jon Trulson - 2021-02-23

        On 2/23/21 5:19 AM, Leo Schneider wrote:

        Hi Lev,

        I've wiped out all sources and binaries, cloned the repo from git and
        followed the instructions on the wiki. The compilation completed
        without errors and the installation was also completed ok except for
        some documentation. However something is not working still.

        Have a look:
        https://youtu.be/lALe_66Fb_s

        So, it looks like maybe dtwm is crashing?  maybe dtsession?

        I'd check you various log files: ~/.dt/errorlog and sessionlog

        Also /var/dt/Xerrors

        Maybe there are clues in there.

        -jon

         
        • Leo  Schneider

          Leo Schneider - 2021-02-24

          Thanks Jon

          Looking the files you've mentioned:

          errorlog

          *** ERROR(4): /usr/dt/bin/dtdbcache: PID 4117: Wed Feb 24 10:26:36 2021
          The action definition "Print" in the file
            "zion:/usr/dt/appconfig/types/C/videoTypes.dt"
          contains duplicate fields named:
           "LABEL".
          *** [205]
          
          *** ERROR(4): dtsession: PID 4300: Wed Feb 24 10:26:38 2021
          "Could not connect to ToolTalk message server:
          TT_ERR_PROCID   The process id passed is not valid.Exiting ...
          "
          *** [169]
          
          *** ERROR(4): Dtwm: PID 4355: Wed Feb 24 10:26:39 2021
          "Could not connect to ToolTalk:
          TT_ERR_PROCID   The process id passed is not valid.
          "
          *** [138]
          
          *** ERROR(4): dtwm: PID 4355: Wed Feb 24 10:26:40 2021
          The action definition "Print" in the file
            "zion:/usr/dt/appconfig/types/C/videoTypes.dt"
          contains duplicate fields named:
           "LABEL".
          *** [188]
          
          *** ERROR(4): /usr/dt/bin/dtfile: PID 4603: Wed Feb 24 10:27:40 2021
          The action definition "Print" in the file
            "zion:/usr/dt/appconfig/types/C/videoTypes.dt"
          contains duplicate fields named:
           "LABEL".
          *** [202]
          

          Xerrors

          X.Org X Server 1.20.5
          X Protocol Version 11, Revision 0
          Build Operating System: NetBSD/sparc64 9.1 - The NetBSD Foundation, Inc.
          Current Operating System: NetBSD zion 9.1 NetBSD 9.1 (GENERIC) #0: Sun Oct 18 19:24:30 UTC 2020  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/sparc64/compile/GENERIC sparc64
          Build Date: 03 March 2019  07:11:23AM
          
          Current version of pixman: 0.38.4
                  Before reporting problems, check http://wiki.x.org
                  to make sure that you have the latest version.
          Markers: (--) probed, (**) from config file, (==) default setting,
                  (++) from command line, (!!) notice, (II) informational,
                  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
          (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 24 10:26:08 2021
          (==) Using config file: "/etc/X11/xorg.conf"
          The XKEYBOARD keymap compiler (xkbcomp) reports:
          > Error:            Couldn't lookup keysym
          >                   Symbol interpretation ignored
          > Error:            Couldn't lookup keysym
          >                   Symbol interpretation ignored
          Errors from xkbcomp are not fatal to the X server
          (EE) Failed to open authorization file "/var/dt/authdir/authfiles/A:0-gjOynN": Permission denied
          Warning: Cannot allocate colormap entry for "#7e7e7e"
          
           
    • Leo  Schneider

      Leo Schneider - 2021-03-31

      errorlog

      *** ERROR(4): /usr/dt/bin/dtdbcache: PID 4117: Wed Feb 24 10:26:36 2021
      The action definition "Print" in the file
        "zion:/usr/dt/appconfig/types/C/videoTypes.dt"
      contains duplicate fields named:
       "LABEL".
      *** [205]
      
      *** ERROR(4): dtsession: PID 4300: Wed Feb 24 10:26:38 2021
      "Could not connect to ToolTalk message server:
      TT_ERR_PROCID   The process id passed is not valid.Exiting ...
      "
      *** [169]
      
      *** ERROR(4): Dtwm: PID 4355: Wed Feb 24 10:26:39 2021
      "Could not connect to ToolTalk:
      TT_ERR_PROCID   The process id passed is not valid.
      "
      *** [138]
      
      *** ERROR(4): dtwm: PID 4355: Wed Feb 24 10:26:40 2021
      The action definition "Print" in the file
        "zion:/usr/dt/appconfig/types/C/videoTypes.dt"
      contains duplicate fields named:
       "LABEL".
      *** [188]
      
      *** ERROR(4): /usr/dt/bin/dtfile: PID 4603: Wed Feb 24 10:27:40 2021
      The action definition "Print" in the file
        "zion:/usr/dt/appconfig/types/C/videoTypes.dt"
      contains duplicate fields named:
       "LABEL".
      *** [202]
      

      Xerrors

      X.Org X Server 1.20.5
      X Protocol Version 11, Revision 0
      Build Operating System: NetBSD/sparc64 9.1 - The NetBSD Foundation, Inc.
      Current Operating System: NetBSD zion 9.1 NetBSD 9.1 (GENERIC) #0: Sun Oct 18 19:24:30 UTC 2020  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/sparc64/compile/GENERIC sparc64
      Build Date: 03 March 2019  07:11:23AM
      
      Current version of pixman: 0.38.4
              Before reporting problems, check http://wiki.x.org
              to make sure that you have the latest version.
      Markers: (--) probed, (**) from config file, (==) default setting,
              (++) from command line, (!!) notice, (II) informational,
              (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
      (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 24 10:26:08 2021
      (==) Using config file: "/etc/X11/xorg.conf"
      The XKEYBOARD keymap compiler (xkbcomp) reports:
      > Error:            Couldn't lookup keysym
      >                   Symbol interpretation ignored
      > Error:            Couldn't lookup keysym
      >                   Symbol interpretation ignored
      Errors from xkbcomp are not fatal to the X server
      (EE) Failed to open authorization file "/var/dt/authdir/authfiles/A:0-gjOynN": Permission denied
      Warning: Cannot allocate colormap entry for "#7e7e7e"
      
       
  • connor

    connor - 2021-04-05

    It is great that someone else also wants to revive CDE on Sun Workstations. I am also trying to get CDE built on NetBSD9.1/sparc64.
    However i can not get to a successful build by using a git checkout of today, the information on this thread and the wiki page. Currently i'm stuck somewhere in building dthelpview where libiconv can not be found.
    However i don't want to clutter this ticket in any way with my problems, but may i ask that once this is running on NetBSD/sparc64 that you could either post a detailed howto somewhere or update the Wiki here accordingly?

    Regards,
    Connor

     

    Last edit: connor 2021-04-06
    • Leo  Schneider

      Leo Schneider - 2021-04-11

      Following the Wiki I was able to build CDE with a few errors (as shown in the ticket thread), however it is still not initiating a session. I think we are very close to get this resolved, but still depending on people's time to look at the issues.

      Which machine do you have?

       
1 2 > >> (Page 1 of 2)

Log in to post a comment.

MongoDB Logo MongoDB