nss 3.15

124 views
Skip to first unread message

Elan Ruusamäe

unread,
Jun 10, 2013, 9:44:36 AM6/10/13
to chromium-...@chromium.org
seems chromium 28 fails to build with new nss:

nss-3.14.3-1.x86_64.rpm OK
nss-3.15-1.x86_64.rpm FAIL

  ccache x86_64-pld-linux-gcc '-D_FILE_OFFSET_BITS=64' '-DUSE_LINUX_BREAKPAD' '-DCHROMIUM_BUILD' '-DUSE_DEFAULT_RENDER_THEME=1' '-DUSE_LIBJPEG_TURBO=1' '-DUSE_NSS=1' '-DUSE_X11=1' '-DENABLE_ONE_CLICK_SIGNIN' '-DGTK_DISABLE_SINGLE_INCLUDES=1' '-DENABLE_REMOTING=1' '-DENABLE_WEBRTC=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_CONFIGURATION_POLICY' '-DENABLE_INPUT_SPEECH' '-DENABLE_NOTIFICATIONS' '-DENABLE_GPU=1' '-DENABLE_EGLIMAGE=1' '-DENABLE_TASK_MANAGER=1' '-DENABLE_EXTENSIONS=1' '-DENABLE_PLUGIN_INSTALLATION=1' '-DENABLE_PLUGINS=1' '-DENABLE_SESSION_SERVICE=1' '-DENABLE_THEMES=1' '-DENABLE_BACKGROUND=1' '-DENABLE_AUTOMATION=1' '-DENABLE_GOOGLE_NOW=1' '-DENABLE_LANGUAGE_DETECTION=1' '-DENABLE_PRINTING=1' '-DENABLE_CAPTIVE_PORTAL_DETECTION=1' '-DENABLE_MANAGED_USERS=1' '-DNO_PKCS11_BYPASS' '-DNSS_ENABLE_ECC' '-DUSE_UTIL_DIRECTLY' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' -Inet/third_party/nss/ssl/bodge  -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-exceptions -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -I/usr/include/nss -I/usr/include/nspr -Wno-format -Wno-unused-result -O2 -fno-ident -fdata-sections -ffunction-sections  -MMD -MF out/Release/.deps/out/Release/obj.target/libssl/net/third_party/nss/ssl/bodge/secure_memcmp.o.d.raw  -c -o out/Release/obj.target/libssl/net/third_party/nss/ssl/bodge/secure_memcmp.o net/third_party/nss/ssl/bodge/secure_memcmp.c
  touch out/Release/obj.target/build/linux/gnome_keyring.stamp
net/third_party/nss/ssl/bodge/secitem_array.c:16:8: error: redefinition of 'struct SECItemArrayStr'
 struct SECItemArrayStr {
        ^
In file included from net/third_party/nss/ssl/bodge/secitem_array.c:9:0:
/usr/include/nss/seccomon.h:57:16: note: originally defined here
 typedef struct SECItemArrayStr SECItemArray;
                ^
make: *** [out/Release/obj.target/libssl/net/third_party/nss/ssl/bodge/secitem_array.o] Error 1
make: *** Waiting for unfinished jobs....

-- 
glen

Elan Ruusamäe

unread,
Jun 10, 2013, 9:47:23 AM6/10/13
to chromium-...@chromium.org

Paweł Hajdan, Jr.

unread,
Jun 12, 2013, 8:16:01 PM6/12/13
to Elan Ruusamäe, chromium-...@chromium.org
Elan, I'm going to take a look at this.

For now, according to https://developer.mozilla.org/en-US/docs/NSS/NSS_Releases the latest stable release of NSS is 3.14.3 .

M29 has a higher chance of working - given M28 was branches some time ago, it may be necessary to apply some patches to make it work with nss-3.15 . If you find that before I do, please of course post here. :)

Thanks,
Paweł

On Mon, Jun 10, 2013 at 6:47 AM, Elan Ruusamäe <elan.r...@gmail.com> wrote:

--
You received this message because you are subscribed to the Google Groups "chromium-packagers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-packag...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-packagers/?hl=en.
 
 

phajd...@chromium.org

unread,
Jun 13, 2013, 2:01:05 PM6/13/13
to chromium-...@chromium.org, Elan Ruusamäe, phajd...@chromium.org
I submitted a patch for review: https://codereview.chromium.org/16982002/ . Should work both for newer and older NSS versions.

Paweł
Reply all
Reply to author
Forward
0 new messages