Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707642 - www-servers/monkeyd-1.6.9-r1 : fails to build with -fno-common or gcc-10
Summary: www-servers/monkeyd-1.6.9-r1 : 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: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common gcc-10-stable
  Show dependency tree
 
Reported: 2020-01-31 17:44 UTC by Toralf Förster
Modified: 2021-02-14 10:36 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.87 KB, text/plain)
2020-01-31 17:44 UTC, Toralf Förster
Details
CMakeCache.txt (CMakeCache.txt,17.96 KB, text/plain)
2020-01-31 17:44 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,214.91 KB, text/plain)
2020-01-31 17:44 UTC, Toralf Förster
Details
environment (environment,106.57 KB, text/plain)
2020-01-31 17:44 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.20 KB, application/x-bzip)
2020-01-31 17:44 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.77 KB, application/x-bzip)
2020-01-31 17:44 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.39 KB, application/x-bzip)
2020-01-31 17:44 UTC, Toralf Förster
Details
www-servers:monkeyd-1.6.9-r1:20200131-110421.log (www-servers:monkeyd-1.6.9-r1:20200131-110421.log,140.75 KB, text/plain)
2020-01-31 17:44 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-31 17:44:36 UTC
cd /var/tmp/portage/www-servers/monkeyd-1.6.9-r1/work/monkey-1.6.9/build/mk_bin && /usr/bin/cc -DMALLOC_LIBC -DNO_BACKTRACE -DPTHREAD_TLS -I/var/tmp/portage/www-servers/monkeyd-1.6.9-r1/work/monkey-1.6.9/monkey -I/var/tmp/portage/www-servers/monkeyd-1.6.9-r1/work/monkey-1.6.9/mk_core/include -I/var/tmp/portage/www-servers/monkeyd-1.6.9-r1/work/monkey-1.6.9/include -I/var/tmp/portage/www-servers/monkeyd-1.6.9-r1/work/monkey-1.6.9/.  -O2 -pipe -march=native -fno-common -std=gnu99 -Wall -Wextra -D__FILENAME__='"mk_bin/mk_signals.c"'   -o CMakeFiles/monkey-bin.dir/mk_signals.c.o   -c /var/tmp/portage/www-servers/monkeyd-1.6.9-r1/work/monkey-1.6.9/mk_bin/mk_signals.c
[100%] Linking C executable monkey
cd /var/tmp/portage/www-servers/monkeyd-1.6.9-r1/work/monkey-1.6.9/build/mk_bin && /usr/bin/cmake -E cmake_link_script CMakeFiles/monkey-bin.dir/link.txt --verbose=1
/usr/bin/cc -O2 -pipe -march=native -fno-common -std=gnu99 -Wall -Wextra -D__FILENAME__='"$(subst /var/tmp/portage/www-servers/monkeyd-1.6.9-r1/work/monkey-1.6.9/,,$(abspath $<))"'  -Wl,-O1 -Wl,--as-needed -rdynamic CMakeFiles/monkey-bin.dir/monkey.c.o CMakeFiles/monkey-bin.dir/mk_signals.c.o  -o monkey  ../mk_server/libmonkey.a ../mk_core/libmk_core.a -lpthread ../plugins/liana/monkey-liana.a -ldl 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/monkey-bin.dir/mk_signals.c.o:(.bss+0x88): multiple definition of `mk_config'; CMakeFiles/monkey-bin.dir/monkey.c.o:(.bss+0x88): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/monkey-bin.dir/mk_signals.c.o:(.bss+0x0): multiple definition of `mk_clock_tid'; CMakeFiles/monkey-bin.dir/monkey.c.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20200126-201521

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

  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.6
  [3]   python3.7 (fallback)
  [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
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 31 Jan 2020 09:32:20 +0000

emerge -qpvO www-servers/monkeyd
[ebuild  N    ] www-servers/monkeyd-1.6.9-r1  USE="-cgi -debug -fastcgi -php -static-plugins" MONKEYD_PLUGINS="liana -auth -cheetah -dirlisting -logger -mandril -tls"
Comment 1 Toralf Förster gentoo-dev 2020-01-31 17:44:38 UTC
Created attachment 609866 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-31 17:44:41 UTC
Created attachment 609868 [details]
CMakeCache.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-31 17:44:44 UTC
Created attachment 609870 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-31 17:44:47 UTC
Created attachment 609872 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-31 17:44:50 UTC
Created attachment 609874 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-31 17:44:52 UTC
Created attachment 609876 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-31 17:44:56 UTC
Created attachment 609878 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-01-31 17:44:59 UTC
Created attachment 609880 [details]
www-servers:monkeyd-1.6.9-r1:20200131-110421.log
Comment 9 Larry the Git Cow gentoo-dev 2021-02-14 10:36:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47add45312b44da974e2c5590872eca333963b7e

commit 47add45312b44da974e2c5590872eca333963b7e
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-14 10:33:09 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-02-14 10:33:09 +0000

    www-servers/monkeyd: Apply gcc-10 workaround
    
    * Ebuild needs multiple improvements
    * Upstream active, but last release in 2016
    
    Closes: https://bugs.gentoo.org/707642
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 www-servers/monkeyd/monkeyd-1.6.9-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)