Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 139453

Summary: Openoffice 2.0.3 requires nspr 4.6.2, dependency does not specify version
Product: Gentoo Linux Reporter: Antti Mäkelä <zarhan>
Component: New packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED FIXED    
Severity: normal CC: mozilla, rockoo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Antti Mäkelä 2006-07-06 10:19:18 UTC
If I don't specify dev-libs/nspr in my package.keywords, I'll use the currently stable version (4.6.1-r2), and ooo-2.0.3 build fails at:

This is with firefox USE flag set.

(...)
checking which mozilla to use... external
checking whether to use Mozilla or Firefox or XULRunner... Firefox
checking for firefox-xpcom ... Package 'NSPR' requires 'nspr >= 4.6.2' but version of NSPR is 4.6.1
configure: error: Library requirements (firefox-xpcom ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.0.3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  openoffice-2.0.3.ebuild, line 251:   Called die

!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

I'm not including my emerge info because I'm not seeing that as relevant..
Comment 1 Hanno Zysik (geki) 2006-07-15 16:02:00 UTC
If I look at firefox-xpcom.pc it requires nspr-4.6.2.
So mozilla-firefox should depend on that.
Or do I miss something?
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2006-07-18 02:25:08 UTC
Adding Mozilla-herd, could you please take a look at Hannos last comment, cause that's the way I would see that problem, too.
Comment 3 Antti Mäkelä 2006-07-19 04:58:58 UTC
Just so you know, here's the top part of emerge -avet output when I don't have nspr in my package.keywords. You can see nspr 4.6.1 in there after firefox.

blackfell ~ # emerge -avet openoffice

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] app-office/openoffice-2.0.3  USE="firefox gtk java kde ldap pam xml -binfilter -cairo -debug -eds -gnome -mono -odk" LINGUAS="-af -ar -be_BY -bg -bn -bs -ca -cs -cy -da -de -el -en -en_GB -en_US -en_ZA -es -et -fa -fi -fr -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -lt -mk -nb -nl -nn -nr -ns -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -st -sv -sw_TZ -th -tn -tr -ts -vi -xh -zh_CN -zh_TW -zu" 202,201 kB
[ebuild  N    ]  x11-libs/startup-notification-0.8  0 kB
[ebuild  N    ]  kde-base/kdelibs-3.5.3-r3  USE="alsa arts cups fam jpeg2k kdeenablefinal spell ssl tiff xinerama -acl -debug -doc -kdehiddenvisibility -kerberos -legacyssl -openexr -zeroconf" 0 kB
[ebuild  N    ]   app-admin/gamin-0.1.7  USE="-debug -doc" 0 kB
[ebuild  N    ]   virtual/ghostscript-0  0 kB
[ebuild  N    ]    app-text/ghostscript-esp-8.15.1_p20060430  USE="X cups gtk xml -cjk -emacs -threads" 0 kB
[ebuild  N    ]     media-fonts/gnu-gs-fonts-std-8.11  0 kB
[ebuild  N    ]   media-libs/libart_lgpl-2.3.17  USE="-debug" 0 kB
[ebuild  N    ]   dev-libs/libpcre-6.3  USE="-doc" 0 kB
[ebuild  N    ]   dev-libs/libxslt-1.1.17  USE="crypt python -debug" 0 kB
[ebuild  N    ]    dev-libs/libgcrypt-1.2.2-r1  USE="nls" 2 kB
[ebuild  N    ]     dev-libs/libgpg-error-1.0-r1  USE="nls" 0 kB
[ebuild  N    ]   media-libs/jasper-1.701.0  USE="jpeg opengl" 0 kB
[ebuild  N    ]    media-libs/glut-3.7.1  0 kB
[ebuild  N    ]   kde-base/arts-3.5.3-r1  USE="alsa kdeenablefinal mp3 vorbis xinerama -artswrappersuid -debug -esd -jack -kdehiddenvisibility -nas" 0 kB
[ebuild  N    ]    media-libs/audiofile-0.2.6-r1  0 kB
[ebuild  N    ]    media-libs/libvorbis-1.1.0  USE="-aotuv" 0 kB
[ebuild  N    ]    kde-base/kde-env-3-r4  0 kB
[ebuild  N    ]    media-libs/libogg-1.1.2  0 kB
[ebuild  N    ]    x11-libs/qt-3.3.6-r1  USE="cups gif ipv6 opengl xinerama -debug -doc -examples -firebird -immqt -immqt-bc -mysql -nas -nis -odbc -postgres -sqlite" 0 kB
[ebuild  N    ]    media-libs/libmad-0.15.1b  USE="-debug" 0 kB
[ebuild  N    ]   app-dicts/aspell-en-0.51.1  0 kB
[ebuild  N    ]   app-text/aspell-0.50.5-r4  USE="gpm" 0 kB
[ebuild  N    ]  www-client/mozilla-firefox-1.5.0.4  USE="ipv6 java xinerama -debug -gnome -mozdevelop -xprint" LINGUAS="-ar -ca -cs -da -de -el -en_GB -es -es_AR -es_ES -fi -fr -ga -ga_IE -he -hu -it -ja -ko -mk -nb -nb_NO -nl -pl -pt_BR -ro -ru -sk -sl -sv -sv_SE -tr -zh_CN -zh_TW" 0 kB
[ebuild  N    ]   dev-libs/nss-3.11-r1  0 kB
[ebuild  N    ]    dev-libs/nspr-4.6.1-r2  USE="ipv6" 0 kB
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2006-08-23 05:59:27 UTC
Another try to get the attention of the Mozilla herd, see above

In the meantime I'm going to add the dependency for this to the upcoming OOo 2.0.4
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2006-08-25 10:48:14 UTC
(In reply to comment #4)
> Another try to get the attention of the Mozilla herd, see above
> 
> In the meantime I'm going to add the dependency for this to the upcoming OOo
> 2.0.4
> 

I've done that, so closing this. Though maybe someone wants to file a new issue about the obviously wrong mozilla dependency.