Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 878106 Details for
Bug 919402
dev-db/opendbx-1.4.6-r6 - [clang] firebird_basic.c: error: incompatible pointer to integer conversion
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-db:opendbx-1.4.6-r6:20231207-103008.log
dev-db:opendbx-1.4.6-r6:20231207-103008.log (text/plain), 19.81 KB, created by
Toralf Förster
on 2023-12-07 11:00:53 UTC
(
hide
)
Description:
dev-db:opendbx-1.4.6-r6:20231207-103008.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-07 11:00:53 UTC
Size:
19.81 KB
patch
obsolete
> * Package: dev-db/opendbx-1.4.6-r6:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc firebird kernel_linux man postgres sqlite > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking opendbx-1.4.6.tar.gz to /var/tmp/portage/dev-db/opendbx-1.4.6-r6/work >>>> Source unpacked in /var/tmp/portage/dev-db/opendbx-1.4.6-r6/work >>>> Preparing source in /var/tmp/portage/dev-db/opendbx-1.4.6-r6/work/opendbx-1.4.6 ... > * Applying opendbx-doxy.patch ... > [ ok ] > * Applying opendbx-man-optional.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/dev-db/opendbx-1.4.6-r6/work/opendbx-1.4.6' ... > * Running 'autopoint --force' ... > [ ok ] > * Running 'libtoolize --install --copy --force --automake' ... > [ ok ] > * Running 'aclocal -I m4 --system-acdir=/var/tmp/portage/dev-db/opendbx-1.4.6-r6/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: opendbx-1.4.6/ > * Applying portage/1.2.0 patch ... > * Applying sed/1.5.6 patch ... > * Applying as-needed/2.4.3 patch ... >>>> Source prepared. > * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! > * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>>> Configuring source in /var/tmp/portage/dev-db/opendbx-1.4.6-r6/work/opendbx-1.4.6 ... > * econf: updating opendbx-1.4.6/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating opendbx-1.4.6/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 --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/opendbx-1.4.6-r6 --htmldir=/usr/share/doc/opendbx-1.4.6-r6/html --with-sysroot=/ --libdir=/usr/lib64 --with-backends= firebird pgsql sqlite3 --enable-manpages=yes --disable-test >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.11/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 whether NLS is requested... yes >checking for msgfmt... /usr/bin/msgfmt >checking for gmsgfmt... /usr/bin/gmsgfmt >checking for xgettext... /usr/bin/xgettext >checking for msgmerge... /usr/bin/msgmerge >checking whether make supports the include directive... yes (GNU style) >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 dependency style of clang... none >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking for ld used by GCC... /usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-ld >checking if the linker (/usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes >checking for shared library run path origin... done >checking for CFPreferencesCopyAppValue... no >checking for CFLocaleCopyCurrent... no >checking for GNU gettext in libc... yes >checking whether to use NLS... yes >checking where the gettext function comes from... libc >checking for iconv... yes >checking for working iconv... yes >checking for iconv declaration... > extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); >checking how to print strings... printf >checking for a sed that does not truncate output... /usr/bin/sed >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/bin/grep -E >checking for fgrep... /usr/bin/grep -F >checking for ld used by clang... /usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-ld >checking if the linker (/usr/lib/llvm/17/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/17/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... x86_64-pc-linux-gnu-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-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... /usr/bin/dd >checking how to truncate binary pipes... /usr/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 sys/time.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/17/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 for x86_64-pc-linux-gnu-gcc... (cached) clang >checking whether the compiler supports GNU C... (cached) yes >checking whether clang accepts -g... (cached) yes >checking for clang option to enable C11 features... (cached) none needed >checking whether clang understands -c and -o together... (cached) yes >checking dependency style of clang... (cached) none >checking how to run the C preprocessor... clang -E >checking whether the compiler supports GNU C++... yes >checking whether clang++ accepts -g... yes >checking for clang++ option to enable C++11 features... none needed >checking dependency style of clang++... none >checking how to run the C++ preprocessor... clang++ -E >checking for ld used by clang++... /usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64 >checking if the linker (/usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) is GNU ld... yes >checking whether the clang++ linker (/usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... 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/17/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes >checking dynamic linker characteristics... (cached) GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether ln -s works... yes >checking whether make sets $(MAKE)... (cached) yes >checking for an ANSI C-conforming const... yes >checking for size_t... yes >checking for ssize_t... yes >checking for int64_t... yes >checking for uint64_t... yes >checking whether struct tm is in sys/time.h or time.h... time.h >checking for egrep... (cached) /usr/bin/grep -E >checking for dlfcn.h... (cached) yes >checking for getopt.h... yes >checking for inttypes.h... (cached) yes >checking for libintl.h... yes >checking for stdlib.h... (cached) yes >checking for string.h... (cached) yes >checking for sys/time.h... (cached) yes >checking for unistd.h... (cached) yes >checking for windows.h... no >checking for windef.h... no >checking for winsock2.h... no >checking for error_at_line... yes >checking for GNU libc compatible malloc... yes >checking for GNU libc compatible realloc... yes >checking for working strtod... yes >checking for strftime... yes >checking for getopt... yes >checking for memmove... yes >checking for memset... yes >checking for select... yes >checking for setenv... yes >checking for snprintf... yes >checking for strdup... yes >checking for strncasecmp... yes >checking for strstr... yes >checking for strtol... yes >checking for strtoul... yes >checking for strtoull... yes >checking for library containing dlopen... none required >checking for db2x_manxml... yes >checking for doxygen... yes >checking for readline/readline.h... yes >checking for readline/history.h... yes >checking for initscr in -lncurses... yes >checking for readline in -lreadline -lncurses... yes >checking for ibase.h... yes >checking for isc_attach_database in -lfbclient... yes >checking for libpq-fe.h... yes >checking for limits.h... yes >checking for PQconnectdb in -lpq... yes >checking for PQescapeStringConn in -lpq... yes >checking for main in -lws2_32... no >checking for sqlite3.h... yes >checking for sqlite3_step in -lsqlite3... yes >checking for sqlite3_prepare_v2 in -lsqlite3... yes >checking for sqlite3_table_column_metadata in -lsqlite3... yes >checking for library containing dgettext... none required >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating backends/Makefile >config.status: creating backends/firebird/Makefile >config.status: creating backends/mssql/Makefile >config.status: creating backends/mysql/Makefile >config.status: creating backends/odbc/Makefile >config.status: creating backends/oracle/Makefile >config.status: creating backends/pgsql/Makefile >config.status: creating backends/sqlite/Makefile >config.status: creating backends/sqlite3/Makefile >config.status: creating backends/sybase/Makefile >config.status: creating doc/Makefile >config.status: creating doc/Doxyfile >config.status: creating lib/Makefile >config.status: creating po/Makefile.in >config.status: creating test/Makefile >config.status: creating utils/Makefile >config.status: creating utils/doc/Makefile >config.status: creating utils/po/Makefile.in >config.status: creating opendbx.spec >config.status: creating opendbx.pc >config.status: creating opendbxplus.pc >config.status: creating config.h >config.status: executing po-directories commands >config.status: creating po/POTFILES >config.status: creating po/Makefile >config.status: creating utils/po/POTFILES >config.status: creating utils/po/Makefile >config.status: executing depfiles commands >config.status: executing libtool commands >>>> Source configured. >'/var/tmp/portage/dev-db/opendbx-1.4.6-r6/temp/clang16-errors.log' -> '/var/tmp/clang/dev-db/opendbx-1.4.6-r6/clang16-errors.log' >'/var/tmp/portage/dev-db/opendbx-1.4.6-r6/temp/clang16-safe.log' -> '/var/tmp/clang/dev-db/opendbx-1.4.6-r6/clang16-safe.log' >>>> Compiling source in /var/tmp/portage/dev-db/opendbx-1.4.6-r6/work/opendbx-1.4.6 ... >make -j4 -j1 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/dev-db/opendbx-1.4.6-r6/work/opendbx-1.4.6' >Making all in backends >make[2]: Entering directory '/var/tmp/portage/dev-db/opendbx-1.4.6-r6/work/opendbx-1.4.6/backends' >Making all in firebird >make[3]: Entering directory '/var/tmp/portage/dev-db/opendbx-1.4.6-r6/work/opendbx-1.4.6/backends/firebird' >rdlibtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -DAPINUMBER=10200 -I../../lib -I/opt/firebird/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o libfirebirdbackend_la-firebirdbackend.lo `test -f 'firebirdbackend.c' || echo './'`firebirdbackend.c > > > >rdlibtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -DAPINUMBER=10200 -I../../lib -I/opt/firebird/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o libfirebirdbackend_la-firebirdbackend.lo firebirdbackend.c > >rdlibtool: lconf: {.name="libtool"}. >rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/dev-db/opendbx-1.4.6-r6/work/opendbx-1.4.6/backends/firebird"}. >rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 105, .st_ino = 7714706}. >rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT]. >rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3. >rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 105, .st_ino = 7714698}. >rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT]. >rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4. >rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 105, .st_ino = 7714610}. >rdlibtool: lconf: openat(4,"libtool",O_RDONLY,0) = 3. >rdlibtool: lconf: found "/var/tmp/portage/dev-db/opendbx-1.4.6-r6/work/opendbx-1.4.6/libtool". >rdlibtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -DAPINUMBER=10200 -I../../lib -I/opt/firebird/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c firebirdbackend.c -DPIC -fPIC -o .libs/libfirebirdbackend_la-firebirdbackend.o >rdlibtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -DAPINUMBER=10200 -I../../lib -I/opt/firebird/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o libfirebirdbackend_la-firebird_basic.lo `test -f 'firebird_basic.c' || echo './'`firebird_basic.c > > > >rdlibtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -DAPINUMBER=10200 -I../../lib -I/opt/firebird/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o libfirebirdbackend_la-firebird_basic.lo firebird_basic.c > >rdlibtool: lconf: {.name="libtool"}. >rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/dev-db/opendbx-1.4.6-r6/work/opendbx-1.4.6/backends/firebird"}. >rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 105, .st_ino = 7714706}. >rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT]. >rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3. >rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 105, .st_ino = 7714698}. >rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT]. >rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4. >rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 105, .st_ino = 7714610}. >rdlibtool: lconf: openat(4,"libtool",O_RDONLY,0) = 3. >rdlibtool: lconf: found "/var/tmp/portage/dev-db/opendbx-1.4.6-r6/work/opendbx-1.4.6/libtool". >rdlibtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -DAPINUMBER=10200 -I../../lib -I/opt/firebird/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c firebird_basic.c -DPIC -fPIC -o .libs/libfirebirdbackend_la-firebird_basic.o >firebird_basic.c:137:12: error: incompatible pointer to integer conversion > assigning to 'isc_stmt_handle' (aka 'unsigned int') from 'void *' > [-Wint-conversion] > 137 | fbc->stmt = NULL; > | ^ ~~~~ >firebird_basic.c:184:79: warning: incompatible pointer types passing 'void **' > to parameter of type 'isc_db_handle *' (aka 'unsigned int *') > [-Wincompatible-pointer-types] > 184 | ...(short) fbc->srvlen + len2, fbc->path, &(handle->generic), (short) len, ... > | ^~~~~~~~~~~~~~~~~~ >/usr/include/ibase.h:532:27: note: passing argument to parameter here > 532 | ...isc_db_handle*, > | ^ >firebird_basic.c:216:40: warning: incompatible pointer types passing 'void **' > to parameter of type 'isc_db_handle *' (aka 'unsigned int *') > [-Wincompatible-pointer-types] > 216 | if( isc_detach_database( fbc->status, &(handle->generic) ) != 0 ) > | ^~~~~~~~~~~~~~~~~~ >/usr/include/ibase.h:672:28: note: passing argument to parameter here > 672 | ...isc_db_handle *); > | ^ >firebird_basic.c:347:12: error: incompatible pointer to integer conversion > assigning to 'isc_stmt_handle' (aka 'unsigned int') from 'void *' > [-Wint-conversion] > 347 | fbc->stmt = NULL; > | ^ ~~~~ >firebird_basic.c:348:48: warning: incompatible pointer types passing 'void **' > to parameter of type 'isc_db_handle *' (aka 'unsigned int *') > [-Wincompatible-pointer-types] > 348 | if( isc_dsql_allocate_statement( fbc->status, &(handle->generic), &(fbc-... > | ^~~~~~~~~~~~~~~~~~ >/usr/include/ibase.h:678:30: note: passing argument to parameter here > 678 | ...isc_db_handle *, > | ^ >firebird_basic.c:547:95: warning: format specifies type 'long long' but the > argument has type 'int64_t' (aka 'long') [-Wformat] > 547 | ...da->sqlvar + i ), "%lld", *((int64_t*) da->sqlvar[i].sqldata) ); > | ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | %ld >/usr/include/bits/stdio2.h:61:31: note: expanded from macro 'snprintf' > 61 | __glibc_objsize (str), __VA_ARGS__) > | ^~~~~~~~~~~ >4 warnings and 2 errors generated. >rdlibtool: error logged in slbt_exec_compile(), line 209: Success. >make[3]: *** [Makefile:524: libfirebirdbackend_la-firebird_basic.lo] Error 2 >make[3]: Leaving directory '/var/tmp/portage/dev-db/opendbx-1.4.6-r6/work/opendbx-1.4.6/backends/firebird' >make[2]: *** [Makefile:399: all-recursive] Error 1 >make[2]: Leaving directory '/var/tmp/portage/dev-db/opendbx-1.4.6-r6/work/opendbx-1.4.6/backends' >make[1]: *** [Makefile:522: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/dev-db/opendbx-1.4.6-r6/work/opendbx-1.4.6' >make: *** [Makefile:427: all] Error 2 > * ERROR: dev-db/opendbx-1.4.6-r6::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-db/opendbx-1.4.6-r6::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-db/opendbx-1.4.6-r6::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-db:opendbx-1.4.6-r6:20231207-103008.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-db/opendbx-1.4.6-r6/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-db/opendbx-1.4.6-r6/temp/environment'. > * Working directory: '/var/tmp/portage/dev-db/opendbx-1.4.6-r6/work/opendbx-1.4.6' > * S: '/var/tmp/portage/dev-db/opendbx-1.4.6-r6/work/opendbx-1.4.6' >
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 919402
:
878105
| 878106 |
878107
|
878108
|
878109
|
878110
|
878111
|
878112
|
878113
|
878114