Bug#906380: libtool: FTBFS in buster/sid

2018-08-31 Thread shirish शिरीष
at bottom :-

On 31/08/2018, Juhani Numminen  wrote:
> Dear Shirish,
>
> shirish शिरीष kirjoitti 31.08.2018 klo 07:58:> Could you upload the built
> libtool binary somewhere so I could install
>> it and see if the issue goes away ?
>
> I've now put the build sources and binaries there:
> https://drive.google.com/drive/folders/1t1eGf3J5Febr71oW859lmirkA3ddtxIK
>
> shirish शिरीष kirjoitti 30.08.2018 klo 17:48:
>> Wish I could help but cannot even install dget i.e. devscripts due to
>> the libtool and other bugs
>>
>> $ sudo aptitude install devscripts -y
> [snip]
>> Are you sure you want to install/upgrade the above packages? [Y/n/?/...]
>> n
>
> Could you answer Y here? apt-listbugs shouldn't prevent you from installing
> packages, it is just giving you a heads-up before the install.
>
>> Btw, thank you for sharing the updated instructions, have bookmarked it
>> :)
>
> You're welcome!
>
>
> Juhani
>

Dear Juhani,

Thank you for sharing your expertise .

I was able to (finally) do everything as needed -

Sharing the test results and you have already done everything beforehand.

Just one thing I had to modify your command while building to

$ sudo cowbuilder --build ../libtool_2.4.6-2.1local1.dsc

instead of

$ sudo cowbuilder --build ../libtool_2.4.6-2.1+local1.dsc and it worked.

I do have the updated results in

/var/cache/pbuilder/result$ ls
libltdl7_2.4.6-2.1local1_amd64.deb
libtool_2.4.6-2.1local1_amd64.build  libtool_2.4.6-2.1local1.dsc
libltdl7-dbgsym_2.4.6-2.1local1_amd64.deb
libtool_2.4.6-2.1local1_amd64.buildinfo
libtool-bin_2.4.6-2.1local1_amd64.deb
libltdl-dev_2.4.6-2.1local1_amd64.deb
libtool_2.4.6-2.1local1_amd64.changes
libtool-doc_2.4.6-2.1local1_all.deb
libtool_2.4.6-2.1local1_all.deblibtool_2.4.6-2.1local1.debian.tar.xz

I was also able to install the newly locally built deb packages
without an issue -

$ sudo dpkg -i *.deb
[sudo] password for shirish:
.xxx
Preparing to unpack libltdl7_2.4.6-2.1local1_amd64.deb ...
Unpacking libltdl7:amd64 (2.4.6-2.1local1) over (2.4.6-2.1) ...
Selecting previously unselected package libltdl7-dbgsym:amd64.
Preparing to unpack libltdl7-dbgsym_2.4.6-2.1local1_amd64.deb ...
Unpacking libltdl7-dbgsym:amd64 (2.4.6-2.1local1) ...
Preparing to unpack libltdl-dev_2.4.6-2.1local1_amd64.deb ...
Unpacking libltdl-dev:amd64 (2.4.6-2.1local1) over (2.4.6-2.1) ...
Preparing to unpack libtool_2.4.6-2.1local1_all.deb ...
Unpacking libtool (2.4.6-2.1local1) over (2.4.6-2.1) ...
Selecting previously unselected package libtool-bin.
Preparing to unpack libtool-bin_2.4.6-2.1local1_amd64.deb ...
Unpacking libtool-bin (2.4.6-2.1local1) ...
Selecting previously unselected package libtool-doc.
Preparing to unpack libtool-doc_2.4.6-2.1local1_all.deb ...
Unpacking libtool-doc (2.4.6-2.1local1) ...
Setting up libltdl7:amd64 (2.4.6-2.1local1) ...
Setting up libltdl7-dbgsym:amd64 (2.4.6-2.1local1) ...
Setting up libltdl-dev:amd64 (2.4.6-2.1local1) ...
Setting up libtool (2.4.6-2.1local1) ...
Setting up libtool-bin (2.4.6-2.1local1) ...
Setting up libtool-doc (2.4.6-2.1local1) ...
Processing triggers for libc-bin (2.27-5) ...
Processing triggers for man-db (2.8.4-2) ...
Processing triggers for install-info (6.5.0.dfsg.1-4) ...

Just not sharing the number of files and directories involved.

Now just the maintainer needs to look at your patch and the work done.

-- 
  Regards,
  Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8


libtoolize-build-tests
Description: Binary data


Bug#906380: libtool: FTBFS in buster/sid

2018-08-31 Thread Juhani Numminen
Dear Shirish,

shirish शिरीष kirjoitti 31.08.2018 klo 07:58:> Could you upload the built 
libtool binary somewhere so I could install
> it and see if the issue goes away ?

I've now put the build sources and binaries there:
https://drive.google.com/drive/folders/1t1eGf3J5Febr71oW859lmirkA3ddtxIK

shirish शिरीष kirjoitti 30.08.2018 klo 17:48:
> Wish I could help but cannot even install dget i.e. devscripts due to
> the libtool and other bugs 
>
> $ sudo aptitude install devscripts -y
[snip]
> Are you sure you want to install/upgrade the above packages? [Y/n/?/...] n

Could you answer Y here? apt-listbugs shouldn't prevent you from installing
packages, it is just giving you a heads-up before the install.

> Btw, thank you for sharing the updated instructions, have bookmarked it :)

You're welcome!


Juhani



Bug#906380: libtool: FTBFS in buster/sid

2018-08-30 Thread shirish शिरीष


Dear Juhani Numminen,

Could you upload the built libtool binary somewhere so I could install
it and see if the issue goes away ?

Thank you.

I'll share my findings on the bug itself.

-- 
  Regards,
  Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8



Bug#906380: libtool: FTBFS in buster/sid

2018-08-30 Thread shirish शिरीष
at bottom :-

On 30/08/2018, Juhani Numminen  wrote:
> Control: tags -1 patch
>
> shirish शिरीष kirjoitti 30.08.2018 klo 07:51:> I,  and I guess others would
> welcome a test build if it helps to see
>> if the issue is resolved.  See how to apply patch [1] and see if you
>> can do the same thing -
>>
>> 1.
>> https://unix.stackexchange.com/questions/324680/how-to-apply-a-patch-in-a-debian-package
>>
>> Look forward to seeing a new deb package and trying it out to see if
>> it fixes the issue. Can't compile any packages due to the libtool
>> issues :(
>
> I applied the patch and the build is successful. The tests pass. You can
> find the commands I used in the end of this message.
>
> While I can already apply a patch in a Debian package, I appreciate you
> sharing the instructions :)
>
> Regards,
> Juhani
>
> --
> dget -x
> http://deb.debian.org/debian/pool/main/libt/libtool/libtool_2.4.6-2.1.dsc
> wget
> https://src.fedoraproject.org/rpms/libtool/raw/master/f/libtool-2.4.6-am-1.16-test.patch
> cd libtool-2.4.6
> quilt import ../libtool-2.4.6-am-1.16-test.patch
> dch
> dpkg-buildpackage -S -d -us -uc
> sudo cowbuilder --build ../libtool_2.4.6-2.1+local1.dsc
>

Wish I could help but cannot even install dget i.e. devscripts due to
the libtool and other bugs :(

$ sudo aptitude install devscripts -y
The following NEW packages will be installed:
  debhelper{a} devscripts dh-autoreconf{a} dh-strip-nondeterminism{a}
equivs{a} libltdl-dev{a} libtool{a}
  libyaml-libyaml-perl{a} lintian{a}
0 packages upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,115 kB/3,887 kB of archives. After unpacking 10.5 MB will be used.
Get: 1 http://cdn-fastly.deb.debian.org/debian buster/main amd64
devscripts amd64 2.18.3 [984 kB]
Get: 2 http://cdn-fastly.deb.debian.org/debian buster/main amd64
lintian all 2.5.98 [1,131 kB]
Fetched 2,115 kB in 24s (89.5 kB/s)
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
grave bugs of libltdl-dev (→ 2.4.6-2.1) 
 b1 - #905841 - libltdl-dev: dependency on specific automake version
   Merged with: 906394 906395 906423 906501 906507
grave bugs of libyaml-libyaml-perl (→ 0.72+repack-1) 
 b2 - #862373 - libyaml-libyaml-perl: Unconditionally instantiates
objects from yaml data
grave bugs of devscripts (→ 2.18.3) 
 b3 - #902409 - devscripts: CVE-2018-13043 - grep-excuses uses
YAML::Syck in a unsafe way
Summary:
 devscripts(1 bug), libltdl-dev(1 bug), libyaml-libyaml-perl(1 bug)
Are you sure you want to install/upgrade the above packages? [Y/n/?/...] n
**
** Exiting with an error in order to stop the installation. **
**
E: Sub-process /usr/sbin/apt-listbugs apt returned an error code (10)
E: Failure running script /usr/sbin/apt-listbugs apt


$ apt-file list devscripts | grep dget
devscripts: /usr/bin/dget
devscripts: /usr/share/bash-completion/completions/dget
devscripts: /usr/share/man/de/man1/dget.1.gz
devscripts: /usr/share/man/fr/man1/dget.1.gz
devscripts: /usr/share/man/man1/dget.1.gz

Btw, thank you for sharing the updated instructions, have bookmarked it :)

-- 
  Regards,
  Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8



Bug#906380: libtool: FTBFS in buster/sid

2018-08-30 Thread Juhani Numminen
Control: tags -1 patch

shirish शिरीष kirjoitti 30.08.2018 klo 07:51:> I,  and I guess others would 
welcome a test build if it helps to see
> if the issue is resolved.  See how to apply patch [1] and see if you
> can do the same thing -
> 
> 1. 
> https://unix.stackexchange.com/questions/324680/how-to-apply-a-patch-in-a-debian-package
> 
> Look forward to seeing a new deb package and trying it out to see if
> it fixes the issue. Can't compile any packages due to the libtool
> issues :(

I applied the patch and the build is successful. The tests pass. You can
find the commands I used in the end of this message.

While I can already apply a patch in a Debian package, I appreciate you
sharing the instructions :)

Regards,
Juhani

--
dget -x 
http://deb.debian.org/debian/pool/main/libt/libtool/libtool_2.4.6-2.1.dsc
wget 
https://src.fedoraproject.org/rpms/libtool/raw/master/f/libtool-2.4.6-am-1.16-test.patch
cd libtool-2.4.6
quilt import ../libtool-2.4.6-am-1.16-test.patch
dch
dpkg-buildpackage -S -d -us -uc
sudo cowbuilder --build ../libtool_2.4.6-2.1+local1.dsc



Bug#906380: libtool: FTBFS in buster/sid

2018-08-29 Thread shirish शिरीष
at bottom :-

On 30/08/2018, Juhani Numminen  wrote:
> Hello,
>
> Looking at the log[1] at reproducible builds, it looks like a test failure:
>
>> Support for older libltdl interfaces.
>>
>> 102: Makefile.incFAILED
>> (old-ltdl-iface.at:134)
>
> I had a look at Fedora's libtool repository, and there's an interesting
> commit:
> "ftbfs: caused by automake 1.16.1"[2].
>
> It might be the same issue that we're seeing, because that commit patches
> the file tests/old-ltdl-iface.at, and the first build failure at RB[3]
> happened in 2018-08-13 in buster, while automake 1.16.1 had migrated to
> buster
> in 2018-08-10[4].
>
>
> With best regards,
> Juhani
>
> [1]
> https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/libtool_2.4.6-2.1.rbuild.log.gz
> [2]
> https://src.fedoraproject.org/rpms/libtool/c/20511dec725523a30496f1183322f8c6658acfdd
> [3] https://tests.reproducible-builds.org/debian/history/libtool.html
> [4] https://tracker.debian.org/pkg/automake-1.16
>
> --
> To unsubscribe, send mail to 906380-unsubscr...@bugs.debian.org.
>

I,  and I guess others would welcome a test build if it helps to see
if the issue is resolved.  See how to apply patch [1] and see if you
can do the same thing -

1. 
https://unix.stackexchange.com/questions/324680/how-to-apply-a-patch-in-a-debian-package

Look forward to seeing a new deb package and trying it out to see if
it fixes the issue. Can't compile any packages due to the libtool
issues :(

-- 
  Regards,
  Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8



Bug#906380: libtool: FTBFS in buster/sid

2018-08-29 Thread Juhani Numminen
Hello,

Looking at the log[1] at reproducible builds, it looks like a test failure:

> Support for older libltdl interfaces.
>
> 102: Makefile.incFAILED 
> (old-ltdl-iface.at:134)

I had a look at Fedora's libtool repository, and there's an interesting commit:
"ftbfs: caused by automake 1.16.1"[2].

It might be the same issue that we're seeing, because that commit patches
the file tests/old-ltdl-iface.at, and the first build failure at RB[3]
happened in 2018-08-13 in buster, while automake 1.16.1 had migrated to buster
in 2018-08-10[4].


With best regards,
Juhani

[1] 
https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/libtool_2.4.6-2.1.rbuild.log.gz
[2] 
https://src.fedoraproject.org/rpms/libtool/c/20511dec725523a30496f1183322f8c6658acfdd
[3] https://tests.reproducible-builds.org/debian/history/libtool.html
[4] https://tracker.debian.org/pkg/automake-1.16



Bug#906380: libtool: FTBFS in buster/sid

2018-08-17 Thread Santiago Vila
Package: src:libtool
Version: 2.4.6-2.1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:


[...]
 debian/rules build-indep
dh_testdir
sed -i -e "s/\$scriptversion.*/\$scriptversion Debian-2.4.6-2.1/" libtoolize.in
sed -i -e "s/\$scriptversion.*/\$scriptversion Debian-2.4.6-2.1/" 
build-aux/ltmain.in
sed -i -e 's/^VERSION.*/VERSION="@VERSION@ Debian-2.4.6-2.1"/' 
build-aux/ltmain.in
touch README-release
./bootstrap --force --no-git --skip-po --gnulib-srcdir=/usr/share/gnulib/ --copy
bootstrap: warning: No 'git' found; imported gnulib modules may be outdated.
bootstrap: running: /usr/share/gnulib//gnulib-tool --no-changelog --avoid=dummy 
--libtool --macro-prefix=GL --aux-dir=build-aux --m4-base=m4 --local-dir=gl 
--import announce-gen bootstrap...
gnulib-tool: warning: module bootstrap doesn't exist
gnulib-tool: warning: module extract-trace doesn't exist
gnulib-tool: warning: module inline-source doesn't exist
gnulib-tool: warning: module options-parser doesn't exist
Module list with included dependencies (indented):

[... snipped ...]

| #define PACKAGE_VERSION "2.4.6"
| #define PACKAGE_STRING "GNU Libtool 2.4.6"
| #define PACKAGE_BUGREPORT "bug-libt...@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/libtool/;
| #define PACKAGE "libtool"
| #define VERSION "2.4.6"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define LT_MODULE_EXT ".so"
| #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
| #define LT_DLSEARCH_PATH 
"/lib:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/local/lib:/usr/local/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu"
| #define HAVE_LIBDL 1
| #define HAVE_DLERROR 1
| #define HAVE_LIBDLLOADER 1
| #define HAVE_ARGZ_H 1
| #define HAVE_ERROR_T 1
| #define HAVE_ARGZ_ADD 1
| #define HAVE_ARGZ_APPEND 1
| #define HAVE_ARGZ_COUNT 1
| #define HAVE_ARGZ_CREATE_SEP 1
| #define HAVE_ARGZ_INSERT 1
| #define HAVE_ARGZ_NEXT 1
| #define HAVE_ARGZ_STRINGIFY 1
| #define HAVE_WORKING_ARGZ 1
| #define HAVE_PRELOADED_SYMBOLS 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_CLOSEDIR 1
| #define HAVE_OPENDIR 1
| #define HAVE_READDIR 1
| #define LT_LIBEXT "a"
| #define LT_LIBPREFIX "lib"
| 
| configure: exit 0

make: *** [debian/rules:104: build-stamp] Error 1
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit 
status 2


The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libtool.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and 
affects,
so that this is still visible in the BTS web page for this package.

Thanks.