Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 675211 Details for
Bug 757006
app-text/poppler-20.11.0 fails to build [Prefix]: CMake Error at CMakeLists.txt:252
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
CMakeError.log
CMakeError.log (text/x-log), 3.22 KB, created by
Steven Trogdon
on 2020-11-26 23:16:06 UTC
(
hide
)
Description:
CMakeError.log
Filename:
MIME Type:
Creator:
Steven Trogdon
Created:
2020-11-26 23:16:06 UTC
Size:
3.22 KB
patch
obsolete
>Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: >Change Dir: /storage/strogdon/gentoo-rap/var/tmp/portage/app-text/poppler-20.11.0/work/poppler-20.11.0_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/storage/strogdon/gentoo-rap/usr/bin/ninja cmTC_f49c6 && [1/2] Building C object CMakeFiles/cmTC_f49c6.dir/src.c.o >[2/2] Linking C executable cmTC_f49c6 >FAILED: cmTC_f49c6 >: && /storage/strogdon/gentoo-rap/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -O2 -pipe -std=c99 -DCMAKE_HAVE_LIBC_PTHREAD -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_f49c6.dir/src.c.o -o cmTC_f49c6 && : >/storage/strogdon/gentoo-rap/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_f49c6.dir/src.c.o: in function `main': >src.c:(.text.startup+0x23): undefined reference to `pthread_create' >/storage/strogdon/gentoo-rap/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x2c): undefined reference to `pthread_detach' >/storage/strogdon/gentoo-rap/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x35): undefined reference to `pthread_cancel' >/storage/strogdon/gentoo-rap/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x40): undefined reference to `pthread_join' >collect2: error: ld returned 1 exit status >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; >} > >Performing C++ SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output: >Change Dir: /storage/strogdon/gentoo-rap/var/tmp/portage/app-text/poppler-20.11.0/work/poppler-20.11.0_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/storage/strogdon/gentoo-rap/usr/bin/ninja cmTC_221e5 && [1/2] Building CXX object CMakeFiles/cmTC_221e5.dir/src.cxx.o >FAILED: CMakeFiles/cmTC_221e5.dir/src.cxx.o >/storage/strogdon/gentoo-rap/usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -O2 -pipe -Wnon-virtual-dtor -Woverloaded-virtual -DICONV_SECOND_ARGUMENT_IS_CONST -o CMakeFiles/cmTC_221e5.dir/src.cxx.o -c src.cxx >src.cxx: In function âint main()â: >src.cxx:9:17: error: invalid conversion from âconst char**â to âchar**â [-fpermissive] > 9 | iconv(conv, &in, &ilen, &out, &olen); > | ^~~ > | | > | const char** >In file included from src.cxx:2: >/storage/strogdon/gentoo-rap/usr/include/iconv.h:42:54: note: initializing argument 2 of âsize_t iconv(iconv_t, char**, size_t*, char**, size_t*)â > 42 | extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, > | ~~~~~~~~~~~~~~~~~~^~~~~~~ >ninja: build stopped: subcommand failed. > > >Source file was: > > #include <iconv.h> > int main(){ > iconv_t conv = 0; > const char* in = 0; > size_t ilen = 0; > char* out = 0; > size_t olen = 0; > iconv(conv, &in, &ilen, &out, &olen); > return 0; > } >
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 757006
:
675205
| 675211 |
675214
|
675217