Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707020 - app-doc/halibut-1.2 : fails to build with -fno-common or gcc-10
Summary: app-doc/halibut-1.2 : 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: Anthony Basile
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 20:52 UTC by Toralf Förster
Modified: 2020-11-28 23:09 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.81 KB, text/plain)
2020-01-28 20:52 UTC, Toralf Förster
Details
app-doc:halibut-1.2:20200128-203809.log (app-doc:halibut-1.2:20200128-203809.log,38.94 KB, text/plain)
2020-01-28 20:52 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,130.07 KB, text/plain)
2020-01-28 20:52 UTC, Toralf Förster
Details
environment (environment,45.73 KB, text/plain)
2020-01-28 20:52 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.68 KB, application/x-bzip)
2020-01-28 20:52 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,15.94 KB, application/x-bzip)
2020-01-28 20:52 UTC, Toralf Förster
Details
add extern in paper.h; declare all_fonts in bk_paper.c (halibut-gcc-10-fno-common.patch,536 bytes, patch)
2020-05-15 19:50 UTC, lekto
Details | Diff

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-28 20:52:39 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -g -Wall -W -ansi -pedantic -I../charset/ -I./ -MD -I ../charset/. -c -o cs-utf7.o ../charset/utf7.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -g -Wall -W -ansi -pedantic -I../charset/ -I./ -MD -I ../charset/. -c -o cs-utf8.o ../charset/utf8.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -g -Wall -W -ansi -pedantic -I../charset/ -I./ -MD -I ../charset/. -c -o cs-xenc.o ../charset/xenc.c
x86_64-pc-linux-gnu-gcc -o halibut -Wl,-O1 -Wl,--as-needed main.o malloc.o ustring.o error.o help.o licence.o version.o misc.o tree234.o input.o in_afm.o in_pf.o in_sfnt.o keywords.o contents.o index.o biblio.o bk_text.o bk_html.o bk_whlp.o bk_man.o bk_info.o bk_paper.o bk_ps.o bk_pdf.o winhelp.o winchm.o deflate.o lzx.o lz77.o huffman.o psdata.o wcwidth.o ./cs-big5enc.o ./cs-big5set.o ./cs-cns11643.o ./cs-cp949.o ./cs-emacsenc.o ./cs-euc.o ./cs-fromucs.o ./cs-gb2312.o ./cs-htmlcs.o ./cs-hz.o ./cs-iso2022.o ./cs-iso2022s.o ./cs-istate.o ./cs-jisx0208.o ./cs-jisx0212.o ./cs-ksx1001.o ./cs-locale.o ./cs-localenc.o ./cs-macenc.o ./cs-mimeenc.o ./cs-sbcs.o ./cs-sbcsdat.o ./cs-shiftjis.o ./cs-slookup.o ./cs-superset.o ./cs-toucs.o ./cs-utf16.o ./cs-utf7.o ./cs-utf8.o ./cs-xenc.o  
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: in_pf.o:/var/tmp/portage/app-doc/halibut-1.2/work/halibut-1.2/build/../paper.h:81: multiple definition of `all_fonts'; in_afm.o:/var/tmp/portage/app-doc/halibut-1.2/work/halibut-1.2/build/../paper.h:81: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: in_sfnt.o:/var/tmp/portage/app-doc/halibut-1.2/work/halibut-1.2/build/../paper.h:81: multiple definition of `all_fonts'; in_afm.o:/var/tmp/portage/app-doc/halibut-1.2/work/halibut-1.2/build/../paper.h:81: first defined here

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

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

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

  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:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 19:46:19 +0000

emerge -qpvO app-doc/halibut
[ebuild  N    ] app-doc/halibut-1.2
Comment 1 Toralf Förster gentoo-dev 2020-01-28 20:52:42 UTC
Created attachment 607202 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 20:52:45 UTC
Created attachment 607204 [details]
app-doc:halibut-1.2:20200128-203809.log
Comment 3 Toralf Förster gentoo-dev 2020-01-28 20:52:48 UTC
Created attachment 607206 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-28 20:52:51 UTC
Created attachment 607208 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-28 20:52:54 UTC
Created attachment 607210 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 20:52:57 UTC
Created attachment 607212 [details]
temp.tbz2
Comment 7 lekto 2020-05-15 19:50:53 UTC
Created attachment 639450 [details, diff]
add extern in paper.h; declare all_fonts in bk_paper.c
Comment 8 Larry the Git Cow gentoo-dev 2020-11-28 23:09:49 UTC
The bug has been closed via the following commit(s):

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

commit de2c720021b8aad37dd392a1a395fb47cf474bb9
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-11-28 23:08:43 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-28 23:08:43 +0000

    app-doc/halibut: fix build with gcc-10
    
    * Thanks to lekto@o2.pl for submitting the patch
    
    Closes: https://bugs.gentoo.org/707020
    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>

 app-doc/halibut/files/halibut-1.2-fno-common.patch | 22 ++++++++++++++++++++++
 app-doc/halibut/halibut-1.2.ebuild                 |  5 +++--
 2 files changed, 25 insertions(+), 2 deletions(-)