Bug#489730: iceape: FTBFS on GNU/kFreeBSD (change in debian/rules needed)

Petr Salinger Petr.Salinger at seznam.cz
Mon Jul 7 12:59:52 UTC 2008

Package: iceape
Severity: important
Version: 1.1.10-1
Tags: patch
User: glibc-bsd-devel at lists.alioth.debian.org
Usertags: kfreebsd


the current version fails to build on GNU/kFreeBSD.

It fails due to problem with "visibility" handling.
I really don't know why the current way for forcing
-fvisibility=hidden instead of system wrappers does
not allow building of iceape on GNU/kFreeBSD.
The override for visibility is due to #377178.

Please, could you apply following change to debian/rules.
It does not matter whether "ac_cv_have_visibility_builtin_bug=yes"
or "ac_cv_have_visibility_class_bug=yes" is used, it is really
only used to disable use of wrappers and force "-fvisibility=hidden".

Thanks in advance


diff -u iceape-1.1.10/debian/rules iceape-1.1.10/debian/rules
--- iceape-1.1.10/debian/rules
+++ iceape-1.1.10/debian/rules
@@ -56,6 +56,7 @@
         LDFLAGS="-Wl,--as-needed" \
         MOZCONFIG=debian/mozconfig \
         CFLAGS="$(CFLAGS)" \
+       ac_cv_have_visibility_class_bug=yes \
         ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-optimize="$(OPTFLAGS)"

         #cp -f debian/localstart.html debian/README.Debian $(CURDIR)/xpfe/global/resources/content/
@@ -132,7 +133,7 @@
         #       $(CURDIR)/calendar/resources/content/sunbird_small.png

         # full build
+       $(MAKE) BUILD_MODULES=all

         touch build-stamp

More information about the pkg-mozilla-maintainers mailing list