Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707134 - app-text/psiconv-0.8.3-r1 : fails to build with -fno-common or gcc-10
Summary: app-text/psiconv-0.8.3-r1 : 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: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-29 17:38 UTC by Toralf Förster
Modified: 2020-02-28 00:30 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.13 KB, text/plain)
2020-01-29 17:38 UTC, Toralf Förster
Details
app-text:psiconv-0.8.3-r1:20200128-225117.log (app-text:psiconv-0.8.3-r1:20200128-225117.log,30.61 KB, text/plain)
2020-01-29 17:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,210.27 KB, text/plain)
2020-01-29 17:39 UTC, Toralf Förster
Details
environment (environment,41.38 KB, text/plain)
2020-01-29 17:39 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.92 KB, application/x-bzip)
2020-01-29 17:39 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.21 KB, application/x-bzip)
2020-01-29 17:39 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,14.93 KB, application/x-bzip)
2020-01-29 17:39 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-29 17:38:54 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../lib -I../../compat    -O2 -pipe -march=native -fno-common -Wall -Wunused  -c `test -f magick-aux.c || echo './'`magick-aux.c
/bin/sh ../../libtool --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -Wall -Wunused   -Wl,-O1 -Wl,--as-needed -o psiconv  psiconv.o gen_html.o gen_html4.o gen_txt.o gen_rtf.o gen_image.o gen_latex.o magick-aux.o ../../lib/psiconv/libpsiconv.la   
mkdir .libs
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -Wunused -Wl,-O1 -Wl,--as-needed -o .libs/psiconv psiconv.o gen_html.o gen_html4.o gen_txt.o gen_rtf.o gen_image.o gen_latex.o magick-aux.o  ../../lib/psiconv/.libs/libpsiconv.so -Wl,--rpath -Wl,/usr/lib64
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen_html.o:(.bss+0x0): multiple definition of `fileformat_list'; psiconv.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen_html4.o:(.bss+0x0): multiple definition of `fileformat_list'; psiconv.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200124-204141

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

  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

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

emerge -qpvO app-text/psiconv
[ebuild  N    ] app-text/psiconv-0.8.3-r1  USE="-static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-01-29 17:38:58 UTC
Created attachment 607418 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 17:39:01 UTC
Created attachment 607420 [details]
app-text:psiconv-0.8.3-r1:20200128-225117.log
Comment 3 Toralf Förster gentoo-dev 2020-01-29 17:39:03 UTC
Created attachment 607422 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-29 17:39:06 UTC
Created attachment 607424 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-29 17:39:09 UTC
Created attachment 607426 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 17:39:12 UTC
Created attachment 607428 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-29 17:39:14 UTC
Created attachment 607430 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-02-28 00:30:43 UTC
The bug has been closed via the following commit(s):

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

commit feae48e6ea13a13ca3e47dd45d6d4117e33de37d
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-02-28 00:30:27 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-02-28 00:30:27 +0000

    app-text/psiconv: Port to EAPI 7
    
    * Fix GCC 10 / -fno-common
    * Fix missing headers causing implicit declarations
    
    Closes: https://bugs.gentoo.org/707134
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: David Seifert <soap@gentoo.org>

 ...conv-0.8.3-Wimplicit-function-declaration.patch | 92 ++++++++++++++++++++++
 .../files/psiconv-0.8.3-gcc10-fno-common.patch     | 21 +++++
 app-text/psiconv/psiconv-0.8.3-r1.ebuild           | 21 ++---
 3 files changed, 125 insertions(+), 9 deletions(-)