🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2831

Bug#1152734: furnace FTBFS on 32bit time64 architectures

#2831
From: Helmut Grohne
Date: Sat, 31 Oct 2026 20:50
53 lines
3746 bytes
--It7qj4NzAKVGBy5w
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Source: furnace
Version: 0.6.8.3+git20250912+ds-2
Severity: important
Justification: non-regression ftbfs on armhf
Tags: ftbfs patch upstream

furnace fails to build from source on all 32bit architectures that
enbale time64. This happens to include armhf but also a pile of ports
architectures. The problem is:

| /build/reproducible-path/furnace-0.6.8.3+git20250912+ds/src/engine/platform/pcspkr.cpp: In member function ‘void DivPlatformPCSpeaker::pcSpeakerThread()’:
| /build/reproducible-path/furnace-0.6.8.3+git20250912+ds/src/engine/platform/pcspkr.cpp:94:14: error: ‘struct input_event’ has no member named ‘time’
|    94 |           ie.time.tv_sec=r.tv_sec;
|       |              ^~~~
| /build/reproducible-path/furnace-0.6.8.3+git20250912+ds/src/engine/platform/pcspkr.cpp:95:14: error: ‘struct input_event’ has no member named ‘time’
|    95 |           ie.time.tv_usec=r.tv_nsec/1000;
|       |              ^~~~

Looking into the kernel uapi, Linux changed struct input_event via
commit 152194fe9c3f03232b9c0d0264793a7fa4af82f8. When enabling time64 on
32bit architectures, it no longer includes the time field. Instead one
is now supposed to use input_event_sec and input_event_usec virtual
fields that work in all situations.

I'm attaching a patch for your convenience.

Helmut

--It7qj4NzAKVGBy5w
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="ftbfs32.patch"

--- furnace-0.6.8.3+git20250912+ds.orig/src/engine/platform/pcspkr.cpp
+++ furnace-0.6.8.3+git20250912+ds/src/engine/platform/pcspkr.cpp
@@ -91,8 +91,8 @@
 #ifdef HAVE_LINUX_INPUT
         case 0: { // evdev
           static struct input_event ie;
-          ie.time.tv_sec=r.tv_sec;
-          ie.time.tv_usec=r.tv_nsec/1000;
+          ie.input_event_sec=r.tv_sec;
+          ie.input_event_usec=r.tv_nsec/1000;
           ie.type=EV_SND;
           ie.code=SND_TONE;
           if (r.val>0) {

--It7qj4NzAKVGBy5w--
Technical Details
Message-ID: <NUobv-94sU-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Helmut Grohne <helmut@subdivi.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152734: furnace FTBFS on 32bit time64 architectures
Date: Sat, 31 Oct 2026 21:50:01 +0100
Message-ID: <NUobv-94sU-1@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sat Oct 31 20:41:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Helmut Grohne <helmut@subdivi.de>, 1152734@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-multimedia@lists.debian.org
X-Debian-Pr-Message: report 1152734
X-Debian-Pr-Package: src:furnace
X-Debian-Pr-Keywords: ftbfs patch upstream
X-Debian-Pr-Source: furnace
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="It7qj4NzAKVGBy5w"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Reportbug-Version: 13.2.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999988
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 53
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 30 Oct 2026 07:16:01 +0100
X-Original-Message-ID: <20261030061601.GA3125314@subdivi.de>