Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 622908 Details for
Bug 713542
net-misc/casync-2_p20190407 : ../.../cacache.c: error: implicit declaration of function strndupa
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-misc:casync-2_p20190407:20200319-212616.log
net-misc:casync-2_p20190407:20200319-212616.log (text/plain), 16.73 KB, created by
Toralf Förster
on 2020-03-19 21:31:41 UTC
(
hide
)
Description:
net-misc:casync-2_p20190407:20200319-212616.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-03-19 21:31:41 UTC
Size:
16.73 KB
patch
obsolete
> * Package: net-misc/casync-2_p20190407 > * Repository: gentoo > * Maintainer: zoltan@sinustrom.info hurikhan77+bgo@gmail.com,proxy-maint@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl fuse kernel_linux udev userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking casync-2_p20190407.tar.gz to /var/tmp/portage/net-misc/casync-2_p20190407/work >>>> Source unpacked in /var/tmp/portage/net-misc/casync-2_p20190407/work >>>> Preparing source in /var/tmp/portage/net-misc/casync-2_p20190407/work/casync-6d185a540c54195a919d4b44f9bf28c341da3bf1 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-misc/casync-2_p20190407/work/casync-6d185a540c54195a919d4b44f9bf28c341da3bf1 ... >/var/tmp/portage/net-misc/casync-2_p20190407/temp/environment: line 1675: type: locale: not found >meson --buildtype plain --libdir lib --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload -Dfuse=true -Dman=false -Dselinux=false -Dudev=true /var/tmp/portage/net-misc/casync-2_p20190407/work/casync-6d185a540c54195a919d4b44f9bf28c341da3bf1 /var/tmp/portage/net-misc/casync-2_p20190407/work/casync-2_p20190407-build >[1mThe Meson build system[0m >Version: 0.53.1 >Source dir: [1m/var/tmp/portage/net-misc/casync-2_p20190407/work/casync-6d185a540c54195a919d4b44f9bf28c341da3bf1[0m >Build dir: [1m/var/tmp/portage/net-misc/casync-2_p20190407/work/casync-2_p20190407-build[0m >Build type: [1mnative build[0m >Project name: [1mcasync[0m >Project version: [1m2[0m >Appending CFLAGS from environment: '-O2 -pipe -march=native -fno-common -falign-functions=32:25:16' >Appending LDFLAGS from environment: ['-Wl,-O1', '-Wl,--as-needed'] >Appending CFLAGS from environment: '-O2 -pipe -march=native -fno-common -falign-functions=32:25:16' >Appending LDFLAGS from environment: ['-Wl,-O1', '-Wl,--as-needed'] >C compiler for the host machine: [1mx86_64-gentoo-linux-musl-gcc[0m (gcc 9.3.0 "x86_64-gentoo-linux-musl-gcc (Gentoo 9.3.0 p1) 9.3.0") >C linker for the host machine: [1mx86_64-gentoo-linux-musl-gcc[0m GNU ld.bfd 2.34 >Host machine cpu family: [1mx86_64[0m >Host machine cpu: [1mx86_64[0m >Compiler for C supports arguments -Wextra: [1;32mYES[0m >meson.build:62: [1;33mWARNING:[0m Consider using the built-in warning_level option instead of using "-Wextra". >Compiler for C supports arguments -Werror=undef: [1;32mYES[0m >Compiler for C supports arguments -Werror=format=2: [1;32mYES[0m >Compiler for C supports arguments -Wformat-security: [1;32mYES[0m >Compiler for C supports arguments -Wformat-nonliteral: [1;32mYES[0m >Compiler for C supports arguments -Wlogical-op: [1;32mYES[0m >Compiler for C supports arguments -Wmissing-include-dirs: [1;32mYES[0m >Compiler for C supports arguments -Werror=old-style-definition: [1;32mYES[0m >Compiler for C supports arguments -Werror=pointer-arith: [1;32mYES[0m >Compiler for C supports arguments -Winit-self: [1;32mYES[0m >Compiler for C supports arguments -Wfloat-equal: [1;32mYES[0m >Compiler for C supports arguments -Wsuggest-attribute=noreturn: [1;32mYES[0m >Compiler for C supports arguments -Werror=missing-prototypes: [1;32mYES[0m >Compiler for C supports arguments -Werror=implicit-function-declaration: [1;32mYES[0m >Compiler for C supports arguments -Werror=missing-declarations: [1;32mYES[0m >Compiler for C supports arguments -Werror=return-type: [1;32mYES[0m >Compiler for C supports arguments -Werror=incompatible-pointer-types: [1;32mYES[0m >Compiler for C supports arguments -Werror=shadow: [1;32mYES[0m >Compiler for C supports arguments -Werror=int-conversion: [1;32mYES[0m >Compiler for C supports arguments -Wstrict-prototypes: [1;32mYES[0m >Compiler for C supports arguments -Wredundant-decls: [1;32mYES[0m >Compiler for C supports arguments -Wmissing-noreturn: [1;32mYES[0m >Compiler for C supports arguments -Wendif-labels: [1;32mYES[0m >Compiler for C supports arguments -Wstrict-aliasing=2: [1;32mYES[0m >Compiler for C supports arguments -Wwrite-strings: [1;32mYES[0m >Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter: [1;32mYES[0m >Compiler for C supports arguments -Wno-missing-field-initializers -Wmissing-field-initializers: [1;32mYES[0m >Compiler for C supports arguments -Wno-unused-result -Wunused-result: [1;32mYES[0m >Compiler for C supports arguments -Werror=overflow: [1;32mYES[0m >Compiler for C supports arguments -Werror=sign-compare: [1;32mYES[0m >Compiler for C supports arguments -Wdate-time: [1;32mYES[0m >Compiler for C supports arguments -Wnested-externs: [1;32mYES[0m >Compiler for C supports arguments -fno-common: [1;32mYES[0m >Compiler for C supports arguments -fdiagnostics-show-option: [1;32mYES[0m >Compiler for C supports arguments -fno-strict-aliasing: [1;32mYES[0m >Compiler for C supports arguments -fvisibility=hidden: [1;32mYES[0m >Compiler for C supports arguments -fstack-protector: [1;32mYES[0m >Compiler for C supports arguments -fstack-protector-strong: [1;32mYES[0m >Compiler for C supports arguments -fPIE: [1;32mYES[0m >Compiler for C supports arguments --param=ssp-buffer-size=4: [1;32mYES[0m >Appending CXXFLAGS from environment: '-O2 -pipe -march=native -fno-common -falign-functions=32:25:16' >Appending LDFLAGS from environment: ['-Wl,-O1', '-Wl,--as-needed'] >Appending CXXFLAGS from environment: '-O2 -pipe -march=native -fno-common -falign-functions=32:25:16' >Appending LDFLAGS from environment: ['-Wl,-O1', '-Wl,--as-needed'] >C++ compiler for the host machine: [1mx86_64-gentoo-linux-musl-g++[0m (gcc 9.3.0 "x86_64-gentoo-linux-musl-g++ (Gentoo 9.3.0 p1) 9.3.0") >C++ linker for the host machine: [1mx86_64-gentoo-linux-musl-g++[0m GNU ld.bfd 2.34 >Checking for size of "[1mpid_t[0m" : 4 >Checking for size of "[1muid_t[0m" : 4 >Checking for size of "[1mgid_t[0m" : 4 >Checking for function "[1mrenameat2[0m" : [1;31mNO[0m >Checking for function "[1mcopy_file_range[0m" : [1;32mYES[0m >Checking for function "[1mgetrandom[0m" : [1;32mYES[0m >Found pkg-config: [1m/usr/bin/x86_64-gentoo-linux-musl-pkg-config[0m (1.6.3) >Run-time dependency [1mliblzma[0m found: [1;32mYES[0m [36m5.2.5[0m >Run-time dependency [1mzlib[0m found: [1;32mYES[0m [36m1.2.11[0m >Run-time dependency [1mlibzstd[0m found: [1;32mYES[0m [36m1.4.4[0m >Run-time dependency [1mlibcurl[0m found: [1;32mYES[0m [36m7.69.1[0m >Run-time dependency [1mopenssl[0m found: [1;32mYES[0m [36m1.1.1d[0m >Library [1macl[0m found: [1;32mYES[0m >Run-time dependency [1mfuse[0m found: [1;32mYES[0m [36m2.9.9[0m >Run-time dependency [1mlibudev[0m found: [1;32mYES[0m [36m243[0m >Run-time dependency [1mthreads[0m found: [1;32mYES[0m >Library [1mm[0m found: [1;32mYES[0m >Configuring [1mconfig.h[0m using configuration >Run-time dependency [1mudev[0m found: [1;32mYES[0m [36m243[0m >Program [1msh[0m found: [1;32mYES[0m (/bin/sh) >Program [1mtest-files/test-files.sh[0m found: [1;32mYES[0m (/var/tmp/portage/net-misc/casync-2_p20190407/work/casync-6d185a540c54195a919d4b44f9bf28c341da3bf1/test-files/test-files.sh) >Configuring [1mtest-script.sh[0m using configuration >Program [1mtest-script.sh[0m found: [1;32mYES[0m (/var/tmp/portage/net-misc/casync-2_p20190407/work/casync-2_p20190407-build/test-script.sh) >Configuring [1mtest-script-sha256.sh[0m using configuration >Program [1mtest-script-sha256.sh[0m found: [1;32mYES[0m (/var/tmp/portage/net-misc/casync-2_p20190407/work/casync-2_p20190407-build/test-script-sha256.sh) >Configuring [1mtest-script-gzip.sh[0m using configuration >Program [1mtest-script-gzip.sh[0m found: [1;32mYES[0m (/var/tmp/portage/net-misc/casync-2_p20190407/work/casync-2_p20190407-build/test-script-gzip.sh) >Configuring [1mtest-script-xz.sh[0m using configuration >Program [1mtest-script-xz.sh[0m found: [1;32mYES[0m (/var/tmp/portage/net-misc/casync-2_p20190407/work/casync-2_p20190407-build/test-script-xz.sh) >Configuring [1mtest-nbd.sh[0m using configuration >Program [1mtest-nbd.sh[0m found: [1;32mYES[0m (/var/tmp/portage/net-misc/casync-2_p20190407/work/casync-2_p20190407-build/test-nbd.sh) >Configuring [1mtest-fuse.sh[0m using configuration >Program [1mtest-fuse.sh[0m found: [1;32mYES[0m (/var/tmp/portage/net-misc/casync-2_p20190407/work/casync-2_p20190407-build/test-fuse.sh) >Configuring [1mtest-cache.sh[0m using configuration >Program [1mtest-cache.sh[0m found: [1;32mYES[0m (/var/tmp/portage/net-misc/casync-2_p20190407/work/casync-2_p20190407-build/test-cache.sh) >Configuring [1m75-casync.rules[0m using configuration >Program [1mtest/meson-check-help.sh[0m found: [1;32mYES[0m (/var/tmp/portage/net-misc/casync-2_p20190407/work/casync-6d185a540c54195a919d4b44f9bf28c341da3bf1/test/meson-check-help.sh) >Program [1mgit[0m found: [1;32mYES[0m (/usr/bin/git) >Build targets in project: [1m26[0m > >Option [1mlocalstatedir[0m is: [1m/var/lib[0m [default: /var] >Found ninja-1.9.0.git.kitware.dyndep-1.jobserver-1 at /usr/bin/ninja > Generating targets: 0%| | 0/26 [00:00<?, ?it/s] Generating targets: 35%|ââââââââââââââââ | 9/26 [00:00<00:00, 88.13it/s] Writing build.ninja: 0%| | 0/123 [00:00<?, ?it/s] '/var/tmp/portage/net-misc/casync-2_p20190407/work/casync-2_p20190407-build/casync-https' -> 'casync-http' >'/var/tmp/portage/net-misc/casync-2_p20190407/work/casync-2_p20190407-build/casync-ftp' -> 'casync-http' >'/var/tmp/portage/net-misc/casync-2_p20190407/work/casync-2_p20190407-build/casync-sftp' -> 'casync-http' >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-misc/casync-2_p20190407/work/casync-6d185a540c54195a919d4b44f9bf28c341da3bf1 ... >ninja -v -j1 -l0 -C /var/tmp/portage/net-misc/casync-2_p20190407/work/casync-2_p20190407-build >ninja: Entering directory `/var/tmp/portage/net-misc/casync-2_p20190407/work/casync-2_p20190407-build' >[1/89] x86_64-gentoo-linux-musl-gcc -Isrc/25a6634@@shared@sta -Isrc -I../casync-6d185a540c54195a919d4b44f9bf28c341da3bf1/src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wextra -Werror=undef -Werror=format=2 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wmissing-include-dirs -Werror=old-style-definition -Werror=pointer-arith -Winit-self -Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=missing-declarations -Werror=return-type -Werror=incompatible-pointer-types -Werror=shadow -Werror=int-conversion -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Werror=overflow -Werror=sign-compare -Wdate-time -Wnested-externs -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -fstack-protector -fstack-protector-strong -fPIE --param=ssp-buffer-size=4 -include config.h -O2 -march=native -fno-common -falign-functions=32:25:16 -fPIC -MD -MQ 'src/25a6634@@shared@sta/cachunk.c.o' -MF 'src/25a6634@@shared@sta/cachunk.c.o.d' -o 'src/25a6634@@shared@sta/cachunk.c.o' -c ../casync-6d185a540c54195a919d4b44f9bf28c341da3bf1/src/cachunk.c >[2/89] x86_64-gentoo-linux-musl-gcc -Isrc/25a6634@@shared@sta -Isrc -I../casync-6d185a540c54195a919d4b44f9bf28c341da3bf1/src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wextra -Werror=undef -Werror=format=2 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wmissing-include-dirs -Werror=old-style-definition -Werror=pointer-arith -Winit-self -Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=missing-declarations -Werror=return-type -Werror=incompatible-pointer-types -Werror=shadow -Werror=int-conversion -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Werror=overflow -Werror=sign-compare -Wdate-time -Wnested-externs -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -fstack-protector -fstack-protector-strong -fPIE --param=ssp-buffer-size=4 -include config.h -O2 -march=native -fno-common -falign-functions=32:25:16 -fPIC -MD -MQ 'src/25a6634@@shared@sta/cacache.c.o' -MF 'src/25a6634@@shared@sta/cacache.c.o.d' -o 'src/25a6634@@shared@sta/cacache.c.o' -c ../casync-6d185a540c54195a919d4b44f9bf28c341da3bf1/src/cacache.c >FAILED: src/25a6634@@shared@sta/cacache.c.o >x86_64-gentoo-linux-musl-gcc -Isrc/25a6634@@shared@sta -Isrc -I../casync-6d185a540c54195a919d4b44f9bf28c341da3bf1/src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wextra -Werror=undef -Werror=format=2 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wmissing-include-dirs -Werror=old-style-definition -Werror=pointer-arith -Winit-self -Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=missing-declarations -Werror=return-type -Werror=incompatible-pointer-types -Werror=shadow -Werror=int-conversion -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Werror=overflow -Werror=sign-compare -Wdate-time -Wnested-externs -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -fstack-protector -fstack-protector-strong -fPIE --param=ssp-buffer-size=4 -include config.h -O2 -march=native -fno-common -falign-functions=32:25:16 -fPIC -MD -MQ 'src/25a6634@@shared@sta/cacache.c.o' -MF 'src/25a6634@@shared@sta/cacache.c.o.d' -o 'src/25a6634@@shared@sta/cacache.c.o' -c ../casync-6d185a540c54195a919d4b44f9bf28c341da3bf1/src/cacache.c >../casync-6d185a540c54195a919d4b44f9bf28c341da3bf1/src/cacache.c: In function âca_cache_getâ: >../casync-6d185a540c54195a919d4b44f9bf28c341da3bf1/src/cacache.c:215:21: error: implicit declaration of function âstrndupaâ; did you mean âstrndupâ? [-Werror=implicit-function-declaration] > 215 | q = strndupa(p, CA_CHUNK_ID_SIZE*2); > | ^~~~~~~~ > | strndup >../casync-6d185a540c54195a919d4b44f9bf28c341da3bf1/src/cacache.c:215:21: warning: nested extern declaration of âstrndupaâ [-Wnested-externs] >../casync-6d185a540c54195a919d4b44f9bf28c341da3bf1/src/cacache.c:215:19: error: assignment to âconst char *â from âintâ makes pointer from integer without a cast [-Werror=int-conversion] > 215 | q = strndupa(p, CA_CHUNK_ID_SIZE*2); > | ^ >../casync-6d185a540c54195a919d4b44f9bf28c341da3bf1/src/cacache.c: In function âca_cache_putâ: >../casync-6d185a540c54195a919d4b44f9bf28c341da3bf1/src/cacache.c:330:14: error: assignment to âconst char *â from âintâ makes pointer from integer without a cast [-Werror=int-conversion] > 330 | four = strndupa(path, 4); > | ^ >../casync-6d185a540c54195a919d4b44f9bf28c341da3bf1/src/cacache.c: In function âca_cache_removeâ: >../casync-6d185a540c54195a919d4b44f9bf28c341da3bf1/src/cacache.c:437:14: error: assignment to âconst char *â from âintâ makes pointer from integer without a cast [-Werror=int-conversion] > 437 | four = strndupa(path, 4); > | ^ >cc1: some warnings being treated as errors >ninja: build stopped: subcommand failed. > * ERROR: net-misc/casync-2_p20190407::gentoo failed (compile phase): > * ninja -v -j1 -l0 -C /var/tmp/portage/net-misc/casync-2_p20190407/work/casync-2_p20190407-build failed > * > * Call stack: > * ebuild.sh, line 125: Called src_compile > * environment, line 2125: Called meson_src_compile > * environment, line 1246: Called eninja '-C' '/var/tmp/portage/net-misc/casync-2_p20190407/work/casync-2_p20190407-build' > * environment, line 834: Called die > * The specific snippet of code: > * "$@" || die "${nonfatal_args[@]}" "${*} failed" > * > * If you need support, post the output of `emerge --info '=net-misc/casync-2_p20190407::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-misc/casync-2_p20190407::gentoo'`. > * The complete build log is located at '/var/log/portage/net-misc:casync-2_p20190407:20200319-212616.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/casync-2_p20190407/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-misc/casync-2_p20190407/temp/environment'. > * Working directory: '/var/tmp/portage/net-misc/casync-2_p20190407/work/casync-6d185a540c54195a919d4b44f9bf28c341da3bf1' > * S: '/var/tmp/portage/net-misc/casync-2_p20190407/work/casync-6d185a540c54195a919d4b44f9bf28c341da3bf1'
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 713542
:
622900
|
622902
|
622904
|
622906
| 622908 |
622910