Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 776976 - dev-libs/ffcall-2.1 error: .libs/avcall.o: No such file or directory when using rlibtool
Summary: dev-libs/ffcall-2.1 error: .libs/avcall.o: No such file or directory when usi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-03-18 00:04 UTC by Alessandro Barbieri
Modified: 2022-07-15 01:32 UTC (History)
2 users (show)

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


Attachments
ffcall-2.1:20210317-233947.log (ffcall-2.1:20210317-233947.log,21.84 KB, text/plain)
2021-03-18 00:05 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2021-03-18 00:04:55 UTC
cd avcall && make all
make[1]: Entering directory '/var/tmp/portage/dev-libs/ffcall-2.1/work/libffcall-2.1/avcall'
case "linux-gnu" in \
  cygwin* | mingw*) variant='-windows';; \
  *) variant='';; \
esac; \
x86_64-pc-linux-gnu-gcc -E `if test false = true; then echo '-DASM_UNDERSCORE'; fi` -I./../common - < ./avcall-x86_64${variant}-macro.S | grep -v '^ *#line' | grep -v '^#' | sed -e 's,% ,%,g' -e 's,\. ,.,g' -e 's,@ ,@,g' -e 's,//.*$,,' -e 's/##//g' > avcall-x86_64.s
rlibtool --mode=compile x86_64-pc-linux-gnu-gcc -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fPIC -x none -c avcall-x86_64.s
rlibtool: compile: x86_64-pc-linux-gnu-gcc -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fPIC -x none -c avcall-x86_64.s -DPIC -fPIC -o .libs/avcall-x86_64.o
rm -f avcall.lo avcall.o
ln avcall-x86_64.lo avcall.lo
if test -f avcall-x86_64.o; then ln avcall-x86_64.o avcall.o; fi
rlibtool --mode=compile x86_64-pc-linux-gnu-gcc -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fPIC -I. -I. -I.. -I./..  -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fPIC -c ./avcall-libapi.c
rlibtool: compile: x86_64-pc-linux-gnu-gcc -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fPIC -I. -I. -I.. -I./.. -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fPIC -c ./avcall-libapi.c -DPIC -fPIC -o .libs/avcall-libapi.o
rlibtool --mode=compile x86_64-pc-linux-gnu-gcc -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fPIC -I./../common  -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fPIC -c ./avcall-structcpy.c
rlibtool: compile: x86_64-pc-linux-gnu-gcc -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fPIC -I./../common -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fPIC -c ./avcall-structcpy.c -DPIC -fPIC -o .libs/avcall-structcpy.o
rlibtool --mode=compile x86_64-pc-linux-gnu-gcc -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fPIC -I. -I. -I.. -I./..  -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fPIC -c ./avcall-compat.c
rlibtool: compile: x86_64-pc-linux-gnu-gcc -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fPIC -I. -I. -I.. -I./.. -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fPIC -c ./avcall-compat.c -DPIC -fPIC -o .libs/avcall-compat.o
rlibtool --mode=link x86_64-pc-linux-gnu-gcc -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fPIC -o libavcall.la -rpath /usr/lib64 -no-undefined -export-symbols-regex '^avcall_|^__builtin_avcall$' -version-info 1:1:0 avcall.lo avcall-libapi.lo avcall-structcpy.lo avcall-compat.lo -Wl,-O1 -Wl,--as-needed
rlibtool: link: ln -s /dev/null .libs/libavcall.a.disabled
rlibtool: link: x86_64-pc-linux-gnu-gcc .libs/avcall.o .libs/avcall-libapi.o .libs/avcall-structcpy.o .libs/avcall-compat.o -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fPIC -Wl,-O1 -Wl,--as-needed -shared -fPIC -Wl,--no-undefined -Wl,-soname -Wl,libavcall.so.1 -o .libs/libavcall.so.1.0.1
x86_64-pc-linux-gnu-gcc: error: .libs/avcall.o: No such file or directory
rlibtool: exec error upon slbt_exec_link_create_library(), line 1446: (see child process error messages).
rlibtool: < returned to > slbt_exec_link(), line 1836.
make[1]: *** [Makefile:250: libavcall.la] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-libs/ffcall-2.1/work/libffcall-2.1/avcall'
make: *** [Makefile:65: all-subdirs] Error 2
 * ERROR: dev-libs/ffcall-2.1::gentoo failed (compile phase):
 *   emake failed
Comment 1 Alessandro Barbieri 2021-03-18 00:05:15 UTC
Created attachment 692193 [details]
ffcall-2.1:20210317-233947.log

buildlog
Comment 2 orbea 2021-03-18 15:51:50 UTC
This build system has serious problems which probably should be fixed first... This is probably a good candidate for sofort.

https://dev.midipix.org/zippy/sofort
Comment 3 Larry the Git Cow gentoo-dev 2022-07-15 01:26:27 UTC
The bug has been referenced in the following commit(s):

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

commit b06fbe382208ce06556038081c9990e2375b123f
Author:     orbea <orbea@riseup.net>
AuthorDate: 2022-07-14 00:57:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-15 01:19:26 +0000

    dev-libs/ffcall: Fix the build with slibtool
    
    Bug: https://bugs.gentoo.org/776976
    Upstream-ML: https://lists.gnu.org/archive/html/libffcall/2022-07/msg00000.html
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/26394
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/ffcall/ffcall-2.4-r1.ebuild            | 67 +++++++++++++++++++
 dev-libs/ffcall/files/ffcall-2.4-slibtool.patch | 86 +++++++++++++++++++++++++
 2 files changed, 153 insertions(+)