From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 20BC03858C00; Sun, 3 Sep 2023 16:24:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 20BC03858C00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1693758290; bh=ZWJ8flZ9lUEAol47OXpCcT0D+VIlolqaJqhwsP8QS8M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=PsGIqmTe8qGt73WD+Tw0d59RJK7YGX3o/vkGO1bRlwf/JFuH5LGJxWPg89wiSUCeS W/EIpaBCcidWzoFJeE9chwE+4wTM1uwjDWd/x30I69EhGjfqkHwE0r8v9t91gD8L/R BPryfQghYEnQtPH3jhgtdfjWtouwE8jyVyLpLfns= From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug general/30812] ../libelf/gelf.h:32:10: fatal error: libelf.h: No such file or directory Date: Sun, 03 Sep 2023 16:24:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: general X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: testsuite X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mark at klomp dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30812 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at sourceware dot org |mark at klomp dot o= rg --- Comment #2 from Mark Wielaard --- The following seems to work: diff --git a/tests/Makefile.am b/tests/Makefile.am index 49069ccf..32b18e6e 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -807,9 +807,14 @@ nvidia_extended_linemap_libdw_LDADD =3D $(libelf) $(li= bdw) # We want to test the libelf headers against the system elf.h header. # Don't include any -I CPPFLAGS. Except when we install our own elf.h. +# For the gelf test we do want our own libelf.h, but nothing else. +BUILT_SOURCES =3D libelf.h +CLEANFILES +=3D libelf.h +libelf.h: $(top_srcdir)/libelf/libelf.h + cp $< $@ if !INSTALL_ELFH system_elf_libelf_test_CPPFLAGS =3D -system_elf_gelf_test_CPPFLAGS =3D +system_elf_gelf_test_CPPFLAGS =3D -I. else system_elf_libelf_test_CPPFLAGS =3D -I$(top_srcdir)/libelf system_elf_gelf_test_CPPFLAGS =3D -I$(top_srcdir)/libelf --=20 You are receiving this mail because: You are on the CC list for the bug.=