nss-passwords 0.1-1 fails to build in precise

Bug #922346 reported by Leo Iannacone
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nss-passwords (Debian)
Fix Released
Unknown
nss-passwords (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

nss-passwords 0.1-1 fails to build in precise with ld --as-needed.

The entire log can be found here https://launchpadlibrarian.net/89413467/buildlog_ubuntu-precise-i386.nss-passwords_0.1-1_FAILEDTOBUILD.txt.gz

This is a snippet, focusing con the error:

ocamlfind ocamlc -g -package fileutils.str,sqlite3 -ccopt -lnss3 -ccopt -lnssutil3 -ccopt -lsmime3 -ccopt -lssl3 -ccopt -lplds4 -ccopt -lplc4 -ccopt -lnspr4 -ccopt -lpthread -ccopt -ldl -custom -linkpkg -o nss-passwords main.cmo nss_stubs.o main_stubs.o
nss_stubs.o: In function `password_func':
nss_stubs.c:(.text+0x175): undefined reference to `PL_strdup'
nss_stubs.o: In function `caml_nss_cleanup':
nss_stubs.c:(.text+0x1df): undefined reference to `NSS_Shutdown'
nss_stubs.c:(.text+0x200): undefined reference to `PR_Cleanup'
nss_stubs.o: In function `caml_nss_init':
nss_stubs.c:(.text+0x277): undefined reference to `PK11_SetPasswordFunc'
nss_stubs.c:(.text+0x282): undefined reference to `NSS_Init'
nss_stubs.o: In function `caml_do_decrypt':
nss_stubs.c:(.text+0x3af): undefined reference to `NSSBase64_DecodeBuffer'
nss_stubs.c:(.text+0x3dc): undefined reference to `PORT_GetError'
nss_stubs.c:(.text+0x3fd): undefined reference to `SECITEM_FreeItem'
nss_stubs.c:(.text+0x4af): undefined reference to `PK11SDR_Decrypt'
nss_stubs.c:(.text+0x4c5): undefined reference to `SECITEM_ZfreeItem'
nss_stubs.c:(.text+0x507): undefined reference to `SECITEM_ZfreeItem'
nss_stubs.c:(.text+0x529): undefined reference to `PORT_GetError'
collect2: ld returned 1 exit status
File "_none_", line 1, characters 0-1:
Error: Error while building custom runtime system
make[1]: *** [nss-passwords] Error 2

Tags: ftbfs precise

Related branches

Leo Iannacone (l3on)
Changed in nss-passwords (Ubuntu):
assignee: nobody → Leo Iannacone (l3on)
status: New → In Progress
Leo Iannacone (l3on)
Changed in nss-passwords (Ubuntu):
status: In Progress → Confirmed
assignee: Leo Iannacone (l3on) → nobody
Changed in nss-passwords (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nss-passwords - 0.1-1ubuntu1

---------------
nss-passwords (0.1-1ubuntu1) precise; urgency=low

  * New patch fix-ftbfs-ld-as-needed.patch to fix FTBFS (LP: #922346)
 -- Leo Iannacone <email address hidden> Thu, 26 Jan 2012 23:30:16 +0100

Changed in nss-passwords (Ubuntu):
status: Confirmed → Fix Released
Changed in nss-passwords (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.