Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706952 - media-radio/xastir-2.1.4 : fails to build with -fno-common or gcc-10
Summary: media-radio/xastir-2.1.4 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:47 UTC by Toralf Förster
Modified: 2020-02-08 07:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.13 KB, text/plain)
2020-01-28 18:47 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,194.49 KB, text/plain)
2020-01-28 18:47 UTC, Toralf Förster
Details
environment (environment,79.85 KB, text/plain)
2020-01-28 18:47 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.68 KB, application/x-bzip)
2020-01-28 18:47 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,18.29 KB, application/x-bzip)
2020-01-28 18:47 UTC, Toralf Förster
Details
media-radio:xastir-2.1.4:20200128-135255.log (media-radio:xastir-2.1.4:20200128-135255.log,37.61 KB, text/plain)
2020-01-28 18:47 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.50 KB, application/x-bzip)
2020-01-28 18:47 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-01-28 18:47:17 UTC
rm -f compiledate.c compiledate.o
echo 'char gitstring[] = "'"`../scripts/XastirGitStamp.sh ..`"'";' >> compiledate.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/include/GraphicsMagick -DXASTIR_DATA_BASE=\"/usr/share/xastir\"  -fopenmp -O2 -pipe -march=native -fno-common -I/usr/include/GraphicsMagick -pthread -c -o compiledate.o compiledate.c
x86_64-pc-linux-gnu-gcc  -fopenmp -O2 -pipe -march=native -fno-common -I/usr/include/GraphicsMagick -pthread -Wl,--no-keep-memory -L/usr/lib64 -L/usr/local/lib -Wl,-O1 -Wl,--as-needed -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_config.o compiledate.o -Lrtree -lrtree -lXm -lXt -lX11 -lGraphicsMagick -lbz2 -lz -lzstd -lm -lgomp -ldb-5.3 -lXpm -lrt -lXm -lXt -lXext -lm -lSM -lICE -lX11 -lcurl -lshp -lpcre
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: db.o:(.bss+0x2cc00): multiple definition of `xa_config_dir'; color.o:(.bss+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: fcc_data.o:(.bss+0x0): multiple definition of `xa_config_dir'; color.o:(.bss+0x20): first defined here

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200124-204141

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 12:46:19 +0000

emerge -qpvO media-radio/xastir
[ebuild  N    ] media-radio/xastir-2.1.4  USE="graphicsmagick -geotiff"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:47:20 UTC
Created attachment 606796 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:47:23 UTC
Created attachment 606798 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:47:27 UTC
Created attachment 606800 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:47:30 UTC
Created attachment 606802 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:47:33 UTC
Created attachment 606804 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:47:36 UTC
Created attachment 606806 [details]
media-radio:xastir-2.1.4:20200128-135255.log
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:47:39 UTC
Created attachment 606808 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-02-08 07:55:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a1dcb42dc36ca5c96cb87a16a56fc10cbd84d0b

commit 0a1dcb42dc36ca5c96cb87a16a56fc10cbd84d0b
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2020-02-08 07:53:46 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2020-02-08 07:55:02 +0000

    media-radio/xastir: Fix build with -fno-common
    
    Closes: https://bugs.gentoo.org/706952
    Package-Manager: Portage-2.3.87, Repoman-2.3.20
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 .../xastir/files/xastir-2.1.4-fno-common.diff      | 63 ++++++++++++++++++++++
 media-radio/xastir/xastir-2.1.4.ebuild             |  5 +-
 2 files changed, 67 insertions(+), 1 deletion(-)