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

Bug#853445: marked as done (htdig: ftbfs with GCC-7)



Your message dated Tue, 22 Aug 2017 02:51:53 +0000
with message-id <E1djzIH-000ItO-PP@fasolo.debian.org>
and subject line Bug#853445: fixed in htdig 1:3.2.0b6-17
has caused the Debian Bug report #853445,
regarding htdig: ftbfs with GCC-7
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.)


-- 
853445: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853445
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:htdig
Version: 1:3.2.0b6-16
Severity: normal
Tags: sid buster
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-7

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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/htdig_3.2.0b6-16_unstable_gcc7.log
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

Common build failures are 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-7/porting_to.html

[...]
htdb_stat.cc:184:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
htdb_stat.cc:184:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
/bin/bash ../libtool  --tag=CXX   --mode=link x86_64-linux-gnu-g++  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated -Wall -fno-rtti -fno-exceptions   -Wl,-z,relro -o htdb_stat htdb_stat.o ../htnet/libhtnet.la ../htcommon/libcommon.la ../htword/libhtword.la ../htlib/libht.la ../htcommon/libcommon.la ../htword/libhtword.la ../db/libhtdb.la ../htlib/libht.la -lz 
libtool: link: x86_64-linux-gnu-g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated -Wall -fno-rtti -fno-exceptions -Wl,-z -Wl,relro -o .libs/htdb_stat htdb_stat.o  ../htnet/.libs/libhtnet.so ../htcommon/.libs/libcommon.so ../htword/.libs/libhtword.so ../db/.libs/libhtdb.so ../htlib/.libs/libht.so -lz -Wl,-rpath -Wl,/usr/lib/htdig -Wl,-rpath -Wl,/usr/lib/htdig_db
make[2]: Leaving directory '/<<PKGBUILDDIR>>/htdb'
Making all in htdig
make[2]: Entering directory '/<<PKGBUILDDIR>>/htdig'
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db    -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o Document.o Document.cc
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db    -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HTML.o HTML.cc
HTML.cc: In constructor 'HTML::HTML()':
HTML.cc:88:170: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     tags.Pattern("title|/title|a|/a|h1|h2|h3|h4|h5|h6|/h1|/h2|/h3|/h4|/h5|/h6|noindex|/noindex|img|li|meta|frame|area|base|embed|object|link|style|/style|script|/script");
                                                                                                                                                                          ^
HTML.cc:94:197: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     nobreaktags.Pattern("font|/font|em|/em|strong|/strong|i|/i|b|/b|u|/u|tt|/tt|abbr|/abbr|code|/code|q|/q|samp|/samp|kbd|/kbd|var|/var|dfn|/dfn|cite|/cite|blink|/blink|big|/big|small|/small|s|/s");
                                                                                                                                                                                                     ^
HTML.cc:99:122: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     spacebeforetags.Pattern("title|h1|h2|h3|h4|h5|h6|address|blockquote|noindex|img|li|th|td|dt|dd|p|br|hr|center|spacer");
                                                                                                                          ^
HTML.cc:101:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     spaceaftertags.Pattern("/title|/h1|/h2|/h3|/h4|/h5|/h6|/address|/blockquote");
                                                                                 ^
HTML.cc:105:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     metadatetags.Pattern("date|dc.date|dc.date.created|dc.date.modified");
                                                                         ^
HTML.cc: In member function 'virtual void HTML::parse(Retriever&, URL&)':
HTML.cc:406:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
      if (!in_space && spacebeforetags.CompareWord((char *)position)
          ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HTML.cc:221:24: warning: variable 'start' set but not used [-Wunused-but-set-variable]
     unsigned char *q, *start;
                        ^~~~~
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db    -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o Parsable.o Parsable.cc
Parsable.cc: In member function 'void Parsable::addString(Retriever&, char*, int&, int)':
Parsable.cc:77:9: error: invalid conversion from 'char' to 'char*' [-fpermissive]
     w = '\0';
         ^~~~
Parsable.cc: In member function 'void Parsable::addKeywordString(Retriever&, char*, int&)':
Parsable.cc:95:9: error: invalid conversion from 'char' to 'char*' [-fpermissive]
     w = '\0';
         ^~~~
Makefile:467: recipe for target 'Parsable.o' failed
make[2]: *** [Parsable.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/htdig'
Makefile:449: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:16: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

--- End Message ---
--- Begin Message ---
Source: htdig
Source-Version: 1:3.2.0b6-17

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

Debian distribution maintenance software
pp.
Adam Borowski <kilobyte@angband.pl> (supplier of updated htdig 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: Tue, 22 Aug 2017 03:47:57 +0200
Source: htdig
Binary: htdig htdig-doc
Architecture: source
Version: 1:3.2.0b6-17
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Adam Borowski <kilobyte@angband.pl>
Description:
 htdig      - web search and indexing system - binaries
 htdig-doc  - web search and indexing system - documentation
Closes: 853445
Changes:
 htdig (1:3.2.0b6-17) unstable; urgency=medium
 .
   * QA upload.
   * Fix FTBFS with gcc-7.  Closes: #853445.
   * dh 10.
   * Drop redundant build-depends on autoreconf.
Checksums-Sha1:
 bcc1b7c98a6f0b9e073f1f4271223f9e060dd166 1399 htdig_3.2.0b6-17.dsc
 04f6a988a274832bb7b9721b4aeda0f13eba434a 38984 htdig_3.2.0b6-17.debian.tar.xz
 9883133108b28b53b99ce915efee01664f0d2b29 4964 htdig_3.2.0b6-17_source.buildinfo
Checksums-Sha256:
 d31464d999fa4c02f9ba3bc5945689e46519eda5cadb2187445b15ad59eff94c 1399 htdig_3.2.0b6-17.dsc
 ba5e4c729b3cf70e4cf24186b52cb58f2ba037636f5eb5c3d676b0f2bf2f49d5 38984 htdig_3.2.0b6-17.debian.tar.xz
 54101efdd3b820f9759a643f0e2ed00f1ad0e6712c27e51dad1e2c9c14098254 4964 htdig_3.2.0b6-17_source.buildinfo
Files:
 853ee32c89d73d17c7d93a7dd2245309 1399 web optional htdig_3.2.0b6-17.dsc
 6b2c8e3f154f808e70216b391daec8c5 38984 web optional htdig_3.2.0b6-17.debian.tar.xz
 21e2e2a0a045f25ba3804ea392744d99 4964 web optional htdig_3.2.0b6-17_source.buildinfo

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

iQEzBAEBCgAdFiEE/Zzi2Nd1S3irJ5u9LDtDb+rGgQEFAlmbkcUACgkQLDtDb+rG
gQE3pwf/UwD6VA7FfCW7Qx7L+A2UejRvJytxbpIDTZXFANem20oIr58kCzyq7aPz
IEYTfu7zXqNJr8XGQKAr1V+FpFJVCR9B66vm8ER8XRbzw18rh5tagtl1i9ku9Raw
+caGqwzD3Ke/HAUT1eXPyJbHlJfvSoYTRWbPOUX6h2ybhHMCxxucnilouKgz20z/
9hohLc3pSRh3Uqhh7HaWiewg+TGMCfLv4b1QSdnqG6c9/KYuD0MK6QklZrc9IVu/
OLGY9We0nM+y7tUvWS+uIEqCRFcmDPyEn7soXLcx/DfwGjUAmFvr1ij8hKkF5buh
kYzfj1T1PxUxzn5fV9Qo0JL8GyQZ4A==
=WQd4
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: