Ah.. ok. Seems like a good first step would be to tag a new Xastir
release and tell the Debian maintainer to start with that.
--David
KI6ZHD
On 04/17/2020 08:27 AM, Tom Russo wrote:
On Fri, Apr 17, 2020 at 07:14:19AM -0700, we recorded a bogon-computron collision of
the <[email protected]> flavor, containing:
Just saw this notification on the Xastir list. Seems like GCC-10 is going to
require a lot of different Linux programs to do some clean ups.
It apppears they are trying to build release code, not the git head. Some
of this stuff is already fixed as a result of a github issue that was opened
back in Feb: https://github.com/Xastir/Xastir/issues/164.
See commit 9d0d1d9, which fixed those multiply defined variables (which
are all the result of "-fno-common" being made the default in gcc10.
The snprintf stuff is a perenial issue, and we've been picking away at it.
There's a lot of messy use of snprintf. But I believe this is just a warning.
-------- Forwarded Message --------
Subject: Bug#957970: xastir: ftbfs with GCC-10
Resent-Date: Fri, 17 Apr 2020 11:38:07 +0000
Resent-From: Matthias Klose <[email protected]>
Resent-To: Debian Hamradio Maintainers <[email protected]>
Date: Fri, 17 Apr 2020 11:13:49 +0000
From: Matthias Klose <[email protected]>
Reply-To: Matthias Klose <[email protected]>,
[email protected]
To: [email protected]
Package: src:xastir
Version: 2.1.4+git20191127.bb66a77-3
Severity: normal
Tags: sid bullseye
User: [email protected]
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/xastir_2.1.4+git20191127.bb66a77-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
[...]
3379 | "%s",
| ^~
In file included from /usr/include/stdio.h:867,
from snprintf.h:27,
from objects.c:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note:
???__builtin_snprintf??? output between 1 and 1993 bytes into a destination of
size 40
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include
-I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2
-DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2
-fdebug-prefix-map=/build/graphicsmagick-wInnp7/graphicsmagick-1.4+really1.3.35=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -pipe -Wpointer-arith -Wstrict-prototypes
-Wno-unused-parameter -c -o sound.o sound.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include
-I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2
-DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2
-fdebug-prefix-map=/build/graphicsmagick-wInnp7/graphicsmagick-1.4+really1.3.35=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -pipe -Wpointer-arith -Wstrict-prototypes
-Wno-unused-parameter -c -o tile_mgmnt.o tile_mgmnt.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include
-I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2
-DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2
-fdebug-prefix-map=/build/graphicsmagick-wInnp7/graphicsmagick-1.4+really1.3.35=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -pipe -Wpointer-arith -Wstrict-prototypes
-Wno-unused-parameter -c -o track_gui.o track_gui.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include
-I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2
-DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2
-fdebug-prefix-map=/build/graphicsmagick-wInnp7/graphicsmagick-1.4+really1.3.35=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -pipe -Wpointer-arith -Wstrict-prototypes
-Wno-unused-parameter -c -o util.o util.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include
-I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2
-DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2
-fdebug-prefix-map=/build/graphicsmagick-wInnp7/graphicsmagick-1.4+really1.3.35=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -pipe -Wpointer-arith -Wstrict-prototypes
-Wno-unused-parameter -c -o view_message_gui.o view_message_gui.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include
-I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2
-DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2
-fdebug-prefix-map=/build/graphicsmagick-wInnp7/graphicsmagick-1.4+really1.3.35=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -pipe -Wpointer-arith -Wstrict-prototypes
-Wno-unused-parameter -c -o wx.o wx.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include
-I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2
-DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2
-fdebug-prefix-map=/build/graphicsmagick-wInnp7/graphicsmagick-1.4+really1.3.35=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -pipe -Wpointer-arith -Wstrict-prototypes
-Wno-unused-parameter -c -o wx_gui.o wx_gui.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include
-I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2
-DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2
-fdebug-prefix-map=/build/graphicsmagick-wInnp7/graphicsmagick-1.4+really1.3.35=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -pipe -Wpointer-arith -Wstrict-prototypes
-Wno-unused-parameter -c -o x_spider.o x_spider.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include
-I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2
-DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2
-fdebug-prefix-map=/build/graphicsmagick-wInnp7/graphicsmagick-1.4+really1.3.35=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -pipe -Wpointer-arith -Wstrict-prototypes
-Wno-unused-parameter -c -o xa_config.o xa_config.c
rm -f compiledate.c compiledate.o
echo 'char gitstring[] = "'"`../scripts/XastirGitStamp.sh ..`"'";' >>
compiledate.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include
-I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2
-DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2
-fdebug-prefix-map=/build/graphicsmagick-wInnp7/graphicsmagick-1.4+really1.3.35=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -pipe -Wpointer-arith -Wstrict-prototypes
-Wno-unused-parameter -c -o xastir_udp_client.o xastir_udp_client.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include
-I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2
-DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2
-fdebug-prefix-map=/build/graphicsmagick-wInnp7/graphicsmagick-1.4+really1.3.35=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -pipe -Wpointer-arith -Wstrict-prototypes
-Wno-unused-parameter -c -o testdbfawk.o testdbfawk.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include
-I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2
-DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2
-fdebug-prefix-map=/build/graphicsmagick-wInnp7/graphicsmagick-1.4+really1.3.35=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -pipe -Wpointer-arith -Wstrict-prototypes
-Wno-unused-parameter -c -o compiledate.o compiledate.c
gcc -fopenmp -g -O2
-fdebug-prefix-map=/build/graphicsmagick-wInnp7/graphicsmagick-1.4+really1.3.35=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -pipe -Wpointer-arith -Wstrict-prototypes
-Wno-unused-parameter -Wl,--no-keep-memory -L/usr/lib -Wl,-z,relro -Wl,-z,now
-L/usr/lib/X11 -L/usr/local/lib -o xastir_udp_client xastir_udp_client.o -lXm -lXt -lX11
-lGraphicsMagick -ljbig -lwebp -lwebpmux -llcms2 -ltiff -lfreetype -ljpeg -lpng16 -lwmflite
-lXext -lSM -lICE -lX11 -llzma -lbz2 -lxml2 -lz -lzstd -lm -lpthread -lgomp -ldb -lrt -lXm
-lXt -lXext -lm -lSM -lICE -lX11 -lcurl -lproj -lshp -lpcre -ltiff -lgeotiff -lax25
gcc -fopenmp -g -O2
-fdebug-prefix-map=/build/graphicsmagick-wInnp7/graphicsmagick-1.4+really1.3.35=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -pipe -Wpointer-arith -Wstrict-prototypes
-Wno-unused-parameter -Wl,--no-keep-memory -L/usr/lib -Wl,-z,relro -Wl,-z,now
-L/usr/lib/X11 -L/usr/local/lib -o testdbfawk testdbfawk.o awk.o dbfawk.o rpl_malloc.o
-lXm -lXt -lX11 -lGraphicsMagick -ljbig -lwebp -lwebpmux -llcms2 -ltiff -lfreetype -ljpeg
-lpng16 -lwmflite -lXext -lSM -lICE -lX11 -llzma -lbz2 -lxml2 -lz -lzstd -lm -lpthread
-lgomp -ldb -lrt -lXm -lXt -lXext -lm -lSM -lICE -lX11 -lcurl -lproj -lshp -lpcre -ltiff
-lgeotiff -lax25
gcc -fopenmp -g -O2
-fdebug-prefix-map=/build/graphicsmagick-wInnp7/graphicsmagick-1.4+really1.3.35=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -pipe -Wpointer-arith -Wstrict-prototypes
-Wno-unused-parameter -Wl,--no-keep-memory -L/usr/lib -Wl,-z,relro -Wl,-z,now
-L/usr/lib/X11 -L/usr/local/lib -o xastir alert.o awk.o bulletin_gui.o color.o datum.o db.o
db_gis.o dbfawk.o dlm.o draw_symbols.o fcc_data.o festival.o fetch_remote.o
forked_getaddrinfo.o geo-find.o geocoder_gui.o gps.o hashtable.o hashtable_itr.o igate.o
interface.o interface_gui.o io-common.o io-mmap.o lang.o list_gui.o locate_gui.o location.o
location_gui.o main.o maps.o map_cache.o map_dos.o map_geo.o map_gnis.o map_OSM.o map_pop.o
map_shp.o map_tif.o map_WMS.o messages.o messages_gui.o objects.o popup_gui.o rac_data.o
rotated.o rpl_malloc.o shp_hash.o snprintf.o sound.o tile_mgmnt.o track_gui.o util.o
view_message_gui.o wx.o wx_gui.o x_spider.o xa
_
co
nfig.o compiledate.o -Lrtree -lrtree -lXm -lXt -lX11 -lGraphicsMagick -ljbig
-lwebp -lwebpmux -llcms2 -ltiff -lfreetype -ljpeg -lpng16 -lwmflite -lXext -lSM
-lICE -lX11 -llzma -lbz2 -lxml2 -lz -lzstd -lm -lpthread -lgomp -ldb -lrt -lXm
-lXt -lXext -lm -lSM -lICE -lX11 -lcurl -lproj -lshp -lpcre -ltiff -lgeotiff
-lax25
/usr/bin/ld: db.o:./src/xa_config.h:34: multiple definition of `xa_config_dir';
color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: fcc_data.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: igate.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: interface.o:./src/x_spider.h:34: multiple definition of `pname';
db.o:./src/x_spider.h:34: first defined here
/usr/bin/ld: interface.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: interface_gui.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: location_gui.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: main.o:./src/objects.h:98: multiple definition of
`number_of_predefined_objects'; db.o:./src/objects.h:98: first defined here
/usr/bin/ld: main.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: main.o:./src/x_spider.h:34: multiple definition of `pname';
db.o:./src/x_spider.h:34: first defined here
/usr/bin/ld: maps.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: map_cache.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: map_dos.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: map_geo.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: map_gnis.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: map_OSM.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: map_pop.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: map_shp.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: map_tif.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: map_WMS.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: messages.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: messages_gui.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: objects.o:./src/objects.h:98: multiple definition of
`number_of_predefined_objects'; db.o:./src/objects.h:98: first defined here
/usr/bin/ld: objects.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: rac_data.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: track_gui.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: track_gui.o:./src/objects.h:98: multiple definition of
`number_of_predefined_objects'; db.o:./src/objects.h:98: first defined here
/usr/bin/ld: util.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: x_spider.o:./src/x_spider.h:34: multiple definition of `pname';
db.o:./src/x_spider.h:34: first defined here
/usr/bin/ld: xa_config.o:./src/xa_config.h:34: multiple definition of
`xa_config_dir'; color.o:./src/xa_config.h:34: first defined here
/usr/bin/ld: xa_config.o:./src/objects.h:98: multiple definition of
`number_of_predefined_objects'; db.o:./src/objects.h:98: first defined here
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:554: xastir] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:657: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:744: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:426: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
_______________________________________________
Xastir mailing list
[email protected]
http://xastir.org/mailman/listinfo/xastir
_______________________________________________
Xastir mailing list
[email protected]
http://xastir.org/mailman/listinfo/xastir