Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 756847 - www-servers/gatling-0.15 fails to compile with -fno-common, caused by <dev-libs/libowfat-0.32-r2
Summary: www-servers/gatling-0.15 fails to compile with -fno-common, caused by <dev-li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
: 706396 756901 (view as bug list)
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-11-26 16:45 UTC by Agostino Sarubbo
Modified: 2020-11-27 13:47 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,30.81 KB, text/plain)
2020-11-26 16:45 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-11-26 16:45:51 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: www-servers/gatling-0.15 fails to compile with -fno-common.
Discovered on: amd64 (internal ref: ci)

NOTE:
To reproduce this issue you may want to set CFLAGS="${CFLAGS} -fno-common" or compile it with gcc-10 that enables -fno-common by default.
Comment 1 Agostino Sarubbo gentoo-dev 2020-11-26 16:45:54 UTC
Created attachment 675121 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-11-26 16:45:56 UTC
Possible context of error(s):

/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libowfat.a(io_fd.o):(.bss+0xb0): multiple definition of `first_deferred'; /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libowfat.a(io_close.o):(.data+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libowfat.a(io_fd.o):(.bss+0xb0): multiple definition of `first_deferred'; /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libowfat.a(io_close.o):(.data+0x0): first defined here
collect2: error: ld returned 1 exit status
Comment 3 Larry the Git Cow gentoo-dev 2020-11-26 18:36:57 UTC
The bug has been closed via the following commit(s):

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

commit 129f4ab9f8571c651937c46ba7bd4c82d6d052a2
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2020-11-26 18:33:02 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2020-11-26 18:36:37 +0000

    dev-libs/libowfat: Fix compile with GCC 10 for www-servers/gatling
    
    Closes: https://bugs.gentoo.org/756847
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>
    Package-Manager: Portage-3.0.0, Repoman-2.3.23

 dev-libs/libowfat/files/libowfat-0.32-gcc10.patch | 25 ++++++++++++
 dev-libs/libowfat/libowfat-0.32-r2.ebuild         | 49 +++++++++++++++++++++++
 2 files changed, 74 insertions(+)
Comment 4 Sebastian Pipping gentoo-dev 2020-11-26 18:39:52 UTC
*** Bug 756901 has been marked as a duplicate of this bug. ***
Comment 5 Toralf Förster gentoo-dev 2020-11-26 19:07:14 UTC
IMO it is still no solved, eg see bug 756901
Comment 6 Sebastian Pipping gentoo-dev 2020-11-26 19:29:57 UTC
(In reply to Toralf Förster from comment #5)
> IMO it is still no solved, eg see bug 756901

Do you have dev-libs/libowfat-0.32-r2 installed?  That has the fix.
Comment 7 Toralf Förster gentoo-dev 2020-11-26 20:31:02 UTC
(In reply to Sebastian Pipping from comment #6)
> (In reply to Toralf Förster from comment #5)
> > IMO it is still no solved, eg see bug 756901
> 
> Do you have dev-libs/libowfat-0.32-r2 installed?  That has the fix.

From in the attachment "emerge-history.txt of the mentioned bug:
2020-11-23T21:19:16 >>> dev-libs/libowfat-0.32-r1

so maybe a dep is needed ?
Comment 8 Sebastian Pipping gentoo-dev 2020-11-26 21:00:53 UTC
(In reply to Toralf Förster from comment #7)
> From in the attachment "emerge-history.txt of the mentioned bug:
> 2020-11-23T21:19:16 >>> dev-libs/libowfat-0.32-r1
> 
> so maybe a dep is needed ?

I'm not sure.  It only affects GCC 10 so it's not a hard dependency for any other compiler.  So with the dependency can be considered as wrong as without it.  If you want me to add it, I can add it.
Comment 9 Joonas Niilola gentoo-dev 2020-11-27 06:19:29 UTC
*** Bug 706396 has been marked as a duplicate of this bug. ***
Comment 10 Sebastian Pipping gentoo-dev 2020-11-27 13:43:53 UTC
Alright, I'll added, give me a minute.
Comment 11 Larry the Git Cow gentoo-dev 2020-11-27 13:46:54 UTC
The bug has been referenced in the following commit(s):

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

commit f1e37cba1143f0404c2fa4af8dc729b299b886cc
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2020-11-27 13:46:10 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2020-11-27 13:46:10 +0000

    www-servers/gatling: Depend on dev-libs/libowfat with GCC 10 fix
    
    Bug: https://bugs.gentoo.org/756847
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>
    Package-Manager: Portage-3.0.0, Repoman-2.3.23

 www-servers/gatling/gatling-0.15.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)