[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#381787: marked as done (mkvmlinuz should bail if it can't find addnote)



Your message dated Tue, 16 Jan 2007 13:47:01 +0000
with message-id <E1H6oeT-0000Bp-Vb@ries.debian.org>
and subject line Bug#381787: fixed in mkvmlinuz 30
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Subject: mkvmlinuz should bail if it can't find addnote
Package: mkvmlinuz
Version: 23

A user from Ubuntu reported a bug in mkvmlinuz's failure reporting.

mkvmlinuz terminates silently when the object dir can't be found and verbose 
mode is not set. It shouild bail and tell the user that the vmlinuz image 
could not be created.

For example:
$ mkvmlinuz -d asd

Terminated with no output while

$ mkvmlinuz -d asd -v
=== Building for sub-architecture chrp.
=== Using kernel image file /boot/vmlinux-2.6.17-5-powerpc.
=== Using initrd image file /boot/initrd.img-2.6.17-5-powerpc.
=== Release version seems to be 2.6.17-5-powerpc.
=== Using object files from asd.
=== Building a bootable compressed kernel image 
in /boot/vmlinuz-2.6.17-5-powerpc.
=== Doing build in /tmp/tmp.tkscvv6085.
=== Creating compressed initrd image initrd.gz...
cp -p /boot/initrd.img-2.6.17-5-powerpc /tmp/tmp.tkscvv6085/initrd.gz
=== Creating compressed kernel image vmlinux.gz...
strip -s -R .comment /boot/vmlinux-2.6.17-5-powerpc -o /tmp/tmp.tkscvv6085/vmlinux
gzip --force --best /tmp/tmp.tkscvv6085/vmlinux
=== Putting everything into ELF image file image.o...
objcopy 
asd/mkvmlinuz-kernel-vmlinux.strip.o /tmp/tmp.tkscvv6085/dummy_kernel.o --add-section=.kernel:vmlinux.strip=/tmp/tmp.tkscvv6085/vmlinux.gz --set-section-flags=.kernel:vmlinux.strip=contents,alloc,load,readonly,data
objcopy: 'asd/mkvmlinuz-kernel-vmlinux.strip.o': No such file
objcopy: error: the input file 'asd/mkvmlinuz-kernel-vmlinux.strip.o' is empty
objcopy 
asd/mkvmlinuz-kernel-initrd.o /tmp/tmp.tkscvv6085/dummy_initrd.o --add-section=.kernel:initrd=/tmp/tmp.tkscvv6085/initrd.gz --set-section-flags=.kernel:initrd=contents,alloc,load,readonly,data
objcopy: 'asd/mkvmlinuz-kernel-initrd.o': No such file
objcopy: error: the input file 'asd/mkvmlinuz-kernel-initrd.o' is empty
=== Creating bootable kernel image file vmlinuz.chrp...
ld -m elf32ppc -T asd/zImage.lds -o /tmp/tmp.tkscvv6085/vmlinuz.chrp 
asd/crt0.o asd/string.o asd/prom.o asd/stdio.o asd/main.o asd/div64.o 
asd/infblock.o asd/infcodes.o asd/inffast.o asd/inflate.o asd/inftrees.o 
asd/infutil.o /tmp/tmp.tkscvv6085/dummy_kernel.o /tmp/tmp.tkscvv6085/dummy_initrd.o
ld: cannot open linker script file asd/zImage.lds: No such file or directory
asd/addnote /tmp/tmp.tkscvv6085/vmlinuz.chrp
/usr/sbin/mkvmlinuz: line 26: asd/addnote: No such file or directory
=== Cleaning up...

Complains that the object files can't be found.

Posted at: https://launchpad.net/distros/ubuntu/+source/mkvmlinuz/+bug/34305


--- End Message ---
--- Begin Message ---
Source: mkvmlinuz
Source-Version: 30

We believe that the bug you reported is fixed in the latest version of
mkvmlinuz, which is due to be installed in the Debian FTP archive:

mkvmlinuz_30.dsc
  to pool/main/m/mkvmlinuz/mkvmlinuz_30.dsc
mkvmlinuz_30.tar.gz
  to pool/main/m/mkvmlinuz/mkvmlinuz_30.tar.gz
mkvmlinuz_30_powerpc.deb
  to pool/main/m/mkvmlinuz/mkvmlinuz_30_powerpc.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 381787@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurélien G�R�ME <ag@roxor.cx> (supplier of updated mkvmlinuz package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 14 Jan 2007 14:41:03 +0100
Source: mkvmlinuz
Binary: mkvmlinuz
Architecture: source powerpc
Version: 30
Distribution: unstable
Urgency: low
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Changed-By: Aurélien G�R�ME <ag@roxor.cx>
Description: 
 mkvmlinuz  - create a kernel to boot a PowerPC machine from Open Firmware
Closes: 374185 381787 401384
Changes: 
 mkvmlinuz (30) unstable; urgency=low
 .
   * Fix arithmetic syntax error. (Closes: #374185)
   * Add myself to the Uploaders field.
   * Bump Standards-Version to 3.7.2.
   * Fix some expressions in long description.
   * Fix lintian errors and warnings.
     + Add po-debconf to the Build-Depends field.
     + Depend explicitly on bash (>= 3) to avoid a simple dependency
       on an essential package.
     + Add dh_strip in debian/rules, because a binary was left
       unstripped.
     + Remove debian/conffiles as debhelper (>= 4) adds conffiles
       under /etc automatically.
     + Add the #DEBHELPER# token to debian/postinst.
     + Move debian/kernel-image.postinst to debian/kernel-image/postinst
       and debian/kernel-image.postrm to debian/kernel-image/postrm,
       because it prevents lintian from believing they are maintainer
       scripts for the packaging system.
     + Add debian/lintian.overrides for debconf-is-not-a-registry,
       because we need a debconf setting from mkvmlinuz in kernel
       scripts.
   * Fix silent failure by adding some checks. (Closes: #381787)
   * Add the XS-Vcs-Svn field.
   * Add Portuguese translation thanks to Rui Branco. (Closes: #401384)
   * Add debugging symbols during build process.
Files: 
 e1847f834236f50bfb24fe3a8cb680f6 688 devel optional mkvmlinuz_30.dsc
 766c9f91f029a970969993dd23849320 56988 devel optional mkvmlinuz_30.tar.gz
 7d9f48a2e1fac8883af7e4c9293af22f 66194 devel optional mkvmlinuz_30_powerpc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFrNYF2WTeT3CRQaQRAtDmAJ43xpfvbtLIIdpyKAqOOjnWm5jZ1QCfekMl
j07rG+TCrGm5BDTXvyMLJSA=
=hmCs
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: