Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 707122

Summary: net-irc/emech-3.0.99_p3 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Dawid Węgliński <dawid.weglinski>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint, sam
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/18957
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764, 762907    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
net-irc:emech-3.0.99_p3:20200128-220245.log
temp.tbz2

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(-)