Your message dated Fri, 16 May 2014 23:19:34 +0000
with message-id <e1wlrpa-0007l8...@franck.debian.org>
and subject line Bug#748228: fixed in kbtin 1.0.15-1
has caused the Debian Bug report #748228,
regarding package kbtin_1.0.14-1 FTBFS on big endian architectures
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 ow...@bugs.debian.org
immediately.)


-- 
748228: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748228
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: kbtin
Version: 1.0.14-1
Severity: serious
Tags: sid patch
Justification: FTBFS
User: debian-mips-dev-disc...@lists.alioth.debian.org
Usertags: mips-patch

Hello,

Package kbtin_1.0.14-1 FTBFS on all big endian architectures (mips, powerpc, 
s390x, sparc).

complet build logs:
mips
https://buildd.debian.org/status/fetch.php?pkg=kbtin&arch=mips&ver=1.0.14-1&stamp=1383184670
powerpc
https://buildd.debian.org/status/fetch.php?pkg=kbtin&arch=powerpc&ver=1.0.14-1&stamp=1362306329
s390x
https://buildd.debian.org/status/fetch.php?pkg=kbtin&arch=s390x&ver=1.0.14-1&stamp=1398863294
sparc
https://buildd.debian.org/status/fetch.php?pkg=kbtin&arch=sparc&ver=1.0.14-1&stamp=1361136299

I was able to build package kbtin_1.0.14-1 on mips (big endian) with following 
patch.
File ttyrec_big_endian.patch is attached.

These changes are already in master branch for kbtin package on git.
https://github.com/kilobyte/kbtin/commit/a5c0ef55f909ddc3487d355c25f40b3c18c93946

Regards,
Jurica
--- kbtin-1.0.14.orig/files.c
+++ kbtin-1.0.14/files.c
@@ -273,7 +273,7 @@ void write_log(struct session *ses, char
     if (ses->logtype==2)
     {
         ttyrec_timestamp(&th);
-        th.len=n;
+        th.len=to_little_endian(n);
         if (fwrite(&th, 1, sizeof(struct ttyrec_header), ses->logfile)<
             sizeof(struct ttyrec_header))
         {
--- kbtin-1.0.14.orig/tintin.h
+++ kbtin-1.0.14/tintin.h
@@ -363,10 +363,10 @@ typedef char pvars_t[10][BUFFER_SIZE];
 
 #ifdef WORDS_BIGENDIAN
 # define to_little_endian(x) ((uint32_t) ( \
-    (((uint32_t)(x) &((uint32_t)0x000000ffU) << 24)) | \
-    (((uint32_t)(x) &((uint32_t)0x0000ff00U) <<  8)) | \
-    (((uint32_t)(x) &((uint32_t)0x00ff0000U) >>  8)) | \
-    (((uint32_t)(x) &((uint32_t)0xff000000U) >> 24))))
+    ((uint32_t)(x) &(uint32_t)0x000000ffU) << 24 | \
+    ((uint32_t)(x) &(uint32_t)0x0000ff00U) <<  8 | \
+    ((uint32_t)(x) &(uint32_t)0x00ff0000U) >>  8 | \
+    ((uint32_t)(x) &(uint32_t)0xff000000U) >> 24))
 #else
 # define to_little_endian(x) ((uint32_t)(x))
 #endif

--- End Message ---
--- Begin Message ---
Source: kbtin
Source-Version: 1.0.15-1

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

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 748...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Borowski <kilob...@angband.pl> (supplier of updated kbtin 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 15 May 2014 23:10:38 +0200
Source: kbtin
Binary: kbtin
Architecture: source mipsel
Version: 1.0.15-1
Distribution: unstable
Urgency: medium
Maintainer: Adam Borowski <kilob...@angband.pl>
Changed-By: Adam Borowski <kilob...@angband.pl>
Description: 
 kbtin      - tintin++ style text-based MUD client
Closes: 748228
Changes: 
 kbtin (1.0.15-1) unstable; urgency=medium
 .
   * New upstream release.
   * Fix FTBFS on big endian (closes: #748228), and on kfreebsd.
   * Force spammy build output.
Checksums-Sha1: 
 da5809ef733c80f1ce02da759cc5e1d755741838 1771 kbtin_1.0.15-1.dsc
 0f1eed8931a36f8a0954870bd5ee3a957c8c611e 270972 kbtin_1.0.15.orig.tar.xz
 cb493ff65eb8099e5f39f4c8584924e390f0ab45 5120 kbtin_1.0.15-1.debian.tar.xz
 84d27fb1f8bc77c6bb0cd8952be1bcf1ff4e0512 148610 kbtin_1.0.15-1_mipsel.deb
Checksums-Sha256: 
 082d46e41a8685faf5329065ab2e0c645ad9475d76a02ea95a511ed41cf5b017 1771 
kbtin_1.0.15-1.dsc
 57231dfd5dc0edcf71dcdafc16dc2e836c5d96e3b28927997bd2cc5061a313fa 270972 
kbtin_1.0.15.orig.tar.xz
 6ff36de95e45249de6d0939fb9e0341131895939672bcd2129cf983a2e72fcf3 5120 
kbtin_1.0.15-1.debian.tar.xz
 f090a68366d6a3d5e9c349654d660c631c587b2295c1dd41ac3cad4aeae81dba 148610 
kbtin_1.0.15-1_mipsel.deb
Files: 
 ed9e1850af5cdce0119e0c776d9eb93d 148610 text optional kbtin_1.0.15-1_mipsel.deb
 4e2201af5f4cc319ef45cc8224b509b0 1771 text optional kbtin_1.0.15-1.dsc
 7d22a627e706bd2fd148937452b442bf 270972 text optional kbtin_1.0.15.orig.tar.xz
 e43afeac1d72eac07289945f08da36f1 5120 text optional 
kbtin_1.0.15-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJTdptOAAoJEHxWrP6UeJfYtJoQAI+whpE4ERShh/dbZlCyktK1
YybiU0EwJS6Rnido2ly4KqbdW2UCYyDrrUFHELvTjbpOnMr1/twzxCvK5w7N4CRc
aQWV3h3PIKfPNOSjd7MXUUnRCCakKzaot7kyD2JKJHI7M+dz+KAu7XEHc7rS2Kkm
A7ExI1jtBPiaCajngm72clnDdNwkwGwAdmv7NTwutxbpY5AfbWwsqwlv1R1r2boE
EpYN9eGpTJxgSff1ieBlN9YdSTVcRKCBkIjbc3TZkuaaezGuyn7phfNkHJllV0j7
gTNt+DxmJqxkn3U9n1fw4m9FmHw22h+ls+q0UXo3FM1LGop8jRSjKHeQxagLSKkK
KSnh28iyRHEb00XdkuGuGPTKp4VvjaDlI1UZFIfHxAXpkC3T48/Jv8w0D4A4lOJU
/uwKjuYugpdb91gpk0NNfDenBxfoj+PwOxupnvO0lBO3zSW4cdnboleMxC7rnDgd
rVomuWCesdEC9uHaFs5ioipsbOxqQPteKM6vi0rIcjvq5INh7XEpDAUZQeD9WzjR
RlhtXeRc5a12SEObfos/kAWIif2F7LYwctSN7R7pgEyZXt68ENBkBQ0o4EU65Z1/
z841L7Tzyco8Pdv7/uHme4y9pF26lfB2XwydaX++wHXOSgTHbsJBw0aGwNpqq5v8
nheIVGdGUUeXyF3a/ZMl
=swYG
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to