DEBUG: Executing shell function do_compile
NOTE: make -j 16 -l 75 -e MAKEFLAGS= STRIP=true LF2= CF_NOOPT=-I. -Ibzip2 -DUNIX  -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/unzip60=/usr/src/debug/unzip/6.0  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/unzip60=/usr/src/debug/unzip/6.0  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/unzip60=/usr/src/debug/unzip/6.0  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/unzip60=/usr/src/debug/unzip/6.0  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/recipe-sysroot-native=  -pipe -f unix/Makefile generic
sh unix/configure "x86_64-poky-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/recipe-sysroot" "-I. -Ibzip2 -DUNIX  -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/unzip60=/usr/src/debug/unzip/6.0  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/unzip60=/usr/src/debug/unzip/6.0  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/unzip60=/usr/src/debug/unzip/6.0  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/unzip60=/usr/src/debug/unzip/6.0  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/recipe-sysroot-native=  -pipe" "bzip2"
Check C compiler operation
  Ok
Check C compiler type (optimization options)
  GNU C ()
Check for the C preprocessor
Check if we can use asm code
Check for ANSI options
Check for prototypes
Check the handling of const
Check for time_t
Check for size_t
Check for off_t
Check for Large File Support
-- yes we have Large File Support!
Check for wide char support
-- have wchar_t with known UCS encoding - enabling Unicode support!
Check for setlocale support (needed for UNICODE Native check)
-- have setlocale, can check for charset type
--  - enabling UTF8-native support!
Check for gcc no-builtin flag
Check for fchmod
Check for fchown
Check for lchown
Check for nl_langinfo
Check for lchmod
conftest.c: In function 'main':
conftest.c:2:14: error: implicit declaration of function 'lchmod' [-Wimplicit-function-declaration]
    2 | int main() { lchmod("/tmp/unzip_test_1429740", 0666); }
      |              ^~~~~~
Check for memset
Check for errno declaration
Check for directory libraries
Check for readlink
Check for directory include file
Check for non existent include files
Check for term I/O include file
Check for MBCS include files
Check for MBCS support
-- have MBCS support
Check for MBCS mbschr
Check for MBCS mbsrchr
Check for valloc
Check for /usr/local/bin and /usr/local/man
Checking for OS specialties
Check for symbolic links
Check bzip2 support
  Check for bzip2 sources in unzip's bzip2 subdirectory
-- bzip2 sources not found - no bzip2 support
eval make -f unix/Makefile unzips ACONF_DEP=flags `cat flags`
make[1]: Entering directory 'TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/unzip60'
x86_64-poky-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/recipe-sysroot -c -I. -Ibzip2 -DUNIX -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/unzip60=/usr/src/debug/unzip/6.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/unzip60=/usr/src/debug/unzip/6.0 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/unzip60=/usr/src/debug/unzip/6.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/unzip60=/usr/src/debug/unzip/6.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/recipe-sysroot-native= -pipe -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS  unzip.c
In file included from unzpriv.h:561,
                 from unzip.h:719,
                 from unzip.c:68:
unix/unxcfg.h:120:15: error: conflicting types for 'gmtime'; have 'struct tm *(void)'
  120 |    struct tm *gmtime(), *localtime();
      |               ^~~~~~
In file included from unix/unxcfg.h:119:
TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/recipe-sysroot/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:120:26: error: conflicting types for 'localtime'; have 'struct tm *(void)'
  120 |    struct tm *gmtime(), *localtime();
      |                          ^~~~~~~~~
TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/recipe-sysroot/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:735:5: note: in expansion of macro 'MAIN'
  735 | int MAIN(argc, argv)   /* return PK-type error code (except under VMS) */
      |     ^~~~
unzip.c: In function 'unzip':
unzip.c:754:5: warning: old-style function definition [-Wold-style-definition]
  754 | int unzip(__G__ argc, argv)
      |     ^~~~~
unzip.c: In function 'uz_opts':
unzip.c:1352:5: warning: old-style function definition [-Wold-style-definition]
 1352 | int uz_opts(__G__ pargc, pargv)
      |     ^~~~~~~
unzip.c: In function 'usage':
unzip.c:2097:5: warning: old-style function definition [-Wold-style-definition]
 2097 | int usage(__G__ error)   /* return PK-type error code */
      |     ^~~~~
unzpriv.h:1009:45: warning: format '%c' expects argument of type 'int', but argument 3 has type 'char *' [-Wformat=]
 1009 | #    define LoadFarString(x)        (char *)(x)
      |                                             ^
unzpriv.h:2718:61: note: in definition of macro 'Info'
 2718 |        (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
      |                                                             ^~~~~~~~
unzip.c:2118:43: note: in expansion of macro 'LoadFarString'
 2118 |         Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3),
      |                                           ^~~~~~~~~~~~~
unzpriv.h:1009:45: warning: format '%c' expects a matching 'int' argument [-Wformat=]
 1009 | #    define LoadFarString(x)        (char *)(x)
      |                                             ^
unzpriv.h:2718:61: note: in definition of macro 'Info'
 2718 |        (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
      |                                                             ^~~~~~~~
unzip.c:2118:43: note: in expansion of macro 'LoadFarString'
 2118 |         Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3),
      |                                           ^~~~~~~~~~~~~
unzpriv.h:1009:45: warning: format '%c' expects a matching 'int' argument [-Wformat=]
 1009 | #    define LoadFarString(x)        (char *)(x)
      |                                             ^
unzpriv.h:2718:61: note: in definition of macro 'Info'
 2718 |        (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
      |                                                             ^~~~~~~~
unzip.c:2118:43: note: in expansion of macro 'LoadFarString'
 2118 |         Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3),
      |                                           ^~~~~~~~~~~~~
unzpriv.h:1009:45: warning: format '%c' expects a matching 'int' argument [-Wformat=]
 1009 | #    define LoadFarString(x)        (char *)(x)
      |                                             ^
unzpriv.h:2718:61: note: in definition of macro 'Info'
 2718 |        (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
      |                                                             ^~~~~~~~
unzip.c:2118:43: note: in expansion of macro 'LoadFarString'
 2118 |         Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3),
      |                                           ^~~~~~~~~~~~~
unzpriv.h:1009:45: warning: format '%s' expects a matching 'char *' argument [-Wformat=]
 1009 | #    define LoadFarString(x)        (char *)(x)
      |                                             ^
unzpriv.h:2718:61: note: in definition of macro 'Info'
 2718 |        (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
      |                                                             ^~~~~~~~
unzip.c:2118:43: note: in expansion of macro 'LoadFarString'
 2118 |         Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3),
      |                                           ^~~~~~~~~~~~~
make[1]: *** [unix/Makefile:234: unzip.o] Error 1
make[1]: Leaving directory 'TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/unzip60'
make: *** [unix/Makefile:544: generic] Error 2
ERROR: oe_runmake failed
WARNING: TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/temp/run.do_compile.1429352:166 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
	#1: bbfatal_log, TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/temp/run.do_compile.1429352, line 166
	#2: die, TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/temp/run.do_compile.1429352, line 150
	#3: oe_runmake, TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/temp/run.do_compile.1429352, line 145
	#4: do_compile, TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/temp/run.do_compile.1429352, line 140
	#5: main, TOPDIR/tmp/work/core2-64-poky-linux/unzip/6.0/temp/run.do_compile.1429352, line 179

Error details

Submitted on:
10/03/25 17:12
Error type:
Recipe
Task:
do_compile
Recipe:
unzip
Recipe version:
1_6.0-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
fedora-40/fedora-40
Branch:
kraj/gcc-15
Commit:
6b0abfdb1ad99206bd4b3357829ddf9717c9560e
Build:
#201721
Submitter:
yp-ab-fedora40-vk-3.yocto.io
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/68/builds/1187
Similar errors:
1
Open a bug