Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 656310 Details for
Bug 738662
dev-ruby/facter-3.14.24 fails tests
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
1-CMakeError.log
1-CMakeError.log (text/plain), 3.41 KB, created by
Agostino Sarubbo
on 2020-08-23 05:01:45 UTC
(
hide
)
Description:
1-CMakeError.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2020-08-23 05:01:45 UTC
Size:
3.41 KB
patch
obsolete
>Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: >Change Dir: /var/tmp/portage/dev-ruby/facter-3.14.12/work/facter-3.14.12_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_76bd0 && [1/2] Building C object CMakeFiles/cmTC_76bd0.dir/src.c.o >[2/2] Linking C executable cmTC_76bd0 >FAILED: cmTC_76bd0 >: && /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DCMAKE_HAVE_LIBC_PTHREAD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -rdynamic CMakeFiles/cmTC_76bd0.dir/src.c.o -o cmTC_76bd0 && : >ld.lld: error: undefined symbol: pthread_create >>>> referenced by src.c >>>> CMakeFiles/cmTC_76bd0.dir/src.c.o:(main) > >ld.lld: error: undefined symbol: pthread_detach >>>> referenced by src.c >>>> CMakeFiles/cmTC_76bd0.dir/src.c.o:(main) > >ld.lld: error: undefined symbol: pthread_cancel >>>> referenced by src.c >>>> CMakeFiles/cmTC_76bd0.dir/src.c.o:(main) > >ld.lld: error: undefined symbol: pthread_join >>>> referenced by src.c >>>> CMakeFiles/cmTC_76bd0.dir/src.c.o:(main) >clang-10: error: linker command failed with exit code 1 (use -v to see invocation) >ninja: build stopped: subcommand failed. > > >Source file was: >#include <pthread.h> > >void* test_func(void* data) >{ > return data; >} > >int main(void) >{ > pthread_t thread; > pthread_create(&thread, NULL, test_func, NULL); > pthread_detach(thread); > pthread_cancel(thread); > pthread_join(thread, NULL); > pthread_atfork(NULL, NULL, NULL); > pthread_exit(NULL); > > return 0; >} > >Determining if the function pthread_create exists in the pthreads failed with the following output: >Change Dir: /var/tmp/portage/dev-ruby/facter-3.14.12/work/facter-3.14.12_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_34184 && [1/2] Building C object CMakeFiles/cmTC_34184.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_34184 >FAILED: cmTC_34184 >: && /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -rdynamic CMakeFiles/cmTC_34184.dir/CheckFunctionExists.c.o -o cmTC_34184 -lpthreads && : >ld.lld: error: unable to find library -lpthreads >clang-10: error: linker command failed with exit code 1 (use -v to see invocation) >ninja: build stopped: subcommand failed. > > > >Determining if the function closefrom exists in the c failed with the following output: >Change Dir: /var/tmp/portage/dev-ruby/facter-3.14.12/work/facter-3.14.12_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_ffe22 && [1/2] Building C object CMakeFiles/cmTC_ffe22.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_ffe22 >FAILED: cmTC_ffe22 >: && /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DCHECK_FUNCTION_EXISTS=closefrom -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -rdynamic CMakeFiles/cmTC_ffe22.dir/CheckFunctionExists.c.o -o cmTC_ffe22 -lc && : >ld.lld: error: undefined symbol: closefrom >>>> referenced by CheckFunctionExists.c >>>> CMakeFiles/cmTC_ffe22.dir/CheckFunctionExists.c.o:(main) >clang-10: error: linker command failed with exit code 1 (use -v to see invocation) >ninja: build stopped: subcommand failed. > > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 738662
:
656308
| 656310 |
656312
|
656314