Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 897165 Details for
Bug 935659
media-gfx/pngtools-0.4-r2 - [perl-5.40] [ncurses-6.5] [icu-75.1] pnginfo.c: error: passing argument 3 of png_get_IHDR from incompatible pointer type [-Wincompatible-pointer-types]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-gfx:pngtools-0.4-r2:20240705-165713.log
media-gfx:pngtools-0.4-r2:20240705-165713.log (text/plain), 11.26 KB, created by
Toralf Förster
on 2024-07-06 08:10:52 UTC
(
hide
)
Description:
media-gfx:pngtools-0.4-r2:20240705-165713.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-07-06 08:10:52 UTC
Size:
11.26 KB
patch
obsolete
> * Package: media-gfx/pngtools-0.4-r2:0 > * Repository: gentoo > * Maintainer: robbat2@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking pngtools_0_4.tgz to /var/tmp/portage/media-gfx/pngtools-0.4-r2/work >>>> Source unpacked in /var/tmp/portage/media-gfx/pngtools-0.4-r2/work >>>> Preparing source in /var/tmp/portage/media-gfx/pngtools-0.4-r2/work/pngtools-0.4 ... > * Applying pngtools-0.3-implicit-declarations.patch ... > [ ok ] > * Applying pngtools-0.4-libpng14.patch ... > [ ok ] > * Applying pngtools-0.4-libpng15-fixes.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/media-gfx/pngtools-0.4-r2/work/pngtools-0.4' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/media-gfx/pngtools-0.4-r2/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: pngtools-0.4/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/media-gfx/pngtools-0.4-r2/work/pngtools-0.4 ... > * econf: updating pngtools-0.4/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating pngtools-0.4/config.sub with /usr/share/gnuconfig/config.sub >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/pngtools-0.4-r2 --htmldir=/usr/share/doc/pngtools-0.4-r2/html --libdir=/usr/lib64 >configure: loading site script /usr/share/config.site >configure: loading site script /usr/share/config.site.d/80crossdev.conf >checking for a BSD-compatible install... /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /usr/bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking whether to enable maintainer-specific portions of Makefiles... no >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking for atan in -lm... yes >checking for png_libpng_ver in -lpng... no >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/bin/grep -E >checking for stdio.h... (cached) yes >checking for png.h... yes >checking for vprintf... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: executing depfiles commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/media-gfx/pngtools-0.4-r2/work/pngtools-0.4 ... >make -j4 >x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pngtools\" -DVERSION=\"0.2\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDIO_H=1 -DHAVE_PNG_H=1 -DHAVE_VPRINTF=1 -I. -O2 -pipe -march=native -fno-diagnostics-color -c -o pnginfo.o pnginfo.c >x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pngtools\" -DVERSION=\"0.2\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDIO_H=1 -DHAVE_PNG_H=1 -DHAVE_VPRINTF=1 -I. -O2 -pipe -march=native -fno-diagnostics-color -c -o pngcp.o pngcp.c >x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pngtools\" -DVERSION=\"0.2\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDIO_H=1 -DHAVE_PNG_H=1 -DHAVE_VPRINTF=1 -I. -O2 -pipe -march=native -fno-diagnostics-color -c -o pngread.o pngread.c >x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pngtools\" -DVERSION=\"0.2\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDIO_H=1 -DHAVE_PNG_H=1 -DHAVE_VPRINTF=1 -I. -O2 -pipe -march=native -fno-diagnostics-color -c -o pngwrite.o pngwrite.c >pnginfo.c: In function âpnginfo_displayfileâ: >pnginfo.c:180:28: error: passing argument 3 of âpng_get_IHDRâ from incompatible pointer type [-Wincompatible-pointer-types] > 180 | png_get_IHDR (png, info, &width, &height, &bitdepth, &colourtype, NULL, > | ^~~~~~ > | | > | long unsigned int * >In file included from /usr/include/png.h:345, > from pnginfo.c:75: >/usr/include/png.h:2041:1: note: expected âpng_uint_32 *â {aka âunsigned int *â} but argument is of type âlong unsigned int *â > 2041 | PNG_EXPORT(143, png_uint_32, png_get_IHDR, (png_const_structrp png_ptr, > | ^~~~~~~~~~ >pnginfo.c:180:36: error: passing argument 4 of âpng_get_IHDRâ from incompatible pointer type [-Wincompatible-pointer-types] > 180 | png_get_IHDR (png, info, &width, &height, &bitdepth, &colourtype, NULL, > | ^~~~~~~ > | | > | long unsigned int * >/usr/include/png.h:2041:1: note: expected âpng_uint_32 *â {aka âunsigned int *â} but argument is of type âlong unsigned int *â > 2041 | PNG_EXPORT(143, png_uint_32, png_get_IHDR, (png_const_structrp png_ptr, > | ^~~~~~~~~~ >pnginfo.c:187:28: warning: format â%dâ expects argument of type âintâ, but argument 2 has type âlong unsigned intâ [-Wformat=] > 187 | printf (" Image Width: %d Image Length: %d\n", width, height); > | ~^ ~~~~~ > | | | > | int long unsigned int > | %ld >pnginfo.c:187:45: warning: format â%dâ expects argument of type âintâ, but argument 3 has type âlong unsigned intâ [-Wformat=] > 187 | printf (" Image Width: %d Image Length: %d\n", width, height); > | ~^ ~~~~~~ > | | | > | int long unsigned int > | %ld >pnginfo.c:417:33: warning: format â%dâ expects argument of type âintâ, but argument 2 has type âlong unsigned intâ [-Wformat=] > 417 | printf ("* %d ", runlen); > | ~^ ~~~~~~ > | | | > | int long unsigned int > | %ld >pnginfo.c:154:3: warning: ignoring return value of âfreadâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 154 | fread (sig, 1, 8, image); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >pngcp.c: In function âmainâ: >pngcp.c:69:74: warning: comparison between pointer and integer > 69 | ut = readimage(argv[i], &width, &height, &bitdepth, &channels)) == -1){ > | ^~ > >pngcp.c:77:57: warning: comparison between pointer and integer > 77 | channels, targetchannels)) == -1){ > | ^~ >make: *** [Makefile:421: pnginfo.o] Error 1 >make: *** Waiting for unfinished jobs.... >pngread.c: In function âreadimageâ: >pngread.c:58:27: error: passing argument 3 of âpng_get_IHDRâ from incompatible pointer type [-Wincompatible-pointer-types] > 58 | png_get_IHDR(png, info, width, height, bitdepth, &colourtype, NULL, > | ^~~~~ > | | > | long unsigned int * >In file included from /usr/include/png.h:345, > from pngread.c:4: >/usr/include/png.h:2041:1: note: expected âpng_uint_32 *â {aka âunsigned int *â} but argument is of type âlong unsigned int *â > 2041 | PNG_EXPORT(143, png_uint_32, png_get_IHDR, (png_const_structrp png_ptr, > | ^~~~~~~~~~ >pngread.c:58:34: error: passing argument 4 of âpng_get_IHDRâ from incompatible pointer type [-Wincompatible-pointer-types] > 58 | png_get_IHDR(png, info, width, height, bitdepth, &colourtype, NULL, > | ^~~~~~ > | | > | long unsigned int * >/usr/include/png.h:2041:1: note: expected âpng_uint_32 *â {aka âunsigned int *â} but argument is of type âlong unsigned int *â > 2041 | PNG_EXPORT(143, png_uint_32, png_get_IHDR, (png_const_structrp png_ptr, > | ^~~~~~~~~~ >pngread.c:28:3: warning: ignoring return value of âfreadâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 28 | fread(sig, 1, 8, image); > | ^~~~~~~~~~~~~~~~~~~~~~~ >make: *** [Makefile:421: pngread.o] Error 1 > * ERROR: media-gfx/pngtools-0.4-r2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=media-gfx/pngtools-0.4-r2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-gfx/pngtools-0.4-r2::gentoo'`. > * The complete build log is located at '/var/log/portage/media-gfx:pngtools-0.4-r2:20240705-165713.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-gfx/pngtools-0.4-r2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-gfx/pngtools-0.4-r2/temp/environment'. > * Working directory: '/var/tmp/portage/media-gfx/pngtools-0.4-r2/work/pngtools-0.4' > * S: '/var/tmp/portage/media-gfx/pngtools-0.4-r2/work/pngtools-0.4' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 935659
:
897159
|
897160
|
897161
|
897162
|
897163
|
897164
| 897165 |
897166
|
897167