Your message dated Thu, 04 Jan 2018 01:04:02 +0000
with message-id <e1ewtww-000gll...@fasolo.debian.org>
and subject line Bug#886119: fixed in e2fsprogs 1.43.8-2
has caused the Debian Bug report #886119,
regarding e2fsprogs: FTBFS on big-endian architectures
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
886119: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886119
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: e2fsprogs
Version: 1.43.8-1
Severity: serious
Tags: upstream patch

Hi,
The latest upload of e2fsprogs FTBFS on all big-endian architectures due
to two problems in swapfs.c:

> ../../../../lib/ext2fs/swapfs.c: In function 'ext2fs_swap_super':
> ../../../../lib/ext2fs/swapfs.c:132:2: warning: implicit declaration of 
> function 'EXT2FS_BUILD_BUG_ON'; did you mean 'EXT2FS_NUM_B2C'? 
> [-Wimplicit-function-declaration]
>   EXT2FS_BUILD_BUG_ON(sizeof(sb->s_reserved) != 98 * sizeof(__le32));
>   ^~~~~~~~~~~~~~~~~~~
>   EXT2FS_NUM_B2C
> ../../../../lib/ext2fs/swapfs.c: In function 'ext2fs_swap_inode_full':
> ../../../../lib/ext2fs/swapfs.c:361:29: error: 'ext2_inode_large' undeclared 
> (first use in this function)
>   EXT2FS_BUILD_BUG_ON(sizeof(ext2_inode_large) != 160);
>                              ^~~~~~~~~~~~~~~~
> ../../../../lib/ext2fs/swapfs.c:361:29: note: each undeclared identifier is 
> reported only once for each function it appears in
> Makefile:657: recipe for target 'swapfs.o' failed

Please apply the attached patch to include ext2fsP.h (for
EXT2FS_BUILD_BUG_ON) and add the missing "struct" keyword before
ext2_inode_large, which has been tested on sparc64.

Regards,
James
--- a/lib/ext2fs/swapfs.c
+++ b/lib/ext2fs/swapfs.c
@@ -19,6 +19,7 @@
 
 #include "ext2_fs.h"
 #include "ext2fs.h"
+#include "ext2fsP.h"
 #include <ext2fs/ext2_ext_attr.h>
 
 #ifdef WORDS_BIGENDIAN
@@ -358,7 +359,7 @@ void ext2fs_swap_inode_full(ext2_filsys
        if (inode_includes(inode_size, i_projid))
                 t->i_projid = ext2fs_swab16(f->i_projid);
        /* catch new static fields added after i_projid */
-       EXT2FS_BUILD_BUG_ON(sizeof(ext2_inode_large) != 160);
+       EXT2FS_BUILD_BUG_ON(sizeof(struct ext2_inode_large) != 160);
 
        i = sizeof(struct ext2_inode) + extra_isize + sizeof(__u32);
        if (bufsize < (int) i)

--- End Message ---
--- Begin Message ---
Source: e2fsprogs
Source-Version: 1.43.8-2

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

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 886...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Theodore Y. Ts'o <ty...@mit.edu> (supplier of updated e2fsprogs 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 03 Jan 2018 16:18:40 -0500
Source: e2fsprogs
Binary: fuse2fs e2fsck-static e2fsprogs-l10n libcomerr2 comerr-dev libss2 
ss-dev e2fsprogs-udeb e2fslibs e2fslibs-dev e2fsprogs
Architecture: source
Version: 1.43.8-2
Distribution: unstable
Urgency: medium
Maintainer: Theodore Y. Ts'o <ty...@mit.edu>
Changed-By: Theodore Y. Ts'o <ty...@mit.edu>
Description:
 comerr-dev - common error description library - headers and static libraries
 e2fsck-static - statically-linked version of the ext2/ext3/ext4 filesystem 
checke
 e2fslibs   - ext2/ext3/ext4 file system libraries
 e2fslibs-dev - ext2/ext3/ext4 file system libraries - headers and static 
librari
 e2fsprogs  - ext2/ext3/ext4 file system utilities
 e2fsprogs-l10n - ext2/ext3/ext4 file system utilities - translations
 e2fsprogs-udeb - stripped-down versions of e2fsprogs, for debian-installer 
(udeb)
 fuse2fs    - ext2 / ext3 / ext4 file system driver for FUSE
 libcomerr2 - common error description library
 libss2     - command-line interface parsing library
 ss-dev     - command-line interface parsing library - headers and static libra
Closes: 886119
Changes:
 e2fsprogs (1.43.8-2) unstable; urgency=medium
 .
   * Update debian policy version to 4.1.3
   * Mark library packages as priority: optional
   * Simplify the debian/rules file and don't build e2fsprogs-l10n
     unnecessarily
   * Fix FTBFS on big-endian systems (Closes: #886119)
   * Add support for the build profile: noudeb
   * Add support for the build profile: pkg.e2fsprogs.no-fuse2fs
   * Add support for the build profile: pkg.e2fsprogs.no-static-e2fsck
Checksums-Sha1:
 ff88597233e3eb8f15b5c064029f8bc034d8b176 2446 e2fsprogs_1.43.8-2.dsc
 2c9665d6f68d681ed31d52e3761b71c2d6e06a26 75956 e2fsprogs_1.43.8-2.debian.tar.xz
 0f8d53f76c951d6a390766546ad6aa8b5807edb6 10084 
e2fsprogs_1.43.8-2_i386.buildinfo
Checksums-Sha256:
 178ed6ff5771d9ecc6c4b5c4aa4e1a00638795082b50a1a8be34263778709432 2446 
e2fsprogs_1.43.8-2.dsc
 896d8cbe157155d468eea5ffb69eddb825c7b9751cb89b8dd5ba34fe0a423f56 75956 
e2fsprogs_1.43.8-2.debian.tar.xz
 620859c58de255481e0c76fce4d1d90be6063f68e54cc387081e78f6384e6e66 10084 
e2fsprogs_1.43.8-2_i386.buildinfo
Files:
 e22d1ba6f42e52d04e3928814c3d4614 2446 admin required e2fsprogs_1.43.8-2.dsc
 9a016b85977756a36c78f16487d26b09 75956 admin required 
e2fsprogs_1.43.8-2.debian.tar.xz
 1da433d271005458cccd32bb67b808b4 10084 admin required 
e2fsprogs_1.43.8-2_i386.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEK2m5VNv+CHkogTfJ8vlZVpUNgaMFAlpNdrsACgkQ8vlZVpUN
gaNEggf/d8tb3fg/+ZWYKbkBaQ69AWNsY+cXglkB0V7ZQclWB8qvcwopwMOciI5c
pntQE3hduP/P9wI3P+bTAnKMFNbM1P/d7NNIHNkrc95IiDNWnSklLqLCKwf7en6n
nx0RTq3SzfUDPfQzwzgeopZisX7TJf2sF8DmU0WUsGJrLlhxDEGQQWgzRx5NOqP3
2iC9O4KVMMQ1s1j8sNri7zOZAHUu+cLKFa3pvlHSggfC3O4X1EdfxSri9ZiVgOr9
yZqYhbPDgkAXCHcjUy7UnBj2ew68DMfQh0VeBLQE4kMIMs4ui5rwA/wng1Eca71i
hBrxcOIz/dSNU1DOZySCubaHlTg/Iw==
=iM1R
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to