Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #359837

Bug#1067545: FTBFS on 32-bit time64 arches: cannot convert ‘long int*’ to ‘time_t*’ {aka ‘long long int*’}

From Andrey Rakhmatullin <wrar@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1067545: FTBFS on 32-bit time64 arches: cannot convert ‘long int*’ to ‘time_t*’ {aka ‘long long int*’}
Date 2024-03-23 15:10 +0100
Message-ID <Ilael-18QK-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Source: klatexformula
Version: 4.1.0-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=klatexformula&arch=armel&ver=4.1.0-1%2Bb2&stamp=1711185211&raw=0

/<<PKGBUILDDIR>>/src/main.cpp: In function ‘void signal_act(int)’:
/<<PKGBUILDDIR>>/src/main.cpp:278:10: error: cannot convert ‘long int*’ to
‘time_t*’ {aka ‘long long int*’}
  278 |     time(&curtime);
      |          ^~~~~~~~
      |          |
      |          long int*
In file included from /usr/include/features.h:490,
                 from /usr/include/arm-linux-gnueabi/bits/libc-header-
start.h:33,
                 from /usr/include/stdio.h:27,
                 from /<<PKGBUILDDIR>>/src/main.cpp:24:
/usr/include/time.h:86:15: note:   initializing argument 1 of ‘time_t
time(time_t*)’
   86 | extern time_t __REDIRECT_NTH (time, (time_t *__timer), __time64);
      |               ^~~~~~~~~~~~~~



`curtime` here is explicitly `long`, it should probably just be `time_t`? Same
for `last_sigint_time`.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.7.9-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1067545: FTBFS on 32-bit time64 arches: cannot convert ‘long int*’ to ‘time_t*’ {aka ‘long long int*’} Andrey Rakhmatullin <wrar@debian.org> - 2024-03-23 15:10 +0100
  Processed: klatexformula: diff for NMU version 4.1.0-1.1 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-05-27 09:10 +0200
  Bug#1067545: marked as done (FTBFS on 32-bit time64 arches:  cannot convert ‘long int*’ to  ‘time_t*’ {aka ‘long  long int*’}) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-06-11 10:40 +0200

csiph-web