[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#542446: I can build it now



Hi!

	I can confirm now, that the not-build library is the only
remaining issue -- after copying the line stable's libtool generates
for building the library into rules (after the failing make) and
calling make again will produce packages.

	This trick is, of course, in no way suitable for a upload, it just
showed this is the only remaining issue. Repeating I'm in no way
familar with libtool it would be best if someone with more experience
could have a look. Debdiff is attached for illustration.

Regards

	Christoph

-- 
/"\  ASCII Ribbon : GPG-Key ID: 0x0372275D
\ /    Campaign   : GPG 4096R : 0xD49AE731
 X   against HTML : Debian NM
/ \   in eMails   : http://www.debian.org/

http://www.christoph-egger.org/
diff -u lineakd-0.9/admin/cvs.sh lineakd-0.9/admin/cvs.sh
--- lineakd-0.9/admin/cvs.sh
+++ lineakd-0.9/admin/cvs.sh
@@ -68,7 +68,7 @@
     echo "*** KDE requires automake $required_automake_version"
     exit 1
     ;;
-  automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.10*)
+  automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.10* | automake*1.11*)
     echo "*** $AUTOMAKE_STRING found."
     UNSERMAKE=no
     ;;
diff -u lineakd-0.9/debian/rules lineakd-0.9/debian/rules
--- lineakd-0.9/debian/rules
+++ lineakd-0.9/debian/rules
@@ -38,6 +38,8 @@
 		    --mandir=/usr/share/man \
 		    --enable-evtest
 
+	-$(MAKE)
+	(cd lineak && i486-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/i486-linux-gnu/4.3.4/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.3.4/crtbeginS.o  .libs/pluginmanager.o .libs/globals.o .libs/displayctrl.o .libs/xmgr.o .libs/cdromctrl.o .libs/lineak_core_functions.o .libs/lineak_util_functions.o .libs/lockctrl.o .libs/lcommand.o .libs/saver.o .libs/msgpasser.o .libs/loader.o .libs/lobject.o .libs/lkey.o .libs/lbutton.o .libs/lkbd.o .libs/ldef.o .libs/lconfigdata.o .libs/lconfig.o .libs/defloader.o .libs/configloader.o .libs/configdirectives.o .libs/commandexec.o .libs/plugin_definitions.o  -L/usr/X11R6/lib -lpthread -lX11 -lXext -lXt -lSM -lICE -L/usr/lib/gcc/i486-linux-gnu/4.3.4 -L/usr/lib/gcc/i486-linux-gnu/4.3.4/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.3.4/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i486-linux-gnu/4.3.4/crtendS.o /usr/lib/gcc/i486-linux-gnu/4.3.4/../../../../lib/crtn.o  -Wl,-soname -Wl,liblineak-0.9.so.0 -o .libs/liblineak-0.9.so.0.0.0)
 	$(MAKE)
 	touch build-stamp
 
diff -u lineakd-0.9/debian/changelog lineakd-0.9/debian/changelog
--- lineakd-0.9/debian/changelog
+++ lineakd-0.9/debian/changelog
@@ -1,3 +1,13 @@
+lineakd (1:0.9-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix build error (Closes: #542446)
+    * Patch admin/cvs.sh to accept automake1.11 as well
+    * Remove 'extern int errno;' instances  (Closes: #543787) as well
+    * Includes a hack to make it build, not suitable for upload!
+
+ -- Christoph Egger <debian@christoph-egger.org>  Wed, 26 Aug 2009 22:41:23 +0200
+
 lineakd (1:0.9-4) unstable; urgency=low
 
   * QA Upload
only in patch2:
unchanged:
--- lineakd-0.9.orig/config.h.in
+++ lineakd-0.9/config.h.in
@@ -45,6 +45,10 @@
 /* Suffix for lib directories */
 #undef KDELIBSUFF
 
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+   */
+#undef LT_OBJDIR
+
 /* Name of package */
 #undef PACKAGE
 
@@ -60,6 +64,9 @@
 /* Define to the one symbol short name of this package. */
 #undef PACKAGE_TARNAME
 
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
 /* Define to the version of this package. */
 #undef PACKAGE_VERSION
 
only in patch2:
unchanged:
--- lineakd-0.9.orig/lineak/msgpasser.h
+++ lineakd-0.9/lineak/msgpasser.h
@@ -79,7 +79,6 @@
 /**Pass messages via a message queue.
   *@author Sheldon Lee Wen
   */
-extern int errno;
 
 class msgPasser {
 public: 
only in patch2:
unchanged:
--- lineakd-0.9.orig/lineak/lineak_core_functions.h
+++ lineakd-0.9/lineak/lineak_core_functions.h
@@ -32,7 +32,6 @@
 class LConfig;
 class LDef;
 class ConfigDirectives;
-extern int errno;
 
 namespace lineak_core_functions {
 
only in patch2:
unchanged:
--- lineakd-0.9.orig/lineakd/lineakd_core_functions.h
+++ lineakd-0.9/lineakd/lineakd_core_functions.h
@@ -32,7 +32,6 @@
 class LConfig;
 class LDef;
 class ConfigDirectives;
-extern int errno;
 
 namespace lineakd_core_functions {
 

Attachment: signature.asc
Description: Digital signature


Reply to: