Debian Bug report logs -
#417047
umview: FTBFS [amd64] error: duplicate case value
Reported by: Kurt Roeckx <kurt@roeckx.be>
Date: Sun, 1 Apr 2007 11:27:02 UTC
Severity: important
Tags: fixed-upstream, patch
Found in version umview/0.4a-2
Fixed in version umview/0.5-1
Done: Filippo Giunchedi <filippo@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>:
Bug#417047; Package umview.
(full text, mbox, link).
Acknowledgement sent to Kurt Roeckx <kurt@roeckx.be>:
New Bug report received and forwarded. Copy sent to Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: umview
Version: 0.4a-2
Severity: important
Hi,
Your package is failing to build on amd64 with the following error:
viewfs.c: In function 'd64array_merge':
viewfs.c:1498: warning: cast from pointer to integer of different size
viewfs.c:1498: warning: cast from pointer to integer of different size
viewfs.c:1498: warning: cast to pointer from integer of different size
viewfs.c: In function 'd64array_subtract':
viewfs.c:1548: warning: cast from pointer to integer of different size
viewfs.c:1548: warning: cast from pointer to integer of different size
viewfs.c:1548: warning: cast to pointer from integer of different size
viewfs.c: In function 'is_path_interesting':
viewfs.c:1943: error: duplicate case value
viewfs.c:1942: error: previously used here
make[2]: *** [viewfs.lo] Error 1
You probably also want to look at those warnings because they ussualy
mean problems on 64 bit arches.
Kurt
Changed Bug title to umview: FTBFS [amd64] error: duplicate case value from umview: FTBFS: error: duplicate case value.
Request was from Filippo Giunchedi <filippo@debian.org>
to control@bugs.debian.org.
(Mon, 21 May 2007 14:51:10 GMT) (full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>:
Bug#417047; Package umview.
(full text, mbox, link).
Acknowledgement sent to Michael Bienia <michael@vorlon.ping.de>:
Extra info received and forwarded to list. Copy sent to Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Message #12 received at 417047@bugs.debian.org (full text, mbox, reply):
tags 417047 + patch
user ubuntu-devel@lists.ubuntu.com
usertag 417047 + ubuntu-patch hardy
thanks
Hello,
here is the patch I applied to the Ubuntu package of umview to get it at
least build successfully on amd64. I don't know yet if the resulting deb
also works properly on amd64.
Regards,
Michael
--- umview-0.4a.orig/um-viewos/scmap.c
+++ umview-0.4a/um-viewos/scmap.c
@@ -188,7 +188,9 @@
{__NR_fcntl, choice_fd, wrap_in_fcntl, wrap_out_fcntl, nchoice_fd, nw_sysfd_std, 0, 3, SOC_FILE},
{__NR_fcntl64, choice_fd, wrap_in_fcntl, wrap_out_fcntl, nchoice_fd, nw_sysfd_std, 0, 3, SOC_FILE},
{__NR_lseek, choice_fd, wrap_in_lseek, wrap_out_std, nchoice_fd, nw_sysfd_std, 0, 3, SOC_FILE},
+#ifdef __NR__llseek
{__NR__llseek, choice_fd, wrap_in_llseek, wrap_out_std, nchoice_fd, nw_sysfd_std, 0, 5, SOC_FILE},
+#endif
{__NR_mkdir, choice_link, wrap_in_mkdir, wrap_out_std, nchoice_link, nw_syspath_std, 0, 2, SOC_FILE},
{__NR_rmdir, choice_path, wrap_in_unlink, wrap_out_std, nchoice_path, nw_syspath_std, 0, 1, SOC_FILE},
{__NR_link, choice_link2, wrap_in_link, wrap_out_std, nchoice_link2, nw_syslink, 0, 2, SOC_FILE},
@@ -197,7 +199,9 @@
{__NR_unlink, choice_link, wrap_in_unlink, wrap_out_std, nchoice_link, nw_syspath_std, 0, 1, SOC_FILE},
{__NR_statfs, choice_path, wrap_in_statfs, wrap_out_std, nchoice_path, nw_syspath_std, 0, 2, SOC_FILE},
{__NR_fstatfs, choice_fd, wrap_in_fstatfs, wrap_out_std, nchoice_fd, nw_sysfd_std, 0, 2, SOC_FILE},
+#if (__NR_statfs64 != __NR_doesnotexist)
{__NR_statfs64, choice_path, wrap_in_statfs64, wrap_out_std, nchoice_path, nw_sysstatfs64, 0, 3, SOC_FILE},
+#endif
{__NR_fstatfs64,choice_fd, wrap_in_fstat64, wrap_out_std, nchoice_fd, nw_sysfstatfs64, 0, 3, SOC_FILE},
{__NR_utime, choice_path, wrap_in_utime, wrap_out_std, nchoice_path, nw_syspath_std, 0, 2, SOC_FILE|SOC_TIME},
{__NR_utimes, choice_path, wrap_in_utime, wrap_out_std, nchoice_path, nw_syspath_std, 0, 2, SOC_FILE|SOC_TIME},
only in patch2:
unchanged:
--- umview-0.4a.orig/um-viewos/defs_x86_64.h
+++ umview-0.4a/um-viewos/defs_x86_64.h
@@ -224,13 +224,14 @@
#undef __NR_fchown32
#define __NR_fchown32 __NR_doesnotexist
#define __NR_fcntl64 __NR_doesnotexist
-#define __NR__llseek __NR_doesnotexist
+/* #define __NR__llseek __NR_doesnotexist */
#define __NR_truncate64 __NR_doesnotexist
#define __NR_ftruncate64 __NR_doesnotexist
#define __NR_send __NR_doesnotexist
#define __NR_recv __NR_doesnotexist
#define __NR_statfs64 __NR_doesnotexist
#define __NR_fstatfs64 __NR_doesnotexist
+#define __NR_mmap2 __NR_doesnotexist
#define wrap_in_stat wrap_in_stat64
#define wrap_in_fstat wrap_in_fstat64
only in patch2:
unchanged:
--- umview-0.4a.orig/um_viewfs/viewfs.c
+++ umview-0.4a/um_viewfs/viewfs.c
@@ -40,8 +40,8 @@
#include <sys/uio.h>
#include <config.h>
-#include "module.h"
#include "libummod.h"
+#include "module.h"
#include "gdebug.h"
// #define VIEWFS_ENABLE_REMAP
Tags added: patch
Request was from Michael Bienia <michael@vorlon.ping.de>
to control@bugs.debian.org.
(Sat, 16 Feb 2008 13:33:03 GMT) (full text, mbox, link).
Tags added: fixed-upstream
Request was from Ludovico Gardenghi <garden@acheronte.it>
to control@bugs.debian.org.
(Mon, 16 Jun 2008 09:30:08 GMT) (full text, mbox, link).
Tags added: pending
Request was from Anibal Monsalve Salazar <anibal@debian.org>
to control@bugs.debian.org.
(Thu, 19 Jun 2008 08:06:18 GMT) (full text, mbox, link).
Reply sent to Filippo Giunchedi <filippo@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Kurt Roeckx <kurt@roeckx.be>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #23 received at 417047-close@bugs.debian.org (full text, mbox, reply):
Source: umview
Source-Version: 0.5-1
We believe that the bug you reported is fixed in the latest version of
umview, which is due to be installed in the Debian FTP archive:
libumlib-dev_0.5-1_amd64.deb
to pool/main/u/umview/libumlib-dev_0.5-1_amd64.deb
libumlib0_0.5-1_amd64.deb
to pool/main/u/umview/libumlib0_0.5-1_amd64.deb
umview-mod-umdevtap_0.5-1_amd64.deb
to pool/main/u/umview/umview-mod-umdevtap_0.5-1_amd64.deb
umview-mod-umlwip_0.5-1_amd64.deb
to pool/main/u/umview/umview-mod-umlwip_0.5-1_amd64.deb
umview-mod-viewfs_0.5-1_amd64.deb
to pool/main/u/umview/umview-mod-viewfs_0.5-1_amd64.deb
umview_0.5-1.diff.gz
to pool/main/u/umview/umview_0.5-1.diff.gz
umview_0.5-1.dsc
to pool/main/u/umview/umview_0.5-1.dsc
umview_0.5-1_amd64.deb
to pool/main/u/umview/umview_0.5-1_amd64.deb
umview_0.5.orig.tar.gz
to pool/main/u/umview/umview_0.5.orig.tar.gz
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 417047@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Filippo Giunchedi <filippo@debian.org> (supplier of updated umview 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.8
Date: Wed, 18 Jun 2008 22:29:59 +0200
Source: umview
Binary: umview libumlib0 libumlib-dev umview-mod-umlwip umview-mod-umdevtap umview-mod-viewfs
Architecture: source amd64
Version: 0.5-1
Distribution: unstable
Urgency: low
Maintainer: Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>
Changed-By: Filippo Giunchedi <filippo@debian.org>
Description:
libumlib-dev - View-OS in user space - Development files
libumlib0 - View-OS in user space - Support library for modules
umview - View-OS in user space - Core and base modules
umview-mod-umdevtap - View-OS in user space - Virtual TUN/TAP module
umview-mod-umlwip - View-OS in user space - LWIPv6 gateway module
umview-mod-viewfs - View-OS in user space - Filesystem mangling modules
Closes: 417047 470462 479979
Changes:
umview (0.5-1) unstable; urgency=low
.
[ Ludovico Gardenghi ]
* New upstream release
+ fix loading of lwipv6 (Closes: #470462)
+ fix building on amd64 (Closes: #417047)
+ fix wrong include (Closes: #479979)
.
[ Filippo Giunchedi ]
* Move libumlib0-dev to libumlib-dev
* Update standard-versions to 3.8.0 (add Homepage and change Source-Version)
Checksums-Sha1:
678964c4b866b9ebb6295974433b7bc91fe68a53 1413 umview_0.5-1.dsc
9b1f3faa17f83ccc106f3801b60b6e13c8e7ac1a 621900 umview_0.5.orig.tar.gz
2c428fd6143f32261e08116636a96cf99c374856 3290 umview_0.5-1.diff.gz
d61c39e346df53cca50c9ab171d34c159c7c1ebe 246562 umview_0.5-1_amd64.deb
e5342a85ac7879a12084daa9d049a877ba843df5 9662 libumlib0_0.5-1_amd64.deb
788d7590dcf6b048a10e88c421fffc31cea559af 16312 libumlib-dev_0.5-1_amd64.deb
da377472c9f2c24a02ea9b6fc5575c1960d7d527 14926 umview-mod-umlwip_0.5-1_amd64.deb
bda0cccc3c1dbfb4fd8a2733995196d6a9fe818b 10148 umview-mod-umdevtap_0.5-1_amd64.deb
3ff4191ec1aa039b4541d6a93806f4e6a3036070 15454 umview-mod-viewfs_0.5-1_amd64.deb
Checksums-Sha256:
67cbc23bdbe394d85e72c5cae5e3149fa9f0b269136dc2d62ccdb8dd6426f09c 1413 umview_0.5-1.dsc
a80e672c03eac4861acfcfcf7e65d2c3a17038a7d306ec0eed9b7d8a117245ef 621900 umview_0.5.orig.tar.gz
cb6b86a8e7e8f9cf192d5e1bf4fb882704ff35045e1dd8a8437a066b9aa1da28 3290 umview_0.5-1.diff.gz
712a662649cdc5dc1dd21ee1880a8a34b6419291c69a141317c8fdbc529afe3a 246562 umview_0.5-1_amd64.deb
80217a6401d13c0fc2eea113c05e3723e1318f1c72e9e1c6054f19fc0a8e9d6f 9662 libumlib0_0.5-1_amd64.deb
7cf7c9d38f280787c506574f56c0af18473bd28e725453010c0641187707d28a 16312 libumlib-dev_0.5-1_amd64.deb
70d5121fae6a0645149f7d876c8649640ce511fa582b65118b183c9c6b33a453 14926 umview-mod-umlwip_0.5-1_amd64.deb
9812c50af821839658835fce697b103b671f5367f78493efa13d98aa0d4d7c11 10148 umview-mod-umdevtap_0.5-1_amd64.deb
f989bdf0ddff0038dc20db1f438b1c63ddbba2c77909c6b00319ca47d9a32f07 15454 umview-mod-viewfs_0.5-1_amd64.deb
Files:
f3aba18078d684b3943c4900a72a45ac 1413 misc optional umview_0.5-1.dsc
3909240dfc4a21acdf3be6b7b56bc5ae 621900 misc optional umview_0.5.orig.tar.gz
b00af9bdfdd91d77a6df0c8faf90b76d 3290 misc optional umview_0.5-1.diff.gz
1f751c8015dddba204dd680e4b5186bb 246562 misc optional umview_0.5-1_amd64.deb
620082879a684ed706c6477fca39835b 9662 libs optional libumlib0_0.5-1_amd64.deb
6464c08e256ddd7c584c7a6b495a76e5 16312 libdevel optional libumlib-dev_0.5-1_amd64.deb
a0226a19ce54aa1a7236e9066069fdf4 14926 misc optional umview-mod-umlwip_0.5-1_amd64.deb
cde2cb148efa459493f3aec0ff931fdc 10148 misc optional umview-mod-umdevtap_0.5-1_amd64.deb
e8bd05ea4417466ac2b429c432dcc7e7 15454 misc optional umview-mod-viewfs_0.5-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkhZfmkACgkQABzeamt51AGUjgCfXquGL3caQ4BXf7RN1Wo3hmJ/
oDQAoLpw2YJw38xJmSHvECC3djmSlVvk
=3S8l
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 21 Jul 2008 07:30:50 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Jan 11 22:58:30 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.