Public bug reported:

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

** Affects: pngphoon (Ubuntu)
     Importance: Undecided
         Status: Fix Committed


** Tags: time-t

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2059139

Title:
  Please remove pngphoon on Noble/armhf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pngphoon/+bug/2059139/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to