Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 815941 Details for
Bug 874303
app-i18n/nkf-2.1.5 - nkf.c: error: incompatible pointer to integer conversion initializing Py_ssize_t (aka long) with an expressio
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-i18n:nkf-2.1.5:20221002-190359.log
app-i18n:nkf-2.1.5:20221002-190359.log (text/plain), 5.30 KB, created by
Toralf Förster
on 2022-10-02 19:24:55 UTC
(
hide
)
Description:
app-i18n:nkf-2.1.5:20221002-190359.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-02 19:24:55 UTC
Size:
5.30 KB
patch
obsolete
> * Package: app-i18n/nkf-2.1.5:0 > * Repository: gentoo > * Maintainer: cjk@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python python_targets_python3_10 userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... > * Unpacking nkf-2.1.5.tar.gz > * Unpacking python-nkf-0.2.0_p20191121.tar.gz >>>> Source unpacked in /var/tmp/portage/app-i18n/nkf-2.1.5/work >>>> Preparing source in /var/tmp/portage/app-i18n/nkf-2.1.5/work/nkf-2.1.5 ... > * Applying nkf-python.patch ... > [ ok ] > * Build system packages: > * dev-python/setuptools : 65.4.1 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-i18n/nkf-2.1.5/work/nkf-2.1.5 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-i18n/nkf-2.1.5/work/nkf-2.1.5 ... >make -j4 CC=clang >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -pedantic -c nkf.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -pedantic -c utf8tbl.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -pedantic -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o nkf nkf.o utf8tbl.o > * python3_10: running distutils-r1_run_phase distutils-r1_python_compile >python3.10 setup.py build -j 4 >/var/tmp/portage/app-i18n/nkf-2.1.5/work/nkf-2.1.5/NKF.python/setup.py:3: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives > from distutils.core import setup, Extension >running build >running build_py >copying nkf_codecs.py -> /var/tmp/portage/app-i18n/nkf-2.1.5/work/nkf-2.1.5-python3_10/lib >warning: build_py: byte-compiling is disabled, skipping. > >running build_ext >building 'nkf' extension >creating /var/tmp/portage/app-i18n/nkf-2.1.5/work/nkf-2.1.5-python3_10/temp.linux-x86_64-3.10 >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -I/usr/include/python3.10 -c nkf.c -o /var/tmp/portage/app-i18n/nkf-2.1.5/work/nkf-2.1.5-python3_10/temp.linux-x86_64-3.10/nkf.o >nkf.c:108:13: 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] > options(opts); > ^~~~ >./../nkf.c:6371:24: note: passing argument to parameter 'cp' here >options(unsigned char *cp) > ^ >nkf.c:120:30: 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] > res = PyBytes_FromString(pynkf_outbuf); > ^~~~~~~~~~~~ >/usr/include/python3.10/bytesobject.h:35:55: note: passing argument to parameter here >PyAPI_FUNC(PyObject *) PyBytes_FromString(const char *); > ^ >nkf.c:202:3: error: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'long') with an expression of type 'void *' [-Wint-conversion] > NULL, > ^~~~ >/usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/stddef.h:89:16: note: expanded from macro 'NULL' ># define NULL ((void*)0) > ^~~~~~~~~~ >2 warnings and 1 error generated. >error: command '/usr/lib/llvm/15/bin/clang' failed with exit code 1 > * ERROR: app-i18n/nkf-2.1.5::gentoo failed (compile phase): > * (no error message) > * > * Call stack: > * ebuild.sh, line 122: Called src_compile > * environment, line 4045: Called distutils-r1_src_compile > * environment, line 1639: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' > * environment, line 722: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 3726: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 2702: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 2700: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 1092: Called distutils-r1_run_phase 'distutils-r1_python_compile' > * environment, line 1621: Called distutils-r1_python_compile > * environment, line 1423: Called esetup.py 'build' '-j' '4' > * environment, line 2241: Called die > * The specific snippet of code: > * "${@}" || die -n; > * > * If you need support, post the output of `emerge --info '=app-i18n/nkf-2.1.5::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-i18n/nkf-2.1.5::gentoo'`. > * The complete build log is located at '/var/log/portage/app-i18n:nkf-2.1.5:20221002-190359.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-i18n/nkf-2.1.5/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-i18n/nkf-2.1.5/temp/environment'. > * Working directory: '/var/tmp/portage/app-i18n/nkf-2.1.5/work/nkf-2.1.5/NKF.python' > * S: '/var/tmp/portage/app-i18n/nkf-2.1.5/work/nkf-2.1.5' >
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 874303
:
815938
| 815941 |
815944
|
815947
|
815950