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

Bug 737694

Summary: app-admin/webalizer-2.23.08 - ld: dns_resolv.o:.../work/webalizer-2.23-08/dns_resolv.c:83: multiple definition of `buffer'; webalizer.o:.../work/webalizer-2.23-08/webalizer.c:249: first defined here
Product: Gentoo Linux Reporter: Alexandros C. Couloumbis <alex>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: alex, web-apps
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=779016
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764, 762907    
Attachments: webalizer gcc-10 patch
app-admin:webalizer-2.23.08:20200818-113533.log
build log

Description Alexandros C. Couloumbis 2020-08-17 17:48:06 UTC
Created attachment 655176 [details, diff]
webalizer gcc-10 patch

webalizer fails to compile under gcc-10

following this guideline: https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common


I was able to successfully patch & compile webalizer under gcc-10
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-08-18 11:33:13 UTC
Please attach the entire build log to this bug report.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2020-08-18 11:38:27 UTC
Created attachment 655316 [details]
app-admin:webalizer-2.23.08:20200818-113533.log
Comment 3 Alexandros C. Couloumbis 2020-08-18 11:45:27 UTC
Created attachment 655318 [details]
build log

build log
Comment 4 Larry the Git Cow gentoo-dev 2021-03-03 21:13:18 UTC
The bug has been closed via the following commit(s):

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

commit 7dd124d96f48b7e8c5b3426b528b08390647c459
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2021-03-03 21:13:04 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2021-03-03 21:13:14 +0000

    app-admin/webalizer: tweak for gcc-10
    
    Fixed-by: Alexandros C. Couloumbis
    Closes: https://bugs.gentoo.org/737694
    Package-Manager: Portage-3.0.16, Repoman-3.0.2
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 .../webalizer/files/webalizer-2.23.08-gcc-10.patch    | 19 +++++++++++++++++++
 app-admin/webalizer/webalizer-2.23.08.ebuild          |  3 ++-
 2 files changed, 21 insertions(+), 1 deletion(-)
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2021-03-03 21:14:26 UTC
Pulled your patch as is. Apologies for such a huge delay!

Thank you!
Comment 6 Larry the Git Cow gentoo-dev 2022-05-23 00:04:34 UTC
The bug has been referenced in the following commit(s):

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

commit eeb61bf8432f2ab193de2f6a9f2a45127ffbbb6f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-05-23 00:04:04 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-23 00:04:24 +0000

    app-admin/webalizer: add -fcommon
    
    Bug: https://bugs.gentoo.org/737694
    Bug: https://bugs.gentoo.org/779016
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/webalizer/webalizer-2.23.08.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)