Bug#442966: enigmail: FTBFS: nsEnigModule.cpp:(.text+0x23): undefined reference to `NS_NewGenericModule2(nsModuleInfo const*, nsIModule**)'

2008-02-17 Thread Falk Hackenberger

Hello,


i can just confirm this build failure (lenny/i386).
i can also confirm that the patch from Cyril Brulebois fixes this.

(i updated the source to 0.95.6 and added the enigmail_visibility.diff
to the thunderbird patches, resulting in a successful binary package
build, which seems to work just fine)

thanks, for this hint to Chris

falk



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#442966: enigmail: FTBFS: nsEnigModule.cpp:(.text+0x23): undefined, reference to `NS_NewGenericModule2(nsModuleInfo const*,, nsIModule**)'

2008-02-08 Thread debian

hi!

i can just confirm this build failure (lenny/amd64).
i can also confirm that the patch from Cyril Brulebois fixes this.

(i updated the source to 0.95.6 and added the enigmail_visibility.diff 
to the thunderbird patches, resulting in a successful binary package 
build, which seems to work just fine)


thanks,

Chris



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#442966: enigmail: FTBFS: nsEnigModule.cpp:(.text+0x23): undefined reference to `NS_NewGenericModule2(nsModuleInfo const*, nsIModule**)'

2007-10-01 Thread Alexander Sack
On Sun, Sep 30, 2007 at 12:45:45PM +0200, Cyril Brulebois wrote:
 tag 442966 patch
 thanks
 
 Lucas Nussbaum [EMAIL PROTECTED] (18/09/2007):
  nsEnigModule.o: In function `NSGetModule':
  nsEnigModule.cpp:(.text+0x23): undefined reference to 
  `NS_NewGenericModule2(nsModuleInfo const*, nsIModule**)'
  /usr/bin/ld: libenigmime.so: hidden symbol 
  `NS_NewGenericModule2(nsModuleInfo const*, nsIModule**)' isn't defined
  /usr/bin/ld: final link failed: Nonrepresentable section on output
  collect2: ld returned 1 exit status
 
 Hi dear AM.
 

Hey dear NM ... you forgot to attach anything :) ... at least the
mails i got had no patch/attachment.

 - Alexander




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#442966: enigmail: FTBFS: nsEnigModule.cpp:(.text+0x23): undefined reference to `NS_NewGenericModule2(nsModuleInfo const*, nsIModule**)'

2007-10-01 Thread Cyril Brulebois
Alexander Sack [EMAIL PROTECTED] (01/10/2007):
 Hey dear NM ... you forgot to attach anything :) ... at least the
 mails i got had no patch/attachment.

Fixed in http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=17;bug=442966
some minutes after. ;)

Cheers,

-- 
Cyril


pgpI3G0s5RjW1.pgp
Description: PGP signature


Bug#442966: enigmail: FTBFS: nsEnigModule.cpp:(.text+0x23): undefined reference to `NS_NewGenericModule2(nsModuleInfo const*, nsIModule**)'

2007-10-01 Thread Cyril Brulebois
Alexander Sack [EMAIL PROTECTED] (01/10/2007):
 Hey dear NM ... you forgot to attach anything :) ... at least the
 mails i got had no patch/attachment.

And as discussed on IRC, an updated patch (runtime not checked this
time since I've no longer any tester around).

Cheers,

-- 
Cyril
diff -u enigmail-0.95.0+1/debian/patches/00list.thunderbird enigmail-0.95.0+1/debian/patches/00list.thunderbird
--- enigmail-0.95.0+1/debian/patches/00list.thunderbird
+++ enigmail-0.95.0+1/debian/patches/00list.thunderbird
@@ -10,0 +11 @@
+80_enigmail_visibility-workaround
only in patch2:
unchanged:
--- enigmail-0.95.0+1.orig/debian/patches/80_enigmail_visibility-workaround.dpatch
+++ enigmail-0.95.0+1/debian/patches/80_enigmail_visibility-workaround.dpatch
@@ -0,0 +1,37 @@
+#!/bin/sh -e
+## debian/patches/80_enigmail_visibility-workaround.dpatch by [EMAIL PROTECTED]
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+if [ $# -ne 1 ]; then
+echo 2 `basename $0`: script expects -patch|-unpatch as argument
+exit 1
+fi
+
+[ -f debian/patches/00patch-opts.sdk ]  . debian/patches/00patch-opts.sdk
+patch_opts=${patch_opts:--f --no-backup-if-mismatch}
+
+case $1 in
+   -patch) patch $patch_opts  $0;;
+   -unpatch) patch $patch_opts -R  $0;;
+*)
+echo 2 `basename $0`: script expects -patch|-unpatch as argument
+exit 1;;
+esac
+
+exit 0
+
[EMAIL PROTECTED]@
+--- mozilla/configure.in~	2007-10-01 15:03:41.0 +0200
 mozilla/configure.in	2007-10-01 15:04:00.0 +0200
+@@ -2614,8 +2614,7 @@
+])
+ if test $ac_cv_have_visibility_builtin_bug = no -a \
+ $ac_cv_have_visibility_class_bug = no; then
+-  VISIBILITY_FLAGS='-I$(DIST)/include/system_wrappers -include $(topsrcdir)/config/gcc_hidden.h'
+-  WRAP_SYSTEM_INCLUDES=1
++  VISIBILITY_FLAGS='-fvisibility=hidden'
+ else
+   VISIBILITY_FLAGS='-fvisibility=hidden'
+ fi # have visibility pragma bug


pgpLb3UjRTE16.pgp
Description: PGP signature


Bug#442966: enigmail: FTBFS: nsEnigModule.cpp:(.text+0x23): undefined reference to `NS_NewGenericModule2(nsModuleInfo const*, nsIModule**)'

2007-09-30 Thread Cyril Brulebois
tag 442966 patch
thanks

Lucas Nussbaum [EMAIL PROTECTED] (18/09/2007):
 nsEnigModule.o: In function `NSGetModule':
 nsEnigModule.cpp:(.text+0x23): undefined reference to 
 `NS_NewGenericModule2(nsModuleInfo const*, nsIModule**)'
 /usr/bin/ld: libenigmime.so: hidden symbol `NS_NewGenericModule2(nsModuleInfo 
 const*, nsIModule**)' isn't defined
 /usr/bin/ld: final link failed: Nonrepresentable section on output
 collect2: ld returned 1 exit status

Hi dear AM.

Please find attached a patch which fixes this. It also appears that
enigmail is working fine once the package built with this patch.

I'd like to also point you to the lintian error (package name in
description) reported when building the source.

Cheers,

-- 
Cyril Brulebois


pgpK1XgNVBffz.pgp
Description: PGP signature


Bug#442966: enigmail: FTBFS: nsEnigModule.cpp:(.text+0x23): undefined reference to `NS_NewGenericModule2(nsModuleInfo const*, nsIModule**)'

2007-09-18 Thread Lucas Nussbaum
Package: enigmail
version: 2:0.95.0+1-3
Severity: serious
User: [EMAIL PROTECTED]
Usertags: qa-ftbfs-20070917 qa-ftbfs
Justification: FTBFS on i386

Hi,

During a rebuild of all packages in sid, your package failed to build on i386.

Relevant part:
make[6]: Entering directory 
`/build/user/enigmail-0.95.0+1/build-dir/mozilla/mail/extensions/enigmail/build'
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: 
ignored.
nsEnigModule.cpp
c++ -o nsEnigModule.o -c -I../../../../dist/include/system_wrappers -include 
../../../../config/gcc_hidden.h -DMOZILLA_MAJOR_VERSION=1 
-DMOZILLA_MINOR_VERSION=8 -DOSTYPE=\Linux2.6\ -DOSARCH=\Linux\ 
-DBUILD_ID=00 -I./../src -I./../ipc/src  
-I../../../../dist/include/xpcom -I../../../../dist/include/xpcom_obsolete 
-I../../../../dist/include/string -I../../../../dist/include/msgbase 
-I../../../../dist/include/msgbaseutil -I../../../../dist/include/msgsmime 
-I../../../../dist/include/pref -I../../../../dist/include/js 
-I../../../../dist/include/necko -I../../../../dist/include/uconv 
-I../../../../dist/include/unicharutil -I../../../../dist/include/msgcompose 
-I../../../../dist/include/editor -I../../../../dist/include/dom 
-I../../../../dist/include/intl -I../../../../dist/include/msgimap 
-I../../../../dist/include/exthandler -I../../../../dist/include/mailnews 
-I../../../../dist/include/msgdb -I../../../../dist/include/chardet 
-I../../../../dist/include/ipc -I../../../../dist/include/caps 
-I../../../../dist/include/mime -I../../../../dist/include/mimetype 
-I../../../../dist/include/xpconnect -I../../../../dist/include/pipnss 
-I../../../../dist/include/enigmime -I../../../../dist/include 
-I/usr/include/icedove/ -I/usr/include/icedove/xpcom/ 
-I/usr/include/icedove/necko/ -I/usr/include/icedove/mimetype/ 
-I/usr/include/icedove/xpcom_obsolete -I/usr/include/icedove/caps/ 
-I/usr/include/icedove/xpconnect -I/usr/include/icedove/js 
-I/usr/include/icedove/msgsmime/ -I/usr/include/icedove/msgcompose 
-I/usr/include/icedove/msgbase/ -I/usr/include/icedove/mailnews/ 
-I/usr/include/icedove/msgdb/ -I/usr/include/icedove/msgbaseutil 
-I/usr/include/icedove/mime/ -I/usr/include/icedove/uconv 
-I/usr/include/icedove/dom -I/usr/include/icedove/pref 
-I/usr/include/icedove/uriloader -I/usr/include/icedove/string  
-I/usr/include/nspr-I../../../../dist/sdk/include-fPIC   -fno-rtti 
-fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor 
-Wno-long-long -pedantic -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O   
-DMOZILLA_CLIENT -include ../../../../mozilla-config.h 
-Wp,-MD,.deps/nsEnigModule.pp nsEnigModule.cpp
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: 
ignored.
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: 
ignored.
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: 
ignored.
rm -f libenigmime.so
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: 
ignored.
c++  -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor 
-Wno-long-long -pedantic -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O 
-fPIC -shared -Wl,-z,defs -Wl,-h,libenigmime.so -o libenigmime.so  
nsEnigModule.o  -L/usr/lib/icedove -lxpcom -L/usr/lib -lplds4 -lplc4 
-lnspr4 -lpthread -ldl  -Wl,--whole-archive ../src/libenigmime_s.a 
../ipc/src/libipc_s.a  -Wl,--no-whole-archive -L../../../../dist/bin 
-L../../../../dist/lib -L../../../../dist/bin -lxpcom -lxpcom_core  
-L../../../../dist/lib -lxpcom_compat -L/usr/lib -lplds4 -lplc4 -lnspr4 
-lpthread -ldl   -Wl,--version-script 
-Wl,../../../../build/unix/gnu-ld-scripts/components-version-script 
-Wl,-Bsymbolic -ldl -lm
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: 
ignored.
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: 
ignored.
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: 
ignored.
nsEnigModule.o: In function `NSGetModule':
nsEnigModule.cpp:(.text+0x23): undefined reference to 
`NS_NewGenericModule2(nsModuleInfo const*, nsIModule**)'
/usr/bin/ld: libenigmime.so: hidden symbol `NS_NewGenericModule2(nsModuleInfo 
const*, nsIModule**)' isn't defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[6]: *** [libenigmime.so] Error 1
make[6]: Leaving directory 
`/build/user/enigmail-0.95.0+1/build-dir/mozilla/mail/extensions/enigmail/build'
make[5]: *** [libs] Error 2
make[5]: Leaving directory 
`/build/user/enigmail-0.95.0+1/build-dir/mozilla/mail/extensions/enigmail'
make[4]: *** [libs] Error 2
make[4]: Leaving directory 
`/build/user/enigmail-0.95.0+1/build-dir/mozilla/mail/extensions'
make[3]: *** [tier_94] Error 2
make[3]: Leaving directory