Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295849 - [science overlay] media-gfx/freecad-0.9.2646: Could not open catalog Cannot load message domain
Summary: [science overlay] media-gfx/freecad-0.9.2646: Could not open catalog Cannot l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-05 12:31 UTC by shigubuhua
Modified: 2013-03-07 15:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shigubuhua 2009-12-05 12:31:11 UTC
freecad start error :
$ FreeCAD -l
FreeCAD 0.9, Libs: 0.9R2646
(c) Juergen Riegel, Werner Mayer 2001-2009
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Could not open catalog:
 XercesMessages_en_US.cat
 or XercesMessages_en_US.cat
Cannot load message domain
Qt: Session management error: Could not open network socket

Reproducible: Always




$ emerge --info
Portage 2.2_rc55 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6400_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 05 Dec 2009 03:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r2
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.3
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://61.135.158.199 ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://gentoo.channelx.biz/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ http://ftp.iij.ad.jp/pub/linux/gentoo/ http://ftp.twaren.net/Linux/Gentoo/ "
LANG="zh_CN.UTF-8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
LINGUAS="zh_CN zh"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/gentoo-china /usr/local/portage/layman/sunrise /usr/local/portage/layman/gnome /usr/local/portage/layman/science /usr/local/portage/layman/java-overlay /usr/local/portage/my-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apic arch_perfmon berkdb bluetooth branding bts bzip2 cairo cdr cjk clflush cli cmov consolekit constant_tsc cracklib crypt cups custom-optimization cx16 cx8 cxx dbus de dri ds_cpl dts dvd dvdr eds emboss encode est evo fam ffmpeg firefox flac fontconfig fontforge fortran fpu fxsr gdbm gif gnome gpm gstreamer gtk hal ht iconv jpeg kde lahf_lm laptop libnotify lm mad mca mce mikmod mmx modules monitor mp3 mp4 mpeg msr mtrr mudflap multilib ncurses nls nptl nptlonly nsplugin nv nvidia nx ogg opengl openmp pae pam pat pbe pcre pdf pebs perl pge png pni ppds pppd pse pse36 pulseaudio python qt3support qt4 quicktime readline reflection samba sdl sep session spell spl ss sse sse2 sse4_1 ssl ssse3 startup-notification svg sysfs tcpd thunar tiff tm tm2 truetype tsc unicode usb v4l v4l2 vim-syntax vme vorbis x264 xml xorg xtpr xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN zh" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

$ eix -e freecad
[I] media-gfx/freecad [1]
     Available versions:  (~)0.9.2646
     Installed versions:  0.9.2646(08:05:32 PM 12/05/2009)
     Homepage:            http://sourceforge.net/apps/mediawiki/free-cad/
     Description:         QT based Computer Aided Design Application

[1] "science" /usr/local/portage/layman/science
Comment 1 Roelof Wobben 2009-12-06 11:35:15 UTC
Hello, 

It looks like A Xerces-c problem.
What version of Xerces-c are you using and which use flags does Xerces-c use ?

Roelof
Comment 2 Roelof Wobben 2009-12-07 08:06:22 UTC
(In reply to comment #1)
> Hello, 
> 
> It looks like A Xerces-c problem.
> What version of Xerces-c are you using and which use flags does Xerces-c use ?
> 
> Roelof
> 

On a stable AMD64 machine not a problem with Xercec-c version 3.0.0-r1 with the inconv use flag enabled. 
So I need to have more info but still it looks like a Xerces-c problem.

Can one of the developers make this a Xerces-c big instead of a freecad bug ?

Roelof


Comment 3 shigubuhua 2009-12-07 09:50:35 UTC
(In reply to comment #1)
> Hello, 
> 
> It looks like A Xerces-c problem.
> What version of Xerces-c are you using and which use flags does Xerces-c use ?
> 
> Roelof
> 

# eix Xerces-c
[I] dev-libs/xerces-c
     Available versions:  2.7.0-r1 (~)2.8.0-r1 (~)3.0.0 3.0.0-r1 (~)3.0.1 (~)3.0.1-r1 {curl debug doc elibc_Darwin elibc_FreeBSD iconv icu libwww (+)threads xqilla}
     Installed versions:  3.0.1-r1(05:41:36 PM 12/05/2009)(iconv -curl -debug -doc -elibc_Darwin -elibc_FreeBSD -icu -libwww -threads)
     Homepage:            http://xerces.apache.org/xerces-c/
     Description:         A validating XML parser written in a portable subset of C++.
Comment 4 Roelof Wobben 2009-12-07 13:06:27 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > Hello, 
> > 
> > It looks like A Xerces-c problem.
> > What version of Xerces-c are you using and which use flags does Xerces-c use ?
> > 
> > Roelof
> > 
> 

Oke, 

Also with this version I can't reproduce the error.

Roelof
> # eix Xerces-c
> [I] dev-libs/xerces-c
>      Available versions:  2.7.0-r1 (~)2.8.0-r1 (~)3.0.0 3.0.0-r1 (~)3.0.1
> (~)3.0.1-r1 {curl debug doc elibc_Darwin elibc_FreeBSD iconv icu libwww
> (+)threads xqilla}
>      Installed versions:  3.0.1-r1(05:41:36 PM 12/05/2009)(iconv -curl -debug
> -doc -elibc_Darwin -elibc_FreeBSD -icu -libwww -threads)
>      Homepage:            http://xerces.apache.org/xerces-c/
>      Description:         A validating XML parser written in a portable subset
> of C++.
> 

Comment 5 Roelof Wobben 2009-12-07 14:05:35 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #1)
> > > Hello, 
> > > 
> > > It looks like A Xerces-c problem.
> > > What version of Xerces-c are you using and which use flags does Xerces-c use ?
> > > 
> > > Roelof
> > > 
> > 
> 
> Oke, 
> 
> Also with this version I can't reproduce the error.
> 
> Roelof
> > # eix Xerces-c
> > [I] dev-libs/xerces-c
> >      Available versions:  2.7.0-r1 (~)2.8.0-r1 (~)3.0.0 3.0.0-r1 (~)3.0.1
> > (~)3.0.1-r1 {curl debug doc elibc_Darwin elibc_FreeBSD iconv icu libwww
> > (+)threads xqilla}
> >      Installed versions:  3.0.1-r1(05:41:36 PM 12/05/2009)(iconv -curl -debug
> > -doc -elibc_Darwin -elibc_FreeBSD -icu -libwww -threads)
> >      Homepage:            http://xerces.apache.org/xerces-c/
> >      Description:         A validating XML parser written in a portable subset
> > of C++.
> > 
> 

Can someone of the developers help me solve this problem.

Roelof


Comment 6 Roelof Wobben 2009-12-07 17:25:27 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > (In reply to comment #3)
> > > (In reply to comment #1)
> > > > Hello, 
> > > > 
> > > > It looks like A Xerces-c problem.
> > > > What version of Xerces-c are you using and which use flags does Xerces-c use ?
> > > > 
> > > > Roelof
> > > > 
> > > 
> > 
> > Oke, 
> > 
> > Also with this version I can't reproduce the error.
> > 
> > Roelof
> > > # eix Xerces-c
> > > [I] dev-libs/xerces-c
> > >      Available versions:  2.7.0-r1 (~)2.8.0-r1 (~)3.0.0 3.0.0-r1 (~)3.0.1
> > > (~)3.0.1-r1 {curl debug doc elibc_Darwin elibc_FreeBSD iconv icu libwww
> > > (+)threads xqilla}
> > >      Installed versions:  3.0.1-r1(05:41:36 PM 12/05/2009)(iconv -curl -debug
> > > -doc -elibc_Darwin -elibc_FreeBSD -icu -libwww -threads)
> > >      Homepage:            http://xerces.apache.org/xerces-c/
> > >      Description:         A validating XML parser written in a portable subset
> > > of C++.
> > > 
> > 
> 
> Can someone of the developers help me solve this problem.
> 
> Roelof
> 

Hello, 

I have one idea.

Can you try to re-emerge Xerces because it's look like you xerces-c installation were messed up.

Roelof
Comment 7 shigubuhua 2009-12-08 01:34:45 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > (In reply to comment #3)
> > > > (In reply to comment #1)
> > > > > Hello, 
> > > > > 
> > > > > It looks like A Xerces-c problem.
> > > > > What version of Xerces-c are you using and which use flags does Xerces-c use ?
> > > > > 
> > > > > Roelof
> > > > > 
> > > > 
> > > 
> > > Oke, 
> > > 
> > > Also with this version I can't reproduce the error.
> > > 
> > > Roelof
> > > > # eix Xerces-c
> > > > [I] dev-libs/xerces-c
> > > >      Available versions:  2.7.0-r1 (~)2.8.0-r1 (~)3.0.0 3.0.0-r1 (~)3.0.1
> > > > (~)3.0.1-r1 {curl debug doc elibc_Darwin elibc_FreeBSD iconv icu libwww
> > > > (+)threads xqilla}
> > > >      Installed versions:  3.0.1-r1(05:41:36 PM 12/05/2009)(iconv -curl -debug
> > > > -doc -elibc_Darwin -elibc_FreeBSD -icu -libwww -threads)
> > > >      Homepage:            http://xerces.apache.org/xerces-c/
> > > >      Description:         A validating XML parser written in a portable subset
> > > > of C++.
> > > > 
> > > 
> > 
> > Can someone of the developers help me solve this problem.
> > 
> > Roelof
> > 
> 
> Hello, 
> 
> I have one idea.
> 
> Can you try to re-emerge Xerces because it's look like you xerces-c
> installation were messed up.
> 
> Roelof
> 

Thanks.After I re-emerge Xerces,freecd is working now.
Comment 8 Roelof Wobben 2009-12-08 06:45:23 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > (In reply to comment #4)
> > > > (In reply to comment #3)
> > > > > (In reply to comment #1)
> > > > > > Hello, 
> > > > > > 
> > > > > > It looks like A Xerces-c problem.
> > > > > > What version of Xerces-c are you using and which use flags does Xerces-c use ?
> > > > > > 
> > > > > > Roelof
> > > > > > 
> > > > > 
> > > > 
> > > > Oke, 
> > > > 
> > > > Also with this version I can't reproduce the error.
> > > > 
> > > > Roelof
> > > > > # eix Xerces-c
> > > > > [I] dev-libs/xerces-c
> > > > >      Available versions:  2.7.0-r1 (~)2.8.0-r1 (~)3.0.0 3.0.0-r1 (~)3.0.1
> > > > > (~)3.0.1-r1 {curl debug doc elibc_Darwin elibc_FreeBSD iconv icu libwww
> > > > > (+)threads xqilla}
> > > > >      Installed versions:  3.0.1-r1(05:41:36 PM 12/05/2009)(iconv -curl -debug
> > > > > -doc -elibc_Darwin -elibc_FreeBSD -icu -libwww -threads)
> > > > >      Homepage:            http://xerces.apache.org/xerces-c/
> > > > >      Description:         A validating XML parser written in a portable subset
> > > > > of C++.
> > > > > 
> > > > 
> > > 
> > > Can someone of the developers help me solve this problem.
> > > 
> > > Roelof
> > > 
> > 
> > Hello, 
> > 
> > I have one idea.
> > 
> > Can you try to re-emerge Xerces because it's look like you xerces-c
> > installation were messed up.
> > 
> > Roelof
> > 
> 
> Thanks.After I re-emerge Xerces,freecd is working now.
> 

Oke, Then we can close this bug. 

Roelof
Comment 9 Per Öberg 2010-09-10 08:39:06 UTC
Just dropping a note for everyone that hits this bug that I had to run 

root@mycomp > env-update 
user@mycomp > source /etc/profile

to get it working.
Comment 10 dsuchka 2012-03-24 18:33:55 UTC
I had the same problem. It was been resolved only by enabling USE=icu for Xerces-c.
Comment 11 Mark Tomich 2013-01-09 20:23:27 UTC
comment 10 is confirmed...icu useflag to xerces-c seems to be required by FreeCAD.
Comment 12 Davey 2013-02-08 23:06:34 UTC
This confirms the confirm on comment 11 that confirms the comment on 10, for a complete trilogy of validation.  lol

I had the exact same issues, outcome, and taking the action laid out solved the problem for me as well.  I'm sure this will be common, as I had this issue on 3 different machines that I installed freecad onto.

Thank you all for the valuable information given in this and those involved.
Comment 13 Ian Stakenvicius (RETIRED) gentoo-dev 2013-03-07 15:53:17 UTC
I ran into this too ; as per comment #10 it seems that USE="icu" on xerces-c is required on default installations.  

I checked through my whole tree and as far as I can tell, this issue is not caused by a USE="icu" mismatch between xerces-c and any other package in the dependency tree of freecad (or xerces-c).  

Given that, I expect freecad's real dependency is xerces-c[icu] , and so I'm updating the ebuild appropriately.