Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707122 - net-irc/emech-3.0.99_p3 : fails to build with -fno-common or gcc-10
Summary: net-irc/emech-3.0.99_p3 : 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: Dawid Węgliński
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: -fno-common gcc-10-stable
  Show dependency tree
 
Reported: 2020-01-29 17:36 UTC by Toralf Förster
Modified: 2021-01-07 10:08 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.03 KB, text/plain)
2020-01-29 17:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,84.48 KB, text/plain)
2020-01-29 17:36 UTC, Toralf Förster
Details
environment (environment,49.07 KB, text/plain)
2020-01-29 17:36 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.10 KB, application/x-bzip)
2020-01-29 17:36 UTC, Toralf Förster
Details
net-irc:emech-3.0.99_p3:20200128-220245.log (net-irc:emech-3.0.99_p3:20200128-220245.log,18.86 KB, text/plain)
2020-01-29 17:36 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,15.40 KB, application/x-bzip)
2020-01-29 17:36 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-29 17:36:27 UTC
web.c:295:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
  295 |  read(fd,src,sz);
      |  ^~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed  -o energymech alias.o auth.o bounce.o chanban.o channel.o core.o ctcp.o debug.o dns.o dynamode.o function.o greet.o help.o irc.o kicksay.o main.o net.o net_chan.o note.o notify.o ons.o parse.o perl.o prot.o python.o redirect.o reset.o seen.o shit.o socket.o spy.o stats.o tcl.o telnet.o toybox.o trivia.o uptime.o user.o vars.o web.o  -lcrypt 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: auth.o:(.bss+0x20): multiple definition of `redirect'; alias.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bounce.o:(.bss+0x0): multiple definition of `redirect'; alias.o:(.bss+0x0): first defined here

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

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

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

  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 (uninstalled)
  [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 20:26:24 +0000

emerge -qpvO net-irc/emech
[ebuild  N    ] net-irc/emech-3.0.99_p3  USE="-debug -session -tcl"
Comment 1 Toralf Förster gentoo-dev 2020-01-29 17:36:30 UTC
Created attachment 607350 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 17:36:33 UTC
Created attachment 607352 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 17:36:36 UTC
Created attachment 607354 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 17:36:39 UTC
Created attachment 607356 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 17:36:42 UTC
Created attachment 607358 [details]
net-irc:emech-3.0.99_p3:20200128-220245.log
Comment 6 Toralf Förster gentoo-dev 2020-01-29 17:36:44 UTC
Created attachment 607360 [details]
temp.tbz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-03-09 09:53:54 UTC
Reported upstream: https://github.com/EnergyMech/energymech/issues/15
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-06-13 11:58:32 UTC
Upstream say disable the http interface: https://github.com/EnergyMech/energymech/issues/15#issuecomment-643470653
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-08-30 05:02:38 UTC
(In reply to Sam James from comment #8)
> Upstream say disable the http interface:
> https://github.com/EnergyMech/energymech/issues/15#issuecomment-643470653

ping?
Comment 10 Larry the Git Cow gentoo-dev 2021-01-07 10:08:31 UTC
The bug has been closed via the following commit(s):

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

commit bfa7d46fefef93f1ec8457686879c9a40c6dfd73
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-01-07 10:08:24 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-01-07 10:08:24 +0000

    net-irc/emech: Disable redirect
    
    * https://github.com/EnergyMech/energymech/issues/15#issuecomment-643470653
    
    Closes: https://github.com/gentoo/gentoo/pull/18957
    Closes: https://bugs.gentoo.org/707122
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-irc/emech/emech-3.0.99_p3.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)