Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706928 - x11-misc/xcave-2.4.0 : fails to build with -fno-common or gcc-10
Summary: x11-misc/xcave-2.4.0 : 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: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:41 UTC by Toralf Förster
Modified: 2020-01-29 11:32 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.95 KB, text/plain)
2020-01-28 18:41 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,129.87 KB, text/plain)
2020-01-28 18:41 UTC, Toralf Förster
Details
environment (environment,19.14 KB, text/plain)
2020-01-28 18:41 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.90 KB, application/x-bzip)
2020-01-28 18:41 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.46 KB, application/x-bzip)
2020-01-28 18:41 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,18.20 KB, application/x-bzip)
2020-01-28 18:41 UTC, Toralf Förster
Details
x11-misc:xcave-2.4.0:20200128-111506.log (x11-misc:xcave-2.4.0:20200128-111506.log,644.21 KB, text/plain)
2020-01-28 18:41 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:41:30 UTC
      |                                                              int            time_t {aka long int}
      |                                                             %ld
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -g -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o xcave -Wl,--export-dynamic callbacks.o file_xcaverc.o interface.o main.o support.o xcave_about.o xcave_casier.o xcave_conf.o xcave_consdeg.o xcave_degustation.o xcave_detail.o xcave_drinking.o xcave_fileselection.o xcave_html.o xcave_list.o xcave_print.o xcave_purchase.o xcave_quit.o xcave_signal.o xcave_som.o xcave_supp.o xcave_synthese.o xcave_tools.o xcave_xmlreader.o xcave_xmlwriter.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lxml2  
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -g -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o xcave -Wl,--export-dynamic callbacks.o file_xcaverc.o interface.o main.o support.o xcave_about.o xcave_casier.o xcave_conf.o xcave_consdeg.o xcave_degustation.o xcave_detail.o xcave_drinking.o xcave_fileselection.o xcave_html.o xcave_list.o xcave_print.o xcave_purchase.o xcave_quit.o xcave_signal.o xcave_som.o xcave_supp.o xcave_synthese.o xcave_tools.o xcave_xmlreader.o xcave_xmlwriter.o  -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lxml2
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: file_xcaverc.o:/var/tmp/portage/x11-misc/xcave-2.4.0/work/xcave-2.4.0/src/callbacks.h:177: multiple definition of `DBPATH'; callbacks.o:/var/tmp/portage/x11-misc/xcave-2.4.0/work/xcave-2.4.0/src/callbacks.h:177: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: file_xcaverc.o:/var/tmp/portage/x11-misc/xcave-2.4.0/work/xcave-2.4.0/src/callbacks.h:180: multiple definition of `fileLocation'; callbacks.o:/var/tmp/portage/x11-misc/xcave-2.4.0/work/xcave-2.4.0/src/callbacks.h:180: first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-libressl-20200125-150902

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

  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:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

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

emerge -qpvO x11-misc/xcave
[ebuild  N    ] x11-misc/xcave-2.4.0
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:41:33 UTC
Created attachment 606632 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:41:35 UTC
Created attachment 606634 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:41:38 UTC
Created attachment 606636 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:41:41 UTC
Created attachment 606638 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:41:44 UTC
Created attachment 606640 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:41:46 UTC
Created attachment 606642 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:41:50 UTC
Created attachment 606644 [details]
x11-misc:xcave-2.4.0:20200128-111506.log
Comment 8 Larry the Git Cow gentoo-dev 2020-01-29 11:32:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ffe68d79d60fd194ab2faaf997de5104a4ede68

commit 5ffe68d79d60fd194ab2faaf997de5104a4ede68
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-01-29 11:16:47 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-01-29 11:32:06 +0000

    x11-misc/xcave: Set CFLAGS=-fcommon
    
    Also fix pkg-config variable prefix in configure.ac:
    ./configure: line 1425: ac_env_libxml-2.0_CFLAGS_set=2.0_CFLAGS+set:
    command not found
    (etc.)
    
    Package-Manager: Portage-2.3.86, Repoman-2.3.20
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=706928
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 x11-misc/xcave/files/xcave-2.4.0-pkg-config.patch | 13 ++++++++++++
 x11-misc/xcave/xcave-2.4.0.ebuild                 | 26 +++++++++++++++++++----
 2 files changed, 35 insertions(+), 4 deletions(-)