rrthomas / recode

Charset converter tool and library
GNU General Public License v3.0
130 stars 12 forks source link

BUILDSTDERR: clang-7: error: no such file or directory: './.libs/librecode.so' #14

Closed tpgxyz closed 5 years ago

tpgxyz commented 5 years ago

Can't build it. Here are more logs http://file-store.openmandriva.org/api/v1/file_stores/777c895b65d45922bd80dfc0c2e28f24edec286e.log?show=true

make[3]: Entering directory '/builddir/build/BUILD/recode-3.7.1/src'
/bin/sh ../libtool  --tag=CC   --mode=link /usr/bin/clang  -Os -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4  -fPIC  -D_REENTRANT -fPIC --rtlib=compiler-rt -D_REENTRANT -fPIC  -Os -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4  -fPIC  -D_REENTRANT -fPIC --rtlib=compiler-rt -Wl,-O2  -Wl,--no-undefined   -o recode main.o mixed.o librecode.la 
libtool: link: /usr/bin/clang -Os -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -D_REENTRANT -fPIC --rtlib=compiler-rt -D_REENTRANT -fPIC -Os -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -D_REENTRANT -fPIC --rtlib=compiler-rt -Wl,-O2 -Wl,--no-undefined -o .libs/recode main.o mixed.o  ./.libs/librecode.so
make[3]: Leaving directory '/builddir/build/BUILD/recode-3.7.1/src'
BUILDSTDERR: clang-7: error: no such file or directory: './.libs/librecode.so'
BUILDSTDERR: make[3]: *** [Makefile:1668: recode] Error 1
BUILDSTDERR: make[2]: *** [Makefile:2157: recode.1] Error 2
BUILDSTDERR: make[2]: *** Waiting for unfinished jobs....
rrthomas commented 5 years ago

Again, this doesn't look like a problem with recode. Sorry, I don't have more time to help you debug your build.

rrthomas commented 5 years ago

(I had a long hard look at your build logs and I don't understand what went wrong: it looks as though the "missing" file was created just before the error message saying it was missing. If you can't work it out either, I suggest you try a non-parallel build; it is possible there is some bug in the dependencies that means a parallel build doesn't always work, though it works for me, and I can't see any obvious problem: specifically, recode definitely depends on librecode.la.)