[Pkg-deepin-devel] Bug#1067560: FTBFS on 32-bit time64 architectures: cannot convert ‘long int*’ to ‘const time_t*’ {aka ‘const long long int*’}

Andrey Rakhmatullin wrar at debian.org
Sat Mar 23 16:54:08 GMT 2024


Source: deepin-log-viewer
Version: 5.9.7+ds1-2
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=deepin-log-
viewer&arch=armel&ver=5.9.7%2Bds1-2%2Bb2&stamp=1711175532&raw=0

/<<PKGBUILDDIR>>/application/wtmpparse.cpp: In function ‘char*
show_end_time(long int)’:
/<<PKGBUILDDIR>>/application/wtmpparse.cpp:183:19: error: cannot convert ‘long
int*’ to ‘const time_t*’ {aka ‘const long long int*’}
  183 |     t = localtime(&timeval);
      |                   ^~~~~~~~
      |                   |
      |                   long int*
In file included from /usr/include/features.h:490,
                 from /usr/include/fcntl.h:25,
                 from /<<PKGBUILDDIR>>/application/wtmpparse.h:25,
                 from /<<PKGBUILDDIR>>/application/wtmpparse.cpp:22:
/usr/include/time.h:141:19: note:   initializing argument 1 of ‘tm*
localtime(const time_t*)’
  141 | extern struct tm *__REDIRECT_NTH (localtime, (const time_t *__timer),
      |                   ^~~~~~~~~~~~~~


-- 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


More information about the Pkg-deepin-devel mailing list