On 05/10/17(Thu) 16:02, Christian Weisgerber wrote: > Martin Pieuchot: > > > > On amd64, two ports failed to build: devel/libdwarf and devel/valgrind. > > > > Thanks, here's an updated diff that should fix those. > > Nope, those two still fail. Full logs attached.
I added yesterday the missing defines to <sys/exec_elf.h>. While doing so I figured that devel/libelf will pick <elf.h> if it is present. So I'd like to bump it when I introduce this header. This will make it easier to deal with possible fallout. Full diff below, ok? Index: src/include/Makefile =================================================================== RCS file: /cvs/src/include/Makefile,v retrieving revision 1.220 diff -u -p -r1.220 Makefile --- src/include/Makefile 6 Oct 2017 19:58:37 -0000 1.220 +++ src/include/Makefile 9 Oct 2017 07:54:16 -0000 @@ -10,9 +10,10 @@ .include <bsd.own.mk> FILES= a.out.h ar.h asr.h assert.h bitstring.h blf.h bsd_auth.h \ - complex.h cpio.h ctype.h curses.h db.h dirent.h disktab.h \ - dlfcn.h elf_abi.h err.h errno.h fenv.h float.h fnmatch.h fstab.h fts.h \ - ftw.h getopt.h glob.h grp.h icdb.h ieeefp.h ifaddrs.h inttypes.h \ + complex.h cpio.h ctype.h curses.h db.h dirent.h disktab.h dlfcn.h \ + elf.h elf_abi.h err.h errno.h \ + fenv.h float.h fnmatch.h fstab.h fts.h ftw.h \ + getopt.h glob.h grp.h icdb.h ieeefp.h ifaddrs.h inttypes.h \ iso646.h kvm.h langinfo.h libgen.h limits.h link.h link_elf.h \ locale.h login_cap.h math.h md5.h memory.h ndbm.h netdb.h netgroup.h \ nlist.h nl_types.h paths.h poll.h pwd.h ranlib.h readpassphrase.h \ Index: src/include/elf.h =================================================================== RCS file: src/include/elf.h diff -N src/include/elf.h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ src/include/elf.h 9 Aug 2017 15:49:08 -0000 @@ -0,0 +1,12 @@ +/* $OpenBSD$ */ + +/* + * Public domain. + */ + +#ifndef _ELF_H_ +#define _ELF_H_ + +#include <sys/exec_elf.h> + +#endif /* _ELF_H_ */ Index: ports/devel/libelf/Makefile =================================================================== RCS file: /cvs/ports/devel/libelf/Makefile,v retrieving revision 1.12 diff -u -p -r1.12 Makefile --- ports/devel/libelf/Makefile 15 Aug 2015 08:03:20 -0000 1.12 +++ ports/devel/libelf/Makefile 11 Oct 2017 12:07:10 -0000 @@ -6,7 +6,7 @@ PORTROACH_COMMENT=0.8.14 is actually 0.8 COMMENT= read, modify, create ELF files on any arch DISTNAME= libelf-0.8.13 -REVISION= 3 +REVISION= 4 MAINTAINER= Jasper Lievisse Adriaanse <jas...@openbsd.org> SHARED_LIBS= elf 1.1