Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737694 - 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
Summary: app-admin/webalizer-2.23.08 - ld: dns_resolv.o:.../work/webalizer-2.23-08/dns...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common gcc-10-stable
  Show dependency tree
 
Reported: 2020-08-17 17:48 UTC by Alexandros C. Couloumbis
Modified: 2022-05-23 00:04 UTC (History)
2 users (show)

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


Attachments
webalizer gcc-10 patch (gcc-10.patch,935 bytes, patch)
2020-08-17 17:48 UTC, Alexandros C. Couloumbis
Details | Diff
app-admin:webalizer-2.23.08:20200818-113533.log (app-admin:webalizer-2.23.08:20200818-113533.log,287.12 KB, text/plain)
2020-08-18 11:38 UTC, Jeroen Roovers (RETIRED)
Details
build log (webalizer-build.log,5.53 KB, text/x-log)
2020-08-18 11:45 UTC, Alexandros C. Couloumbis
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)