Debian Bug report logs - #778153
udftools: ftbfs with GCC-5

version graph

Package: src:udftools; Maintainer for src:udftools is Pali Rohár <pali.rohar@gmail.com>;

Reported by: Matthias Klose <doko@debian.org>

Date: Thu, 12 Feb 2015 11:07:42 UTC

Severity: serious

Tags: patch, sid, stretch

Found in version udftools/1.0.0b3-14.3

Fixed in version udftools/1.0.0b3-14.4

Done: gregor herrmann <gregoa@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Richard Atterer <atterer@debian.org>:
Bug#778153; Package src:udftools. (Thu, 12 Feb 2015 11:07:46 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
New Bug report received and forwarded. Copy sent to Richard Atterer <atterer@debian.org>. (Thu, 12 Feb 2015 11:07:47 GMT) (full text, mbox, link).


Message #5 received at maintonly@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@debian.org>
To: maintonly@bugs.debian.org
Subject: udftools: ftbfs with GCC-5
Date: Thu, 12 Feb 2015 10:37:34 +0000
Package: src:udftools
Version: 1.0.0b3-14.3
Severity: normal
Tags: sid stretch
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/udftools_1.0.0b3-14.3_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
mv -f .deps/mkudffs.Tpo .deps/mkudffs.Po
gcc -DHAVE_CONFIG_H -I. -I../include  -D_LARGEFILE64_SOURCE   -g -O2 -MT defaults.o -MD -MP -MF .deps/defaults.Tpo -c -o defaults.o defaults.c
In file included from mkudffs.h:29:0,
                 from defaults.c:23:
../include/libudffs.h:173:46: warning: inline function 'query_lvidiu' declared but never defined
 inline struct logicalVolIntegrityDescImpUse *query_lvidiu(struct udf_disc *);
                                              ^
../include/libudffs.h:172:36: warning: inline function 'query_iuvdiu' declared but never defined
 inline struct impUseVolDescImpUse *query_iuvdiu(struct udf_disc *);
                                    ^
mv -f .deps/defaults.Tpo .deps/defaults.Po
gcc -DHAVE_CONFIG_H -I. -I../include  -D_LARGEFILE64_SOURCE   -g -O2 -MT options.o -MD -MP -MF .deps/options.Tpo -c -o options.o options.c
In file included from mkudffs.h:29:0,
                 from options.c:28:
../include/libudffs.h:173:46: warning: inline function 'query_lvidiu' declared but never defined
 inline struct logicalVolIntegrityDescImpUse *query_lvidiu(struct udf_disc *);
                                              ^
../include/libudffs.h:172:36: warning: inline function 'query_iuvdiu' declared but never defined
 inline struct impUseVolDescImpUse *query_iuvdiu(struct udf_disc *);
                                    ^
mv -f .deps/options.Tpo .deps/options.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2   -o mkudffs main.o mkudffs.o defaults.o options.o ../libudffs/libudffs.la 
libtool: link: gcc -g -O2 -o mkudffs main.o mkudffs.o defaults.o options.o  ../libudffs/.libs/libudffs.a
mkudffs.o: In function `udf_init_disc':
/«PKGBUILDDIR»/mkudffs/mkudffs.c:92: undefined reference to `query_iuvdiu'
/«PKGBUILDDIR»/mkudffs/mkudffs.c:93: undefined reference to `query_iuvdiu'
/«PKGBUILDDIR»/mkudffs/mkudffs.c:93: undefined reference to `query_iuvdiu'
/«PKGBUILDDIR»/mkudffs/mkudffs.c:94: undefined reference to `query_iuvdiu'
/«PKGBUILDDIR»/mkudffs/mkudffs.c:94: undefined reference to `query_iuvdiu'
mkudffs.o:/«PKGBUILDDIR»/mkudffs/mkudffs.c:95: more undefined references to `query_iuvdiu' follow
mkudffs.o: In function `udf_init_disc':
/«PKGBUILDDIR»/mkudffs/mkudffs.c:104: undefined reference to `query_lvidiu'
mkudffs.o: In function `udf_set_version':
/«PKGBUILDDIR»/mkudffs/mkudffs.c:160: undefined reference to `query_lvidiu'
mkudffs.o: In function `setup_vat':
/«PKGBUILDDIR»/mkudffs/mkudffs.c:902: undefined reference to `query_lvidiu'
/«PKGBUILDDIR»/mkudffs/mkudffs.c:903: undefined reference to `query_lvidiu'
../libudffs/.libs/libudffs.a(file.o): In function `udf_create':
/«PKGBUILDDIR»/libudffs/file.c:465: undefined reference to `query_lvidiu'
../libudffs/.libs/libudffs.a(file.o):/«PKGBUILDDIR»/libudffs/file.c:465: more undefined references to `query_lvidiu' follow
collect2: error: ld returned 1 exit status
make[2]: *** [mkudffs] Error 1
Makefile:367: recipe for target 'mkudffs' failed
make[2]: Leaving directory '/«PKGBUILDDIR»/mkudffs'
make[1]: *** [all-recursive] Error 1
Makefile:385: recipe for target 'all-recursive' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build-stamp] Error 2
debian/rules:31: recipe for target 'build-stamp' failed
dpkg-buildpackage: error: debian/rules build gave error exit status 2



Severity set to 'important' from 'normal' Request was from Matthias Klose <doko@debian.org> to control@bugs.debian.org. (Tue, 16 Jun 2015 11:19:21 GMT) (full text, mbox, link).


Severity set to 'serious' from 'important' Request was from Matthias Klose <doko@debian.org> to control@bugs.debian.org. (Thu, 25 Jun 2015 11:27:16 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Richard Atterer <atterer@debian.org>:
Bug#778153; Package src:udftools. (Sat, 27 Jun 2015 17:00:07 GMT) (full text, mbox, link).


Acknowledgement sent to Jakub Wilk <jwilk@debian.org>:
Extra info received and forwarded to list. Copy sent to Richard Atterer <atterer@debian.org>. (Sat, 27 Jun 2015 17:00:07 GMT) (full text, mbox, link).


Message #14 received at 778153@bugs.debian.org (full text, mbox, reply):

From: Jakub Wilk <jwilk@debian.org>
To: 778153@bugs.debian.org
Subject: Re: Bug#778153: udftools: ftbfs with GCC-5
Date: Sat, 27 Jun 2015 18:56:13 +0200
[Message part 1 (text/plain, inline)]
* Matthias Klose <doko@debian.org>, 2015-02-12, 10:37:
>In file included from mkudffs.h:29:0,
>                 from defaults.c:23:
>../include/libudffs.h:173:46: warning: inline function 'query_lvidiu' declared but never defined
> inline struct logicalVolIntegrityDescImpUse *query_lvidiu(struct udf_disc *);
>                                              ^
>../include/libudffs.h:172:36: warning: inline function 'query_iuvdiu' declared but never defined
> inline struct impUseVolDescImpUse *query_iuvdiu(struct udf_disc *);
>                                    ^

This is due to the change in semantics of the "inline" keyword[0]. The 
attached patch seems to do the trick.


[0] <https://gcc.gnu.org/gcc-5/porting_to.html>, search for "Different
semantics for inline functions".

-- 
Jakub Wilk
[778153.diff (text/x-diff, attachment)]

Added tag(s) patch. Request was from Jakub Wilk <jwilk@debian.org> to control@bugs.debian.org. (Sat, 27 Jun 2015 17:03:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Richard Atterer <atterer@debian.org>:
Bug#778153; Package src:udftools. (Sun, 19 Jul 2015 15:09:03 GMT) (full text, mbox, link).


Acknowledgement sent to gregor herrmann <gregoa@debian.org>:
Extra info received and forwarded to list. Copy sent to Richard Atterer <atterer@debian.org>. (Sun, 19 Jul 2015 15:09:03 GMT) (full text, mbox, link).


Message #21 received at 778153@bugs.debian.org (full text, mbox, reply):

From: gregor herrmann <gregoa@debian.org>
To: 778153@bugs.debian.org
Subject: udftools: diff for NMU version 1.0.0b3-14.4
Date: Sun, 19 Jul 2015 17:06:06 +0200
[Message part 1 (text/plain, inline)]
Control: tags 778153 + pending

Dear maintainer,

I've prepared an NMU for udftools (versioned as 1.0.0b3-14.4) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Leonard Cohen: Queen Victoria
[udftools-1.0.0b3-14.4-nmu.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Added tag(s) pending. Request was from gregor herrmann <gregoa@debian.org> to 778153-submit@bugs.debian.org. (Sun, 19 Jul 2015 15:09:03 GMT) (full text, mbox, link).


Reply sent to gregor herrmann <gregoa@debian.org>:
You have taken responsibility. (Fri, 24 Jul 2015 15:42:14 GMT) (full text, mbox, link).


Notification sent to Matthias Klose <doko@debian.org>:
Bug acknowledged by developer. (Fri, 24 Jul 2015 15:42:14 GMT) (full text, mbox, link).


Message #28 received at 778153-close@bugs.debian.org (full text, mbox, reply):

From: gregor herrmann <gregoa@debian.org>
To: 778153-close@bugs.debian.org
Subject: Bug#778153: fixed in udftools 1.0.0b3-14.4
Date: Fri, 24 Jul 2015 15:38:56 +0000
Source: udftools
Source-Version: 1.0.0b3-14.4

We believe that the bug you reported is fixed in the latest version of
udftools, 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 778153@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <gregoa@debian.org> (supplier of updated udftools 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 19 Jul 2015 17:03:35 +0200
Source: udftools
Binary: udftools
Architecture: source
Version: 1.0.0b3-14.4
Distribution: unstable
Urgency: medium
Maintainer: Richard Atterer <atterer@debian.org>
Changed-By: gregor herrmann <gregoa@debian.org>
Description:
 udftools   - tools for UDF filesystems and DVD/CD-R(W) drives
Closes: 778153
Changes:
 udftools (1.0.0b3-14.4) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix "ftbfs with GCC-5": add patch from Jakub Wilk:
     changed semantics of inline keyword.
     (Closes: #778153)
Checksums-Sha1:
 ed77cebe57cbb47f9b0e6e1c3203a1e016761d59 1829 udftools_1.0.0b3-14.4.dsc
 cdaba498869a1438d8939a801b1a13e9fa67f4e5 22494 udftools_1.0.0b3-14.4.diff.gz
Checksums-Sha256:
 a9c0b391a5a5685750e8654da38cc7f7aaa5ecfe001a40d6cd4b5679b1633205 1829 udftools_1.0.0b3-14.4.dsc
 a8a2c2aafef6be8253647c75bb0425b8f982ecdd840a542114f827597de1e660 22494 udftools_1.0.0b3-14.4.diff.gz
Files:
 3aacd1cb72b8a66eff9969c54895038b 1829 otherosfs extra udftools_1.0.0b3-14.4.dsc
 29990850c758e0bf48280c85b9ab4f0c 22494 otherosfs extra udftools_1.0.0b3-14.4.diff.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJVq7zHXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREMUUxMzE2RTkzQTc2MEE4MTA0RDg1RkFC
QjNBNjgwMTg2NDlBQTA2AAoJELs6aAGGSaoGe4kQAKrSrWrshg1/5SRMKqwDv8jF
kKdX4OuVBt34PpGaSdFdgv07g0Bd06Qe/dcMpz4gSTlX8GihPSJMDpF1e0kSXwDR
Q9D88p+BX72+M1LE/PSCYT8Vy2ct9lojonKH9BBG9o99ohnBSlSbYdPQOexz1Fvr
yozyPWpK1ASESbMsPxC1k4JUZQLVOgLEJi8YrhWj/nj1b4T1Hsi7Mi1DSWG3EJNP
RmX6X4x/LgUe7DKwKIAryUnXQojTRZ0WdPUpcMk6+AexY3E6dvTGIPKSlS1fZfMj
7gTMOo/0CTL4P0WKfIj0sVDLeVMvHS6R71WiVQGinYxWKdG/Vq84pjEkIeXwGbr3
40o98+NQgosEEiK+0cOsCjH40ZkX5R7RmVnw4HGCRmmoVaGeo/qYZkn2c0EMY1u6
+o1Oh50+yl+76iUT4zr8mrI34KiKk7KLj+OgI17GZRsaW9T8vZUFPyYNNMZfG+gf
2C17iwRW1As0DghfvaydrHY7MSmzExwQmQOPaiq3kpL/MuvHyXgi4maCG6dVNqox
UmsgECMyq8GjgpUC8aLVEiC5OjiMkma3za4SRsT2IaeT3cDmR3J/RgMUOU4RuA/c
ximgmr7aEHKa3+y0pv9y2h7KzY9VousbExcn3j+agNpH6SmAYknx2h0j5Il2bEWv
7sCimS5+KBXY2qc+vaNy
=3JZT
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 27 Aug 2015 07:31:55 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Oct 23 02:20:23 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.