reassign 570686 buildd.debian.org
retitle 570686 buildd.debian.org: Please add makedumpfile to 
Packages-arch-specific
severity 570686 normal
tags 570686 + patch
thanks

Hi Kurt,

On Sat, Feb 20, 2010 at 07:16:09PM +0100, Kurt Roeckx wrote:
> Source: makedumpfile
> Version: 1.3.4-1
> Severity: important
> 
> Hi,
> 
> There was an error while trying to autobuild your package:
> 
> > Start Time: 20091217-2025
> 
> [...]
> 
> > Build-Depends: debhelper (>= 7.0.50), libelf-dev, libz-dev, libdw-dev (>= 
> > 0.141-2ubuntu1), quilt (>= 0.46-7)
> 
> [...]
> 
> > Toolchain package versions: libc6.1-dev_2.10.2-2 linux-libc-dev_2.6.32-1 
> > g++-4.4_4.4.2-5 gcc-4.4_4.4.2-5 binutils_2.20-4 libstdc++6_4.4.2-5 
> > libstdc++6-4.4-dev_4.4.2-5
> 
> [...]
> 
> > gcc -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
> > -D_LARGEFILE64_SOURCE -DVERSION='"1.3.4"' -DRELEASE_DATE='"09 October 
> > 2009"' -D__alpha__ x86.o x86_64.o ia64.o ppc64.o -o makedumpfile 
> > makedumpfile.c -ldw -lelf -lz
> > makedumpfile.c: In function 'readmem':
> > makedumpfile.c:414: warning: implicit declaration of function 
> > 'vaddr_to_paddr'
> > makedumpfile.c:440: warning: implicit declaration of function 'kvtop_xen'
> > makedumpfile.c: In function 'is_kvaddr':
> > makedumpfile.c:1454: error: 'KVBASE' undeclared (first use in this function)
> > makedumpfile.c:1454: error: (Each undeclared identifier is reported only 
> > once
> > makedumpfile.c:1454: error: for each function it appears in.)
> > makedumpfile.c: In function 'get_die_type':
> > makedumpfile.c:1489: warning: 'dwarf_formref' is deprecated (declared at 
> > /usr/include/elfutils/libdw.h:433)
> > makedumpfile.c: In function 'get_debug_info':
> > makedumpfile.c:1975: warning: 'elf_getshstrndx' is deprecated (declared at 
> > /usr/include/libelf.h:275)
> > makedumpfile.c: In function 'initial':
> > makedumpfile.c:3791: warning: implicit declaration of function 
> > 'get_phys_base'
> > makedumpfile.c:3872: warning: implicit declaration of function 
> > 'get_machdep_info'
> > makedumpfile.c:3878: warning: implicit declaration of function 
> > 'get_versiondep_info'
> > makedumpfile.c: In function 'get_xen_info':
> > makedumpfile.c:6317: warning: implicit declaration of function 
> > 'get_xen_info_arch'
> > make[1]: *** [makedumpfile] Error 1
> > make[1]: Leaving directory 
> > `/build/buildd-makedumpfile_1.3.4-1-alpha-MSCLu3/makedumpfile-1.3.4'
> > dh_auto_build: make -j1 returned exit code 2
> > make: *** [build] Error 2
> > dpkg-buildpackage: error: debian/rules build gave error exit status 2
> 
> A full build log can be found at:
> http://buildd.debian.org/build.php?arch=alpha&pkg=makedumpfile&ver=1.3.4-1

makedumpfile does not have support for alpha (a fact which has always
been documented by including only the actually supported architectures
in the control file).  It sounds like Packages-arch-specific needs to be
updated.

buildd team: makedumpfile supports a subset of architectures that Linux
runs on, as it needs explicit knowledge of the location and layout of
certain kernel structures on each architecture.  I've attached a patch
to update Packages-arch-specific for makedumpfile.

Kurt: if you would specifically like to see makedumpfile support alpha,
please file a new wishlist bug.  See makedumpfile.h, ia64.c, ppc64.c,
x86_64.c, and x86.c for examples of what would need to happen to support
a new architecture.

-- 
John Wright <j...@debian.org>
From adff3ad46f9e1330db02d06181defd34b410bbc2 Mon Sep 17 00:00:00 2001
From: John Wright <j...@debian.org>
Date: Sun, 21 Mar 2010 01:07:25 -0600
Subject: [PATCH] Add makedumpfile

makedumpfile supports a subset of architectures that Linux runs on, as
it needs explicit knowledge of the location and layout of certain kernel
structures on each architecture.
---
 Packages-arch-specific |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Packages-arch-specific b/Packages-arch-specific
index 46495cf..cd12239 100644
--- a/Packages-arch-specific
+++ b/Packages-arch-specific
@@ -201,6 +201,7 @@ ltrace: i386 m68k arm armel powerpc s390 sparc ia64 amd64 lpia        # [p] need
 %lustre:  i386 powerpc amd64 ia64				      # ANAIS, no upstream support
 %mac-fdisk: m68k powerpc 					      # Apple Mac fdisk
 %m68kboot: m68k							      # m68k boot loader
+%makedumpfile: amd64 i386 ia64 powerpc				      # not yet ported to other platforms
 mbr: i386 amd64 lpia                                                  # i386 boot loader
 %mcelog: i386 amd64						      # [ANAIS]
 memtest86: i386 amd64 lpia kfreebsd-i386 kfreebsd-amd64 hurd-i386     # i386 memory tester (bypasses OS entirely)
-- 
1.5.6.5

Attachment: signature.asc
Description: Digital signature

Reply via email to