Debian Bug report logs - #391046
partimage: This version has been compiled with an uncompatible version of gcc.

version graph

Package: partimage; Maintainer for partimage is Debian QA Group <packages@qa.debian.org>; Source for partimage is src:partimage.

Reported by: Manolo Díaz <manolo_diaz@wanadoo.es>

Date: Wed, 4 Oct 2006 14:48:43 UTC

Severity: grave

Tags: help

Found in version partimage/0.6.4-16

Fixed in version partimage/0.6.4-17

Done: Michael Biebl <biebl@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Michael Biebl <biebl@teco.edu>:
Bug#391046; Package partimage. Full text and rfc822 format available.

Acknowledgement sent to Manolo Díaz <manolo_diaz@wanadoo.es>:
New Bug report received and forwarded. Copy sent to Michael Biebl <biebl@teco.edu>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Manolo Díaz <manolo_diaz@wanadoo.es>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: partimage: This version has been compiled with an uncompatible version of gcc.
Date: Wed, 04 Oct 2006 16:32:15 +0200
Package: partimage
Version: 0.6.4-16
Severity: grave
Justification: renders package unusable



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (1001, 'testing'), (101, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)

Versions of packages partimage depends on:
ii  libbz2-1.0                   1.0.3-6     high-quality block-sorting file co
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libgcc1                      1:4.1.1-13  GCC support library
ii  libnewt0.52                  0.52.2-7    Not Erik's Windowing Toolkit - tex
ii  libpam0g                     0.79-3.2    Pluggable Authentication Modules l
ii  libslang2                    2.0.6-3     The S-Lang programming library - r
ii  libssl0.9.8                  0.9.8c-1    SSL shared libraries
ii  libstdc++6                   4.1.1-13    The GNU Standard C++ Library v3
ii  zlib1g                       1:1.2.3-13  compression library - runtime

partimage recommends no packages.

-- debconf-show failed
Hi, 
trying to launch partimage I see

Error: sizeof(DWORD) != 4 (8)
This version has been compiled with an uncompatible version of 
gcc.


Regards,
Manolo



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#391046; Package partimage. Full text and rfc822 format available.

Acknowledgement sent to Michael Biebl <biebl@teco.edu>:
Extra info received and forwarded to list. Full text and rfc822 format available.

Message #10 received at 391046@bugs.debian.org (full text, mbox):

From: Michael Biebl <biebl@teco.edu>
To: Manolo Díaz <manolo_diaz@wanadoo.es>, 391046@bugs.debian.org, control@bugs.debian.org
Subject: Re: Bug#391046: partimage: This version has been compiled with an uncompatible version of gcc.
Date: Wed, 04 Oct 2006 19:07:24 +0200
[Message part 1 (text/plain, inline)]
tags 391046 help
thanks

Manolo Díaz wrote:
> Package: partimage
> Version: 0.6.4-16
> Severity: grave
> Justification: renders package unusable
> 
> 
> 
> -- System Information:
> Debian Release: 3.1
>   APT prefers testing
>   APT policy: (1001, 'testing'), (101, 'unstable')
> Architecture: amd64 (x86_64)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.18
> Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
> 
> Versions of packages partimage depends on:
> ii  libbz2-1.0                   1.0.3-6     high-quality block-sorting file co
> ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
> ii  libgcc1                      1:4.1.1-13  GCC support library
> ii  libnewt0.52                  0.52.2-7    Not Erik's Windowing Toolkit - tex
> ii  libpam0g                     0.79-3.2    Pluggable Authentication Modules l
> ii  libslang2                    2.0.6-3     The S-Lang programming library - r
> ii  libssl0.9.8                  0.9.8c-1    SSL shared libraries
> ii  libstdc++6                   4.1.1-13    The GNU Standard C++ Library v3
> ii  zlib1g                       1:1.2.3-13  compression library - runtime
> 
> partimage recommends no packages.
> 
> -- debconf-show failed
> Hi, 
> trying to launch partimage I see
> 
> Error: sizeof(DWORD) != 4 (8)
> This version has been compiled with an uncompatible version of 
> gcc.

Well, the test is bogus. On a AMD64 machine, dword has 8bytes and not 4
bytes as it is on x86. I could disable the check in
src/client/main.cpp:189 but I don't know where else in the code the
assumption dword == 4 bytes is made. So I'm not sure if this will work.
Unfortunately I don't have a amd64 machine where I could test this.

Could you download the sources (apt-get source partimage), comment out
line 189 and 190 in src/client/main.cpp and recompile partimage and see
if creating/restoring an image works. That would be very helpful.

Most likely the resulting image won't be compatible/interchangeable with
non amd64 plattforms. If you also could test this, this would be even
better.

Cheers,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

[signature.asc (application/pgp-signature, attachment)]

Tags added: help Request was from Michael Biebl <biebl@teco.edu> to control@bugs.debian.org. Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Michael Biebl <biebl@teco.edu>:
Bug#391046; Package partimage. Full text and rfc822 format available.

Acknowledgement sent to Manolo Díaz <manolo_diaz@wanadoo.es>:
Extra info received and forwarded to list. Copy sent to Michael Biebl <biebl@teco.edu>. Full text and rfc822 format available.

Message #17 received at 391046@bugs.debian.org (full text, mbox):

From: Manolo Díaz <manolo_diaz@wanadoo.es>
To: Michael Biebl <biebl@teco.edu>
Cc: 391046@bugs.debian.org, control@bugs.debian.org
Subject: Re: Bug#391046: partimage: This version has been compiled with an uncompatible version of gcc.
Date: Wed, 04 Oct 2006 21:02:29 +0200
Michael Biebl wrote:
> tags 391046 help
> thanks
> 
> Manolo Díaz wrote:
>> Package: partimage
>> Version: 0.6.4-16
>> Severity: grave
>> Justification: renders package unusable
>>
>>
>>
>> -- System Information:
>> Debian Release: 3.1
>>   APT prefers testing
>>   APT policy: (1001, 'testing'), (101, 'unstable')
>> Architecture: amd64 (x86_64)
>> Shell:  /bin/sh linked to /bin/bash
>> Kernel: Linux 2.6.18
>> Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
>>
>> Versions of packages partimage depends on:
>> ii  libbz2-1.0                   1.0.3-6     high-quality block-sorting file co
>> ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
>> ii  libgcc1                      1:4.1.1-13  GCC support library
>> ii  libnewt0.52                  0.52.2-7    Not Erik's Windowing Toolkit - tex
>> ii  libpam0g                     0.79-3.2    Pluggable Authentication Modules l
>> ii  libslang2                    2.0.6-3     The S-Lang programming library - r
>> ii  libssl0.9.8                  0.9.8c-1    SSL shared libraries
>> ii  libstdc++6                   4.1.1-13    The GNU Standard C++ Library v3
>> ii  zlib1g                       1:1.2.3-13  compression library - runtime
>>
>> partimage recommends no packages.
>>
>> -- debconf-show failed
>> Hi, 
>> trying to launch partimage I see
>>
>> Error: sizeof(DWORD) != 4 (8)
>> This version has been compiled with an uncompatible version of 
>> gcc.
> 
> Well, the test is bogus. On a AMD64 machine, dword has 8bytes and not 4
> bytes as it is on x86. I could disable the check in
> src/client/main.cpp:189 but I don't know where else in the code the
> assumption dword == 4 bytes is made. So I'm not sure if this will work.
> Unfortunately I don't have a amd64 machine where I could test this.
> 
> Could you download the sources (apt-get source partimage), comment out
> line 189 and 190 in src/client/main.cpp and recompile partimage and see
> if creating/restoring an image works. That would be very helpful.
> 
> Most likely the resulting image won't be compatible/interchangeable with
> non amd64 plattforms. If you also could test this, this would be even
> better.
> 
> Cheers,
> Michael
> 
> 

Hi,
Compiled and packaged the application with those lines commented out.

The test. On an amd64 platform:

1. I have made a fresh filesystem (ext3) and I have copied /etc dir on it.

2. saved data using partimage

3. destroyed data making a new filesystem

4. restored the data with partimage and the image created in the step 2

5. checked the partition with the fsck tool. Success: the data was there again,
no error.

Now on an i386 platform: the same machine, the same kernel (using ia32
emulation), booted from another partition.

I've tried to restore the partition using the 32bit application and the image
obtained in the step 2 (created with the 64bit application) with no success.

This was the message:

There was an error while restoring partition:
CRC64 are different, the image file was damaged:
Original CRC64.....137438953473
Current CRC64......0

I think now is time to have a beer.
Best Regards,
Manolo








Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#391046; Package partimage. Full text and rfc822 format available.

Acknowledgement sent to Michael Biebl <biebl@teco.edu>:
Extra info received and forwarded to list. Full text and rfc822 format available.

Message #22 received at 391046@bugs.debian.org (full text, mbox):

From: Michael Biebl <biebl@teco.edu>
To: Manolo Díaz <manolo_diaz@wanadoo.es>, 391046@bugs.debian.org
Subject: Re: Bug#391046: partimage: This version has been compiled with an uncompatible version of gcc.
Date: Thu, 05 Oct 2006 20:02:14 +0200
[Message part 1 (text/plain, inline)]
Manolo Díaz wrote:

[..]

> 
> I think now is time to have a beer.

I'd say you earned it ;-)

Thank you very much for your help. I really appreciate that.
I'm already in contact with upstream and hope we can find a workable
solution soon.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

[signature.asc (application/pgp-signature, attachment)]

Reply sent to Michael Biebl <biebl@debian.org>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Manolo Díaz <manolo_diaz@wanadoo.es>:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #27 received at 391046-close@bugs.debian.org (full text, mbox):

From: Michael Biebl <biebl@debian.org>
To: 391046-close@bugs.debian.org
Subject: Bug#391046: fixed in partimage 0.6.4-17
Date: Tue, 24 Oct 2006 18:47:17 -0700
Source: partimage
Source-Version: 0.6.4-17

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

partimage-server_0.6.4-17_i386.deb
  to pool/main/p/partimage/partimage-server_0.6.4-17_i386.deb
partimage_0.6.4-17.diff.gz
  to pool/main/p/partimage/partimage_0.6.4-17.diff.gz
partimage_0.6.4-17.dsc
  to pool/main/p/partimage/partimage_0.6.4-17.dsc
partimage_0.6.4-17_i386.deb
  to pool/main/p/partimage/partimage_0.6.4-17_i386.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 391046@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Biebl <biebl@debian.org> (supplier of updated partimage 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: Wed, 25 Oct 2006 02:41:43 +0200
Source: partimage
Binary: partimage-server partimage
Architecture: source i386
Version: 0.6.4-17
Distribution: unstable
Urgency: low
Maintainer: Michael Biebl <biebl@debian.org>
Changed-By: Michael Biebl <biebl@debian.org>
Description: 
 partimage  - backup partitions into a compressed image file
 partimage-server - server to use partimage across a network
Closes: 391046
Changes: 
 partimage (0.6.4-17) unstable; urgency=low
 .
   * Update maintainer email address to biebl@debian.org.
   * Switch debian/partimaged-passwd to /bin/bash, it uses bash only
     features, like read -s.
   * debian/patches/disable_header_check.diff
     - Added. Disable header check for amd64. Closes: #391046
       This patch is a workaround. A proper fix is expected in the next
       upstream release.
Files: 
 57d486e3be810532ff8e2b6aae97f5d4 720 admin optional partimage_0.6.4-17.dsc
 d95a6d89253de475336af8f2fbd8dbb7 63039 admin optional partimage_0.6.4-17.diff.gz
 a26da2e89f985c996efae1422b4204cc 59146 admin optional partimage-server_0.6.4-17_i386.deb
 2750d0b63e279892c5fbc946f0df7e9e 284930 admin optional partimage_0.6.4-17_i386.deb

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

iD8DBQFFPrjch7PER70FhVQRAluPAKDQesJT9XIgALWJ3ES62vpvc9HJfgCeMuwC
XN03IJGWy14FFUkgfoV+A1Q=
=kUp5
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 25 Jun 2007 11:44:29 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 20:00:47 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.