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 596385 - nss 3.12 have not CERT_RegisterAlternateOCSPAIAInfoCallBack
nss 3.12 have not CERT_RegisterAlternateOCSPAIAInfoCallBack
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: general
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
: 596422 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-09-25 22:41 UTC by kuh3h3
Modified: 2010-06-19 19:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description kuh3h3 2009-09-25 22:41:02 UTC
nss 3.12 have not CERT_RegisterAlternateOCSPAIAInfoCallBack.
CERT_RegisterAlternateOCSPAIAInfoCallBack is new function in nss 3.12.3
so have to fetch nss 3.12.3
but jhbuild fetch nss 3.12. at last build failed.

c++  -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -pedantic -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O2 -fPIC -shared -Wl,-z,defs -Wl,-h,libxul.so -o libxul.so  nsStaticXULComponents.o nsUnicharUtils.o nsCompressedCharMap.o nsBidiUtils.o nsRDFResource.o     -lpthread -L/media/sdc1/gnome2/lib   -Wl,-rpath-link,../../dist/bin  -Wl,--whole-archive ../../embedding/browser/gtk/src/libgtkembedmoz.a ../../toolkit/xre/libxulapp_s.a  ../../staticlib/components/libxpconnect.a ../../staticlib/components/libnecko.a ../../staticlib/components/libuconv.a ../../staticlib/components/libi18n.a ../../staticlib/components/libchardet.a ../../staticlib/components/libjar50.a ../../staticlib/components/libpref.a ../../staticlib/components/libcaps.a ../../staticlib/components/libhtmlpars.a ../../staticlib/components/libimglib2.a ../../staticlib/components/libgklayout.a ../../staticlib/components/libdocshell.a ../../staticlib/components/libembedcomponents.a ../../staticlib/components/libwebbrwsr.a ../../staticlib/components/libnsappshell.a ../../staticlib/components/libtxmgr.a ../../staticlib/components/libchrome.a ../../staticlib/components/libcommandlines.a ../../staticlib/components/libtoolkitcomps.a ../../staticlib/components/libpipboot.a ../../staticlib/components/libpipnss.a ../../staticlib/components/libxmlextras.a ../../staticlib/components/libgkplugin.a ../../staticlib/components/libmozfind.a ../../staticlib/components/libappcomps.a ../../staticlib/components/libunixproxy.a ../../staticlib/components/libxpinstall.a ../../staticlib/components/libjsd.a ../../staticlib/components/libautoconfig.a ../../staticlib/components/libauth.a ../../staticlib/components/libcookie.a ../../staticlib/components/libpermissions.a ../../staticlib/components/libuniversalchardet.a ../../staticlib/components/libcomposer.a ../../staticlib/components/librdf.a ../../staticlib/components/libwindowds.a ../../staticlib/components/libintlapp.a ../../staticlib/components/libfileview.a ../../staticlib/components/libstoragecomps.a ../../staticlib/components/libplaces.a ../../staticlib/components/libtkautocomplete.a ../../staticlib/components/libsatchel.a ../../staticlib/components/libpippki.a ../../staticlib/components/libucvmath.a ../../staticlib/components/libwidget_gtk2.a ../../staticlib/components/libsystem-pref.a ../../staticlib/components/libgkgfxthebes.a ../../staticlib/components/liboji.a ../../staticlib/components/libaccessibility.a ../../staticlib/components/libremoteservice.a ../../staticlib/components/libspellchecker.a ../../staticlib/components/libzipwriter.a ../../staticlib/libxpcom_core.a ../../staticlib/libucvutil_s.a ../../staticlib/libgkgfx.a ../../staticlib/libgfxshared_s.a ../../staticlib/libmozreg_s.a ../../staticlib/libmorkreader_s.a ../../staticlib/libgtkxtbin.a ../../staticlib/libgfxpsshar.a ../../staticlib/libthebes.a ../../staticlib/libjsj.a  -Wl,--no-whole-archive -L/media/sdc1/gnome2/lib -lsqlite3   -L../../dist/bin -L../../dist/lib  -L../../dist/bin -L../../dist/lib -ljpeg  -L../../modules/libimg/png -lmozpng -L../../dist/bin -lmozlcms -L../../dist/bin -lmozjs -L/usr/lib -lssl3 -lsmime3 -lnss3 -lnssutil3 -lcrmf  -lz  -L/media/sdc1/gnome2/lib -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -L/media/sdc1/gnome2/lib -lcairo -lfreetype -lfontconfig    -L/media/sdc1/gnome2/lib -lXrender -lcairo -lX11   -L/media/sdc1/gnome2/lib -lplds4 -lplc4 -lnspr4 -L/media/sdc1/gnome2/lib -lpthread -ldl  -lX11  -lXft   -L/media/sdc1/gnome2/lib -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -lgobject-2.0 -lglib-2.0   -lXt -lgthread-2.0 -lfreetype -lz -L/media/sdc1/gnome2/lib -lstartup-notification-1   -ldl -lm     
../../staticlib/components/libpipnss.a(nsNSSCallbacks.o): In function `UnregisterMyOCSPAIAInfoCallback()':
nsNSSCallbacks.cpp:(.text+0x2b8): undefined reference to `CERT_RegisterAlternateOCSPAIAInfoCallBack'
../../staticlib/components/libpipnss.a(nsNSSCallbacks.o): In function `RegisterMyOCSPAIAInfoCallback()':
nsNSSCallbacks.cpp:(.text+0x393): undefined reference to `CERT_RegisterAlternateOCSPAIAInfoCallBack'
collect2: ld returned 1 exit status
gmake[3]: *** [libxul.so] 오류 1
gmake[3]: Leaving directory `/media/sdc1/checkout/gnome2/mozilla/toolkit/library'
gmake[2]: *** [libs_tier_toolkit] 오류 2
gmake[2]: Leaving directory `/media/sdc1/checkout/gnome2/mozilla'
gmake[1]: *** [tier_toolkit] 오류 2
gmake[1]: Leaving directory `/media/sdc1/checkout/gnome2/mozilla'
make: *** [default] 오류 2
*** Error during phase build of mozilla: ########## Error running make   *** [70/233]

  [1] Rerun phase build
  [2] Ignore error and continue to install
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "configure"
  [8] Go to phase "clean"
  [9] Go to phase "distclean"
Comment 1 kuh3h3 2009-09-25 22:51:07 UTC
and nss 3.12.3 need nspr-4.7.4.
but jhbuild fetch nspr-4.7.3.
must modifiy fetch source of these two package.
Comment 2 Frederic Peters 2009-09-26 12:30:57 UTC
*** Bug 596422 has been marked as a duplicate of this bug. ***
Comment 3 Johannes Schmid 2009-10-17 17:46:31 UTC
The affected module set is 2.30!
Comment 4 Frederic Peters 2009-11-27 14:48:56 UTC
I just tried again and nspr, nss and mozilla just built fine (with the 2.30 moduleset); kuh3h3, did you try forcing forcing clean & configure (jhbuild buildone -afc mozilla) ?
Comment 5 Felipe Balbi 2010-01-27 14:29:24 UTC
(In reply to comment #4)
> I just tried again and nspr, nss and mozilla just built fine (with the 2.30
> moduleset); kuh3h3, did you try forcing forcing clean & configure (jhbuild
> buildone -afc mozilla) ?

to me still fails the same way:

 -L/opt/gnome2/lib -lstartup-notification-1   -ldl -lm     
../../staticlib/components/libpipnss.a(nsNSSCallbacks.o): In function `UnregisterMyOCSPAIAInfoCallback()':
nsNSSCallbacks.cpp:(.text+0x2c3): undefined reference to `CERT_RegisterAlternateOCSPAIAInfoCallBack'
../../staticlib/components/libpipnss.a(nsNSSCallbacks.o): In function `RegisterMyOCSPAIAInfoCallback()':
nsNSSCallbacks.cpp:(.text+0x3a6): undefined reference to `CERT_RegisterAlternateOCSPAIAInfoCallBack'
collect2: ld returned 1 exit status
make[3]: *** [libxul.so] Error 1
make[3]: Leaving directory `/home/underline/workspace/gnome/mozilla/toolkit/library'
make[2]: *** [libs_tier_toolkit] Error 2
make[2]: Leaving directory `/home/underline/workspace/gnome/mozilla'
make[1]: *** [tier_toolkit] Error 2
make[1]: Leaving directory `/home/underline/workspace/gnome/mozilla'
make: *** [default] Error 2
*** Error during phase build of mozilla: ########## Error running make   *** [1/1]

  [1] Rerun phase build
  [2] Ignore error and continue to install
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "configure"
  [8] Go to phase "clean"
  [9] Go to phase "distclean"
Comment 6 Ryan Maki 2010-03-25 09:06:56 UTC
The title for this bug should be:
Update Network Security Services (NSS) to version 3.12.5

From the release notes @ https://developer.mozilla.org/NSS_3.12.5_release_notes

* Fixes CVE-2009-3555: SSL3 & TLS Renegotiation Vulnerability

Additionally, as mentioned in the original bug, JHBuild is building NSS 3.12
from "gnome-external-deps-2.30.modules" and this version of NSS does not 
contain the method CERT_RegisterAlternateOCSPAIAInfoCallBack which was added in NSS 3.12.3 according to http://www.mozilla.org/projects/security/pki/nss/nss-3.12.3/nss-3.12.3-release-notes.html

This causes a build failure in mozilla with a clean JHBuild of gnome-2.30

Note: this will also require updating NSPR from 4.7.3 to 4.8+. The NSPR 4.8.3 release is backward compatible with 4.7.x.
Comment 7 Tobias Mueller 2010-05-26 17:00:05 UTC
Uh. Reopening as per the last comment.
Comment 8 Frederic Peters 2010-06-19 19:04:29 UTC
NSS has been updated to version 3.12.6 in commit 8acf516c.