Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 810751 Details for
Bug 871246
media-gfx/pngtools-0.4-r2 - pngchunkdesc.c: error: call to undeclared library function isupper with
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:20220918-095802.log
media-gfx:pngtools-0.4-r2:20220918-095802.log (text/plain), 15.54 KB, created by
Toralf Förster
on 2022-09-18 10:03:07 UTC
(
hide
)
Description:
media-gfx:pngtools-0.4-r2:20220918-095802.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-09-18 10:03:07 UTC
Size:
15.54 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 userland_GNU > * 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.sub with /usr/share/gnuconfig/config.sub > * econf: updating pngtools-0.4/config.guess with /usr/share/gnuconfig/config.guess >./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 >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /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... clang >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 clang accepts -g... yes >checking for clang option to enable C11 features... none needed >checking whether clang understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of clang... 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... /bin/grep >checking for egrep... /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. >'/var/tmp/portage/media-gfx/pngtools-0.4-r2/temp/clang14.log' -> '/var/tmp/clang/media-gfx/pngtools-0.4-r2/clang14.log' >'/var/tmp/portage/media-gfx/pngtools-0.4-r2/temp/clang15.log' -> '/var/tmp/clang/media-gfx/pngtools-0.4-r2/clang15.log' >>>> Compiling source in /var/tmp/portage/media-gfx/pngtools-0.4-r2/work/pngtools-0.4 ... >make -j4 >clang -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. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o pnginfo.o pnginfo.c >clang -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. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o pngcp.o pngcp.c >clang -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. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o pngread.o pngread.c >clang -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. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o pngwrite.o pngwrite.c >pnginfo.c:155:7: warning: logical not is only applied to the left hand side of > this comparison [-Wlogical-not-parentheses] > if (!png_sig_cmp(sig, 0, 8) == 0) > ^ ~~ >pnginfo.c:155:7: note: add parentheses after the '!' to evaluate the comparison > first > if (!png_sig_cmp(sig, 0, 8) == 0) > ^ > ( ) >pnginfo.c:155:7: note: add parentheses around left hand side expression to > silence this warning > if (!png_sig_cmp(sig, 0, 8) == 0) > ^ > ( ) >pnginfo.c:180:28: warning: incompatible pointer types passing 'unsigned long *' > to parameter of type 'png_uint_32 *' (aka 'unsigned int *') > [-Wincompatible-pointer-types] > png_get_IHDR (png, info, &width, &height, &bitdepth, &colourtype, NULL, > ^~~~~~ >/usr/include/png.h:2039:45: note: passing argument to parameter 'width' here > png_const_inforp info_ptr, png_uint_32 *width, png_uint_32 *height, > ^ >pnginfo.c:180:36: warning: incompatible pointer types passing 'unsigned long *' > to parameter of type 'png_uint_32 *' (aka 'unsigned int *') > [-Wincompatible-pointer-types] > png_get_IHDR (png, info, &width, &height, &bitdepth, &colourtype, NULL, > ^~~~~~~ >/usr/include/png.h:2039:65: note: passing argument to parameter 'height' here > png_const_inforp info_ptr, png_uint_32 *width, png_uint_32 *height, > ^ >pnginfo.c:187:51: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > printf (" Image Width: %d Image Length: %d\n", width, height); > ~~ ^~~~~ > %lu >pnginfo.c:187:58: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > printf (" Image Width: %d Image Length: %d\n", width, height); > ~~ ^~~~~~ > %lu >pngread.c:29:6: warning: logical not is only applied to the left hand side of > this comparison [-Wlogical-not-parentheses] >pnginfo.c:379:14: warning: assigning to 'char *' from 'unsigned char *' converts > between pointers to integer types where if(!png_sig_cmp(sig, 0, 8) == 0){one is > of the unique plain 'char' > ^ ~~ >pngread.c:29:6: note: add parentheses after the '!' to evaluate the comparison > first > if(!png_sig_cmp(sig, 0, 8) == 0){ > ^ > ( ) >type and the other is not [-Wpointer-sign] > bitmap = (unsigned char *) pnginfo_xmalloc ((rowbytes * height) + 1); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >pngread.c:29:6: note: add parentheses around left hand pnginfo.cside: 384expression:18: warning: assigning to 'png_byte *' (aka 'unsigned char *') > fromto 'char *' >converts between pointers to integer types where one is of >silence thethis unique plain 'char' typewarning >and the other is not [-Wpointer-sign] > if(!png_sig_cmp(sig, 0, 8) == 0){ > ^ > row_pointers[i] = bitmap + (i * rowbytes); ( ) > > ^ ~~~~~~~~~~~~~~~~~~~~~~~ >pnginfo.c:417:24: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > printf ("* %d ", runlen); > ~~ ^~~~~~ > %lu >pngread.c:58:27: warning: incompatible pointer types passing 'unsigned long *' > to parameter of type 'png_uint_32 *' (aka 'unsigned int *') > [-Wincompatible-pointer-types] > png_get_IHDR(png, info, width, height, bitdepth, &colourtype, NULL, > ^~~~~ >pngcp.c:69:74: warning: comparison between pointer and integer > ('char *' and 'int') [-Wpointer-integer-compare] > if((input = readimage(argv[i], &width, &height, &bitdepth, &channels)) == -1){ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~ >/usr/include/png.h:2039:45: note: passing argument topngcp.c:77:36: warning: parametercomparison between pointer and integer > ('char *' and 'int') 'width'pngwrite.c[-Wpointer-integer-compare]: > 35:21: warning: channels, targetchannels)) == -1){ >assigning ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~here > >to 'png_byte *' (aka 'unsigned char *') > from 'char *' converts between pointers to integer types where png_const_inforp info_ptr, png_uint_32 *width, png_uint_32 *height, > ^one is of > the unique >plain 'char' type and the other is not [-Wpointer-sign] >pngread.c:58:34: row_pointers[i] = raster + (i * rowbytes); > ^ ~~~~~~~~~~~~~~~~~~~~~~~ >warning: incompatible pointer types passing 'unsigned long *' > to parameter of type 'png_uint_32 *' (aka 'unsigned int *') > [-Wincompatible-pointer-types] > png_get_IHDR(png, info, width, height, bitdepth, &colourtype, NULL, > ^~~~~~ >/usr/include/png.h:2039:65: note: passing argument to parameter 'height' here > png_const_inforp info_ptr, png_uint_32 *width, png_uint_32 *height, > ^ >pngread.c:80:14: warning: assigning to 'char *' from 'unsigned char *' converts > between pointers to integer types where one is of the unique plain 'char' > type and the other is not [-Wpointer-sign] > if((raster = (unsigned char *) malloc ((rowbytes * *height) + 1)) == NULL){ > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >pngread.c:87:21: warning: assigning to 'png_byte *' (aka 'unsigned char *') from > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > row_pointers[i] = raster + (i * rowbytes); > ^ ~~~~~~~~~~~~~~~~~~~~~~~ >2 warnings generated. >5 warnings generated. >clang -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. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o inflateraster.o inflateraster.c >1 warning generated. >clang -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. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o pngchunkdesc.o pngchunkdesc.c >clang -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. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o pngchunks.o pngchunks.c >pngchunkdesc.c:42:8: error: call to undeclared library function 'isupper' with > type 'int (int)'; ISO C99 and later do not support implicit function > declarations [-Werror,-Wimplicit-function-declaration] > isupper (s[0]) ? meanings[0][0] : meanings[0][1], > ^ >pngchunkdesc.c:42:8: note: include the header <ctype.h> or explicitly provide a > declaration for 'isupper' >1 error generated. >make: *** [Makefile:421: pngchunkdesc.o] Error 1 >make: *** Waiting for unfinished jobs.... >8 warnings generated. >pngchunks.c:87:7: error: call to undeclared function 'ntohl'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > ntohl(head->len), > ^ >pngchunks.c:95:15: error: call to undeclared library function 'isupper' with > type 'int (int)'; ISO C99 and later do not support implicit function > declarations [-Werror,-Wimplicit-function-declaration] > isupper (head->type.c[0]) ? meanings[0][0] : meanings[0][1], > ^ >pngchunks.c:95:15: note: include the header <ctype.h> or explicitly provide a > declaration for 'isupper' >2 errors generated. >make: *** [Makefile:421: pngchunks.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:20220918-095802.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 871246
:
810733
|
810736
|
810739
|
810742
|
810745
|
810748
| 810751 |
810754