GNOME2 build error

Hello,

I tried to build GNOME2 on FreeBSD 9.1 from ports. I did portsnap fetch and portsnap update, but got the following error:

Code:
Making all in gnome-doc-make
gmake[2]: Entering directory `/usr/ports/textproc/gnome-doc-utils/work/gnome-doc-utils-0.20.10/doc/gnome-doc-make'
  XML2PO de/gnome-doc-make.xml
Traceback (most recent call last):
  File "/usr/ports/textproc/gnome-doc-utils/work/gnome-doc-utils-0.20.10/doc/gnome-doc-make/../../xml2po/xml2po/xml2po", line 191, in <module>
    main(sys.argv[1:])
  File "/usr/ports/textproc/gnome-doc-utils/work/gnome-doc-utils-0.20.10/doc/gnome-doc-make/../../xml2po/xml2po/xml2po", line 88, in main
    from xml2po import Main
  File "/usr/ports/textproc/gnome-doc-utils/work/gnome-doc-utils-0.20.10/xml2po/xml2po/__init__.py", line 27, in <module>
    import libxml2
  File "/usr/local/lib/python2.7/site-packages/libxml2.py", line 1, in <module>
    import libxml2mod
ImportError: /usr/local/lib/python2.7/site-packages/libxml2mod.so: Undefined symbol "xmlTextReaderRelaxNGValidateCtxt"
gmake[2]: *** [de/gnome-doc-make.xml] Error 1
gmake[2]: Leaving directory `/usr/ports/textproc/gnome-doc-utils/work/gnome-doc-utils-0.20.10/doc/gnome-doc-make'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/textproc/gnome-doc-utils/work/gnome-doc-utils-0.20.10/doc'
gmake: *** [all-recursive] Error 1
*** [do-build] Error code 1

Stop in /usr/ports/textproc/gnome-doc-utils.
*** [build-depends] Error code 1

Stop in /usr/ports/sysutils/gnome-settings-daemon.
*** [install] Error code 1

Stop in /usr/ports/sysutils/gnome-settings-daemon.
*** [build-depends] Error code 1

Stop in /usr/ports/x11/gnome-applets.
*** [install] Error code 1

Stop in /usr/ports/x11/gnome-applets.
*** [run-depends] Error code 1

Stop in /usr/ports/x11/gnome2.
*** [install] Error code 1

Stop in /usr/ports/x11/gnome2.

How do I fix it?

Ted.
 
Thanks! I got the tree updated and reworked with portmaster, but now I'm stuck with the following, how would I fix that?
Code:
Making all in help
gmake[2]: Entering directory `/usr/ports/multimedia/totem/work/totem-2.32.0/help'
xsltproc -o totem-C.omf --stringparam db2omf.basename totem --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.5//EN" --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/usr/local/share/omf" --stringparam db2omf.help_dir "/usr/local/share/gnome/help" --stringparam db2omf.omf_in "/usr/ports/multimedia/totem/work/totem-2.32.0/help/totem.omf.in"  --stringparam db2omf.scrollkeeper_cl "`scrollkeeper-config --pkgdatadir`/Templates/C/scrollkeeper_cl.xml" `/usr/local/bin/pkg-config --variable db2omf gnome-doc-utils` C/totem.xml || { rm -f "totem-C.omf"; exit 1; }
xsltproc -o totem-bg.omf --stringparam db2omf.basename totem --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.5//EN" --stringparam db2omf.lang bg --stringparam db2omf.omf_dir "/usr/local/share/omf" --stringparam db2omf.help_dir "/usr/local/share/gnome/help" --stringparam db2omf.omf_in "/usr/ports/multimedia/totem/work/totem-2.32.0/help/totem.omf.in"  --stringparam db2omf.scrollkeeper_cl "`scrollkeeper-config --pkgdatadir`/Templates/C/scrollkeeper_cl.xml" `/usr/local/bin/pkg-config --variable db2omf gnome-doc-utils` bg/totem.xml || { rm -f "totem-bg.omf"; exit 1; }
xsltproc -o totem-ca.omf --stringparam db2omf.basename totem --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.5//EN" --stringparam db2omf.lang ca --stringparam db2omf.omf_dir "/usr/local/share/omf" --stringparam db2omf.help_dir "/usr/local/share/gnome/help" --stringparam db2omf.omf_in "/usr/ports/multimedia/totem/work/totem-2.32.0/help/totem.omf.in"  --stringparam db2omf.scrollkeeper_cl "`scrollkeeper-config --pkgdatadir`/Templates/C/scrollkeeper_cl.xml" `/usr/local/bin/pkg-config --variable db2omf gnome-doc-utils` ca/totem.xml || { rm -f "totem-ca.omf"; exit 1; }
xsltproc -o totem-cs.omf --stringparam db2omf.basename totem --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.5//EN" --stringparam db2omf.lang cs --stringparam db2omf.omf_dir "/usr/local/share/omf" --stringparam db2omf.help_dir "/usr/local/share/gnome/help" --stringparam db2omf.omf_in "/usr/ports/multimedia/totem/work/totem-2.32.0/help/totem.omf.in"  --stringparam db2omf.scrollkeeper_cl "`scrollkeeper-config --pkgdatadir`/Templates/C/scrollkeeper_cl.xml" `/usr/local/bin/pkg-config --variable db2omf gnome-doc-utils` cs/totem.xml || { rm -f "totem-cs.omf"; exit 1; }
xsltproc -o totem-da.omf --stringparam db2omf.basename totem --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.5//EN" --stringparam db2omf.lang da --stringparam db2omf.omf_dir "/usr/local/share/omf" --stringparam db2omf.help_dir "/usr/local/share/gnome/help" --stringparam db2omf.omf_in "/usr/ports/multimedia/totem/work/totem-2.32.0/help/totem.omf.in"  --stringparam db2omf.scrollkeeper_cl "`scrollkeeper-config --pkgdatadir`/Templates/C/scrollkeeper_cl.xml" `/usr/local/bin/pkg-config --variable db2omf gnome-doc-utils` da/totem.xml || { rm -f "totem-da.omf"; exit 1; }
xsltproc -o totem-de.omf --stringparam db2omf.basename totem --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.5//EN" --stringparam db2omf.lang de --stringparam db2omf.omf_dir "/usr/local/share/omf" --stringparam db2omf.help_dir "/usr/local/share/gnome/help" --stringparam db2omf.omf_in "/usr/ports/multimedia/totem/work/totem-2.32.0/help/totem.omf.in"  --stringparam db2omf.scrollkeeper_cl "`scrollkeeper-config --pkgdatadir`/Templates/C/scrollkeeper_cl.xml" `/usr/local/bin/pkg-config --variable db2omf gnome-doc-utils` de/totem.xml || { rm -f "totem-de.omf"; exit 1; }
xsltproc -o totem-el.omf --stringparam db2omf.basename totem --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.5//EN" --stringparam db2omf.lang el --stringparam db2omf.omf_dir "/usr/local/share/omf" --stringparam db2omf.help_dir "/usr/local/share/gnome/help" --stringparam db2omf.omf_in "/usr/ports/multimedia/totem/work/totem-2.32.0/help/totem.omf.in"  --stringparam db2omf.scrollkeeper_cl "`scrollkeeper-config --pkgdatadir`/Templates/C/scrollkeeper_cl.xml" `/usr/local/bin/pkg-config --variable db2omf gnome-doc-utils` el/totem.xml || { rm -f "totem-el.omf"; exit 1; }
xsltproc -o totem-en_GB.omf --stringparam db2omf.basename totem --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.5//EN" --stringparam db2omf.lang en_GB --stringparam db2omf.omf_dir "/usr/local/share/omf" --stringparam db2omf.help_dir "/usr/local/share/gnome/help" --stringparam db2omf.omf_in "/usr/ports/multimedia/totem/work/totem-2.32.0/help/totem.omf.in"  --stringparam db2omf.scrollkeeper_cl "`scrollkeeper-config --pkgdatadir`/Templates/C/scrollkeeper_cl.xml" `/usr/local/bin/pkg-config --variable db2omf gnome-doc-utils` en_GB/totem.xml || { rm -f "totem-en_GB.omf"; exit 1; }
Bus error (core dumped)
gmake[2]: *** [totem-bg.omf] Error 1
gmake[2]: *** Waiting for unfinished jobs....
Bus error (core dumped)
Bus error (core dumped)
gmake[2]: *** [totem-ca.omf] Error 1
gmake[2]: *** [totem-cs.omf] Error 1
Bus error (core dumped)
gmake[2]: *** [totem-de.omf] Error 1
Bus error (core dumped)
gmake[2]: *** [totem-da.omf] Error 1
Bus error (core dumped)
Bus error (core dumped)
Bus error (core dumped)
gmake[2]: *** [totem-C.omf] Error 1
gmake[2]: *** [totem-en_GB.omf] Error 1
gmake[2]: *** [totem-el.omf] Error 1
gmake[2]: Leaving directory `/usr/ports/multimedia/totem/work/totem-2.32.0/help'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/multimedia/totem/work/totem-2.32.0'
gmake: *** [all] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/multimedia/totem.
*** [build] Error code 1

Stop in /usr/ports/multimedia/totem.
 
cpu82 said:
To install x11/gnome2, just run # portmaster x11/gnome2

I went with portmaster x11/gnome2, but I'm running into segfaults with xsltproc for some parts. What would need to fixed?

Code:
Making all in sound-juicer
gmake[3]: Entering directory `/usr/ports/audio/sound-juicer/work/sound-juicer-2.32.0/help/sound-juicer'
msgfmt -o ar/ar.mo ar/ar.po
msgfmt -o ca/ca.mo ca/ca.po
msgfmt -o de/de.mo de/de.po
msgfmt -o el/el.mo el/el.po
msgfmt -o cs/cs.mo cs/cs.po
msgfmt -o en_GB/en_GB.mo en_GB/en_GB.po
msgfmt -o es/es.mo es/es.po
msgfmt -o eu/eu.mo eu/eu.po
msgfmt -o fr/fr.mo fr/fr.po
msgfmt -o ja/ja.mo ja/ja.po
msgfmt -o nl/nl.mo nl/nl.po
msgfmt -o oc/oc.mo oc/oc.po
msgfmt -o pl/pl.mo pl/pl.po
msgfmt -o pt_BR/pt_BR.mo pt_BR/pt_BR.po
msgfmt -o ru/ru.mo ru/ru.po
msgfmt -o sv/sv.mo sv/sv.po
msgfmt -o uk/uk.mo uk/uk.po
msgfmt -o zh_CN/zh_CN.mo zh_CN/zh_CN.po
xsltproc -o sound-juicer-C.omf --stringparam db2omf.basename sound-juicer --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.3//EN" --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/usr/local/share/omf" --stringparam db2omf.help_dir "/usr/local/share/gnome/help" --stringparam db2omf.omf_in "/usr/ports/audio/sound-juicer/work/sound-juicer-2.32.0/help/sound-juicer/sound-juicer.omf.in"  --stringparam db2omf.scrollkeeper_cl "`scrollkeeper-config --pkgdatadir`/Templates/C/scrollkeeper_cl.xml" `/usr/local/bin/pkg-config --variable db2omf gnome-doc-utils` C/sound-juicer.xml || { rm -f "sound-juicer-C.omf"; exit 1; }

...... skipped .....

if [ -f "${mo}" ]; then mo="../${mo}"; else mo="/usr/ports/audio/sound-juicer/work/sound-juicer-2.32.0/help/sound-juicer/${mo}"; fi; \
(cd ca/ && \
  `which xml2po` -m docbook -e -t "${mo}" \
    "${d}C/legal.xml" > legal.xml.tmp && \
    cp legal.xml.tmp legal.xml && rm -f legal.xml.tmp)
Bus error (core dumped)
if ! test -d cs/; then mkdir cs/; fi
gmake[3]: *** [sound-juicer-C.omf] Error 1
gmake[3]: *** Waiting for unfinished jobs....
if [ -f "C/legal.xml" ]; then d="../"; else d="/usr/ports/audio/sound-juicer/work/sound-juicer-2.32.0/help/sound-juicer/"; fi; \
mo="cs/cs.mo"; \
if [ -f "${mo}" ]; then mo="../${mo}"; else mo="/usr/ports/audio/sound-juicer/work/sound-juicer-2.32.0/help/sound-juicer/${mo}"; fi; \
(cd cs/ && \
  `which xml2po` -m docbook -e -t "${mo}" \
    "${d}C/legal.xml" > legal.xml.tmp && \
    cp legal.xml.tmp legal.xml && rm -f legal.xml.tmp)
gmake[3]: Leaving directory `/usr/ports/audio/sound-juicer/work/sound-juicer-2.32.0/help/sound-juicer'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/audio/sound-juicer/work/sound-juicer-2.32.0/help'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/audio/sound-juicer/work/sound-juicer-2.32.0'
gmake: *** [all] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/audio/sound-juicer.

===>>> make failed for audio/sound-juicer
===>>> Aborting update

===>>> Update for audio/sound-juicer failed
===>>> Aborting update

===>>> Killing background jobs
Terminated
 
I tried this and that and I think that disabling the "threads" option in the libxml2 build configuration stopped the segfaults during the GNOME build here.
 
tedjohnson said:
I tried this and that and I think that disabling the "threads" option in the libxml2 build configuration stopped the segfaults during the GNOME build here.

Normally, it's safe to leave the default ports configuration options.

tedjohnson said:
I went with portmaster x11/gnome2, but I'm running into segfaults with xsltproc for some parts. What would need to fixed?

I just see this couple of messages that describe the same error:
http://lists.freebsd.org/pipermail/freebsd-ports/2012-January/072673.html
http://lists.freebsd.org/pipermail/freebsd-ports/2012-August/077860.html

Reinstall again textproc/gnome-doc-utils and you should be good to go.
 
Back
Top