debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #07432
[Bug 2125004] [NEW] unzip ftbfs in questing archive rebuild
Public bug reported:
The package fails to build in the recent archive rebuild
https://people.canonical.com/~ginggs/ftbfs-report/test-rebuild-20250910-questing-questing.html
In file included from unzpriv.h:561,
from unzip.h:719,
from unzip.c:68:
unix/unxcfg.h:121:15: error: conflicting types for ‘gmtime’; have ‘struct tm *(void)’
121 | struct tm *gmtime(), *localtime();
| ^~~~~~
In file included from unix/unxcfg.h:120:
/usr/include/time.h:132:19: note: previous declaration of ‘gmtime’ with type ‘struct tm *(const time_t *)’ {aka ‘struct tm *(const long int *)’}
132 | extern struct tm *gmtime (const time_t *__timer) __THROW;
| ^~~~~~
unix/unxcfg.h:121:26: error: conflicting types for ‘localtime’; have ‘struct tm *(void)’
121 | struct tm *gmtime(), *localtime();
| ^~~~~~~~~
/usr/include/time.h:136:19: note: previous declaration of ‘localtime’ with type ‘struct tm *(const time_t *)’ {aka ‘struct tm *(const long int *)’}
136 | extern struct tm *localtime (const time_t *__timer) __THROW;
| ^~~~~~~~~
unzip.c: In function ‘main’:
unzpriv.h:1038:17: warning: old-style function definition [-Wold-style-definition]
1038 | # define MAIN main
| ^~~~
unzip.c:734:5: note: in expansion of macro ‘MAIN’
734 | int MAIN(argc, argv) /* return PK-type error code (except under VMS) */
| ^~~~
unzip.c: In function ‘unzip’:
unzip.c:753:5: warning: old-style function definition [-Wold-style-definition]
753 | int unzip(__G__ argc, argv)
| ^~~~~
unzip.c: In function ‘uz_opts’:
unzip.c:1351:5: warning: old-style function definition [-Wold-style-definition]
1351 | int uz_opts(__G__ pargc, pargv)
| ^~~~~~~
unzip.c: In function ‘usage’:
unzip.c:2100:5: warning: old-style function definition [-Wold-style-definition]
2100 | int usage(__G__ error) /* return PK-type error code */
| ^~~~~
make[2]: *** [unix/Makefile:234: unzip.o] Error 1
** Affects: unzip (Ubuntu)
Importance: Undecided
Assignee: Graham Inggs (ginggs)
Status: New
** Tags: dcr-incoming ftbfs
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to unzip in Ubuntu.
https://bugs.launchpad.net/bugs/2125004
Title:
unzip ftbfs in questing archive rebuild
Status in unzip package in Ubuntu:
New
Bug description:
The package fails to build in the recent archive rebuild
https://people.canonical.com/~ginggs/ftbfs-report/test-rebuild-20250910-questing-questing.html
In file included from unzpriv.h:561,
from unzip.h:719,
from unzip.c:68:
unix/unxcfg.h:121:15: error: conflicting types for ‘gmtime’; have ‘struct tm *(void)’
121 | struct tm *gmtime(), *localtime();
| ^~~~~~
In file included from unix/unxcfg.h:120:
/usr/include/time.h:132:19: note: previous declaration of ‘gmtime’ with type ‘struct tm *(const time_t *)’ {aka ‘struct tm *(const long int *)’}
132 | extern struct tm *gmtime (const time_t *__timer) __THROW;
| ^~~~~~
unix/unxcfg.h:121:26: error: conflicting types for ‘localtime’; have ‘struct tm *(void)’
121 | struct tm *gmtime(), *localtime();
| ^~~~~~~~~
/usr/include/time.h:136:19: note: previous declaration of ‘localtime’ with type ‘struct tm *(const time_t *)’ {aka ‘struct tm *(const long int *)’}
136 | extern struct tm *localtime (const time_t *__timer) __THROW;
| ^~~~~~~~~
unzip.c: In function ‘main’:
unzpriv.h:1038:17: warning: old-style function definition [-Wold-style-definition]
1038 | # define MAIN main
| ^~~~
unzip.c:734:5: note: in expansion of macro ‘MAIN’
734 | int MAIN(argc, argv) /* return PK-type error code (except under VMS) */
| ^~~~
unzip.c: In function ‘unzip’:
unzip.c:753:5: warning: old-style function definition [-Wold-style-definition]
753 | int unzip(__G__ argc, argv)
| ^~~~~
unzip.c: In function ‘uz_opts’:
unzip.c:1351:5: warning: old-style function definition [-Wold-style-definition]
1351 | int uz_opts(__G__ pargc, pargv)
| ^~~~~~~
unzip.c: In function ‘usage’:
unzip.c:2100:5: warning: old-style function definition [-Wold-style-definition]
2100 | int usage(__G__ error) /* return PK-type error code */
| ^~~~~
make[2]: *** [unix/Makefile:234: unzip.o] Error 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/2125004/+subscriptions
Follow ups