Public bug reported:

Imported from Debian bug http://bugs.debian.org/1065972:

Source: pngphoon
Version: 1.3-3
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: [email protected]

https://buildd.debian.org/status/fetch.php?pkg=pngphoon&arch=armhf&ver=1.3-3%2Bb1&stamp=1709981075&raw=0

tws.c:40:13: error: conflicting types for ‘time’; have ‘long int()’
   40 | extern long time();
      |             ^~~~
In file included from /usr/include/features.h:490,
                 from 
/usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 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:141:19: note: expected ‘const time_t *’ {aka ‘const long 
long int *’} but argument is of type ‘long int *’
  141 | extern struct tm *__REDIRECT_NTH (localtime, (const time_t *__timer),
      |                   ^~~~~~~~~~~~~~
make[1]: *** [Makefile:12: tws.o] Error 1

Cheers
-- 
Sebastian Ramacher

** Affects: pngphoon (Ubuntu)
     Importance: High
     Assignee: Nick Rosbrook (enr0n)
         Status: In Progress

** Affects: pngphoon (Debian)
     Importance: Undecided
         Status: New


** Tags: update-excuse

** Bug watch added: Debian Bug tracker #1065972
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065972

** Changed in: pngphoon (Debian)
 Remote watch: None => Debian Bug tracker #1065972

** Tags added: update-excuse

** Changed in: pngphoon (Ubuntu)
       Status: New => In Progress

** Changed in: pngphoon (Ubuntu)
     Assignee: (unassigned) => Nick Rosbrook (enr0n)

** Changed in: pngphoon (Ubuntu)
   Importance: Undecided => High

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

Title:
  pngphoon: FTBFS on arm{el,hf}: tws.c:40:13: error: conflicting types
  for ‘time’; have ‘long int()’

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to