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

Bug#737338: marked as done (libmimedir: use dh-autoreconf to fix FTBFS on ppc64el)



Your message dated Tue, 23 Jun 2015 07:27:26 +0000
with message-id <[🔎] E1Z7IcA-0002JK-1v@franck.debian.org>
and subject line Bug#789203: Removed package(s) from unstable
has caused the Debian Bug report #737338,
regarding libmimedir: use dh-autoreconf to fix FTBFS on ppc64el
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
737338: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737338
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libmimedir
Version: 0.5.1-4
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

For the ppc64el architecture in Ubuntu, since this package uses libtool, a full
autoreconf is necessary instead of just config.{sub,guess} updates with
autotools-dev. This is because we need new libtool macros for ppc64el.

In Ubuntu, the attached patch was applied to achieve the following:

  * Use dh-autoreconf to fix FTBFS on ppc64el.
  * Update Makefile.in patch to use system libtool, and build-depend on libtool
    accordingly.
  * Use autotools-dev dh helper instead of copying files manually.

Thanks for considering the patch.

Logan Rosen


-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500,
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-6-generic (SMP w/1 CPU core)
diff -Nru libmimedir-0.5.1/debian/control libmimedir-0.5.1/debian/control
--- libmimedir-0.5.1/debian/control	2011-08-23 17:52:10.000000000 -0400
+++ libmimedir-0.5.1/debian/control	2014-02-01 15:27:05.000000000 -0500
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Debian QA Group <packages@qa.debian.org>
-Build-Depends: debhelper (>> 8.0.0), autotools-dev, bison, flex
+Build-Depends: debhelper (>> 8.0.0), autotools-dev, dh-autoreconf, bison, flex, libtool
 Standards-Version: 3.9.2
 Homepage: http://sourceforge.net/projects/libmimedir
 
diff -Nru libmimedir-0.5.1/debian/patches/01_makefile_in.diff libmimedir-0.5.1/debian/patches/01_makefile_in.diff
--- libmimedir-0.5.1/debian/patches/01_makefile_in.diff	2011-08-23 17:31:13.000000000 -0400
+++ libmimedir-0.5.1/debian/patches/01_makefile_in.diff	2014-01-29 17:00:51.000000000 -0500
@@ -1,8 +1,15 @@
 Add DESDIR support to Makefile.in
-Index: libmimedir-0.5.1/Makefile.in
-===================================================================
---- libmimedir-0.5.1.orig/Makefile.in	2009-02-03 21:29:05.000000000 -0500
-+++ libmimedir-0.5.1/Makefile.in	2009-02-03 21:31:01.000000000 -0500
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -14,7 +14,7 @@
+ LEX= @LEX@
+ INSTALL= @INSTALL@
+ RANLIB= @RANLIB@
+-LIBTOOL= @LIBTOOL@
++LIBTOOL= libtool
+ LIBS= -L. libmimedir.la
+ 
+ OBJS= dirlex.o dirsynt.o parse.o get.o dup.o free.o memmem.o add.o count.o del.o
 @@ -55,9 +55,11 @@
  	./test
  
diff -Nru libmimedir-0.5.1/debian/rules libmimedir-0.5.1/debian/rules
--- libmimedir-0.5.1/debian/rules	2011-08-23 17:52:53.000000000 -0400
+++ libmimedir-0.5.1/debian/rules	2014-01-29 17:12:55.000000000 -0500
@@ -22,13 +22,9 @@
 
 config.status: configure
 	dh_testdir
+	dh_autoreconf
+	dh_autotools-dev_updateconfig
 	# Add here commands to configure the package.
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
 	./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
 
 
@@ -50,8 +46,10 @@
 	#Stupid upstream included Makefile!
 	[ ! -f config.h ] || [ ! -f Makefile ] || $(MAKE) distclean
 
-	rm -f config.sub config.guess Makefile
+	rm -f Makefile
 
+	dh_autotools-dev_restoreconfig
+	dh_autoreconf_clean
 	dh_clean
 
 install: build

--- End Message ---
--- Begin Message ---
Version: 0.5.1-4+rm

Dear submitter,

as the package libmimedir has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/789203

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Luca Falavigna (the ftpmaster behind the curtain)

--- End Message ---

Reply to: