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

Bug 706258

Summary: =mail-client/mailx-8.1.2.20160123 fails w/ -fno-common
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: jer
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=762976
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    

Description Toralf Förster gentoo-dev 2020-01-24 19:45:32 UTC
at least at every recent hardened Gentoo Linux tinderbox image
Comment 1 Sergei Trofimovich gentoo-dev 2020-01-24 22:29:40 UTC
Error example is:

cc  -o mail version.o aux.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o edit.o fio.o getname.o head.o v7.local.o lex.o list.o main.o names.o popen.o quit.o send.o strings.o temp.o tty.o vars.o -llockfile -lbsd
/usr/lib/gcc/x86_64-pc-linux-gnu/10.0.0-pre9999/../../../../x86_64-pc-linux-gnu/bin/ld: cmd1.o:/tmp/portage/mail-client/mailx-8.1.2.20160123/work/bsd-mailx-8.1.2-0.20160123cvs.orig/glob.h:77: multiple definition of `screenheight'; aux.o:/tmp/portage/mail-client/mailx-8.1.2.20160123/work/bsd-mailx-8.1.2-0.20160123cvs.orig/glob.h:77: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.0.0-pre9999/../../../../x86_64-pc-linux-gnu/bin/ld: cmd1.o:/tmp/portage/mail-client/mailx-8.1.2.20160123/work/bsd-mailx-8.1.2-0.20160123cvs.orig/glob.h:66: multiple definition of `message'; aux.o:/tmp/portage/mail-client/mailx-8.1.2.20160123/work/bsd-mailx-8.1.2-0.20160123cvs.orig/glob.h:66: first defined here
Comment 2 Larry the Git Cow gentoo-dev 2020-04-22 07:23:29 UTC
The bug has been closed via the following commit(s):

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

commit f679322d6a5f44a6a7ba34c379d01737315022fc
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-04-22 07:22:08 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-04-22 07:23:24 +0000

    mail-client/mailx: Version 8.1.2.20180807
    
    - New Debian patchset
    - Fix building with CFLAGS=-fno-common
    
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Closes: https://bugs.gentoo.org/706258
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 mail-client/mailx/Manifest                         |   2 +
 .../files/mailx-8.1.2.20180807-fno-common.patch    | 156 +++++++++++++++++++++
 mail-client/mailx/mailx-8.1.2.20180807.ebuild      |  56 ++++++++
 3 files changed, 214 insertions(+)