Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 831099 Details for
Bug 880943
media-libs/libifp-1.0.0.2-r1 - userfile.c: error: incompatible function pointer types passing int
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-libs:libifp-1.0.0.2-r1:20221111-111703.log
media-libs:libifp-1.0.0.2-r1:20221111-111703.log (text/plain), 36.60 KB, created by
Toralf Förster
on 2022-11-11 12:28:01 UTC
(
hide
)
Description:
media-libs:libifp-1.0.0.2-r1:20221111-111703.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-11-11 12:28:01 UTC
Size:
36.60 KB
patch
obsolete
> * Package: media-libs/libifp-1.0.0.2-r1:0 > * Repository: gentoo > * Maintainer: sound@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking libifp-1.0.0.2.tar.gz to /var/tmp/portage/media-libs/libifp-1.0.0.2-r1/work >>>> Source unpacked in /var/tmp/portage/media-libs/libifp-1.0.0.2-r1/work >>>> Preparing source in /var/tmp/portage/media-libs/libifp-1.0.0.2-r1/work/libifp-1.0.0.2 ... >>>> Source prepared. > * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>>> Configuring source in /var/tmp/portage/media-libs/libifp-1.0.0.2-r1/work/libifp-1.0.0.2 ... > * econf: updating libifp-1.0.0.2/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating libifp-1.0.0.2/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 --libdir=/usr/lib64 --disable-static --disable-examples --with-libusb --without-kmodule >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 gawk... gawk >checking whether make sets $(MAKE)... yes >checking for x86_64-pc-linux-gnu-gcc... clang >checking for C compiler default output file name... a.out >checking whether the C compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether clang accepts -g... yes >checking for clang option to accept ANSI C... none needed >checking for style of include used by make... GNU >checking dependency style of clang... none >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking for a sed that does not truncate output... /bin/sed >checking for egrep... grep -E >checking for ld used by clang... /usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld >checking if the linker (/usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes >checking for /usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r >checking for BSD-compatible nm... /usr/bin/x86_64-pc-linux-gnu-nm -B >checking whether ln -s works... yes >checking how to recognise dependent libraries... pass_all >checking how to run the C preprocessor... clang -E >checking for ANSI C header files... no >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking dlfcn.h usability... yes >checking dlfcn.h presence... yes >checking for dlfcn.h... yes >checking for x86_64-pc-linux-gnu-g++... clang++ >checking whether we are using the GNU C++ compiler... yes >checking whether clang++ accepts -g... yes >checking dependency style of clang++... none >checking how to run the C++ preprocessor... clang++ -E >checking for x86_64-pc-linux-gnu-g77... no >checking for x86_64-pc-linux-gnu-f77... no >checking for x86_64-pc-linux-gnu-xlf... no >checking for x86_64-pc-linux-gnu-frt... no >checking for x86_64-pc-linux-gnu-pgf77... no >checking for x86_64-pc-linux-gnu-fort77... no >checking for x86_64-pc-linux-gnu-fl32... no >checking for x86_64-pc-linux-gnu-af77... no >checking for x86_64-pc-linux-gnu-f90... no >checking for x86_64-pc-linux-gnu-xlf90... no >checking for x86_64-pc-linux-gnu-pgf90... no >checking for x86_64-pc-linux-gnu-epcf90... no >checking for x86_64-pc-linux-gnu-f95... no >checking for x86_64-pc-linux-gnu-fort... no >checking for x86_64-pc-linux-gnu-xlf95... no >checking for x86_64-pc-linux-gnu-ifc... no >checking for x86_64-pc-linux-gnu-efc... no >checking for x86_64-pc-linux-gnu-pgf95... no >checking for x86_64-pc-linux-gnu-lf95... no >checking for x86_64-pc-linux-gnu-gfortran... no >checking for g77... no >checking for f77... no >checking for xlf... no >checking for frt... no >checking for pgf77... no >checking for fort77... no >checking for fl32... no >checking for af77... no >checking for f90... no >checking for xlf90... no >checking for pgf90... no >checking for epcf90... no >checking for f95... no >checking for fort... no >checking for xlf95... no >checking for ifc... no >checking for efc... no >checking for pgf95... no >checking for lf95... no >checking for gfortran... no >checking whether we are using the GNU Fortran 77 compiler... no >checking whether accepts -g... no >checking the maximum length of command line arguments... 32768 >checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from clang object... ok >checking for objdir... .libs >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip >checking if clang static flag works... yes >checking if clang supports -fno-rtti -fno-exceptions... yes >checking for clang option to produce PIC... -fPIC >checking if clang PIC flag -fPIC works... yes >checking if clang supports -c -o file.o... yes >checking whether the clang linker (/usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... no >configure: creating libtool >appending configuration tag "CXX" to libtool >checking for ld used by clang++... /usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64 >checking if the linker (/usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) is GNU ld... yes >checking whether the clang++ linker (/usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes >checking for clang++ option to produce PIC... -fPIC >checking if clang++ PIC flag -fPIC works... yes >checking if clang++ supports -c -o file.o... yes >checking whether the clang++ linker (/usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >appending configuration tag "F77" to libtool >checking whether byte ordering is bigendian... no >checking libusb... done >checking usb.h usability... yes >checking usb.h presence... yes >checking for usb.h... yes >checking for usb_init in -lusb... yes >checking for strncasecmp... yes >checking for inttypes.h... (cached) yes >checking stdio.h usability... yes >checking stdio.h presence... yes >checking for stdio.h... yes >checking for sys/types.h... (cached) yes >checking wchar.h usability... yes >checking wchar.h presence... yes >checking for wchar.h... yes >checking for string.h... (cached) yes >checking time.h usability... yes >checking time.h presence... yes >checking for time.h... yes >checking fts.h usability... yes >checking fts.h presence... yes >checking for fts.h... yes >checking iconv.h usability... yes >checking iconv.h presence... yes >checking for iconv.h... yes >checking for inline... inline >checking if we should build the examples... no >checking for doxygen... no >checking kernel source code... no >configure: creating ./config.status >config.status: creating Makefile >config.status: creating docs/Makefile >config.status: creating dpkg/Makefile >config.status: creating docs/doxygen.cfg >config.status: creating examples/Makefile >config.status: creating kbuild/Makefile >config.status: creating src/Makefile >config.status: executing depfiles commands > >----------------------------------------------------- >configuration complete > libifp: yes > linux kernel module: no > examples: no > documentation: no >----------------------------------------------------- >type 'make' to build > >>>> Source configured. >'/var/tmp/portage/media-libs/libifp-1.0.0.2-r1/temp/clang16-errors.log' -> '/var/tmp/clang/media-libs/libifp-1.0.0.2-r1/clang16-errors.log' >'/var/tmp/portage/media-libs/libifp-1.0.0.2-r1/temp/clang16-safe.log' -> '/var/tmp/clang/media-libs/libifp-1.0.0.2-r1/clang16-safe.log' >>>> Compiling source in /var/tmp/portage/media-libs/libifp-1.0.0.2-r1/work/libifp-1.0.0.2 ... >make -j4 >Making all in src >make[1]: Entering directory '/var/tmp/portage/media-libs/libifp-1.0.0.2-r1/work/libifp-1.0.0.2/src' >/bin/sh ../libtool --mode=compile clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I. -I../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -W -Wno-unused-parameter -c -o userfile.lo `test -f 'userfile.c' || echo './'`userfile.c >/bin/sh ../libtool --mode=compile clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I. -I../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -W -Wno-unused-parameter -c -o comp.lo `test -f 'comp.c' || echo './'`comp.c >/bin/sh ../libtool --mode=compile clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I. -I../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -W -Wno-unused-parameter -c -o ifp_os_libusb.lo `test -f 'ifp_os_libusb.c' || echo './'`ifp_os_libusb.c >/bin/sh ../libtool --mode=compile clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I. -I../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -W -Wno-unused-parameter -c -o readwrite.lo `test -f 'readwrite.c' || echo './'`readwrite.c >mkdir .libs >mkdir .libs >mkdir .libs >mkdir: cannot create directory '.libs': File existsmkdir: >cannot create directory '.libs': File exists > clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I. -I../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -W -Wno-unused-parameter -c comp.c -fPIC -DPIC -o .libs/comp.o > clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I. -I../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -W -Wno-unused-parameter -c ifp_os_libusb.c -fPIC -DPIC -o .libs/ifp_os_libusb.o > clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I. -I../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -W -Wno-unused-parameter -c readwrite.c -fPIC -DPIC -o .libs/readwrite.o > clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I. -I../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -W -Wno-unused-parameter -c userfile.c -fPIC -DPIC -o .libs/userfile.o >readwrite.c:87:10: warning: passing 'uint8_t[1024]' (aka 'unsigned char[1024]') > to parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strncpy(dev->filename, f, IFP_BUFFER_SIZE); > ^~~~~~~~~~~~~ >/usr/include/string.h:144:40: note: passing argument to parameter '__dest' here >extern char *strncpy (char *__restrict __dest, > ^ >readwrite.c:88:29: warning: passing 'uint8_t[1024]' (aka 'unsigned char[1024]') > to parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = ifp_copy_parent_string(dev->dirname, f, IFP_BUFFER_SIZE); > ^~~~~~~~~~~~ >readwrite.c:13:35: note: passing argument to parameter 'p' here >int ifp_copy_parent_string(char * p, const char * f, int n) { > ^ >readwrite.c:91:29: warning: passing 'uint8_t[1024]' (aka 'unsigned char[1024]') > to parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = check_permissions(dev, dev->filename); > ^~~~~~~~~~~~~ >readwrite.c:36:68: note: passing argument to parameter 'f' here >static int check_permissions(struct ifp_device * dev, const char * f) { > ^ >readwrite.c:94:23: warning: passing 'uint8_t[16384]' > (aka 'unsigned char[16384]') to parameter of type 'char *' converts > between pointers to integer types where one is of the unique plain 'char' > type and the other is not [-Wpointer-sign] > i = mangle_filename(dev->iobuff, dev->filename, IFP_BUFF... > ^~~~~~~~~~~ >readwrite.c:58:35: note: passing argument to parameter 'd' here >static int mangle_filename(char * d, const char * s, int n) > ^ >readwrite.c:94:36: warning: passing 'uint8_t[1024]' (aka 'unsigned char[1024]') > to parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = mangle_filename(dev->iobuff, dev->filename, IFP_BUFF... > ^~~~~~~~~~~~~ >readwrite.c:58:51: note: passing argument to parameter 's' here >static int mangle_filename(char * d, const char * s, int n) > ^ >readwrite.c:97:23: warning: passing 'uint8_t[1024]' (aka 'unsigned char[1024]') > to parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = ifp_rename(dev, dev->filename, dev->iobuff); > ^~~~~~~~~~~~~ >../include/ifp.h:321:54: note: passing argument to parameter 'old_path' here >int ifp_rename(struct ifp_device * dev, const char * old_path, const cha... > ^ >readwrite.c:97:38: warning: passing 'uint8_t[16384]' > (aka 'unsigned char[16384]') to parameter of type 'const char *' converts > between pointers to integer types where one is of the unique plain 'char' > type and the other is not [-Wpointer-sign] > i = ifp_rename(dev, dev->filename, dev->iobuff); > ^~~~~~~~~~~ >../include/ifp.h:321:77: note: passing argument to parameter 'new_path' here > ...ifp_device * dev, const char * old_path, const char * new_path); > ^ >readwrite.c:100:12: warning: assigning to 'const char *' from 'uint8_t[16384]' > (aka 'unsigned char[16384]') converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > realfile = dev->iobuff; > ^ ~~~~~~~~~~~ >readwrite.c:104:12: warning: assigning to 'const char *' from 'uint8_t[1024]' > (aka 'unsigned char[1024]') converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > realfile = dev->filename; > ^ ~~~~~~~~~~~~~ >readwrite.c:108:24: warning: passing 'uint8_t[1024]' (aka 'unsigned char[1024]') > to parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = ifp_dir_open(dev, dev->dirname); > ^~~~~~~~~~~~ >./prim.h:91:56: note: passing argument to parameter 'f' here >int ifp_dir_open(struct ifp_device * dev, const char * f); > ^ >readwrite.c:161:29: warning: passing 'uint8_t[1024]' (aka 'unsigned char[1024]') > to parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = check_permissions(dev, dev->filename); > ^~~~~~~~~~~~~ >readwrite.c:36:68: note: passing argument to parameter 'f' here >static int check_permissions(struct ifp_device * dev, const char * f) { > ^ >readwrite.c:163:23: warning: passing 'uint8_t[16384]' (aka > 'unsigned char[16384]') to parameter of type 'char *' converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > i = mangle_filename(dev->iobuff, dev->filename, IFP_BUFF... > ^~~~~~~~~~~ >readwrite.c:58:35: note: passing argument to parameter 'd' here >static int mangle_filename(char * d, const char * s, int n) > ^ >readwrite.c:163:36: warning: passing 'uint8_t[1024]' (aka 'unsigned char[1024]') > to parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = mangle_filename(dev->iobuff, dev->filename, IFP_BUFF... > ^~~~~~~~~~~~~ >readwrite.c:58:51: note: passing argument to parameter 's' here >static int mangle_filename(char * d, const char * s, int n) > ^ >readwrite.c:165:23: warning: passing 'uint8_t[16384]' (aka > 'unsigned char[16384]') to parameter of type 'const char *' converts > between pointers to integer types where one is of the unique plain 'char' > type and the other is not [-Wpointer-sign] > i = ifp_rename(dev, dev->iobuff, dev->filename); > ^~~~~~~~~~~ >../include/ifp.h:321:54: note: passing argument to parameter 'old_path' here >int ifp_rename(struct ifp_device * dev, const char * old_path, const cha... > ^ >readwrite.c:165:36: warning: passing 'uint8_t[1024]' (aka 'unsigned char[1024]') > to parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = ifp_rename(dev, dev->iobuff, dev->filename); > ^~~~~~~~~~~~~ >../include/ifp.h:321:77: note: passing argument to parameter 'new_path' here > ...ifp_device * dev, const char * old_path, const char * new_path); > ^ >comp.c:26:12: warning: initializing 'char *' with an expression of type > 'uint8_t[1024]' (aka 'unsigned char[1024]') converts between pointers to > integer types where one is of the unique plain 'char' type and the other > is not [-Wpointer-sign] > char * p = dev->b2; > ^ ~~~~~~~ >readwrite.c:436:29: warning: passing 'uint8_t[1024]' (aka 'unsigned char[1024]') > to parameter comp.cof :type156 :'char *'33 :converts warning: betweenpassing pointers'uint8_t *' to(aka 'unsigned char *') integerto typesparameter > > where one is of the unique plain 'char'of typetype and'char *' theconverts otherbetween ispointers notto > integer[-Wpointer-sign] >types where one is > of the unique i = ifp_copy_parent_string(dev->dirname, f, IFP_BUFFER_SIZE); >plain ^~~~~~~~~~~~ >'char'readwrite.c :type13 :and35 :the note: otherpassing is argumentnot to[-Wpointer-sign] >parameter 'p' here > ret = ifp_dir_next_debug(dev, utf8_buf, IFP_BUFFER_SIZE,int ifp_copy_parent_string(char * p, const char * f, int n) { > > ^~~~~~~~ ^ > >./prim.h:102:56: note: passing argument to parameter 's' here >int ifp_dir_next_debug(struct ifp_device * dev, char * s, int n, int mode, > ^ >readwrite.c:439:24: warning: passing 'uint8_t[1024]' (aka 'unsigned char[1024]') > to parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = ifp_dir_open(dev, dev->dirname); > ^~~~~~~~~~~~ >./prim.h:91:56: note: passing argument to parameter 'f' here >comp.c:166:12int ifp_dir_open(struct ifp_device * dev, const char * f);: > ^warning: >passing 'uint8_t *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strlen(utf8_buf), > ^~~~~~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >comp.c:165:readwrite.c29::450 :warning: 29passing: 'uint8_t *'warning: passing(aka 'unsigned char *') 'uint8_t[1024]'to (aka 'unsigned char[1024]') > to parameter of type 'const char *' converts between pointers to parameterinteger > > oftypes typewhere 'const char *'one convertsis betweenof pointersthe unique plain 'char' type and the other tois integernot >types [-Wpointer-sign]where > > one is of the unique i = ifp_file_open_new(dev, dev->filename, filesize); >plain ^~~~~~~~~~~~~ >'char'./prim.h :type83 :and61 :the note: otherpassing isargument notto > parameter[-Wpointer-sign] >'f' here > i = callbk(context, ret, utf8_buf, > ^~~~~~~~ >int ifp_file_open_new(struct ifp_device * dev, const char * f, int filesize); > ^ >readwrite.c:473:24: warning: passing 'uint8_t[1024]' (aka 'unsigned char[1024]') > to parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = ifp_dir_open(dev, dev->dirname); > ^~~~~~~~~~~~ >./prim.h:91:56: note: passing argument to parameter 'f' here >int ifp_dir_open(struct ifp_device * dev, const char * f); > ^ >readwrite.c:476:25: warning: passing 'uint8_t[1024]' (aka 'unsigned char[1024]') > to parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = ifp_file_open(dev, dev->filename); > ^~~~~~~~~~~~~ >./prim.h:82:57: note: passing argument to parameter 'f' here >int ifp_file_open(struct ifp_device * dev, const char * f); > ^ >comp.c:370:9: warning: initializing 'char *' with an expression of type > 'uint8_t[1024]' (aka 'unsigned char[1024]') converts between pointers to > integer types where one is of the unique plain 'char' type and the other > is not [-Wpointer-sign] > char * b = dev->b3; > ^ ~~~~~~~ >ifp_os_libusb.c:53:19: warning: passing 'const char **' to parameter of type > 'char **' discards qualifiers in nested pointer types > [-Wincompatible-pointer-types-discards-qualifiers] > r = iconv(ICONV, &ibb, &i_n, &obb, &o_n); > ^~~~ >/usr/include/iconv.h:49:54: note: passing argument to parameter '__inbuf' here >extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, > ^ >comp.c:398:9: warning: initializing 'char *' with an expression of type > 'uint8_t[1024]' (aka 'unsigned char[1024]') converts between pointers to > integer types where one is of the uniqueifp_os_libusb.c :plain56:68: 'char'warning: formattype specifiesand typethe 'int'other >but isthe notargument [-Wpointer-sign]has > > type 'size_t' char * b = dev->b3; >(aka 'unsigned long') ^ ~~~~~~~ >[-Wformat] > ..."problem converting, i_n is %d, o_n is %d, r = %d", i_n, o_n, r); > ~~ ^~~ > %zu >../include/ifp.h:444:64: note: expanded from macro 'ifp_err_i' >#define ifp_err_i(i, fmt, arg...) ifp_err("err=%d. " fmt, i, ##arg) > ~~~ ^~~ >../include/ifp.h:442:76: note: expanded from macro 'ifp_err' >#define ifp_err(fmt, arg...) ifp_os_err("[%s] " fmt "\n", __FUNCTION__ , ##arg) > ~~~ ^~~ >../include/ifp.h:438:65: note: expanded from macro 'ifp_os_err' >#define ifp_os_err(fmt, arg...) fprintf(stderr, "err: " fmt, ##arg) > ~~~ ^~~ >ifp_os_libusb.c:56:73: warning: format specifies type 'int' but the argument has > type 'size_t' (aka 'unsigned long') [-Wformat] > ..."problem converting, i_n is %d, o_n is %d, r = %d", i_n, o_n, r); > ~~ ^~~ > %zu >../include/ifp.h:444:64: note: expanded from macro 'ifp_err_i' >#define ifp_err_i(i, fmt, arg...) ifp_err("err=%d. " fmt, i, ##arg) > ~~~ ^~~ >../include/ifp.h:442:76: note: expanded from macro 'ifp_err' >#define ifp_err(fmt, arg...) ifp_os_err("[%s] " fmt "\n", __FUNCTION__ , ##arg) > ~~~ ^~~ >../include/ifp.h:438:65: note: expanded from macro 'ifp_os_err' >#define ifp_os_err(fmt, arg...) fprintf(stderr, "err: " fmt, ##arg) > ~~~ ^~~ >ifp_os_libusb.c:56:78: warning: format specifies type 'int' but the argument has > type 'size_t' (aka 'unsigned long') [-Wformat] > ..."problem converting, i_n is %d, o_n is %d, r = %d", i_n, o_n, r); > ~~ ^ > %zu >../include/ifp.h:444:64: note: expanded from macro 'ifp_err_i' >#define ifp_err_i(i, fmt, arg...) ifp_err("err=%d. " fmt, i, ##arg) > ~~~ ^~~ >../include/ifp.h:442:76: note: expanded from macro 'ifp_err' >#define ifp_err(fmt, arg...) ifp_os_err("[%s] " fmt "\n", __FUNCTION__ , ##arg) > ~~~ ^~~ >../include/ifp.h:438:65: note: expanded from macro 'ifp_os_err' >#define ifp_os_err(fmt, arg...) fprintf(stderr, "err: " fmt, ##arg) > ~~~ ^~~ >comp.c:496:25: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = ifp_file_open(dev, buf); > ^~~ >./prim.h:82:57: note: passing argument to parameter 'f' here >int ifp_file_open(struct ifp_device * dev, const char * f); > ^ >ifp_os_libusb.c:132:66: warning: passing 'uint8_t[8]' (aka 'unsigned char[8]') > to parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > ...= usb_control_msg(usbdev, IFP_REQ_TYPE, command, arg1, arg2, ctl, c_size, > ^~~ >/usr/include/usb.h:312:30: note: passing argument to parameter 'bytes' here > int value, int index, char *bytes, int size, int timeout); > ^ >comp.c:545:22: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > dirname, dsize, utf8_buf, > ^~~~~~~~ >comp.c:476:15: note: passing argument to parameter 'f' here > const char * f, int fsize) > ^ >comp.c:553:29: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > i = callbk(context, ret, utf8_buf, filesize); > ^~~~~~~~ >comp.c:650:9: warning: initializing 'char *' with an expression of type > 'uint8_t[1024]' (aka 'unsigned char[1024]') converts between pointers to > integer types where one is of the unique plain 'char' type and the other > is not [-Wpointer-sign] > char * b = dev->b2; > ^ ~~~~~~~ >userfile.c:977:49: error: incompatible function pointer types passing 'int > (const FTSENT *const *, const FTSENT *const *)' (aka 'int (const struct > _ftsent *const *, const struct _ftsent *const *)') to parameter of type > 'int (*)(const FTSENT **, const FTSENT **)' (aka 'int (*)(const struct > _ftsent **, const struct _ftsent **)') > [-Werror,-Wincompatible-function-pointer-types] > tw = fts_open(argv, FTS_LOGICAL | FTS_NOCHDIR, file_compare_fts); > ^~~~~~~~~~~~~~~~ >/usr/include/fts.h:185:12: note: passing argument to parameter here > int (*)(const FTSENT **, const FTSENT **)); > ^ >userfile.c:1224:17: warning: passing 'unsigned char[4]' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > if (strncmp(buf, checkdata, FIRMWARE_HEADER_SIZE) != 0) { > ^~~ >/usr/include/string.h:159:33: note: passing argument to parameter '__s1' here >extern int strncmp (const char *__s1, const char *__s2, size_t __n) > ^ >userfile.c:1224:22: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > if (strncmp(buf, checkdata, FIRMWARE_HEADER_SIZE) != 0) { > ^~~~~~~~~ >/usr/include/string.h:159:51: note: passing argument to parameter '__s2' here >extern int strncmp (const char *__s1, const char *__s2, size_t __n) > ^ >userfile.c:1231:13: warning: passing 'unsigned char *' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > strncpy(remotename+1, basename, sizeof(remotename) - 1); > ^~~~~~~~~~~~ >/usr/include/string.h:144:40: note: passing argument to parameter '__dest' here >extern char *strncpy (char *__restrict __dest, > ^ >userfile.c:1232:68: warning: passing 'unsigned char[20]' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > ...= _ifp_write_stream_progress(dev, fp, (int)st.st_size, remotename, p))) { > ^~~~~~~~~~ >userfile.c:138:39: note: passing argument to parameter 'f' here > FILE *src, int filesize, const char *f, > ^ >4 warnings and 1 error generated. >make[1]: *** [Makefile:271: userfile.lo] Error 1 shuffle=1998272080 >make[1]: *** Waiting for unfinished jobs.... >5 warnings generated. >20 warnings generated. >10 warnings generated. >make[1]: Leaving directory '/var/tmp/portage/media-libs/libifp-1.0.0.2-r1/work/libifp-1.0.0.2/src' >make: *** [Makefile:270: all-recursive] Error 1 shuffle=1998272080 > * ERROR: media-libs/libifp-1.0.0.2-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=media-libs/libifp-1.0.0.2-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-libs/libifp-1.0.0.2-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/media-libs:libifp-1.0.0.2-r1:20221111-111703.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-libs/libifp-1.0.0.2-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-libs/libifp-1.0.0.2-r1/temp/environment'. > * Working directory: '/var/tmp/portage/media-libs/libifp-1.0.0.2-r1/work/libifp-1.0.0.2' > * S: '/var/tmp/portage/media-libs/libifp-1.0.0.2-r1/work/libifp-1.0.0.2' >
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 880943
:
831087
|
831089
|
831091
|
831093
|
831095
|
831097
| 831099 |
831101
|
831103