Summary: | dev-util/oprofile-1.4.0 - configure: error: Unable to build oprofile. Exiting. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | dead upstream | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412, 941869 | ||
Attachments: |
emerge-info.txt
dev-util:oprofile-1.4.0:20221004-070742.log emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 temp.tar.bz2 |
Description
Toralf Förster
2022-10-04 16:41:54 UTC
Created attachment 819805 [details]
emerge-info.txt
Created attachment 819808 [details]
dev-util:oprofile-1.4.0:20221004-070742.log
Created attachment 819811 [details]
emerge-history.txt
Created attachment 819814 [details]
environment
Created attachment 819817 [details]
etc.portage.tar.bz2
Created attachment 819820 [details]
logs.tar.bz2
Created attachment 819823 [details]
temp.tar.bz2
Looks like this is clang problem: clang-14: error: unsupported option '-V -o' clang-14: error: unknown argument '-qversion'; did you mean '--version'? clang-14: error: no input files clang-14: error: unknown argument '-version'; did you mean '--version'? clang-14: error: no input files ignoreme: fatal error: 'ac_nonexistent.h' file not found #include <ac_nonexistent.h> ^~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'ac_nonexistent.h' file not found #include <ac_nonexistent.h> ^~~~~~~~~~~~~~~~~~ ignoreme: error: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] pid = getpid(); ^ ignoreme: error: call to undeclared function 'syscall'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] syscall(__NR_perf_event_open, &attr, pid, 0, -1, 0); (In reply to Andrew Savchenko from comment #8) > Looks like this is clang problem: > > > ignoreme: error: call to undeclared function 'getpid'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > pid = getpid(); > ^ > ignoreme: error: call to undeclared function 'syscall'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > syscall(__NR_perf_event_open, &attr, pid, 0, > -1, 0); Not only. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d91cfaa37dac4c168de5a625a71540dbd554522 commit 2d91cfaa37dac4c168de5a625a71540dbd554522 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2024-11-17 19:55:03 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2024-11-17 19:55:41 +0000 dev-util/oprofile: fix implicit declarations in configure Closes: https://bugs.gentoo.org/875086 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> dev-util/oprofile/files/config-implicit.patch | 11 +++++++++++ dev-util/oprofile/oprofile-1.4.0.ebuild | 1 + 2 files changed, 12 insertions(+) |