[Debian-mobcom-maintainers] Bug#957818: smstools: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:11:08 BST 2020


Package: src:smstools
Version: 3.1.21-3
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

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-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/smstools_3.1.21-3_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 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-10/porting_to.html

[...]
/usr/bin/ld: charshift.o:./smsd_cfg.h:340: multiple definition of `shell'; /tmp/ccYmxK2M.o:./smsd_cfg.h:340: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:339: multiple definition of `ic_purge_interval'; /tmp/ccYmxK2M.o:./smsd_cfg.h:339: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:338: multiple definition of `ic_purge_read'; /tmp/ccYmxK2M.o:./smsd_cfg.h:338: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:337: multiple definition of `ic_purge_minutes'; /tmp/ccYmxK2M.o:./smsd_cfg.h:337: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:336: multiple definition of `ic_purge_hours'; /tmp/ccYmxK2M.o:./smsd_cfg.h:336: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:335: multiple definition of `priviledged_numbers'; /tmp/ccYmxK2M.o:./smsd_cfg.h:335: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:334: multiple definition of `keep_messages'; /tmp/ccYmxK2M.o:./smsd_cfg.h:334: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:333: multiple definition of `executable_check'; /tmp/ccYmxK2M.o:./smsd_cfg.h:333: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:332: multiple definition of `log_single_lines'; /tmp/ccYmxK2M.o:./smsd_cfg.h:332: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:331: multiple definition of `log_charconv'; /tmp/ccYmxK2M.o:./smsd_cfg.h:331: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:330: multiple definition of `outgoing_utf8'; /tmp/ccYmxK2M.o:./smsd_cfg.h:330: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:329: multiple definition of `incoming_utf8'; /tmp/ccYmxK2M.o:./smsd_cfg.h:329: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:328: multiple definition of `filename_preview'; /tmp/ccYmxK2M.o:./smsd_cfg.h:328: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:327: multiple definition of `admin_to'; /tmp/ccYmxK2M.o:./smsd_cfg.h:327: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:326: multiple definition of `regular_run_interval'; /tmp/ccYmxK2M.o:./smsd_cfg.h:326: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:325: multiple definition of `regular_run'; /tmp/ccYmxK2M.o:./smsd_cfg.h:325: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:324: multiple definition of `date_filename'; /tmp/ccYmxK2M.o:./smsd_cfg.h:324: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:322: multiple definition of `store_original_filename'; /tmp/ccYmxK2M.o:./smsd_cfg.h:322: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:321: multiple definition of `keep_filename'; /tmp/ccYmxK2M.o:./smsd_cfg.h:321: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:320: multiple definition of `internal_combine_binary'; /tmp/ccYmxK2M.o:./smsd_cfg.h:320: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:319: multiple definition of `internal_combine'; /tmp/ccYmxK2M.o:./smsd_cfg.h:319: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:318: multiple definition of `decode_unicode_text'; /tmp/ccYmxK2M.o:./smsd_cfg.h:318: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:317: multiple definition of `validity_period'; /tmp/ccYmxK2M.o:./smsd_cfg.h:317: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:316: multiple definition of `store_sent_pdu'; /tmp/ccYmxK2M.o:./smsd_cfg.h:316: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:315: multiple definition of `store_received_pdu'; /tmp/ccYmxK2M.o:./smsd_cfg.h:315: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:314: multiple definition of `receive_before_send'; /tmp/ccYmxK2M.o:./smsd_cfg.h:314: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:313: multiple definition of `autosplit'; /tmp/ccYmxK2M.o:./smsd_cfg.h:313: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:312: multiple definition of `errorsleeptime'; /tmp/ccYmxK2M.o:./smsd_cfg.h:312: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:311: multiple definition of `blockafter'; /tmp/ccYmxK2M.o:./smsd_cfg.h:311: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:310: multiple definition of `blocktime'; /tmp/ccYmxK2M.o:./smsd_cfg.h:310: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:309: multiple definition of `delaytime_mainprocess'; /tmp/ccYmxK2M.o:./smsd_cfg.h:309: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:308: multiple definition of `delaytime'; /tmp/ccYmxK2M.o:./smsd_cfg.h:308: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:307: multiple definition of `devices'; /tmp/ccYmxK2M.o:./smsd_cfg.h:307: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:306: multiple definition of `queues'; /tmp/ccYmxK2M.o:./smsd_cfg.h:306: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:305: multiple definition of `loglevel'; /tmp/ccYmxK2M.o:./smsd_cfg.h:305: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:304: multiple definition of `logfile'; /tmp/ccYmxK2M.o:./smsd_cfg.h:304: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:303: multiple definition of `alarmlevel'; /tmp/ccYmxK2M.o:./smsd_cfg.h:303: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:302: multiple definition of `checkhandler'; /tmp/ccYmxK2M.o:./smsd_cfg.h:302: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:301: multiple definition of `alarmhandler'; /tmp/ccYmxK2M.o:./smsd_cfg.h:301: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:300: multiple definition of `eventhandler'; /tmp/ccYmxK2M.o:./smsd_cfg.h:300: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:299: multiple definition of `d_checked'; /tmp/ccYmxK2M.o:./smsd_cfg.h:299: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:298: multiple definition of `d_sent_copy'; /tmp/ccYmxK2M.o:./smsd_cfg.h:298: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:297: multiple definition of `d_sent'; /tmp/ccYmxK2M.o:./smsd_cfg.h:297: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:296: multiple definition of `d_saved'; /tmp/ccYmxK2M.o:./smsd_cfg.h:296: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:295: multiple definition of `d_phonecalls'; /tmp/ccYmxK2M.o:./smsd_cfg.h:295: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:294: multiple definition of `d_report_copy'; /tmp/ccYmxK2M.o:./smsd_cfg.h:294: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:293: multiple definition of `d_report'; /tmp/ccYmxK2M.o:./smsd_cfg.h:293: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:292: multiple definition of `d_incoming_copy'; /tmp/ccYmxK2M.o:./smsd_cfg.h:292: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:291: multiple definition of `d_incoming'; /tmp/ccYmxK2M.o:./smsd_cfg.h:291: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:290: multiple definition of `d_failed_copy'; /tmp/ccYmxK2M.o:./smsd_cfg.h:290: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:289: multiple definition of `d_failed'; /tmp/ccYmxK2M.o:./smsd_cfg.h:289: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:288: multiple definition of `d_spool'; /tmp/ccYmxK2M.o:./smsd_cfg.h:288: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:287: multiple definition of `configfile'; /tmp/ccYmxK2M.o:./smsd_cfg.h:287: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:139: multiple definition of `tmpdir'; /tmp/ccYmxK2M.o:./smsd_cfg.h:139: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:138: multiple definition of `put_command_sent'; /tmp/ccYmxK2M.o:./smsd_cfg.h:138: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:137: multiple definition of `put_command_timeouts'; /tmp/ccYmxK2M.o:./smsd_cfg.h:137: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:135: multiple definition of `modem_handle'; /tmp/ccYmxK2M.o:./smsd_cfg.h:135: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:133: multiple definition of `process_start_time'; /tmp/ccYmxK2M.o:./smsd_cfg.h:133: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:130: multiple definition of `process_id'; /tmp/ccYmxK2M.o:./smsd_cfg.h:130: first defined here
/usr/bin/ld: charshift.o:./smsd_cfg.h:129: multiple definition of `process_title'; /tmp/ccYmxK2M.o:./smsd_cfg.h:129: first defined here
/usr/bin/ld: charshift.o:./logging.h:33: multiple definition of `trouble_logging_started'; /tmp/ccYmxK2M.o:./logging.h:33: first defined here
/usr/bin/ld: charshift.o:./logging.h:21: multiple definition of `logch_buffer'; /tmp/ccYmxK2M.o:./logging.h:21: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:74: smsd] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:10: compile] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:20: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Debian-mobcom-maintainers mailing list