Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 815227 Details for
Bug 873997
dev-db/libdbi-drivers-0.9.0-r1 - src/constraint.c: error: incompatible integer to pointer conversion
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-db:libdbi-drivers-0.9.0-r1:20221002-095817.log
dev-db:libdbi-drivers-0.9.0-r1:20221002-095817.log (text/plain), 19.38 KB, created by
Toralf Förster
on 2022-10-02 10:01:46 UTC
(
hide
)
Description:
dev-db:libdbi-drivers-0.9.0-r1:20221002-095817.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-02 10:01:46 UTC
Size:
19.38 KB
patch
obsolete
> * Package: dev-db/libdbi-drivers-0.9.0-r1:0 > * Repository: gentoo > * Maintainer: robbat2@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux sqlite userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking libdbi-drivers-0.9.0.tar.gz to /var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work >>>> Source unpacked in /var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work >>>> Preparing source in /var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0 ... > * Applying libdbi-drivers-0.9.0-doc-build-fix.patch ... > [ ok ] > * Applying libdbi-drivers-0.9.0-slibtool-libdir.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0' ... > * Running 'libtoolize --install --copy --force --automake' ... > [ ok ] > * Running 'aclocal -I m4 --system-acdir=/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/temp/aclocal' ... > [ ok ] > * This package has a configure.in file which has long been deprecated. Please > * update it to use configure.ac instead as newer versions of autotools will die > * when it finds this file. See https://bugs.gentoo.org/426262 for details. > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: libdbi-drivers-0.9.0/ > * Applying portage/1.2.0 patch ... > * Applying sed/1.5.6 patch ... > * Applying as-needed/2.4.3 patch ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0 ... > * econf: updating libdbi-drivers-0.9.0/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating libdbi-drivers-0.9.0/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/libdbi-drivers-0.9.0-r1 --htmldir=/usr/share/doc/libdbi-drivers-0.9.0-r1/html --with-sysroot=/ --libdir=/usr/lib64 --disable-docs --disable-static --with-dbi-libdir=/usr/lib64 --with-sqlite3 >checking whether to enable maintainer-specific portions of Makefiles... no >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 build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >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 a sed that does not truncate output... /bin/sed >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for fgrep... /bin/grep -F >checking how to print strings... printf >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 BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B >checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm >checking whether ln -s works... yes >checking the maximum length of command line arguments... 1572864 >checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop >checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop >checking for /usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r >checking for x86_64-pc-linux-gnu-file... no >checking for file... file >checking for x86_64-pc-linux-gnu-objdump... objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-pc-linux-gnu-dlltool... dlltool >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking for archiver @FILE support... @ >checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from clang object... ok >checking for sysroot... / >checking for a working dd... /bin/dd >checking how to truncate binary pipes... /bin/dd bs=4096 count=1 >checking for x86_64-pc-linux-gnu-mt... no >checking for mt... mt >checking if mt is a manifest tool... 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 dlfcn.h... yes >checking for objdir... .libs >checking if clang supports -fno-rtti -fno-exceptions... yes >checking for clang option to produce PIC... -fPIC -DPIC >checking if clang PIC flag -fPIC -DPIC works... yes >checking if clang static flag -static works... yes >checking if clang supports -c -o file.o... yes >checking if clang supports -c -o file.o... (cached) 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 >checking how to run the C preprocessor... clang -E >checking for libdbi framework... checking for dbi/dbi.h... yes >checking for MySQL support... no >checking for PostgreSQL support... no >checking for SQLite support... no >checking for SQLite3 support... yes >checking for sqlite3.h... yes >checking for library containing sqlite3_exec... -lsqlite3 >checking for Msql support... no >checking for Oracle support... no >checking for Firebird/Interbase support... no >checking for Freetds support... no >checking for Ingres support... no >checking for IBM DB2 support... no >checking for strtoll... yes >checking for atoll... yes >checking for vasprintf... yes >checking for asprintf... yes >checking for libdbi library... yes: libs in /usr/lib64 >checking for string.h... (cached) yes >checking for strings.h... (cached) yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating libdbi-drivers.spec >config.status: creating Makefile >config.status: creating doc/Makefile >config.status: creating doc/include/Makefile >config.status: creating drivers/Makefile >config.status: creating drivers/mysql/Makefile >config.status: creating drivers/pgsql/Makefile >config.status: creating drivers/sqlite/Makefile >config.status: creating drivers/sqlite3/Makefile >config.status: creating drivers/msql/Makefile >config.status: creating drivers/oracle/Makefile >config.status: creating drivers/firebird/Makefile >config.status: creating drivers/freetds/Makefile >config.status: creating drivers/ingres/Makefile >config.status: creating drivers/db2/Makefile >config.status: creating tests/Makefile >config.status: creating tests/cgreen/Makefile >config.status: creating tests/test_dbi.cfg >config.status: creating tests/plugin_settings.sh >config.status: creating config.h >config.status: executing depfiles commands >config.status: executing libtool commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0 ... >make -j4 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0' >Making all in drivers >make[2]: Entering directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers' >Making all in mysql >make[3]: Entering directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers/mysql' >make[3]: Nothing to be done for 'all'. >make[3]: Leaving directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers/mysql' >Making all in pgsql >make[3]: Entering directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers/pgsql' >make[3]: Nothing to be done for 'all'. >make[3]: Leaving directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers/pgsql' >Making all in sqlite >make[3]: Entering directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers/sqlite' >make[3]: Nothing to be done for 'all'. >make[3]: Leaving directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers/sqlite' >Making all in sqlite3 >make[3]: Entering directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers/sqlite3' >/bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -DDBDIR=\"/var/lib/lib/libdbi/sqlite3\" -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -c -o dbd_sqlite3.lo dbd_sqlite3.c >libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -DDBDIR=\"/var/lib/lib/libdbi/sqlite3\" -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -c dbd_sqlite3.c -fPIC -DPIC -o .libs/dbd_sqlite3.o >dbd_sqlite3.c:426:14: warning: 'readdir_r' is deprecated > [-Wdeprecated-declarations] > retval = readdir_r(dp, entry, &result); > ^ >/usr/include/dirent.h:188:28: note: 'readdir_r' has been explicitly marked > deprecated here > __nonnull ((1, 2, 3)) __attribute_deprecated__; > ^ >/usr/include/sys/cdefs.h:339:51: note: expanded from macro > '__attribute_deprecated__' ># define __attribute_deprecated__ __attribute__ ((__deprecated__)) > ^ >dbd_sqlite3.c:1454:28: warning: expression result unused [-Wunused-value] > word_lower[item-start+1]; > ~~~~~~~~~~ ~~~~~~~~~~~~^ >dbd_sqlite3.c:1741:55: warning: passing 'char *' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > row->field_sizes[curfield] = _dbd_decode_binary(data->d_string, da... > ^~~~~~~~~~~~~~ >/usr/include/dbi/dbd.h:81:48: note: passing argument to parameter 'in' here >size_t _dbd_decode_binary(const unsigned char *in, unsigned char *out); > ^ >dbd_sqlite3.c:1741:71: warning: passing 'char *' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > ...= _dbd_decode_binary(data->d_string, data->d_string); > ^~~~~~~~~~~~~~ >/usr/include/dbi/dbd.h:81:67: note: passing argument to parameter 'out' here >size_t _dbd_decode_binary(const unsigned char *in, unsigned char *out); > ^ >4 warnings generated. >/bin/sh ../../libtool --tag=CC --mode=link clang -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -module -avoid-version -lsqlite3 -no-undefined -ldbi -L/usr/lib64 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libdbdsqlite3.la -rpath /usr/lib64/dbd dbd_sqlite3.lo >libtool: link: clang -shared -fPIC -DPIC .libs/dbd_sqlite3.o -lsqlite3 -ldbi -L/usr/lib64 -Wl,--as-needed -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libdbdsqlite3.so -o .libs/libdbdsqlite3.so >libtool: link: ( cd ".libs" && rm -f "libdbdsqlite3.la" && ln -s "../libdbdsqlite3.la" "libdbdsqlite3.la" ) >make[3]: Leaving directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers/sqlite3' >Making all in msql >make[3]: Entering directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers/msql' >make[3]: Nothing to be done for 'all'. >make[3]: Leaving directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers/msql' >Making all in oracle >make[3]: Entering directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers/oracle' >make[3]: Nothing to be done for 'all'. >make[3]: Leaving directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers/oracle' >Making all in firebird >make[3]: Entering directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers/firebird' >make[3]: Nothing to be done for 'all'. >make[3]: Leaving directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers/firebird' >Making all in freetds >make[3]: Entering directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers/freetds' >make[3]: Nothing to be done for 'all'. >make[3]: Leaving directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers/freetds' >Making all in ingres >make[3]: Entering directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers/ingres' >make[3]: Nothing to be done for 'all'. >make[3]: Leaving directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers/ingres' >Making all in db2 >make[3]: Entering directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers/db2' >make[3]: Nothing to be done for 'all'. >make[3]: Leaving directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers/db2' >make[3]: Entering directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers' >make[3]: Nothing to be done for 'all-am'. >make[3]: Leaving directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers' >make[2]: Leaving directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/drivers' >Making all in tests >make[2]: Entering directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/tests' >Making all in cgreen >make[3]: Entering directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/tests/cgreen' >clang -DHAVE_CONFIG_H -I. -I../.. -Iinclude -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -c -o unit.o `test -f 'src/unit.c' || echo './'`src/unit.c >clang -DHAVE_CONFIG_H -I. -I../.. -Iinclude -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -c -o messaging.o `test -f 'src/messaging.c' || echo './'`src/messaging.c >clang -DHAVE_CONFIG_H -I. -I../.. -Iinclude -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -c -o breadcrumb.o `test -f 'src/breadcrumb.c' || echo './'`src/breadcrumb.c >clang -DHAVE_CONFIG_H -I. -I../.. -Iinclude -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -c -o reporter.o `test -f 'src/reporter.c' || echo './'`src/reporter.c >src/unit.c:229:5: warning: call to undeclared function 'wait'; ISO C99 and later > do not support implicit function declarations > [-Wimplicit-function-declaration] > wait(&status); > ^ >clang -DHAVE_CONFIG_H -I. -I../.. -Iinclude -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -c -o assertions.o `test -f 'src/assertions.c' || echo './'`src/assertions.c >clang -DHAVE_CONFIG_H -I. -I../.. -Iinclude -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -c -o vector.o `test -f 'src/vector.c' || echo './'`src/vector.c >clang -DHAVE_CONFIG_H -I. -I../.. -Iinclude -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -c -o mocks.o `test -f 'src/mocks.c' || echo './'`src/mocks.c >1 warning generated. >clang -DHAVE_CONFIG_H -I. -I../.. -Iinclude -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -c -o constraint.o `test -f 'src/constraint.c' || echo './'`src/constraint.c >clang -DHAVE_CONFIG_H -I. -I../.. -Iinclude -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -c -o parameters.o `test -f 'src/parameters.c' || echo './'`src/parameters.c >clang -DHAVE_CONFIG_H -I. -I../.. -Iinclude -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -c -o text_reporter.o `test -f 'src/text_reporter.c' || echo './'`src/text_reporter.c >src/constraint.c:104:22: warning: incompatible function pointer types assigning > to 'void (*)(Constraint *, const char *, intptr_t, const char *, int, > TestReporter *)' (aka 'void (*)(struct Constraint_ *, const char *, long, > const char *, int, struct TestReporter_ *)') from 'void (*)(Constraint *, > const char *, const char *, intptr_t, const char *, int, TestReporter *)' > (aka 'void (*)(struct Constraint_ *, const char *, const char *, long, > const char *, int, struct TestReporter_ *)') > [-Wincompatible-function-pointer-types] > constraint->test = &test_with_matcher; > ^ ~~~~~~~~~~~~~~~~~~ >src/constraint.c:167:8: error: incompatible integer to pointer conversion > initializing 'int (*)(const void *)' with an expression of type 'intptr_t' > (aka 'long') [-Wint-conversion] > int (*matches)(const void*) = constraint->expected; > ^ ~~~~~~~~~~~~~~~~~~~~ >src/constraint.c:168:20: error: incompatible integer to pointer conversion > passing 'intptr_t' (aka 'long') to parameter of type 'const void *' > [-Wint-conversion] > return matches(actual); > ^~~~~~ >1 warning and 2 errors generated. >make[3]: *** [Makefile:559: constraint.o] Error 1 >make[3]: *** Waiting for unfinished jobs.... >make[3]: Leaving directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/tests/cgreen' >make[2]: *** [Makefile:743: all-recursive] Error 1 >make[2]: Leaving directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0/tests' >make[1]: *** [Makefile:458: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0' >make: *** [Makefile:388: all] Error 2 > * ERROR: dev-db/libdbi-drivers-0.9.0-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-db/libdbi-drivers-0.9.0-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-db/libdbi-drivers-0.9.0-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-db:libdbi-drivers-0.9.0-r1:20221002-095817.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0' > * S: '/var/tmp/portage/dev-db/libdbi-drivers-0.9.0-r1/work/libdbi-drivers-0.9.0' >
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 873997
:
815224
| 815227 |
815230
|
815233
|
815236
|
815239
|
815242