Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.3.2: Tests failing to find files to move #66

Open
dvzrv opened this issue Sep 4, 2022 · 4 comments
Open

1.3.2: Tests failing to find files to move #66

dvzrv opened this issue Sep 4, 2022 · 4 comments

Comments

@dvzrv
Copy link

dvzrv commented Sep 4, 2022

Hi! Upon trying to build 1.3.2 for the Arch Linux package I ran into the following issues:

Making check in src
make[1]: Entering directory '/build/libltc/src/libltc-1.3.2/src'
make[1]: Leaving directory '/build/libltc/src/libltc-1.3.2/src'
Making check in doc
make[1]: Entering directory '/build/libltc/src/libltc-1.3.2/doc'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/build/libltc/src/libltc-1.3.2/doc'
Making check in tests
make[1]: Entering directory '/build/libltc/src/libltc-1.3.2/tests'
gcc -DHAVE_CONFIG_H -I. -I../src -I./../src   -g -Wall -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto -MT ltcencode-ltcencode.o -MD -MP -MF .deps/ltcencode-ltcencode.Tpo -c -o ltce
ncode-ltcencode.o `test -f 'ltcencode.c' || echo './'`ltcencode.c
gcc -DHAVE_CONFIG_H -I. -I../src -I./../src   -g -Wall -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto -MT ltcdecode-ltcdecode.o -MD -MP -MF .deps/ltcdecode-ltcdecode.Tpo -c -o ltcd
ecode-ltcdecode.o `test -f 'ltcdecode.c' || echo './'`ltcdecode.c
gcc -DHAVE_CONFIG_H -I. -I../src -I./../src   -g -Wall -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto -MT ltcloop-ltcloop.o -MD -MP -MF .deps/ltcloop-ltcloop.Tpo -c -o ltcloop-ltcl
oop.o `test -f 'ltcloop.c' || echo './'`ltcloop.c
make  ltcencode ltcdecode ltcloop
make[2]: Entering directory '/build/libltc/src/libltc-1.3.2/tests'
gcc -DHAVE_CONFIG_H -I. -I../src -I./../src   -g -Wall -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto -MT ltcencode-ltcencode.o -MD -MP -MF .deps/ltcencode-ltcencode.Tpo -c -o ltce
ncode-ltcencode.o `test -f 'ltcencode.c' || echo './'`ltcencode.c
gcc -DHAVE_CONFIG_H -I. -I../src -I./../src   -g -Wall -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto -MT ltcdecode-ltcdecode.o -MD -MP -MF .deps/ltcdecode-ltcdecode.Tpo -c -o ltcd
ecode-ltcdecode.o `test -f 'ltcdecode.c' || echo './'`ltcdecode.c
gcc -DHAVE_CONFIG_H -I. -I../src -I./../src   -g -Wall -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto -MT ltcloop-ltcloop.o -MD -MP -MF .deps/ltcloop-ltcloop.Tpo -c -o ltcloop-ltcl
oop.o `test -f 'ltcloop.c' || echo './'`ltcloop.c
mv -f .deps/ltcloop-ltcloop.Tpo .deps/ltcloop-ltcloop.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc -g -Wall -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -o ltcloop ltcl
oop-ltcloop.o ../src/libltc.la -lm
mv -f .deps/ltcloop-ltcloop.Tpo .deps/ltcloop-ltcloop.Po
mv: cannot stat '.deps/ltcloop-ltcloop.Tpo': No such file or directory
make[2]: *** [Makefile:457: ltcloop-ltcloop.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/ltcencode-ltcencode.Tpo .deps/ltcencode-ltcencode.Po
mv -f .deps/ltcdecode-ltcdecode.Tpo .deps/ltcdecode-ltcdecode.Po
mv -f .deps/ltcdecode-ltcdecode.Tpo .deps/ltcdecode-ltcdecode.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc -g -Wall -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -o ltcencode lt
cencode-ltcencode.o ../src/libltc.la -lm
mv: cannot stat '.deps/ltcdecode-ltcdecode.Tpo': No such file or directory
make[2]: *** [Makefile:429: ltcdecode-ltcdecode.o] Error 1
/bin/sh ../libtool  --tag=CC   --mode=link gcc -g -Wall -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -o ltcdecode lt
cdecode-ltcdecode.o ../src/libltc.la -lm
mv -f .deps/ltcencode-ltcencode.Tpo .deps/ltcencode-ltcencode.Po
mv: cannot stat '.deps/ltcencode-ltcencode.Tpo': No such file or directory
make[2]: *** [Makefile:443: ltcencode-ltcencode.o] Error 1
make[2]: Leaving directory '/build/libltc/src/libltc-1.3.2/tests'
make[1]: *** [Makefile:560: check-am] Error 2
make[1]: *** Waiting for unfinished jobs....
libtool: link: gcc -g -Wall -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto=auto -o .libs/ltcloop ltcloop-ltcloop.o
../src/.libs/libltc.so -lm
libtool: link: gcc -g -Wall -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto=auto -o .libs/ltcencode ltcencode-ltcenco
de.o  ../src/.libs/libltc.so -lm
libtool: link: gcc -g -Wall -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto=auto -o .libs/ltcdecode ltcdecode-ltcdeco
de.o  ../src/.libs/libltc.so -lm
make[1]: Leaving directory '/build/libltc/src/libltc-1.3.2/tests'
make: *** [Makefile:452: check-recursive] Error 1
@dvzrv
Copy link
Author

dvzrv commented Sep 4, 2022

Ah, it appears the tests can no longer run with parallel jobs. Supplying -j1 fixes the issue.

@x42
Copy link
Owner

x42 commented Sep 4, 2022

I think the established pattern is

make -j X
make -j X check

@x42
Copy link
Owner

x42 commented Sep 4, 2022

It's odd though the test tools do depend on the library.

@dvzrv
Copy link
Author

dvzrv commented Sep 4, 2022

The build is fine with many jobs, but the tests are not.

archlinux-github pushed a commit to archlinux/svntogit-community that referenced this issue Sep 4, 2022
Remove unnecessary quotes and curly braces.
Run tests only with one job as they fail otherwise: x42/libltc#66
Add debug package.
Update maintainer info.

git-svn-id: file:///srv/repos/svn-community/svn@1292859 9fca08f4-af9d-4005-b8df-a31f2cc04f65
archlinux-github pushed a commit to archlinux/svntogit-community that referenced this issue Sep 4, 2022
Remove unnecessary quotes and curly braces.
Run tests only with one job as they fail otherwise: x42/libltc#66
Add debug package.
Update maintainer info.

git-svn-id: file:///srv/repos/svn-community/svn@1292859 9fca08f4-af9d-4005-b8df-a31f2cc04f65
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants