Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707500 - app-accessibility/edbrowse-3.7.5.1 : fails to build with -fno-common or gcc-10
Summary: app-accessibility/edbrowse-3.7.5.1 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Accessibility Team
URL: https://github.com/CMB/edbrowse/commi...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-30 19:30 UTC by Toralf Förster
Modified: 2020-12-28 14:15 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.61 KB, text/plain)
2020-01-30 19:30 UTC, Toralf Förster
Details
app-accessibility:edbrowse-3.7.5.1:20200130-164155.log (app-accessibility:edbrowse-3.7.5.1:20200130-164155.log,45.61 KB, text/plain)
2020-01-30 19:31 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,219.60 KB, text/plain)
2020-01-30 19:31 UTC, Toralf Förster
Details
environment (environment,90.80 KB, text/plain)
2020-01-30 19:31 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,20.47 KB, application/x-bzip)
2020-01-30 19:31 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.04 KB, application/x-bzip)
2020-01-30 19:31 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.39 KB, application/x-bzip)
2020-01-30 19:31 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-01-30 19:30:56 UTC
[24/25] /usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_READLINE_H -DREADLINE_STATIC   -DNDEBUG -O2 -pipe -march=native -fno-common -D_GNU_SOURCE -Wall  -D_REENTRANT -MD -MT CMakeFiles/edbrowse.dir/src/msg-strings.c.o -MF CMakeFiles/edbrowse.dir/src/msg-strings.c.o.d -o CMakeFiles/edbrowse.dir/src/msg-strings.c.o -c /var/tmp/portage/app-accessibility/edbrowse-3.7.5.1/work/edbrowse-3.7.5.1/src/msg-strings.c
[25/25] : && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -D_GNU_SOURCE -Wall  -D_REENTRANT  -Wl,-O1 -Wl,--as-needed     -rdynamic CMakeFiles/edbrowse.dir/src/main.c.o CMakeFiles/edbrowse.dir/src/buffers.c.o CMakeFiles/edbrowse.dir/src/sendmail.c.o CMakeFiles/edbrowse.dir/src/fetchmail.c.o CMakeFiles/edbrowse.dir/src/messages.c.o CMakeFiles/edbrowse.dir/src/url.c.o CMakeFiles/edbrowse.dir/src/stringfile.c.o CMakeFiles/edbrowse.dir/src/html-tidy.c.o CMakeFiles/edbrowse.dir/src/decorate.c.o CMakeFiles/edbrowse.dir/src/http.c.o CMakeFiles/edbrowse.dir/src/auth.c.o CMakeFiles/edbrowse.dir/src/css.c.o CMakeFiles/edbrowse.dir/src/html.c.o CMakeFiles/edbrowse.dir/src/format.c.o CMakeFiles/edbrowse.dir/src/cookies.c.o CMakeFiles/edbrowse.dir/src/cache.c.o CMakeFiles/edbrowse.dir/src/ebjs.c.o CMakeFiles/edbrowse.dir/src/plugin.c.o CMakeFiles/edbrowse.dir/src/jseng-duk.c.o CMakeFiles/edbrowse.dir/src/dbstubs.c.o CMakeFiles/edbrowse.dir/src/startwindow.c.o CMakeFiles/edbrowse.dir/src/ebrc.c.o CMakeFiles/edbrowse.dir/src/msg-strings.c.o  -o edbrowse  -ltidy  -lcurl  -lpcre  -lreadline  -lduktape  -lm  -lpthread && :
FAILED: edbrowse 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -D_GNU_SOURCE -Wall  -D_REENTRANT  -Wl,-O1 -Wl,--as-needed     -rdynamic CMakeFiles/edbrowse.dir/src/main.c.o CMakeFiles/edbrowse.dir/src/buffers.c.o CMakeFiles/edbrowse.dir/src/sendmail.c.o CMakeFiles/edbrowse.dir/src/fetchmail.c.o CMakeFiles/edbrowse.dir/src/messages.c.o CMakeFiles/edbrowse.dir/src/url.c.o CMakeFiles/edbrowse.dir/src/stringfile.c.o CMakeFiles/edbrowse.dir/src/html-tidy.c.o CMakeFiles/edbrowse.dir/src/decorate.c.o CMakeFiles/edbrowse.dir/src/http.c.o CMakeFiles/edbrowse.dir/src/auth.c.o CMakeFiles/edbrowse.dir/src/css.c.o CMakeFiles/edbrowse.dir/src/html.c.o CMakeFiles/edbrowse.dir/src/format.c.o CMakeFiles/edbrowse.dir/src/cookies.c.o CMakeFiles/edbrowse.dir/src/cache.c.o CMakeFiles/edbrowse.dir/src/ebjs.c.o CMakeFiles/edbrowse.dir/src/plugin.c.o CMakeFiles/edbrowse.dir/src/jseng-duk.c.o CMakeFiles/edbrowse.dir/src/dbstubs.c.o CMakeFiles/edbrowse.dir/src/startwindow.c.o CMakeFiles/edbrowse.dir/src/ebrc.c.o CMakeFiles/edbrowse.dir/src/msg-strings.c.o  -o edbrowse  -ltidy  -lcurl  -lpcre  -lreadline  -lduktape  -lm  -lpthread && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/edbrowse.dir/src/buffers.c.o:(.bss+0x0): multiple definition of `formatOverflow'; CMakeFiles/edbrowse.dir/src/main.c.o:(.bss+0x7710): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/edbrowse.dir/src/sendmail.c.o:(.bss+0x0): multiple definition of `formatOverflow'; CMakeFiles/edbrowse.dir/src/main.c.o:(.bss+0x7710): first defined here

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-libressl-20200125-183534

  -------------------------------------------------------------------

  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
  [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:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 30 Jan 2020 15:46:24 +0000

emerge -qpvO app-accessibility/edbrowse
[ebuild  N    ] app-accessibility/edbrowse-3.7.5.1  USE="-odbc"
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:30:58 UTC
Created attachment 609318 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:31:01 UTC
Created attachment 609320 [details]
app-accessibility:edbrowse-3.7.5.1:20200130-164155.log
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:31:04 UTC
Created attachment 609322 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:31:07 UTC
Created attachment 609324 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:31:09 UTC
Created attachment 609326 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:31:12 UTC
Created attachment 609328 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-30 19:31:15 UTC
Created attachment 609330 [details]
temp.tbz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-31 06:03:06 UTC
Please apply the patch (probably bump first).
Comment 9 Larry the Git Cow gentoo-dev 2020-12-28 14:15:55 UTC
The bug has been closed via the following commit(s):

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

commit 45a96dfad92d10a438656a79f1e7a54abcb108bb
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-12-28 14:15:29 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-12-28 14:15:29 +0000

    app-accessibility/edbrowse: Fix build with gcc-10
    
    * Thanks to Sam James for providing the patch link
    * Port to cmake eclass
    * Additional minor cleanup
    
    Closes: https://bugs.gentoo.org/707500
    Package-Manager: Portage-3.0.9, Repoman-3.0.1
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../edbrowse/edbrowse-3.7.5.1-r1.ebuild            | 23 ++++++++++++++--------
 .../files/edbrowse-3.7.5.1-fno-common.patch        | 11 +++++++++++
 .../edbrowse/files/edbrowse-3.7.5.1-manpage.patch  | 23 ++++++++++++++++++++++
 3 files changed, 49 insertions(+), 8 deletions(-)