Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 683593 Details for
Bug 766003
sci-chemistry/openbabel-2.4.1-r1 fails to compile
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), 6.37 KB, created by
Agostino Sarubbo
on 2021-01-18 15:08:33 UTC
(
hide
)
Description:
1-CMakeError.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2021-01-18 15:08:33 UTC
Size:
6.37 KB
patch
obsolete
>Determining if the include file conio.h exists failed with the following output: >Change Dir: /var/tmp/portage/sci-chemistry/openbabel-2.4.1-r1/work/openbabel-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_cfb98 && [1/2] Building C object CMakeFiles/cmTC_cfb98.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_cfb98.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=x86-64 -frecord-gcc-switches -o CMakeFiles/cmTC_cfb98.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: conio.h: No such file or directory > 1 | #include <conio.h> > | ^~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file rpc/xdr.h exists failed with the following output: >Change Dir: /var/tmp/portage/sci-chemistry/openbabel-2.4.1-r1/work/openbabel-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_3d18f && [1/2] Building C object CMakeFiles/cmTC_3d18f.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_3d18f.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=x86-64 -frecord-gcc-switches -o CMakeFiles/cmTC_3d18f.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: rpc/xdr.h: No such file or directory > 1 | #include <rpc/xdr.h> > | ^~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the rint exist failed with the following output: >Change Dir: /var/tmp/portage/sci-chemistry/openbabel-2.4.1-r1/work/openbabel-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_2d9ec && [1/2] Building C object CMakeFiles/cmTC_2d9ec.dir/CheckSymbolExists.c.o >[2/2] Linking C executable cmTC_2d9ec >FAILED: cmTC_2d9ec >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_2d9ec.dir/CheckSymbolExists.c.o -o cmTC_2d9ec && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_2d9ec.dir/CheckSymbolExists.c.o: in function `main': >CheckSymbolExists.c:(.text.startup+0x3): undefined reference to `rint' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > >File /var/tmp/portage/sci-chemistry/openbabel-2.4.1-r1/work/openbabel-2.4.1_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: >/* */ >#include <math.h> > >int main(int argc, char** argv) >{ > (void)argv; >#ifndef rint > return ((int*)(&rint))[argc]; >#else > (void)argc; > return 0; >#endif >} >Determining if the sranddev exist failed with the following output: >Change Dir: /var/tmp/portage/sci-chemistry/openbabel-2.4.1-r1/work/openbabel-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_9a522 && [1/2] Building C object CMakeFiles/cmTC_9a522.dir/CheckSymbolExists.c.o >FAILED: CMakeFiles/cmTC_9a522.dir/CheckSymbolExists.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=x86-64 -frecord-gcc-switches -o CMakeFiles/cmTC_9a522.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c >CheckSymbolExists.c: In function âmainâ: >CheckSymbolExists.c:8:19: error: âsranddevâ undeclared (first use in this function) > 8 | return ((int*)(&sranddev))[argc]; > | ^~~~~~~~ >CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in >ninja: build stopped: subcommand failed. > > >File /var/tmp/portage/sci-chemistry/openbabel-2.4.1-r1/work/openbabel-2.4.1_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: >/* */ >#include <stdlib.h> > >int main(int argc, char** argv) >{ > (void)argv; >#ifndef sranddev > return ((int*)(&sranddev))[argc]; >#else > (void)argc; > return 0; >#endif >} >Performing C SOURCE FILE Test SCANDIR_NEEDS_CONST failed with the following output: >Change Dir: /var/tmp/portage/sci-chemistry/openbabel-2.4.1-r1/work/openbabel-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_97008 && [1/2] Building C object CMakeFiles/cmTC_97008.dir/src.c.o >FAILED: CMakeFiles/cmTC_97008.dir/src.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DSCANDIR_NEEDS_CONST -DNDEBUG -O2 -pipe -march=x86-64 -frecord-gcc-switches -Werror -o CMakeFiles/cmTC_97008.dir/src.c.o -c src.c >src.c: In function âmainâ: >src.c:7:46: error: passing argument 3 of âscandirâ from incompatible pointer type [-Werror=incompatible-pointer-types] > 7 | int count = scandir ("./", &entries_pp, matchFiles, 0); > | ^~~~~~~~~~ > | | > | int (*)(struct dirent *) >In file included from src.c:3: >/usr/include/dirent.h:257:13: note: expected âint (*)(const struct dirent *)â but argument is of type âint (*)(struct dirent *)â > 257 | int (*__selector) (const struct dirent *), > | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cc1: all warnings being treated as errors >ninja: build stopped: subcommand failed. > > >Source file was: > > #include <sys/types.h> > #include <dirent.h> > int main(){ > extern int matchFiles (struct dirent *entry_p); > struct dirent **entries_pp; > int count = scandir ("./", &entries_pp, matchFiles, 0); > return count; > } > >Performing C++ SOURCE FILE Test HAVE_STD_TR1_SHARED_PTR failed with the following output: >Change Dir: /var/tmp/portage/sci-chemistry/openbabel-2.4.1-r1/work/openbabel-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_f0901 && [1/2] Building CXX object CMakeFiles/cmTC_f0901.dir/src.cxx.o >FAILED: CMakeFiles/cmTC_f0901.dir/src.cxx.o >/usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_STD_TR1_SHARED_PTR -DNDEBUG -O2 -pipe -march=x86-64 -frecord-gcc-switches -Werror -o CMakeFiles/cmTC_f0901.dir/src.cxx.o -c src.cxx >src.cxx: In function âint main()â: >src.cxx:2:45: error: âstd::tr1â has not been declared > 2 | int main(){ std::tr1::shared_ptr<int> p; return 0; } > | ^~~ >src.cxx:2:61: error: expected primary-expression before âintâ > 2 | int main(){ std::tr1::shared_ptr<int> p; return 0; } > | ^~~ >ninja: build stopped: subcommand failed. > > >Source file was: >#include <memory> > int main(){ std::tr1::shared_ptr<int> p; 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 766003
:
683590
| 683593 |
683596