Your message dated Thu, 08 Oct 2009 13:32:14 +0000
with message-id <[email protected]>
and subject line Bug#550172: fixed in djvulibre 3.5.22-5
has caused the Debian Bug report #550172,
regarding djvulibre: Please port to sh4
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
550172: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550172
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: djvulibre
Version: 3.5.22-4
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: sh4
X-Debbugs-CC: [email protected]
Hi,
I am now trying to run Debian on Renesas SH CPU(sh4).
http://buildd.debian-ports.org/status/architecture.php?suite=unstable&a=sh4&priority=
But djvulibre FTBFS on sh4. Because current djvulibre package doesn't
support sh4.
-----
make[3]: Entering directory
`/build/buildd-djvulibre_3.5.22-4-sh4-0W6Pgv/djvulibre-3.5.22/gui/nsdejavu'
gcc -MM -DHAVE_CONFIG_H -DNDEBUG -Wall -O3 -Wno-non-virtual-dtor -I.
-I../.. -I../../gui/shared/res -I../../gui/npsdk ./nsdejavu.c >
Makefile.dep
cc1: warning: command line option "-Wno-non-virtual-dtor" is valid for
C++/ObjC++ but not for C
In file included from ../../gui/npsdk/prtypes.h:58,
from ../../gui/npsdk/npapi.h:51,
from ./nsdejavu.c:124:
../../gui/npsdk/prcpucfg.h:650:2: error: #error "Unknown CPU architecture"
In file included from ../../gui/npsdk/npapi.h:51,
from ./nsdejavu.c:124:
../../gui/npsdk/prtypes.h:301:2: error: #error No suitable type for
PRInt8/PRUint8
../../gui/npsdk/prtypes.h:326:2: error: #error No suitable type for
PRInt16/PRUint16
../../gui/npsdk/prtypes.h:358:2: error: #error No suitable type for
PRInt32/PRUint32
../../gui/npsdk/prtypes.h:421:2: error: #error 'sizeof(int)' not
sufficient for platform use
make[3]: *** [depend] Error 1
make[2]: *** [depend] Error 2
make[1]: *** [depend] Error 2
make: *** [build-stamp] Error 2
make[3]: Leaving directory
`/build/buildd-djvulibre_3.5.22-4-sh4-0W6Pgv/djvulibre-3.5.22/gui/nsdejavu'
make[2]: Leaving directory
`/build/buildd-djvulibre_3.5.22-4-sh4-0W6Pgv/djvulibre-3.5.22/gui'
make[1]: Leaving directory
`/build/buildd-djvulibre_3.5.22-4-sh4-0W6Pgv/djvulibre-3.5.22'
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-----
I made a patch to revise to be able to build.
Would you apply it?
Best regards,
Nobuhiro
--
Nobuhiro Iwamatsu
--- gui/npsdk/prcpucfg.h 2007-04-23 13:01:27.000000000 +0000
+++ gui/npsdk/prcpucfg.h.sh4 2009-10-07 06:26:55.000000000 +0000
@@ -645,6 +645,56 @@
#define PR_BYTES_PER_WORD_LOG2 2
#define PR_BYTES_PER_DWORD_LOG2 3
+#elif defined(__sh__)
+
+#ifdef __LITTLE_ENDIAN__
+#define IS_LITTLE_ENDIAN 1
+#undef IS_BIG_ENDIAN
+#else
+#define IS_BIG_ENDIAN 1
+#undef IS_LITTLE_ENDIAN
+#endif
+
+#define PR_BYTES_PER_BYTE 1
+#define PR_BYTES_PER_SHORT 2
+#define PR_BYTES_PER_INT 4
+#define PR_BYTES_PER_INT64 8
+#define PR_BYTES_PER_LONG 4
+#define PR_BYTES_PER_FLOAT 4
+#define PR_BYTES_PER_DOUBLE 8
+#define PR_BYTES_PER_WORD 4
+#define PR_BYTES_PER_DWORD 8
+
+#define PR_BITS_PER_BYTE 8
+#define PR_BITS_PER_SHORT 16
+#define PR_BITS_PER_INT 32
+#define PR_BITS_PER_INT64 64
+#define PR_BITS_PER_LONG 32
+#define PR_BITS_PER_FLOAT 32
+#define PR_BITS_PER_DOUBLE 64
+#define PR_BITS_PER_WORD 32
+
+#define PR_BITS_PER_BYTE_LOG2 3
+#define PR_BITS_PER_SHORT_LOG2 4
+#define PR_BITS_PER_INT_LOG2 5
+#define PR_BITS_PER_INT64_LOG2 6
+#define PR_BITS_PER_LONG_LOG2 5
+#define PR_BITS_PER_FLOAT_LOG2 5
+#define PR_BITS_PER_DOUBLE_LOG2 6
+#define PR_BITS_PER_WORD_LOG2 5
+
+#define PR_ALIGN_OF_SHORT 2
+#define PR_ALIGN_OF_INT 4
+#define PR_ALIGN_OF_LONG 4
+#define PR_ALIGN_OF_INT64 8
+#define PR_ALIGN_OF_FLOAT 4
+#define PR_ALIGN_OF_DOUBLE 8
+#define PR_ALIGN_OF_POINTER 4
+#define PR_ALIGN_OF_WORD 4
+
+#define PR_BYTES_PER_WORD_LOG2 2
+#define PR_BYTES_PER_DWORD_LOG2 3
+
#else
#error "Unknown CPU architecture"
djvulibre_3.5.22-4_sh4.build.gz
Description: GNU Zip compressed data
--- End Message ---
--- Begin Message ---
Source: djvulibre
Source-Version: 3.5.22-5
We believe that the bug you reported is fixed in the latest version of
djvulibre, which is due to be installed in the Debian FTP archive:
djview3_3.5.22-5_i386.deb
to pool/main/d/djvulibre/djview3_3.5.22-5_i386.deb
djview_3.5.22-5_i386.deb
to pool/main/d/djvulibre/djview_3.5.22-5_i386.deb
djvulibre-bin_3.5.22-5_i386.deb
to pool/main/d/djvulibre/djvulibre-bin_3.5.22-5_i386.deb
djvulibre-dbg_3.5.22-5_i386.deb
to pool/main/d/djvulibre/djvulibre-dbg_3.5.22-5_i386.deb
djvulibre-desktop_3.5.22-5_i386.deb
to pool/main/d/djvulibre/djvulibre-desktop_3.5.22-5_i386.deb
djvulibre-plugin_3.5.22-5_i386.deb
to pool/main/d/djvulibre/djvulibre-plugin_3.5.22-5_i386.deb
djvulibre_3.5.22-5.diff.gz
to pool/main/d/djvulibre/djvulibre_3.5.22-5.diff.gz
djvulibre_3.5.22-5.dsc
to pool/main/d/djvulibre/djvulibre_3.5.22-5.dsc
djvuserve_3.5.22-5_i386.deb
to pool/main/d/djvulibre/djvuserve_3.5.22-5_i386.deb
libdjvulibre-dev_3.5.22-5_i386.deb
to pool/main/d/djvulibre/libdjvulibre-dev_3.5.22-5_i386.deb
libdjvulibre-text_3.5.22-5_i386.deb
to pool/main/d/djvulibre/libdjvulibre-text_3.5.22-5_i386.deb
libdjvulibre21_3.5.22-5_i386.deb
to pool/main/d/djvulibre/libdjvulibre21_3.5.22-5_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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Barak A. Pearlmutter <[email protected]> (supplier of updated djvulibre 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.8
Date: Thu, 08 Oct 2009 13:56:34 +0100
Source: djvulibre
Binary: libdjvulibre-dev libdjvulibre21 libdjvulibre-text djvulibre-dbg
djvulibre-desktop djview3 djview djvuserve djvulibre-plugin djvulibre-bin
Architecture: source i386
Version: 3.5.22-5
Distribution: unstable
Urgency: low
Maintainer: Barak A. Pearlmutter <[email protected]>
Changed-By: Barak A. Pearlmutter <[email protected]>
Description:
djview - Transition package for djview to djview3
djview3 - Viewer for the DjVu image format
djvulibre-bin - Utilities for the DjVu image format
djvulibre-dbg - Debug symbols for the DjVu image format
djvulibre-desktop - Desktop support for the DjVu image format
djvulibre-plugin - Browser plugin for the DjVu image format
djvuserve - CGI program for unbundling DjVu files on the fly
libdjvulibre-dev - Development files for the DjVu image format
libdjvulibre-text - Linguistic support files for libdjvulibre
libdjvulibre21 - Runtime support for the DjVu image format
Closes: 550172
Changes:
djvulibre (3.5.22-5) unstable; urgency=low
.
* dh ${misc:Depends} for straggler binary packages
* sh4 patch from Nobuhiro Iwamatsu <[email protected]> (closes: #550172)
Checksums-Sha1:
7de2f424a12a9f98affb37943c716e5c84fac123 1421 djvulibre_3.5.22-5.dsc
c31721615775b61c5242f61b3fde3c2cdd1f2240 20819 djvulibre_3.5.22-5.diff.gz
762562ec5feb318993e6500b6f209de46bc0a7cb 1637886
libdjvulibre-dev_3.5.22-5_i386.deb
f246038e771ad0ab6a8ca7f8c799dd40d7288283 682074
libdjvulibre21_3.5.22-5_i386.deb
229b6624cbb114ca8211cb65c8ce2010b4a48175 74988
libdjvulibre-text_3.5.22-5_i386.deb
b450f8e7bdb0d7f708a5a44f9c6ec3cbc6f14f80 5850980
djvulibre-dbg_3.5.22-5_i386.deb
58e28766e8ed724d8cff96f31ad6bbc2e7d83cd6 32332
djvulibre-desktop_3.5.22-5_i386.deb
980924923a7d7f6f22b64c0adca1067555289588 516798 djview3_3.5.22-5_i386.deb
f000fd24975e777d16ce0b7a87d4f274e4478c58 10762 djview_3.5.22-5_i386.deb
3e7f2bf80304e3dae74a1f6fe950b0612c31752b 33472 djvuserve_3.5.22-5_i386.deb
d78c2280338d61b41dd37722b90bdd7ddcde97df 37080
djvulibre-plugin_3.5.22-5_i386.deb
86894b2b3a5bb7e5a92a939acb1bab243ea17a2b 391056 djvulibre-bin_3.5.22-5_i386.deb
Checksums-Sha256:
670f3e78fdd1eb72561cc10e2e8e9366b5624457e46f3a4492fe4eb2b305ea4f 1421
djvulibre_3.5.22-5.dsc
1a47d6ce1fa90d382910501717e51673a046944dcb3b954d121329a11be6573e 20819
djvulibre_3.5.22-5.diff.gz
197327fb3b875a71595394871c51ba02798002cd04e590e89e1edd3305298ebb 1637886
libdjvulibre-dev_3.5.22-5_i386.deb
a73f7af80742f6a0267059f94884b336b4cf82e06ffb8a844b7910b55ba453d6 682074
libdjvulibre21_3.5.22-5_i386.deb
cd7cba3267f5c94742d48464d1fa65d99662b199ef5f2f03167b653f37da99a5 74988
libdjvulibre-text_3.5.22-5_i386.deb
bbf6f8f955b9800f4b45fe6ad7a80117d6e9efba8c3cfca1c312119f931ee567 5850980
djvulibre-dbg_3.5.22-5_i386.deb
d6bd4cda64bb6c1c60fe7d797d96afe66ab25f9af8b37b5af66d1aabdd2a7bb6 32332
djvulibre-desktop_3.5.22-5_i386.deb
3fe3720ec3c1cbca6367333bea5dcf373448349fda2848b1b00b2609ca648b01 516798
djview3_3.5.22-5_i386.deb
4f7185a0ab77d3d6bdddcfcedea0ce05cb6f494948b54ba1bcb3b64628b82117 10762
djview_3.5.22-5_i386.deb
c27ee5f04bee2b799359913155bece4b812a49649658cd66fe0179c8d0ddaf9b 33472
djvuserve_3.5.22-5_i386.deb
bd40c797d71037bfcd6aab647feb30b2a92a970cc0e393f88892d231300c26c8 37080
djvulibre-plugin_3.5.22-5_i386.deb
120a2bfcf24d5e179270e0c7b471391232dd1f676a0e8239a30d56ec451e9735 391056
djvulibre-bin_3.5.22-5_i386.deb
Files:
808fdcf028451415861821818afaec29 1421 web optional djvulibre_3.5.22-5.dsc
1ad6c520610412b9cc5de1c406b508f5 20819 web optional djvulibre_3.5.22-5.diff.gz
cc0fd4cf5cb5792906735fb6138b5c8c 1637886 libdevel optional
libdjvulibre-dev_3.5.22-5_i386.deb
fbdc2a0f0271b05a14fb60762d86eeb4 682074 libs optional
libdjvulibre21_3.5.22-5_i386.deb
a776dea886a3131ae0a21ee36d3a3cb7 74988 libs optional
libdjvulibre-text_3.5.22-5_i386.deb
0f47ed4d34bf690f38e69174919a7bab 5850980 debug extra
djvulibre-dbg_3.5.22-5_i386.deb
4777fb2277dc690707d188ff1ea367a7 32332 libs optional
djvulibre-desktop_3.5.22-5_i386.deb
73f6605a076d6c3673fd432c24d05eb2 516798 graphics optional
djview3_3.5.22-5_i386.deb
893188b85fcb8834d1faf0841d17bdee 10762 graphics optional
djview_3.5.22-5_i386.deb
ea7ae5809e809f253069172c278de3ec 33472 web optional djvuserve_3.5.22-5_i386.deb
cc43d0dd0c34ce9cf9f19b706ee50504 37080 web optional
djvulibre-plugin_3.5.22-5_i386.deb
e75380b59f8ef8ac2eef97dca8033bd4 391056 graphics optional
djvulibre-bin_3.5.22-5_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkrN5/QACgkQLz4Gnv7CP7JtxgCg1yJuNdNZ96GgEuq0EaaIoM8S
2F4AoKGLXLX7PQnbvw4kLpJXkhS49ywT
=xQOr
-----END PGP SIGNATURE-----
--- End Message ---