Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 760830 - app-text/cuneiform-1.1.0-r3 failed to compile during link CXX shared library phase at 32% progress
Summary: app-text/cuneiform-1.1.0-r3 failed to compile during link CXX shared library ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Keywords: NeedPatch
Depends on:
Blocks: -fno-common
  Show dependency tree
Reported: 2020-12-20 08:18 UTC by Jean-Claude Aciman
Modified: 2021-02-12 13:44 UTC (History)
1 user (show)

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

all requested files (cuneiform.tar.gz,54.01 KB, application/gzip)
2020-12-20 08:19 UTC, Jean-Claude Aciman

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Claude Aciman 2020-12-20 08:18:20 UTC
[ 32%] Linking CXX shared library
cd /var/tmp/portage/app-text/cuneiform-1.1.0-r3/work/cuneiform-1.1.0_build/cuneiform_src/Kern/lns32 && /usr/bin/cmake -E cmake_link_script CMakeFiles/lns32.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2 -pipe -Wl,-Bsymbolic -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname, -o CMakeFiles/lns32.dir/__/hdebug/__snp.c.o CMakeFiles/lns32.dir/src/bit_data.cpp.o CMakeFiles/lns32.dir/src/extrlns.cpp.o CMakeFiles/lns32.dir/src/fillgap3.cpp.o CMakeFiles/lns32.dir/src/fltbuf.cpp.o CMakeFiles/lns32.dir/src/frag.cpp.o CMakeFiles/lns32.dir/src/hliner.cpp.o CMakeFiles/lns32.dir/src/lbambuk.cpp.o CMakeFiles/lns32.dir/src/lns.cpp.o CMakeFiles/lns32.dir/src/lnscheck.cpp.o CMakeFiles/lns32.dir/src/lnsini.cpp.o CMakeFiles/lns32.dir/src/procline.cpp.o CMakeFiles/lns32.dir/src/puanso.cpp.o CMakeFiles/lns32.dir/src/rbambuk.cpp.o CMakeFiles/lns32.dir/src/rombabble.cpp.o CMakeFiles/lns32.dir/src/sbambuk.cpp.o CMakeFiles/lns32.dir/src/smooth.cpp.o CMakeFiles/lns32.dir/src/sweeper.cpp.o CMakeFiles/lns32.dir/src/tgreader.cpp.o  -Wl,-rpath,/var/tmp/portage/app-text/cuneiform-1.1.0-r3/work/cuneiform-1.1.0_build/cuneiform_src/Kern/cline:/var/tmp/portage/app-text/cuneiform-1.1.0-r3/work/cuneiform-1.1.0_build/cuneiform_src/Kern/std:/var/tmp/portage/app-text/cuneiform-1.1.0-r3/work/cuneiform-1.1.0_build/cuneiform_src/Kern/cfcompat: ../cline/ ../std/ ../cfcompat/ -ldl 
cd /var/tmp/portage/app-text/cuneiform-1.1.0-r3/work/cuneiform-1.1.0_build/cuneiform_src/Kern/lns32 && /usr/bin/cmake -E cmake_symlink_library
make[2]: Leaving directory '/var/tmp/portage/app-text/cuneiform-1.1.0-r3/work/cuneiform-1.1.0_build'
[ 32%] Built target lns32
make[1]: Leaving directory '/var/tmp/portage/app-text/cuneiform-1.1.0-r3/work/cuneiform-1.1.0_build'
make: *** [Makefile:149: all] Error 2
 * ERROR: app-text/cuneiform-1.1.0-r3::gentoo failed (compile phase):
 *   emake failed

Reproducible: Always

Happens each time this package is rebuilt after a --sync and emerge -qav @world.

All requested info are in the attachment
Comment 1 Jean-Claude Aciman 2020-12-20 08:19:56 UTC
Created attachment 678858 [details]
all requested files


Comment 2 Jonas Stein gentoo-dev 2020-12-20 13:26:08 UTC
is this a duplicate of 707636?
Comment 3 Jean-Claude Aciman 2020-12-21 13:26:35 UTC
(In reply to Jonas Stein from comment #2)
> is this a duplicate of 707636?

Absolutely no. I checked with the build.log from 707636 and it is a different issue.

Thank you for checking it.

I don't understand why it happens as it is a forced rebuild after an emerge --sync, so it has already been built ok and the version/revision did not change.
Comment 4 Jonas Stein gentoo-dev 2021-01-25 01:50:31 UTC
The log looks like a bug, which is detected since gcc-10 (see 705764)
Comment 5 Larry the Git Cow gentoo-dev 2021-02-12 13:44:58 UTC
The bug has been closed via the following commit(s):

commit e81771fa9ff1f899e22c045f20cb724815db8a43
Author:     Jakov Smolic <>
AuthorDate: 2021-02-11 19:34:23 +0000
Commit:     Ben Kohler <>
CommitDate: 2021-02-12 13:44:36 +0000

    app-text/cuneiform: Port to EAPI 7
    * Apply gcc-10 workaround (dead upstream)
    Signed-off-by: Jakov Smolic <>
    Signed-off-by: Ben Kohler <>

 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(-)