Your message dated Sun, 13 Oct 2019 08:44:45 +0000
with message-id <e1ijzub-0005i9...@fasolo.debian.org>
and subject line Bug#941649: fixed in lua5.4 5.4.0~alpha-2
has caused the Debian Bug report #941649,
regarding lua5.3 FTCBFS: stop using libtool-bin
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 ow...@bugs.debian.org
immediately.)


-- 
941649: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941649
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: lua5.3
Version: 5.3.1-1.1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

lua5.3 fails to cross build from source, because it uses libtool-bin.
The libtool-bin package is meant as a transitional measure until all
users switch over to libtoolize. It also doesn't support cross compiling
at all.

The attached patch libtoolizes a dummy projected to obtain a libtool
that works for lua5.3. Thus the dependency on libtool-bin is avoided and
lua5.3 cross builds. Please consider applying the attached patch.

Please also consider porting it back to lua5.2 and lua5.1, which suffer
from the same problem.

Helmut
diff --minimal -Nru lua5.3-5.3.1/debian/changelog lua5.3-5.3.1/debian/changelog
--- lua5.3-5.3.1/debian/changelog
+++ lua5.3-5.3.1/debian/changelog
@@ -1,3 +1,12 @@
+lua5.3 (5.3.1-1.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + libtoolize during build to avoid a dependency on libtool-bin.
+    + Use triplet-prefixed tools.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 29 Oct 2016 13:45:18 +0200
+
 lua5.3 (5.3.1-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru lua5.3-5.3.1/debian/configure.ac 
lua5.3-5.3.1/debian/configure.ac
--- lua5.3-5.3.1/debian/configure.ac
+++ lua5.3-5.3.1/debian/configure.ac
@@ -0,0 +1,4 @@
+AC_INIT([dummy],[1.0])
+LT_INIT
+AC_PROG_LIBTOOL
+AC_OUTPUT
diff --minimal -Nru lua5.3-5.3.1/debian/control lua5.3-5.3.1/debian/control
--- lua5.3-5.3.1/debian/control
+++ lua5.3-5.3.1/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Enrico Tassi <gareuselesi...@debian.org>
 Uploaders: 
-Build-Depends: debhelper (>= 9), quilt (>= 0.40), libtool-bin, libreadline-dev
+Build-Depends: debhelper (>= 9), quilt (>= 0.40), libtool, libreadline-dev, 
autoconf
 Standards-Version: 3.9.6
 Vcs-Git: git://git.debian.org/git/pkg-lua/lua5.3.git
 Vcs-Browser: http://git.debian.org/?p=pkg-lua/lua5.3.git
diff --minimal -Nru lua5.3-5.3.1/debian/patches/0001-build-system.patch 
lua5.3-5.3.1/debian/patches/0001-build-system.patch
--- lua5.3-5.3.1/debian/patches/0001-build-system.patch
+++ lua5.3-5.3.1/debian/patches/0001-build-system.patch
@@ -11,15 +11,6 @@
 index 7fa91c8..e669e78 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -1,6 +1,8 @@
- # Makefile for installing Lua
- # See doc/readme.html for installation and customization instructions.
- 
-+export LIBTOOL=libtool --quiet
-+
- # == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT 
=======================
- 
- # Your platform. See PLATS for possible values.
 @@ -10,19 +12,20 @@ PLAT= none
  # so take care if INSTALL_TOP is not an absolute path. See the local target.
  # You may want to make INSTALL_LMOD and INSTALL_CMOD consistent with
@@ -84,14 +75,11 @@
 index 2e7a412..993ff15 100644
 --- a/src/Makefile
 +++ b/src/Makefile
-@@ -6,8 +6,10 @@
- # Your platform. See PLATS for possible values.
+@@ -7,7 +7,8 @@
  PLAT= none
  
--CC= gcc -std=gnu99
+ CC= gcc -std=gnu99
 -CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCFLAGS)
-+CC= $(CCACHE)gcc -std=gnu99
-+CXX= $(CCACHE)g++
 +CFLAGS= -Wall -Wextra -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCFLAGS)
 +CXXFLAGS= -Wall -Wextra -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCXXFLAGS)
  LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS)
diff --minimal -Nru lua5.3-5.3.1/debian/rules lua5.3-5.3.1/debian/rules
--- lua5.3-5.3.1/debian/rules
+++ lua5.3-5.3.1/debian/rules
@@ -3,7 +3,15 @@
 # Uncomment to use ccache
 #export CCACHE=/usr/lib/ccache/
 
-ifeq (hurd,$(shell dpkg-architecture -qDEB_HOST_ARCH_OS))
+include /usr/share/dpkg/architecture.mk
+ifeq ($(origin CC),default)
+CC = $(CCACHE)$(DEB_HOST_GNU_TYPE)-gcc
+endif
+ifeq ($(origin CXX),default)
+CXX = $(CCACHE)$(DEB_HOST_GNU_TYPE)-g++
+endif
+
+ifeq (hurd,$(DEB_HOST_ARCH_OS))
        MYLIBS=-lpthread
 endif
 
@@ -29,6 +37,10 @@
        dh $@
 
 override_dh_auto_configure:
+       mkdir debian/libtool
+       cp debian/configure.ac debian/libtool/
+       cd debian/libtool && LIBTOOLIZE='libtoolize -i' autoreconf -f -i
+       dh_auto_configure --sourcedirectory=debian/libtool
        echo "#ifndef _LUA_DEB_MULTIARCH_" > src/$(LUA_MULTIARCH)
        echo "#define _LUA_DEB_MULTIARCH_" >> src/$(LUA_MULTIARCH)
        echo "#define DEB_HOST_MULTIARCH \"$(DEB_HOST_MULTIARCH)\"" >> \
@@ -36,7 +48,7 @@
        echo "#endif" >> src/$(LUA_MULTIARCH)
 
 override_dh_auto_build:
-       $(MAKE) linux MYLIBS=$(MYLIBS)
+       $(MAKE) linux MYLIBS=$(MYLIBS) 
LIBTOOL='$(CURDIR)/debian/libtool/libtool' CC='$(CC) -std=gnu99' CXX='$(CXX)'
 
 override_dh_auto_install:
        # pkgconfig
@@ -63,7 +75,7 @@
        # multiarch
        mkdir -p $(LUA_MULTIARCH_INCLUDE)
        cp src/$(LUA_MULTIARCH) $(LUA_MULTIARCH_INCLUDE)
-       $(MAKE) install
+       $(MAKE) install LIBTOOL=$(CURDIR)/debian/libtool/libtool
        mkdir -p $(DEB_DESTDIR)/share/lua$(LUA_V)/
        cp debian/version-script $(DEB_DESTDIR)/share/lua$(LUA_V)/
 
@@ -71,6 +83,7 @@
        dh_auto_clean
        rm -f doc/lua5.3.1 doc/luac5.3.1
        rm -f src/$(LUA_MULTIARCH)
+       rm -Rf debian/libtool
 
 override_dh_strip:
        dh_strip --dbg-package=$(LIB_PACKAGE_NAME)-dbg

--- End Message ---
--- Begin Message ---
Source: lua5.4
Source-Version: 5.4.0~alpha-2

We believe that the bug you reported is fixed in the latest version of
lua5.4, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 941...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sergei Golovan <sgolo...@debian.org> (supplier of updated lua5.4 package)

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 13 Oct 2019 10:33:54 +0300
Source: lua5.4
Architecture: source
Version: 5.4.0~alpha-2
Distribution: experimental
Urgency: medium
Maintainer: Debian Lua Team <pkg-lua-de...@lists.alioth.debian.org>
Changed-By: Sergei Golovan <sgolo...@debian.org>
Closes: 941649
Changes:
 lua5.4 (5.4.0~alpha-2) experimental; urgency=medium
 .
   * Fix symbols in the linker version script.
   * Adapt a patch for lua5.3 by Helmut Grohne to fix FTCBFS. The patch
     libtoolizes during build to avoid a dependency on libtool-bin, and
     uses triplet-prefixed build tools (closes: #941649).
   * Fix the Lua version release number in pkgconfig scripts.
   * Add an alternatives for the lua.pc and lua-c++.pc pkgconfig scripts.
Checksums-Sha1:
 451c2519caa7522cf28e61eadb06befc9fce0fe8 2130 lua5.4_5.4.0~alpha-2.dsc
 6f8a5e1ae4378093688cf8b0bdda0275551259f3 7580 
lua5.4_5.4.0~alpha-2.debian.tar.xz
 b79a8575e6d48c8ff89a6e3917a28c4dcb3d1345 6462 
lua5.4_5.4.0~alpha-2_amd64.buildinfo
Checksums-Sha256:
 49fa563160af9eec77a292e1d0f104a9fb239894bcbfa2313641e1ca18851f15 2130 
lua5.4_5.4.0~alpha-2.dsc
 a5c80ca16854a5f1bf2aa0f317ff89c46b836520363c4833eea11748d63408c3 7580 
lua5.4_5.4.0~alpha-2.debian.tar.xz
 a782942c19655c563615715199086e7d671a9e156d470dca29864e98cfff7815 6462 
lua5.4_5.4.0~alpha-2_amd64.buildinfo
Files:
 441c096c16eadc64553a3c77e17abc8d 2130 interpreters optional 
lua5.4_5.4.0~alpha-2.dsc
 914f6c71a826b01c80f4fc987ebad2d1 7580 interpreters optional 
lua5.4_5.4.0~alpha-2.debian.tar.xz
 3f70b3cf3a1348f1b148a5a6260b8d29 6462 interpreters optional 
lua5.4_5.4.0~alpha-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE/SYPsyDB+ShSnvc4Tyrk60tj54cFAl2i1k0ACgkQTyrk60tj
54dnvQ/+ORcyXjd4Ld4f2poI8XrlMlcFgcfv3suPz6oyUiNBfltLnlTHK+cqakqB
VBi6X0FEssQx2S2JVq0eqiZi6iey7ZCE+ykZM20wfq5xhGdqInsfWqyzFpOgrWEq
BXHA123Gubtx71Y34V3s3JqjekqUO5ukPApKHyzqbcwjS/jTwJqVN4qF2KPlGSv0
9vTr5Tt54lQpjjPMVz1IZaGy0c94U305e/+pdYG/hkaodkY0hCyoXcHDkPruvreD
dadWRcsSrc90r1zkUWf91u+NosODvHXpBDFNyrGjMIVWizNarvj0AAuloOZyVKnC
oOLL+y0uMlZruLhNk/3iNmDMrShpPXejXGzQq2bfMIUXKaA+1ziwqicCxqyMSl12
HwMv+Sc35RO/SIARm05uuFh2rcj24klJ8VRtdWxnh7FZgu2DqJfUzLo/XZhnfQtj
ps5sqhBMwYOtlGcLKcjhSWCkZxNoO+M5lpLCqrTxH5uza6gReaGX0tDughpbb1MI
U5qceq5/rCXnPlagEvKYlE8+HkWbrZxqqegnm38jKCkX3el4Fuxle4n+hLfLNW4T
qvQpEb5SGDaXmh2pjWaD00q4TL9iawREvpZ5+WcpB+BjvrJUjrrESLE1an04wlv2
MZEeF7kSq6j/Nrj9WLJn4YEH8NgZJHgtpXjT4hRMZaoYNCa+kiA=
=Bb9V
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to