Please remove pngphoon on Noble/armhf

Bug #2059139 reported by Lukas Märdian
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pngphoon (Debian)
New
Unknown
pngphoon (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

pngphoon is built in -proposed but not on armhf. This will not block migration because armhf binaries are being removed from the release pocket, but unless addressed will regress armhf availability of this package in 24.04 LTS.

FTBFS on Noble/armhf due to time_t

No reverse-depends:
$ reverse-depends -r noble src:pngphoon
No reverse dependencies found
$ reverse-depends -r noble -b src:pngphoon
No reverse dependencies found

tws.c:40:13: error: conflicting types for ‘time’; have ‘long int()’
   40 | extern long time();
      | ^~~~
In file included from /usr/include/features.h:502,
                 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from tws.c:29:
/usr/include/time.h:86:15: note: previous declaration of ‘time’ with type ‘time_t(time_t *)’ {aka ‘long long int(long long int *)’}
   86 | extern time_t __REDIRECT_NTH (time, (time_t *__timer), __time64);
      | ^~~~~~~~~~~~~~
tws.c: In function ‘dlocaltime’:
tws.c:72:20: warning: passing argument 1 of ‘localtime’ from incompatible pointer type [-Wincompatible-pointer-types]
   72 | tm = localtime( clock );
      | ^~~~~
      | |
      | long int *
/usr/include/time.h:142:19: note: expected ‘const time_t *’ {aka ‘const long long int *’} but argument is of type ‘long int *’
  142 | extern struct tm *__REDIRECT_NTH (localtime, (const time_t *__timer),
      | ^~~~~~~~~~~~~~
make[1]: *** [Makefile:12: tws.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:7: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2

Tags: time-t
Revision history for this message
Lukas Märdian (slyon) wrote :

> 14:08 <slyon> ubuntu-archive: please remove the pngphoon leaf binary package on Noble/armhf, it FTBFS (on armhf only), due to time_t
> 16:27 <vorlon> slyon: pngphoon removed; bug also please

Changed in pngphoon (Ubuntu):
status: New → Fix Committed
Revision history for this message
Lukas Märdian (slyon) wrote :

See bug #2059140 for additional information

Lukas Märdian (slyon)
description: updated
Changed in pngphoon (Ubuntu):
status: Fix Committed → Confirmed
Changed in pngphoon (Debian):
status: Unknown → New
Revision history for this message
Mate Kukri (mkukri) wrote :

Is there any point in fixing this package? Maybe removal from the archive is a good option?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.