Project

General

Profile

Actions

Bug #6288

closed

Commit fe47ecb breaks compilation on 32-bit systems

Added by John Hunt over 1 year ago. Updated over 1 year ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2023-08-01
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-2143~gfe47ecb55
Affected Versions:

Description

The following commit (https://github.com/tvheadend/tvheadend/commit/fe47ecb5504a521fed9c1ca9705fb0dd2bb8443a) breaks compilation on 32-bit systems. I've attached a build log from my 32-bit Raspberry Pi system.

The author arbitrarily removed a check for 32-bit FreeBSD systems claiming it's "unclear" what's specific about 32-bit FreeBSD. It's very clear what's specific here -- time_t is 32-bits only!

He also changed the time_t format string to "%lld" for all 32-bit systems. I don't know of any 32-bit systems with a 64-bit time_t. Raspbian Bullseye certainly doesn't have it.

I apologize if my tone is harsh. I've tried communicating with the author of these patches in the past and he's determined to break support for 32-bit systems 15 years before the Y2038 expiration date. I don't think a single contributor should have sole discretion on this matter. Unannounced breaking changes tend to be frowned upon. This would be especially true in the embedded system community where a great many 32-bit systems are still in use.

Thank you for your understanding.


Files

tvheadend.log (16.9 KB) tvheadend.log John Hunt, 2023-08-01 22:04
Actions

Also available in: Atom PDF