Your message dated Tue, 08 Feb 2005 17:17:26 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#288901: fixed in ltp 20050107-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; 6 Jan 2005 08:08:37 +0000
>From [EMAIL PROTECTED] Thu Jan 06 00:08:37 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c158183.adsl.hansenet.de (localhost.localdomain) 
[213.39.158.183] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CmShB-0005XT-00; Thu, 06 Jan 2005 00:08:37 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1CmSmq-0004LZ-Iy; Thu, 06 Jan 2005 09:14:28 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: ltp: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment
Message-Id: <[EMAIL PROTECTED]>
Date: Thu, 06 Jan 2005 09:14:28 +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: ltp
Severity: normal
Tags: patch

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

cc -Wall  -Wall -O -g -I../../../../include    shmat1.c  -lpthread -o shmat1
shmat1.c: In function 'write_to_mem':
shmat1.c:371: error: invalid lvalue in assignment
make[5]: *** [shmat1] Error 1
make[5]: Leaving directory 
`/ltp-20040804/build-tree/ltp-full-20040804/testcases/kernel/mem/mtest06'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/ltp-20040804/debian/patches/25_gcc4_fix.patch 
./debian/patches/25_gcc4_fix.patch
--- ../tmp-orig/ltp-20040804/debian/patches/25_gcc4_fix.patch   1970-01-01 
01:00:00.000000000 +0100
+++ ./debian/patches/25_gcc4_fix.patch  2005-01-05 23:21:25.333205736 +0100
@@ -0,0 +1,73 @@
+diff -urN tmp/testcases/kernel/mem/mtest06/shmat1.c 
ltp-full-20040804/testcases/kernel/mem/mtest06/shmat1.c
+--- tmp/testcases/kernel/mem/mtest06/shmat1.c  2004-02-23 22:23:01.000000000 
+0100
++++ ltp-full-20040804/testcases/kernel/mem/mtest06/shmat1.c    2005-01-05 
22:54:32.907331728 +0100
+@@ -368,7 +368,7 @@
+ 
+       fprintf(stdout, "write_to_mem(): memory address: [%p]\n", 
+               map_address);
+-      (char *)map_address = "Y";
++      map_address = "Y";
+         //memset(map_address, 'Y', fsize);
+         usleep(1);
+       sched_yield();
+diff -urN tmp/testcases/kernel/syscalls/socket/socket01.c 
ltp-full-20040804/testcases/kernel/syscalls/socket/socket01.c
+--- tmp/testcases/kernel/syscalls/socket/socket01.c    2003-03-27 
22:16:30.000000000 +0100
++++ ltp-full-20040804/testcases/kernel/syscalls/socket/socket01.c      
2005-01-05 23:02:41.632034280 +0100
+@@ -103,8 +103,8 @@
+       for (lc = 0; TEST_LOOPING(lc); ++lc) {
+               Tst_count = 0;
+               for (testno=0; testno < TST_TOTAL; ++testno) {
+-                      TEST(s=socket(tdat[testno].domain, tdat[testno].type,
+-                              tdat[testno].proto));
++                      s=socket(tdat[testno].domain, tdat[testno].type, 
tdat[testno].proto);
++                      TEST(s);
+                       if (TEST_RETURN >= 0) {
+                               TEST_RETURN = 0;        /* > 0 equivalent */
+                       } else {
+diff -urN tmp/testcases/kernel/syscalls/socketpair/socketpair01.c 
ltp-full-20040804/testcases/kernel/syscalls/socketpair/socketpair01.c
+--- tmp/testcases/kernel/syscalls/socketpair/socketpair01.c    2003-03-27 
22:17:45.000000000 +0100
++++ ltp-full-20040804/testcases/kernel/syscalls/socketpair/socketpair01.c      
2005-01-05 23:05:18.635166176 +0100
+@@ -107,9 +107,9 @@
+       for (lc = 0; TEST_LOOPING(lc); ++lc) {
+               Tst_count = 0;
+               for (testno=0; testno < TST_TOTAL; ++testno) {
+-                      TEST(s=socketpair(tdat[testno].domain,
+-                              tdat[testno].type, tdat[testno].proto,
+-                              tdat[testno].sv));
++                      s=socketpair(tdat[testno].domain, tdat[testno].type, 
++                              tdat[testno].proto, tdat[testno].sv);
++                      TEST(s);
+                       if (TEST_RETURN >= 0) {
+                               TEST_RETURN = 0;        /* > 0 equivalent */
+                       } else {
+diff -urN tmp/testcases/network/nfs/cthon04/tests.init 
ltp-full-20040804/testcases/network/nfs/cthon04/tests.init
+--- tmp/testcases/network/nfs/cthon04/tests.init       2004-05-26 
18:57:02.000000000 +0200
++++ ltp-full-20040804/testcases/network/nfs/cthon04/tests.init 2005-01-05 
23:20:48.013879136 +0100
+@@ -154,9 +154,9 @@
+ # Use with Tru64 UNIX systems
+ #CFLAGS=`echo -O -DTRU64 -DOSF1 -DMMAP -DSTDARG`
+ # use the following instead of the above if using gcc
+-#CFLAGS=`echo -O -DTRU64 -DOSF1 -DMMAP -DSTDARG -fwritable-strings`
++#CFLAGS=`echo -O -DTRU64 -DOSF1 -DMMAP -DSTDARG`
+ # 64-bit binaries with gcc (3.1 or later; untested):
+-#CFLAGS=`echo -O -DTRU64 -DOSF1 -DMMAP -DSTDARG -fwritable-strings -m64`
++#CFLAGS=`echo -O -DTRU64 -DOSF1 -DMMAP -DSTDARG -m64`
+ #MOUNT=/sbin/mount
+ #UMOUNT=/sbin/umount
+ 
+@@ -198,13 +198,13 @@
+ #LOCKTESTS=`echo tlocklfs`
+ 
+ # Use with Linux 2.2 / GNU libc 2.0
+-#CFLAGS=`echo -DLINUX -DGLIBC=20 -DMMAP -DSTDARG -fwritable-strings`
++#CFLAGS=`echo -DLINUX -DGLIBC=20 -DMMAP -DSTDARG`
+ #LIBS=`echo -lnsl`
+ #MOUNT=/bin/mount
+ #UMOUNT=/bin/umount
+ 
+ # Use with Linux 2.4 / GNU libc 2.2
+-CFLAGS=`echo -DLINUX -DGLIBC=22 -DMMAP -DSTDARG -fwritable-strings`
++CFLAGS=`echo -DLINUX -DGLIBC=22 -DMMAP -DSTDARG`
+ LIBS=`echo -lnsl`
+ MOUNT=/bin/mount
+ UMOUNT=/bin/umount

---------------------------------------
Received: (at 288901-close) by bugs.debian.org; 8 Feb 2005 22:24:41 +0000
>From [EMAIL PROTECTED] Tue Feb 08 14:24:41 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Cydmj-0001QH-00; Tue, 08 Feb 2005 14:24:41 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1Cydfi-0004se-00; Tue, 08 Feb 2005 17:17:26 -0500
From: Alastair McKinstry <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#288901: fixed in ltp 20050107-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 08 Feb 2005 17:17:26 -0500
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: ltp
Source-Version: 20050107-1

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

ltp-commands-test_20050107-1_i386.deb
  to pool/main/l/ltp/ltp-commands-test_20050107-1_i386.deb
ltp-dev_20050107-1_i386.deb
  to pool/main/l/ltp/ltp-dev_20050107-1_i386.deb
ltp-disc-test_20050107-1_i386.deb
  to pool/main/l/ltp/ltp-disc-test_20050107-1_i386.deb
ltp-kernel-test_20050107-1_i386.deb
  to pool/main/l/ltp/ltp-kernel-test_20050107-1_i386.deb
ltp-misc-test_20050107-1_i386.deb
  to pool/main/l/ltp/ltp-misc-test_20050107-1_i386.deb
ltp-network-test_20050107-1_i386.deb
  to pool/main/l/ltp/ltp-network-test_20050107-1_i386.deb
ltp-tools_20050107-1_i386.deb
  to pool/main/l/ltp/ltp-tools_20050107-1_i386.deb
ltp_20050107-1.diff.gz
  to pool/main/l/ltp/ltp_20050107-1.diff.gz
ltp_20050107-1.dsc
  to pool/main/l/ltp/ltp_20050107-1.dsc
ltp_20050107-1_all.deb
  to pool/main/l/ltp/ltp_20050107-1_all.deb
ltp_20050107.orig.tar.gz
  to pool/main/l/ltp/ltp_20050107.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.
Alastair McKinstry <[EMAIL PROTECTED]> (supplier of updated ltp 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: Tue, 10 Aug 2004 19:04:47 +0100
Source: ltp
Binary: ltp-misc-test ltp-kernel-test ltp ltp-dev ltp-tools ltp-network-test 
ltp-disc-test ltp-commands-test
Architecture: source i386 all
Version: 20050107-1
Distribution: unstable
Urgency: low
Maintainer: Alastair McKinstry <[EMAIL PROTECTED]>
Changed-By: Alastair McKinstry <[EMAIL PROTECTED]>
Description: 
 ltp        - The Linux Test Project test suite
 ltp-commands-test - Command tests for the Linux Test Project
 ltp-dev    - development files for Linux Test Project
 ltp-disc-test - Disk I/O tests for the Linux Test Project
 ltp-kernel-test - kernel tests for the Linux Test Project
 ltp-misc-test - Misc. tests for the Linux Test Project
 ltp-network-test - Network tests for the Linux Test Project
 ltp-tools  - Utilities for running the Linux Test Project test suite
Closes: 278386 288901
Changes: 
 ltp (20050107-1) unstable; urgency=low
 .
   * New upstream release. Closes: #278386.
   * FTBFS on amd64: Closes: #288901.
Files: 
 2ca004238233eccfddd1d2b214d57182 736 misc optional ltp_20050107-1.dsc
 3cb21da1440ca6d75aea7fed530efb03 5953854 misc optional ltp_20050107.orig.tar.gz
 a962789724e6102a47f1fbe85f1e4972 26505 misc optional ltp_20050107-1.diff.gz
 794e7d777114f45a9ce56f6888162ae9 114876 misc optional 
ltp-tools_20050107-1_i386.deb
 d08c5eec841afcb26b545d4ddf9ab771 77688 misc optional 
ltp-dev_20050107-1_i386.deb
 72276d05b703da222e6b6066780bbb8f 18386420 misc optional 
ltp-kernel-test_20050107-1_i386.deb
 93155be559029a0312443bb894f0de4a 1482134 misc optional 
ltp-network-test_20050107-1_i386.deb
 6dc156bb1b30faa346c069146bef67be 3088 misc optional 
ltp-commands-test_20050107-1_i386.deb
 2b7c7876464e3d7f41c8128b908fbac0 4434 misc optional 
ltp-misc-test_20050107-1_i386.deb
 77d65abe8ef6f9fc998be256c97bebe5 20760 misc optional 
ltp-disc-test_20050107-1_i386.deb
 f3e97df653c00b90ec3a96b953bd5a8d 30554 misc optional ltp_20050107-1_all.deb

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

iD8DBQFCCS6pQTK/kCo4XFcRArpYAKCjL/2dvlCV/x+/r1lV0opvRpcD3gCgtDfB
823vWAKao/l+WACCDGdFAMY=
=3PcK
-----END PGP SIGNATURE-----


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

Reply via email to