After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 344790 - Add nss/nspr package names to pkgconfig requirements
Add nss/nspr package names to pkgconfig requirements
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Mailer
1.8.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 348852 430019 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-06-13 17:41 UTC by Elijah Newren
Modified: 2013-09-10 13:42 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Include the mozilla libraries so builds of apps depending on eds don't break (777 bytes, patch)
2006-06-13 20:14 UTC, Elijah Newren
reviewed Details | Review
patch against libedataserver instead of addressbook/libebook, as Andre pointed out (859 bytes, patch)
2006-09-21 21:13 UTC, Elijah Newren
needs-work Details | Review

Description Elijah Newren 2006-06-13 17:41:16 UTC
Oddly, I'm getting the following build problems, which looks like it's not finding the mozilla libraries.  But I checked the first 3 or so and the are indeed installed in /opt/gnome2/lib/mozilla-1.7.13, so it's just not getting the necessary -L flags, I guess.

/usr/bin/ld: warning: libplds4.so, needed by /opt/gnome2/lib/libedataserver-1.2.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libplc4.so, needed by /opt/gnome2/lib/libedataserver-1.2.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnspr4.so, needed by /opt/gnome2/lib/libedataserver-1.2.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnss3.so, needed by /opt/gnome2/lib/libcamel-1.2.so.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libsmime3.so, needed by /opt/gnome2/lib/libcamel-1.2.so.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libssl3.so, needed by /opt/gnome2/lib/libcamel-1.2.so.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libsoftokn3.so, needed by /opt/gnome2/lib/libcamel-1.2.so.0, not found (try using -rpath or -rpath-link)
/opt/gnome2/lib/libcamel-1.2.so.0: undefined reference to `NSS_NoDB_Init@NSS_3.2'
/opt/gnome2/lib/libcamel-1.2.so.0: undefined reference to `NSS_InitReadWrite@NSS_3.2'
/opt/gnome2/lib/libcamel-1.2.so.0: undefined reference to `PR_Cleanup'
/opt/gnome2/lib/libcamel-1.2.so.0: undefined reference to `NSS_SetDomesticPolicy@NSS_3.2'
/opt/gnome2/lib/libedataserver-1.2.so: undefined reference to `PR_Poll'
/opt/gnome2/lib/libedataserver-1.2.so: undefined reference to `PR_Close'
/opt/gnome2/lib/libcamel-1.2.so.0: undefined reference to `PR_Init'
/opt/gnome2/lib/libedataserver-1.2.so: undefined reference to `PR_Read'
/opt/gnome2/lib/libcamel-1.2.so.0: undefined reference to `SSL_OptionSetDefault@NSS_3.2'
/opt/gnome2/lib/libedataserver-1.2.so: undefined reference to `PR_GetError'
/opt/gnome2/lib/libedataserver-1.2.so: undefined reference to `PR_CreatePipe'
/opt/gnome2/lib/libedataserver-1.2.so: undefined reference to `PR_Write'
/opt/gnome2/lib/libcamel-1.2.so.0: undefined reference to `NSS_Shutdown@NSS_3.2'
collect2: ld returned 1 exit status
make[2]: *** [bug-buddy] Error 1
make[2]: Leaving directory `/floss/building/gnome/bug-buddy/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/floss/building/gnome/bug-buddy'
make: *** [all] Error 2
Comment 1 Fernando Herrera 2006-06-13 17:51:40 UTC
could this be a problem with eds .pc file not setting it correctly?
Comment 2 Elijah Newren 2006-06-13 20:14:19 UTC
Created attachment 67291 [details] [review]
Include the mozilla libraries so builds of apps depending on eds don't break
Comment 3 Elijah Newren 2006-06-13 20:15:40 UTC
(In reply to comment #1)
> could this be a problem with eds .pc file not setting it correctly?

Indeed it is; just attached a patch that fixes it for me.  Reassigning.
Comment 4 Devashish Sharma 2006-06-20 05:10:31 UTC
Adding harish to Cc.
Comment 5 Sushma Rai 2006-06-29 09:20:41 UTC
libebook doesn't depend on mozilla libraries.
Comment 6 André Klapper 2006-06-29 10:29:27 UTC
patch should be against libedataserver and not addressbook/libebook, yepp.
Comment 7 André Klapper 2006-07-15 10:35:06 UTC
fixing patch status; elijah and me discussed this directly at the guadec bug day.
Comment 8 André Klapper 2006-08-12 13:07:45 UTC
elijah, any news on this?
Comment 9 Elijah Newren 2006-08-12 16:09:40 UTC
Sorry, been swamped with lots of other work and I've been unable to get back to everything.  I'll try to get to it this next week; especially since it should take <5 min.  (If anyone else wants to update as per comment 6, they should feel free; it'll be really easy..)
Comment 10 Elijah Newren 2006-09-21 21:13:08 UTC
Created attachment 73171 [details] [review]
patch against libedataserver instead of addressbook/libebook, as Andre pointed out

Well, it looks like no one else wanted to tackle this, so here 'tis.
Comment 11 André Klapper 2006-09-26 20:45:13 UTC
harish: *poke*
Comment 12 Kjartan Maraas 2007-01-25 13:58:32 UTC
And should it be mozilla-nspr/mozilla-nss? Fedora packages them as nspr and nss respectively...
Comment 13 Elijah Newren 2007-01-25 17:42:11 UTC
Good point, Kjartan.
Comment 14 James Andrewartha 2007-02-10 01:53:09 UTC
It should probably be set to $mozilla_nspr and $mozilla_nss which are set to the corrent pkg-config name in configure.in. Also camel's .pc needs the fix too:

http://jhbuild.bxlug.be/builds/2007-02-09-0003/logs/bug-buddy/#build
http://jhbuild.bxlug.be/builds/2007-02-09-0003/logs/evolution-webcal/#build

And for completeness I'm guessing evolution-data-server.pc should also have it.
Comment 15 Karsten Bräckelmann 2007-06-30 18:14:36 UTC
*** Bug 430019 has been marked as a duplicate of this bug. ***
Comment 16 Karsten Bräckelmann 2007-06-30 18:15:02 UTC
*** Bug 348852 has been marked as a duplicate of this bug. ***
Comment 17 Karsten Bräckelmann 2007-06-30 18:17:58 UTC
Also see bug 356774.
Comment 18 Matthew Barnes 2008-03-11 00:59:02 UTC
Bumping version to a stable release.
Comment 19 Matthew Barnes 2009-10-27 20:57:04 UTC
Fixed on master.  This shouldn't have taken 3 years to get to...

http://git.gnome.org/cgit/evolution-data-server/commit/?id=7330f2e1d19eee3cfbf36a4eae397463fbdc1e32