Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707636 - app-text/cuneiform-1.1.0-r3 : fails to build with -fno-common or gcc-10 (candidate for last rites)
Summary: app-text/cuneiform-1.1.0-r3 : fails to build with -fno-common or gcc-10 (cand...
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: ~arch only
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-31 17:43 UTC by Toralf Förster
Modified: 2021-02-12 13:44 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.68 KB, text/plain)
2020-01-31 17:43 UTC, Toralf Förster
Details
app-text:cuneiform-1.1.0-r3:20200131-094831.log (app-text:cuneiform-1.1.0-r3:20200131-094831.log,271.98 KB, text/plain)
2020-01-31 17:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,299.29 KB, text/plain)
2020-01-31 17:43 UTC, Toralf Förster
Details
environment (environment,121.95 KB, text/plain)
2020-01-31 17:43 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.70 KB, application/x-bzip)
2020-01-31 17:43 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.17 KB, application/x-bzip)
2020-01-31 17:43 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,36.79 KB, application/x-bzip)
2020-01-31 17:43 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-31 17:43:11 UTC
[ 23%] Linking CXX shared library librlings.so
cd /var/tmp/portage/app-text/cuneiform-1.1.0-r3/work/cuneiform-1.1.0_build/cuneiform_src/Kern/rling/sources && /usr/bin/cmake -E cmake_link_script CMakeFiles/rlings.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -march=native -fno-common -Wl,-Bsymbolic -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,librlings.so.0 -o librlings.so.1.1.0 CMakeFiles/rlings.dir/cpp/crled.cpp.o CMakeFiles/rlings.dir/cpp/crling.cpp.o CMakeFiles/rlings.dir/cpp/crlmemory.cpp.o CMakeFiles/rlings.dir/cpp/dll.cpp.o CMakeFiles/rlings.dir/cpp/rlcontrol.cpp.o CMakeFiles/rlings.dir/c/rling_ma.c.o CMakeFiles/rlings.dir/c/spel2dic.c.o CMakeFiles/rlings.dir/c/spel2voc.c.o CMakeFiles/rlings.dir/c/spelabc.c.o CMakeFiles/rlings.dir/c/spelart.c.o CMakeFiles/rlings.dir/c/spelbuf.c.o CMakeFiles/rlings.dir/c/spelchk.c.o CMakeFiles/rlings.dir/c/speldat1.c.o CMakeFiles/rlings.dir/c/speldat2.c.o CMakeFiles/rlings.dir/c/speldici.c.o CMakeFiles/rlings.dir/c/speldict.c.o CMakeFiles/rlings.dir/c/speldvoc.c.o CMakeFiles/rlings.dir/c/speledf1.c.o CMakeFiles/rlings.dir/c/speledf2.c.o CMakeFiles/rlings.dir/c/speledio.c.o CMakeFiles/rlings.dir/c/spelfun.c.o CMakeFiles/rlings.dir/c/spelloop.c.o CMakeFiles/rlings.dir/c/spelout.c.o CMakeFiles/rlings.dir/c/spelq.c.o CMakeFiles/rlings.dir/c/spelset.c.o CMakeFiles/rlings.dir/c/spelspec.c.o CMakeFiles/rlings.dir/c/udictini.c.o CMakeFiles/rlings.dir/c/udictuti.c.o  -Wl,-rpath,/var/tmp/portage/app-text/cuneiform-1.1.0-r3/work/cuneiform-1.1.0_build/cuneiform_src/Kern/cstr:/var/tmp/portage/app-text/cuneiform-1.1.0-r3/work/cuneiform-1.1.0_build/cuneiform_src/Kern/cfcompat:/var/tmp/portage/app-text/cuneiform-1.1.0-r3/work/cuneiform-1.1.0_build/cuneiform_src/Kern/ccom: ../../cstr/libcstr.so.1.1.0 ../../cfcompat/libcfcompat.so.1.1.0 ../../ccom/libccom.so.1.1.0 -ldl 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/rlings.dir/c/speldici.c.o:(.bss+0xf8): multiple definition of `my_free'; CMakeFiles/rlings.dir/c/rling_ma.c.o:(.data.rel+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/rlings.dir/c/speldici.c.o:(.bss+0x100): multiple definition of `my_alloc'; CMakeFiles/rlings.dir/c/rling_ma.c.o:(.data.rel+0x8): 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
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 31 Jan 2020 08:48:20 +0000

emerge -qpvO app-text/cuneiform
[ebuild  N    ] app-text/cuneiform-1.1.0-r3  USE="-debug -graphicsmagick"
Comment 1 Toralf Förster gentoo-dev 2020-01-31 17:43:14 UTC
Created attachment 609826 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-31 17:43:16 UTC
Created attachment 609828 [details]
app-text:cuneiform-1.1.0-r3:20200131-094831.log
Comment 3 Toralf Förster gentoo-dev 2020-01-31 17:43:19 UTC
Created attachment 609830 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-31 17:43:22 UTC
Created attachment 609832 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-31 17:43:25 UTC
Created attachment 609834 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-31 17:43:27 UTC
Created attachment 609836 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-31 17:43:30 UTC
Created attachment 609838 [details]
temp.tbz2
Comment 8 Jonas Stein gentoo-dev 2020-12-20 13:40:21 UTC
This should be fixed upstream, but upstream seems to be inactive since years.
https://launchpad.net/cuneiform-linux

If you need cuniform, you can try the following 
- contact upstream and report a bug there, link it here.
- search for a patch from other distributions, or prepare one your self and test the patch. Attach or link the patch here.

This package will be last rited soon, because
- does not compile anymore with most systems
- upstream is inactive for nearly a decade and critical bugs remain open
- maintainer needed
Comment 9 Larry the Git Cow gentoo-dev 2021-02-12 13:44:56 UTC
The bug has been closed via the following commit(s):

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

commit e81771fa9ff1f899e22c045f20cb724815db8a43
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-11 19:34:23 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2021-02-12 13:44:36 +0000

    app-text/cuneiform: Port to EAPI 7
    
    * Apply gcc-10 workaround (dead upstream)
    
    Closes: https://bugs.gentoo.org/729530
    Closes: https://bugs.gentoo.org/760830
    Closes: https://bugs.gentoo.org/707636
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 app-text/cuneiform/cuneiform-1.1.0-r3.ebuild       | 40 ++++++++++++----------
 ...-assert.diff => cuneiform-1.1.0-c-assert.patch} |  6 +---
 .../cuneiform-1.1.0-fix_buffer_overflow.patch      |  3 --
 .../cuneiform-1.1.0-fix_buffer_overflow_2.patch    |  9 ++---
 .../cuneiform/files/cuneiform-1.1.0-gcc6.patch     |  1 -
 .../cuneiform/files/cuneiform-1.1.0-gcc7.patch     | 25 ++++++--------
 ...k.diff => cuneiform-1.1.0-graphicsmagick.patch} |  3 --
 .../{libm.diff => cuneiform-1.1.0-libm.patch}      |  3 --
 .../cuneiform/files/cuneiform-1.1.0-typos.patch    |  1 -
 9 files changed, 35 insertions(+), 56 deletions(-)