doxygen_1.4.5-1_arm: FTBFS: cannot bind packed field
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
doxygen (Debian) |
Fix Released
|
Unknown
|
|||
doxygen (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Automatically imported from Debian bug report #338099 http://
Debian Bug Importer (debzilla) wrote : | #1 |
Debian Bug Importer (debzilla) wrote : | #2 |
Message-ID: <email address hidden>
Date: Tue, 8 Nov 2005 15:41:46 +1100
From: =?iso-8859-
To: <email address hidden>
Subject: doxygen_
--lI30RfLwrEjFkDwA
Content-Type: text/plain; charset=iso-8859-1
Content-
Content-
Package: doxygen
Severity: serious
Version: 1.4.5-1
Tags: sid
Justification: fails to build from source
There was an error while trying to autobuild your package:
Automatic build of doxygen_1.4.5-1 on cats by sbuild/arm 69
Build started at 20051107-1437
[...]
** Using build dependencies supplied by package:
** Using build dependencies supplied by package:
Build-Depends: debhelper (>=3D 4.1), libqt3-mt-dev (>=3D 3:3.3.4) [!hurd-i3=
86], libqt3-
hon, libpng12-dev, patch
Build-Depends-
[...]
make[3]: Entering directory `/build/
g++ -c -pipe -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -fno-exceptions -O2 =
-I. -o ../objects/
qstring.h: In member function 'uchar& QChar::cell()':
qstring.h:166: error: cannot bind packed field '((QChar*
to 'uchar&'
qstring.h: In member function 'uchar& QChar::row()':
qstring.h:167: error: cannot bind packed field '((QChar*
to 'uchar&'
make[3]: *** [../objects/
Full build logs are available on buildd.debian.org.
Please refer to the build log at:
http://
stamp=3D1131374
An=EDbal Monsalve Salazar
--
.''`. Debian GNU/Linux
: :' : Free Operating System
`. `' http://
`- http://
--lI30RfLwrEjFkDwA
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDcCyKgY5
kC0Y6mbP1bMbxaM
=8tAG
-----END PGP SIGNATURE-----
--lI30RfLwrEjFk
Dennis Kaarsemaker (dennis) wrote : | #3 |
Ubuntu does not support Arm (or Leg)
In Debian Bug tracker #338099, Jeremy Nimmer (jwnimmer) wrote : Patch to build under gcc 4.0 | #4 |
package doxygen
tags 338099 +patch
thanks bts
This bug is a problem with the unmaintained subset of Qt that is copied
into Doxygen. It would be better to build against a maintained version
of Qt that is already in Debian, rather than the outdated fork shipped
from the Doxygen upstream. Or maybe upstream should just pull a new
version of Qt.
In any case, this is a problem with references to members of packed
structs (the packing is only enabled on ARM). A patch to build with gcc
3.4 is at http://
work with 4.0 (tested by adding attribute((packed)) to my x86 build).
If we look at the libqt3-headers package, we see that the packing checks
for ARM now have the Q_NO_PACKED_
qstring.h has had the non-const versions of cell and row removed,
replaced by setCell and setRow.
I think this is also the correct solution for the Doxygen fork of Qt, as
in the attached patch. A scan through the source code finds no call
sites where a mutable reference return value is required, so we can
safely drop these two methods.
Patch attached.
Thanks,
- Jeremy
Debian Bug Importer (debzilla) wrote : | #5 |
Message-Id: <email address hidden>
Date: Sun, 04 Dec 2005 15:45:15 -0500
From: Jeremy Nimmer <email address hidden>
To: <email address hidden>
Cc: <email address hidden>
Subject: Patch to build under gcc 4.0
--=-ZBT/
Content-Type: text/plain
Content-
package doxygen
tags 338099 +patch
thanks bts
This bug is a problem with the unmaintained subset of Qt that is copied
into Doxygen. It would be better to build against a maintained version
of Qt that is already in Debian, rather than the outdated fork shipped
from the Doxygen upstream. Or maybe upstream should just pull a new
version of Qt.
In any case, this is a problem with references to members of packed
structs (the packing is only enabled on ARM). A patch to build with gcc
3.4 is at http://
work with 4.0 (tested by adding attribute((packed)) to my x86 build).
If we look at the libqt3-headers package, we see that the packing checks
for ARM now have the Q_NO_PACKED_
qstring.h has had the non-const versions of cell and row removed,
replaced by setCell and setRow.
I think this is also the correct solution for the Doxygen fork of Qt, as
in the attached patch. A scan through the source code finds no call
sites where a mutable reference return value is required, so we can
safely drop these two methods.
Patch attached.
Thanks,
- Jeremy
--=-ZBT/
Content-
Content-Type: text/x-patch; name=338099.patch; charset=
Content-
diff -urN doxygen-
--- doxygen-
+++ doxygen-
@@ -1,3 +1,10 @@
+doxygen (1.4.5-1.1) unstable; urgency=low
+
+ * Remove unused code (QChar::row, QChar::col) that does not build with
+ gcc 4.0 (closes: #338099).
+
+ -- Jeremy Nimmer <email address hidden> Sun, 4 Dec 2005 15:18:45 -0500
+
doxygen (1.4.5-1) unstable; urgency=low
* New upstream version.
diff -urN doxygen-
--- doxygen-
+++ doxygen-
@@ -0,0 +1,41 @@
+#! /bin/sh -e
+
+# DP: Remove unused code that does not build with gcc 4.0 (#338099).
+
+dir=
+if [ $# -eq 3 -a "$2" = '-d' ]; then
+ pdir="-d $3"
+ dir="$3/"
+elif [ $# -ne 1 ]; then
+ echo >&2 "usage: `basename $0`: -patch|-unpatch [-d <srcdir>]"
+ exit 1
+fi
+case "$1" in
+ -patch)
+ patch $pdir -f --no-backup-
+ ;;
+ -unpatch)
+ patch $pdir -f --no-backup-
+ ;;
+ *)
+ echo >&2 "usage: `basename $0`: -patch|-unpatch [-d <srcdir>]"
+ exit 1
+esac
+exit 0
+
+--- qtools/
++++ qtools/qstring.h 2005-12-04 20:09:01.000000000 +0000
+@@ -16...
In Debian Bug tracker #338099, Steve Langasek (vorlon) wrote : usertags for RC bugs on non-RC archs | #6 |
# use usertags so we can keep track of bugs that should be considered
# RC if and when these architectures become release candidates again
user <email address hidden>
severity 343154 important
usertag 343154 rc-arm
severity 341311 important
usertag 341311 rc-sparc
severity 344525 important
usertag 344525 rc-m68k
severity 329845 important
usertag 329845 rc-arm
severity 341517 important
usertag 341517 rc-sparc
severity 338099 important
usertag 338099 rc-arm
severity 329092 important
usertag 329092 rc-m68k
severity 343687 important
usertag 343687 rc-m68k
severity 341797 important
usertag 341797 rc-sparc
thanks
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
<email address hidden> http://
Debian Bug Importer (debzilla) wrote : | #7 |
Message-ID: <email address hidden>
Date: Mon, 26 Dec 2005 23:56:00 -0800
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: usertags for RC bugs on non-RC archs
--ctP54qlpMx3WjD+/
Content-Type: text/plain; charset=us-ascii
Content-
Content-
# use usertags so we can keep track of bugs that should be considered
# RC if and when these architectures become release candidates again
user <email address hidden>
severity 343154 important
usertag 343154 rc-arm
severity 341311 important
usertag 341311 rc-sparc
severity 344525 important
usertag 344525 rc-m68k
severity 329845 important
usertag 329845 rc-arm
severity 341517 important
usertag 341517 rc-sparc
severity 338099 important
usertag 338099 rc-arm
severity 329092 important
usertag 329092 rc-m68k
severity 343687 important
usertag 343687 rc-m68k
severity 341797 important
usertag 341797 rc-sparc
thanks
--=20
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
<email address hidden> http://
--ctP54qlpMx3WjD+/
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDsPOQKN6
hn5WMjqIi8vfjOp
=qL+A
-----END PGP SIGNATURE-----
--ctP54qlpMx3Wj
In Debian Bug tracker #338099, Matthias Klose (doko) wrote : Bug#338099: fixed in doxygen 1.4.6-1 | #8 |
Source: doxygen
Source-Version: 1.4.6-1
We believe that the bug you reported is fixed in the latest version of
doxygen, which is due to be installed in the Debian FTP archive:
doxygen-
to pool/main/
doxygen-
to pool/main/
doxygen_
to pool/main/
doxygen_1.4.6-1.dsc
to pool/main/
doxygen_
to pool/main/
doxygen_
to pool/main/
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 address hidden>,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <email address hidden> (supplier of updated doxygen 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 address hidden>)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 30 Dec 2005 17:23:10 +0100
Source: doxygen
Binary: doxygen-doc doxygen doxygen-gui
Architecture: source all i386
Version: 1.4.6-1
Distribution: unstable
Urgency: low
Maintainer: Matthias Klose <email address hidden>
Changed-By: Matthias Klose <email address hidden>
Description:
doxygen - Documentation system for C, C++ and IDL
doxygen-doc - Documentation for doxygen
doxygen-gui - GUI configuration tool for doxygen
Closes: 338099 344468
Changes:
doxygen (1.4.6-1) unstable; urgency=low
.
* New upstream version.
* Fix generation of (La)TeX files (closes: #344468).
.
doxygen (1.4.5-1.1) unstable; urgency=low
.
* Remove unused code (QChar::row, QChar::col) that does not build with
gcc 4.0 (closes: #338099).
Files:
f8469504681a24
3db9f1a7549d34
f3332f7571b38f
29336c1ff13cbe
aabfbc909c18f1
0b88e5cf3a8842
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDtWMsStl
r/ZON+J4oqgXtld
=k7jL
-----END PGP SIGNATURE-----
Debian Bug Importer (debzilla) wrote : | #9 |
Message-Id: <email address hidden>
Date: Fri, 30 Dec 2005 09:02:07 -0800
From: Matthias Klose <email address hidden>
To: <email address hidden>
Subject: Bug#338099: fixed in doxygen 1.4.6-1
Source: doxygen
Source-Version: 1.4.6-1
We believe that the bug you reported is fixed in the latest version of
doxygen, which is due to be installed in the Debian FTP archive:
doxygen-
to pool/main/
doxygen-
to pool/main/
doxygen_
to pool/main/
doxygen_1.4.6-1.dsc
to pool/main/
doxygen_
to pool/main/
doxygen_
to pool/main/
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 address hidden>,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <email address hidden> (supplier of updated doxygen 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 address hidden>)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 30 Dec 2005 17:23:10 +0100
Source: doxygen
Binary: doxygen-doc doxygen doxygen-gui
Architecture: source all i386
Version: 1.4.6-1
Distribution: unstable
Urgency: low
Maintainer: Matthias Klose <email address hidden>
Changed-By: Matthias Klose <email address hidden>
Description:
doxygen - Documentation system for C, C++ and IDL
doxygen-doc - Documentation for doxygen
doxygen-gui - GUI configuration tool for doxygen
Closes: 338099 344468
Changes:
doxygen (1.4.6-1) unstable; urgency=low
.
* New upstream version.
* Fix generation of (La)TeX files (closes: #344468).
.
doxygen (1.4.5-1.1) unstable; urgency=low
.
* Remove unused code (QChar::row, QChar::col) that does not build with
gcc 4.0 (closes: #338099).
Files:
f8469504681a24
3db9f1a7549d34
f3332f7571b38f
29336c1ff13cbe
aabfbc909c18f1
0b88e5cf3a8842
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDtWMsStl
r/ZON+J4oqgXtld
=k7jL
-----END PGP SIGNATURE-----
Automatically imported from Debian bug report #338099 http:// bugs.debian. org/338099