Date: Thu, 24 May 2018 09:09:09 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 228308] [NEW PORT] devel/kcov: ptrace-based coverage analyzer Message-ID: <bug-228308-7788-ELUSRH1Uvh@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-228308-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-228308-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228308 Tobias Kortkamp <tobik@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|ports-bugs@FreeBSD.org |asomers@FreeBSD.org Status|New |Open --- Comment #4 from Tobias Kortkamp <tobik@freebsd.org> --- (In reply to Alan Somers from comment #3) Looks better, but OPTIONS_DEFINE=3DDOCS should be before post-stage or PORTDOCS (see [1]) and SHEBANG_GLOB doesn't need the quotes. While this builds fine on 11.1/amd64, it doesn't build on 11.1/i386: /wrkdirs/usr/ports/devel/kcov/work/kcov-35-57-g69dfa9c/src/engines/ptrace_f= reebsd.cc:22:3: error: Unsupported architecture # error Unsupported architecture ^ /wrkdirs/usr/ports/devel/kcov/work/kcov-35-57-g69dfa9c/src/engines/ptrace_f= reebsd.cc:31:3: error: Unsupported architecture # error Unsupported architecture ^ 2 errors generated. And not on 10.4/i386: FAILED: src/CMakeFiles/kcov.dir/parsers/elf.cc.o=20 /usr/bin/c++ -DPACKAGE -DPACKAGE_VERSION -I/wrkdirs/usr/ports/devel/kcov/work/kcov-35-57-g69dfa9c/src/include -I/wrkdirs/usr/ports/devel/kcov/work/kcov-35-57-g69dfa9c/src/../external/ll= db/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -std=3Dc++0x -g -Wall -D_GLIBCXX_USE_NANOSLEEP -DKCOV_LIBRARY_PREFIX=3D/tmp -DKCOV_HAS_LIBBFD=3D0 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD = -MT src/CMakeFiles/kcov.dir/parsers/elf.cc.o -MF src/CMakeFiles/kcov.dir/parsers/elf.cc.o.d -o src/CMakeFiles/kcov.dir/parsers/elf.cc.o -c /wrkdirs/usr/ports/devel/kcov/work/kcov-35-57-g69dfa9c/src/parsers/elf.cc In file included from /wrkdirs/usr/ports/devel/kcov/work/kcov-35-57-g69dfa9c/src/parsers/elf.cc:5: In file included from /usr/local/include/elfutils/libdw.h:32: In file included from /usr/local/include/gelf.h:32: /usr/local/include/libelf.h:332:8: error: unknown type name 'Elf32_Chdr' extern Elf32_Chdr *elf32_getchdr (Elf_Scn *__scn); ^ /usr/local/include/libelf.h:333:8: error: unknown type name 'Elf64_Chdr' extern Elf64_Chdr *elf64_getchdr (Elf_Scn *__scn); ^ In file included from /wrkdirs/usr/ports/devel/kcov/work/kcov-35-57-g69dfa9c/src/parsers/elf.cc:5: In file included from /usr/local/include/elfutils/libdw.h:32: /usr/local/include/gelf.h:93:9: error: unknown type name 'Elf64_Chdr' typedef Elf64_Chdr GElf_Chdr; ^ 3 errors generated. If this is expected set either NOT_FOR_ARCHS{,_REASON} or ONLY_FOR_ARCHS{,_REASON}. [1] https://www.freebsd.org/doc/en/books/porters-handbook/porting-order.html --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228308-7788-ELUSRH1Uvh>