Your message dated Thu, 28 Jul 2005 08:02:24 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#297944: fixed in vgrabbj 0.9.6-1
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 3 Mar 2005 17:01:37 +0000
>From [EMAIL PROTECTED] Thu Mar 03 09:01:36 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c223012.adsl.hansenet.de (localhost.localdomain) [213.39.223.12] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D6thf-0006Lg-00; Thu, 03 Mar 2005 09:01:36 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
        id 1D6udw-0006ij-6r; Thu, 03 Mar 2005 19:01:51 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: vgrabbj: FTBFS (amd64/gcc-4.0): invalid lvalue in unary '&'
Message-Id: <[EMAIL PROTECTED]>
Date: Thu, 03 Mar 2005 19:01:51 +0100
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: vgrabbj
Severity: normal
Tags: patch

When building 'vgrabbj' on amd64 with gcc-4.0,
I get the following error:

vgrabbj.h:296: error: previous declaration of 'l_opt' was here
v_config.c: In function 'init_defaults':
v_config.c:150: error: invalid lvalue in unary '&'
v_config.c:151: error: invalid lvalue in unary '&'
v_config.c:152: error: invalid lvalue in unary '&'
v_config.c:154: error: invalid lvalue in unary '&'
v_config.c:157: error: invalid lvalue in unary '&'
v_config.c:163: error: invalid lvalue in unary '&'
v_config.c:164: error: invalid lvalue in unary '&'
v_config.c:177: error: invalid lvalue in unary '&'
v_config.c:178: error: invalid lvalue in unary '&'
v_config.c:179: error: invalid lvalue in unary '&'
v_config.c:180: error: invalid lvalue in unary '&'
v_config.c:198: error: invalid lvalue in unary '&'
v_config.c: In function 'decode_options':
v_config.c:421: warning: cast from pointer to integer of different size
v_config.c:421: error: invalid lvalue in assignment
make[1]: *** [v_config.o] Error 1
make[1]: Leaving directory `/vgrabbj-0.9.3'
make: *** [build-stamp] Error 2

With the attached patch 'vgrabbj' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/vgrabbj-0.9.3/v_config.c ./v_config.c
--- ../tmp-orig/vgrabbj-0.9.3/v_config.c        2002-10-15 21:30:57.000000000 
+0200
+++ ./v_config.c        2005-03-03 18:57:25.350373678 +0100
@@ -147,21 +147,21 @@
   vconf->tmpout     = NULL;
   vconf->buffer     = NULL;
   vconf->o_buffer   = NULL;
-  l_opt[0].var = &(int)vconf->debug;
-  l_opt[1].var = &(long int)vconf->loop;
-  l_opt[2].var = &(long int)vconf->loop;
+  l_opt[0].var = &vconf->debug;
+  l_opt[1].var = &vconf->loop;
+  l_opt[2].var = &vconf->loop;
   l_opt[3].var = &vconf->brightness;
-  l_opt[4].var = &(int)vconf->quality;
+  l_opt[4].var = &vconf->quality;
   l_opt[6].var = &vconf->win.width;
   l_opt[7].var = &vconf->win.height;
-  l_opt[8].var = &(int)vconf->outformat;
+  l_opt[8].var = &vconf->outformat;
   l_opt[9].var = (char *)vconf->out;
   l_opt[10].var = (char *)vconf->in;
   l_opt[11].var = &vconf->openonce;
   l_opt[12].var = &vconf->switch_bgr;
   l_opt[13].var = &vconf->windowsize;
-  l_opt[14].var = &(int)vconf->discard;
-  l_opt[15].var = &(int)vconf->forcepal;
+  l_opt[14].var = &vconf->discard;
+  l_opt[15].var = &vconf->forcepal;
   l_opt[16].var = &vconf->usetmpout;
   l_opt[17].var = &vconf->use_ts;
 #ifdef LIBTTF
@@ -174,10 +174,10 @@
   vconf->blend      = DEFAULT_BLEND;
   l_opt[18].var = (char *)vconf->font;
   l_opt[19].var = (char *)vconf->timestamp;
-  l_opt[20].var = &(int)vconf->font_size;
-  l_opt[21].var = &(int)vconf->align;
-  l_opt[22].var = &(int)vconf->blend;
-  l_opt[23].var = &(int)vconf->border;
+  l_opt[20].var = &vconf->font_size;
+  l_opt[21].var = &vconf->align;
+  l_opt[22].var = &vconf->blend;
+  l_opt[23].var = &vconf->border;
 #endif
 #ifdef LIBFTP
   vconf->ftp.enable          = FALSE;
@@ -195,7 +195,7 @@
   l_opt[27].var = (char *)vconf->ftp.username;
   l_opt[28].var = (char *)vconf->ftp.password;
   l_opt[29].var = &vconf->ftp.keepalive;
-  l_opt[30].var = &(unsigned int)vconf->ftp.tryharder;
+  l_opt[30].var = &vconf->ftp.tryharder;
   l_opt[31].var = (char *)vconf->ftp.remoteDir;
 #endif
   vconf->archive     = NULL;
@@ -417,7 +417,7 @@
                                              n, l_opt[i]) ? TRUE : FALSE;
        break;
       case opt_charptr:
-       (int *)l_opt[i].var=(int)check_maxlen(vconf, get_str(value, (char 
*)l_opt[i].var),
+       l_opt[i].var=(int)check_maxlen(vconf, get_str(value, (char 
*)l_opt[i].var),
                                              l_opt[i], n);
        break;
       case opt_format:
diff -urN ../tmp-orig/vgrabbj-0.9.3/v_options.h ./v_options.h
--- ../tmp-orig/vgrabbj-0.9.3/v_options.h       2002-10-15 21:24:27.000000000 
+0200
+++ ./v_options.h       2005-03-03 18:58:10.960570068 +0100
@@ -23,7 +23,7 @@
 
 /* Includes */
 
-static struct v_options l_opt[] = {
+struct v_options l_opt[] = {
   /* Here's the whole definition of options of vgrabbj with needed 
information: (it fits MY screen ;-)
    *
    * arg_type: 1=int, 2=longint, 3=bool, 4=char, 0=unspecified

---------------------------------------
Received: (at 297944-close) by bugs.debian.org; 28 Jul 2005 15:46:01 +0000
>From [EMAIL PROTECTED] Thu Jul 28 08:46:01 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1Dy9tw-0002Wm-00; Thu, 28 Jul 2005 08:02:24 -0700
From: Michael Janssen <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#297944: fixed in vgrabbj 0.9.6-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 28 Jul 2005 08:02:24 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 3

Source: vgrabbj
Source-Version: 0.9.6-1

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

vgrabbj_0.9.6-1.diff.gz
  to pool/main/v/vgrabbj/vgrabbj_0.9.6-1.diff.gz
vgrabbj_0.9.6-1.dsc
  to pool/main/v/vgrabbj/vgrabbj_0.9.6-1.dsc
vgrabbj_0.9.6-1_i386.deb
  to pool/main/v/vgrabbj/vgrabbj_0.9.6-1_i386.deb
vgrabbj_0.9.6.orig.tar.gz
  to pool/main/v/vgrabbj/vgrabbj_0.9.6.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Janssen <[EMAIL PROTECTED]> (supplier of updated vgrabbj 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 [EMAIL PROTECTED])


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

Format: 1.7
Date: Wed, 27 Jul 2005 19:51:40 -0500
Source: vgrabbj
Binary: vgrabbj
Architecture: source i386
Version: 0.9.6-1
Distribution: unstable
Urgency: low
Maintainer: Michael Janssen <[EMAIL PROTECTED]>
Changed-By: Michael Janssen <[EMAIL PROTECTED]>
Description: 
 vgrabbj    - grabs a image from a camera and puts it in jpg/png format
Closes: 190657 262060 297944
Changes: 
 vgrabbj (0.9.6-1) unstable; urgency=low
 .
   * New upstream release (Closes: #262060)
     - Fixes typo in the usage (Closes: #190657)
   * Fix FTBFS on gcc4 (Closes: #297944)
Files: 
 10ff7ff9266aa277982a5e19c77dbbeb 619 graphics optional vgrabbj_0.9.6-1.dsc
 be12a7fdd1b80de4f74d637c2bc87099 115248 graphics optional 
vgrabbj_0.9.6.orig.tar.gz
 e758dd474e2bf164240a748f8b3cb1ad 48907 graphics optional 
vgrabbj_0.9.6-1.diff.gz
 aafdcd61f4eda0337069740fe8cb44fa 53240 graphics optional 
vgrabbj_0.9.6-1_i386.deb

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

iD8DBQFC6C742ZWWIMAOkVkRAqyNAKD0R5lJuycklXAQR97BgSw7zkv5vgCeM0UN
oaAfw2eM/x1DYQQrgQFHzf4=
=lP01
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to