Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 760830

Summary: app-text/cuneiform-1.1.0-r3 failed to compile during link CXX shared library phase at 32% progress
Product: Gentoo Linux Reporter: Jean-Claude Aciman <jcl.aciman>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal Keywords: NeedPatch
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=707636
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: all requested files

Description Jean-Claude Aciman 2020-12-20 08:18:20 UTC
[ 32%] Linking CXX shared library liblns32.so
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,liblns32.so.0 -o liblns32.so.1.1.0 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/libcline.so.1.1.0 ../std/libstd32.so.1.1.0 ../cfcompat/libcfcompat.so.1.1.0 -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 liblns32.so.1.1.0 liblns32.so.0 liblns32.so
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

Contents:

build.log
cuneiform.info
cuneiform.pqv
environment
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):

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