[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#736211: marked as done (src:blackbox: FTBFS on x32)



Your message dated Thu, 23 Jan 2014 10:48:23 +0000
with message-id <E1W6Hpf-0001tR-5r@franck.debian.org>
and subject line Bug#736211: fixed in blackbox 0.70.1-19
has caused the Debian Bug report #736211,
regarding src:blackbox: FTBFS on x32
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 owner@bugs.debian.org
immediately.)


-- 
736211: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736211
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:blackbox
Version: 0.70.1-18
Severity: wishlist
Tags: patch


Hi!  Blackbox fails to build on x32, for two reasons:
* it uses implicit casts between time_t and long, in template disambiguation
  where exact types are needed
* its hand-written symbol arch table needs inclusion of x32

Patch attached.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'experimental')
Architecture: x32 (x86_64)

Kernel: Linux 3.13.0-x32+ (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -urd blackbox-0.70.1.0/debian/libbt0.symbols blackbox-0.70.1/debian/libbt0.symbols
--- blackbox-0.70.1.0/debian/libbt0.symbols	2013-11-20 14:25:58.000000000 +0100
+++ blackbox-0.70.1/debian/libbt0.symbols	2014-01-20 17:16:40.539105265 +0100
@@ -386,7 +386,7 @@
  (optional)_ZNSbIjSt11char_traitsIjESaIjEE12_M_leak_hardEv@Base 0.70.1
  (optional)_ZNSbIjSt11char_traitsIjESaIjEE12_S_constructIN9__gnu_cxx17__normal_iteratorIPKjS2_EEEEPjT_SA_RKS1_St20forward_iterator_tag@Base 0.70.1
  (optional)_ZNSbIjSt11char_traitsIjESaIjEE15_M_replace_safeEjjPKjj@Base 0.70.1
- (arch=!any-i386 !alpha !armel !armhf !ia64 !m68k !mips !mipsel !powerpc !powerpcspe !ppc64 !s390 !s390x !sh4 !sparc !sparc64)_ZNSbIjSt11char_traitsIjESaIjEE15_M_replace_safeEmmPKjm@Base 0.70.1
+ (arch=!any-i386 !alpha !armel !armhf !ia64 !m68k !mips !mipsel !powerpc !powerpcspe !ppc64 !s390 !s390x !sh4 !sparc !sparc64 !x32)_ZNSbIjSt11char_traitsIjESaIjEE15_M_replace_safeEmmPKjm@Base 0.70.1
  _ZNSbIjSt11char_traitsIjESaIjEE4_Rep20_S_empty_rep_storageE@Base 0.70.1
  (optional)_ZNSbIjSt11char_traitsIjESaIjEE4_Rep8_M_cloneERKS1_j@Base 0.70.1
  (optional)_ZNSbIjSt11char_traitsIjESaIjEE4_Rep8_M_cloneERKS1_m@Base 0.70.1
@@ -395,7 +395,7 @@
  (optional)_ZNSbIjSt11char_traitsIjESaIjEE6appendEmj@Base 0.70.1
  (optional)_ZNSbIjSt11char_traitsIjESaIjEE6assignERKS2_@Base 0.70.1
  (optional)_ZNSbIjSt11char_traitsIjESaIjEE6resizeEjj@Base 0.70.1
- (arch=!any-i386 !alpha !armel !armhf !ia64 !m68k !mips !mipsel !powerpc !powerpcspe !ppc64 !s390 !s390x !sh4 !sparc !sparc64)_ZNSbIjSt11char_traitsIjESaIjEE6resizeEmj@Base 0.70.1
+ (arch=!any-i386 !alpha !armel !armhf !ia64 !m68k !mips !mipsel !powerpc !powerpcspe !ppc64 !s390 !s390x !sh4 !sparc !sparc64 !x32)_ZNSbIjSt11char_traitsIjESaIjEE6resizeEmj@Base 0.70.1
  (arch=!amd64 !ia64 !kfreebsd-amd64 !mips64 !mips64el !s390 !s390x !alpha !ppc64 !sparc64)_ZNSbIjSt11char_traitsIjESaIjEE7replaceEjjPKjj@Base 0.70.1
  (arch=amd64 ia64 kfreebsd-amd64 mips64 mips64el s390 s390x alpha ppc64 sparc64)_ZNSbIjSt11char_traitsIjESaIjEE7replaceEmmPKjm@Base 0.70.1
  (arch=!amd64 !ia64 !kfreebsd-amd64 !mips64 !mips64el !s390 !s390x !alpha !ppc64 !sparc64)_ZNSbIjSt11char_traitsIjESaIjEE7reserveEj@Base 0.70.1
diff -urd blackbox-0.70.1.0/src/Toolbar.cc blackbox-0.70.1/src/Toolbar.cc
--- blackbox-0.70.1.0/src/Toolbar.cc	2005-04-12 09:38:00.000000000 +0200
+++ blackbox-0.70.1/src/Toolbar.cc	2014-01-20 17:12:33.059144580 +0100
@@ -44,8 +44,8 @@
 {
   timeval now;
   gettimeofday(&now, 0);
-  return (std::max(1000l, ((((resolution - (now.tv_sec % resolution)) * 1000l))
-                           - (now.tv_usec / 1000l))));
+  return (std::max((time_t)1000, ((((resolution - (now.tv_sec % resolution)) * 1000))
+                           - (now.tv_usec / 1000))));
 }
 
 

--- End Message ---
--- Begin Message ---
Source: blackbox
Source-Version: 0.70.1-19

We believe that the bug you reported is fixed in the latest version of
blackbox, 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 736211@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
HIGUCHI Daisuke (VDR dai) <dai@debian.org> (supplier of updated blackbox 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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 23 Jan 2014 19:20:45 +0900
Source: blackbox
Binary: blackbox libbt-dev libbt0
Architecture: source amd64
Version: 0.70.1-19
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: HIGUCHI Daisuke (VDR dai) <dai@debian.org>
Description: 
 blackbox   - Window manager for X
 libbt-dev  - Blackbox - development library
 libbt0     - Blackbox - shared library
Closes: 736211
Changes: 
 blackbox (0.70.1-19) unstable; urgency=medium
 .
   * QA upload.
   * fix FTBFS on x32 (Closes: #736211).
     thanks to Adam Borowski <kilobyte@angband.pl>.
     - debian/libbt0.symbols: update.
     - debian/patches/fix-ftbfs-x32.diff: new file.
   * bumped Standards-Version to 3.9.5.
Checksums-Sha1: 
 48d051ed24152a6e5b01854fd4fb258ee4c711bd 2023 blackbox_0.70.1-19.dsc
 435cc7815ade2e000c19854ddbec0627bc003c0e 20284 blackbox_0.70.1-19.debian.tar.xz
 3859636f8ec68cd40ea321dd507bd83260e6785a 206290 blackbox_0.70.1-19_amd64.deb
 ca9f55400696889e567431619d7dbe10019a0289 102384 libbt-dev_0.70.1-19_amd64.deb
 ac8b607edbaa26435633eeb305709d44653d6226 90878 libbt0_0.70.1-19_amd64.deb
Checksums-Sha256: 
 eccdc78c2845c186bdc54907ad0a474eb723292f7fd499896b96a11db071bb2c 2023 blackbox_0.70.1-19.dsc
 514675592f06b7adb9c15ebe085e84aff5fa7d89013ce230dfb2aac01ec8af65 20284 blackbox_0.70.1-19.debian.tar.xz
 c7f2fea26b24c09aad79d26fd406ffa6308f758cd6608b8f0529e3107af78fb2 206290 blackbox_0.70.1-19_amd64.deb
 6bf7e8f70756c2b5fbf36c374cd0edfd5928f64dc02b4063d8c0b80785a4b00f 102384 libbt-dev_0.70.1-19_amd64.deb
 4380f95869bbd3cdd8608f187f701a8c598d90d385b513dbbbe98a2343567903 90878 libbt0_0.70.1-19_amd64.deb
Files: 
 e0f53c3466fb3b7a952b2b0e32dd0e4d 2023 x11 optional blackbox_0.70.1-19.dsc
 e25dd2c9ab1fcc1c43ae0b73d68e9a77 20284 x11 optional blackbox_0.70.1-19.debian.tar.xz
 3d20c9dab2e7242fee03bf39d86ec7aa 206290 x11 optional blackbox_0.70.1-19_amd64.deb
 b9a00967815afb8543ef8a5321efa6a3 102384 libdevel optional libbt-dev_0.70.1-19_amd64.deb
 169fe848ba62baaade4fed4f74b6518f 90878 libs optional libbt0_0.70.1-19_amd64.deb

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

iQIcBAEBCAAGBQJS4O+fAAoJEHg5YZ3UOWaOhNAP/ircIDM2RYpo13acDZ+K6/r/
GTeUSyBT2/VX3SHYzk+i4yBynHJr/Cwa6dMgl1OEyNTyvG7SWM+mz9bmvnojBzF+
KKuBbJeZlQyA0fVu4jSqVRMUNTjM/Jc7n2pR2Jje8vJCSYJ8c/9iI7kHGO+atmsS
Zmumr2KgFpjlZ4keF11uyMZDSNLFsfo0MunBBqiJE4SONld+NE4d+/a6uUY5qN0W
9IDFMo+HeuXn1MrpTnr4oChBJO2QJvGyZ6Qe6k4RbmVS8qkeUw28OItLkc5FFT11
klB5ueoQKvLtVxNvL8mTGbaJzZId1r09VNPh4awGVD6th0RVW1JP8XXSXlNAeo+y
7MeiQKPi3k0IKgTFalgHxuYbNiXhjSRqsAOULcZ8GBAwZxbwGtibPpm1TrUQ0xbK
d7+DGbhSQfBE8WvOfjNXnsp0a8mRu10XpILtBbgisPTXylZjCcWaMKQDdk51Bfm/
9zBW6ioAnX2+YTmvKm3ds7Evbn5ZSt4/NE3E3TjXnNLEjubohEZIS9YuDk9IxWNa
4nyhS3BBTcdGPw6ndRZhxQ3vm4K3sBMrftQ5wt8iEi5TpU4KLF4wAtmi8kbdQODK
Bv1lxl3V+H5A/Y36rh85jC4CSJe2J5R1wsUqmxYT/idBKwSmj2/idcPbbDdtaKA3
0Fmh9MPn6SQ41j6Z4tN6
=Izt1
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: