Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 825939 Details for
Bug 878627
dev-python/netcdf4-1.5.8 - src/.../_netCDF4.c: error: incompatible pointer to integer conversion returning void from a func
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-python:netcdf4-python-1.5.8:20221029-055950.log
dev-python:netcdf4-python-1.5.8:20221029-055950.log (text/plain), 7.57 KB, created by
Toralf Förster
on 2022-10-29 09:46:18 UTC
(
hide
)
Description:
dev-python:netcdf4-python-1.5.8:20221029-055950.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-29 09:46:18 UTC
Size:
7.57 KB
patch
obsolete
> * Package: dev-python/netcdf4-python-1.5.8:0 > * Repository: gentoo > * Maintainer: sci@gentoo.org python@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking netCDF4-1.5.8.tar.gz to /var/tmp/portage/dev-python/netcdf4-python-1.5.8/work >>>> Source unpacked in /var/tmp/portage/dev-python/netcdf4-python-1.5.8/work >>>> Preparing source in /var/tmp/portage/dev-python/netcdf4-python-1.5.8/work/netCDF4-1.5.8 ... > * Build system packages: > * dev-python/setuptools : 65.5.0 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/netcdf4-python-1.5.8/work/netCDF4-1.5.8 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/netcdf4-python-1.5.8/work/netCDF4-1.5.8 ... > * python3_10: running distutils-r1_run_phase distutils-r1_python_compile >python3.10 setup.py build -j 4 >Package hdf5 was not found in the pkg-config search path. >Perhaps you should add the directory containing `hdf5.pc' >to the PKG_CONFIG_PATH environment variable >Package 'hdf5', required by 'virtual:world', not found >reading from setup.cfg... >using nc-config... >checking /usr/include ... >HDF5 library version: 1.12.2 headers found in /usr/include >using netcdf library version b'4.9.0' >using Cython to compile netCDF4.pyx... >netcdf lib has group rename capability >netcdf lib has nc_inq_path function >netcdf lib has nc_inq_format_extended function >netcdf lib has nc_open_mem function >netcdf lib has nc_create_mem function >netcdf lib has cdf-5 format capability >netcdf lib does not have netcdf4 parallel functions >netcdf lib does not have pnetcdf parallel functions >running build >running build_py >creating /var/tmp/portage/dev-python/netcdf4-python-1.5.8/work/netCDF4-1.5.8-python3_10/lib/netCDF4 >copying src/netCDF4/utils.py -> /var/tmp/portage/dev-python/netcdf4-python-1.5.8/work/netCDF4-1.5.8-python3_10/lib/netCDF4 >copying src/netCDF4/__init__.py -> /var/tmp/portage/dev-python/netcdf4-python-1.5.8/work/netCDF4-1.5.8-python3_10/lib/netCDF4 >warning: build_py: byte-compiling is disabled, skipping. > >running build_ext >cythoning src/netCDF4/_netCDF4.pyx to src/netCDF4/_netCDF4.c >/usr/lib/python3.10/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /var/tmp/portage/dev-python/netcdf4-python-1.5.8/work/netCDF4-1.5.8/src/netCDF4/_netCDF4.pyx > tree = Parsing.p_module(s, pxd, full_module_name) >building 'netCDF4._netCDF4' extension >creating /var/tmp/portage/dev-python/netcdf4-python-1.5.8/work/netCDF4-1.5.8-python3_10/temp.linux-x86_64-3.10 >creating /var/tmp/portage/dev-python/netcdf4-python-1.5.8/work/netCDF4-1.5.8-python3_10/temp.linux-x86_64-3.10/src >creating /var/tmp/portage/dev-python/netcdf4-python-1.5.8/work/netCDF4-1.5.8-python3_10/temp.linux-x86_64-3.10/src/netCDF4 >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -I/usr/include -I/usr/lib/python3.10/site-packages/numpy/core/include -Iinclude -I/usr/include/python3.10 -c src/netCDF4/_netCDF4.c -o /var/tmp/portage/dev-python/netcdf4-python-1.5.8/work/netCDF4-1.5.8-python3_10/temp.linux-x86_64-3.10/src/netCDF4/_netCDF4.o >src/netCDF4/_netCDF4.c:4748:8: warning: passing 'const void *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] > free(__pyx_v_self->memory); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/stdlib.h:568:25: note: passing argument to parameter '__ptr' here >extern void free (void *__ptr) __THROW; > ^ >src/netCDF4/_netCDF4.c:8804:97: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] > __pyx_v_ierr = nc_put_att_string(__pyx_t_6, __pyx_v_varid, __pyx_v_attname, __pyx_t_10, __pyx_v_string_ptrs); > ^~~~~~~~~~~~~~~~~~~ >/usr/include/netcdf.h:1110:44: note: passing argument to parameter 'op' here > size_t len, const char **op); > ^ >src/netCDF4/_netCDF4.c:9245:93: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] > __pyx_v_ierr = nc_put_att_string(__pyx_t_14, __pyx_v_varid, __pyx_v_attname, 1, (&__pyx_v_datstring)); > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/netcdf.h:1110:44: note: passing argument to parameter 'op' here > size_t len, const char **op); > ^ >src/netCDF4/_netCDF4.c:87070:3: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion] > import_array(); > ^~~~~~~~~~~~~~ >/usr/lib/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h:1545:151: note: expanded from macro 'import_array' >#define import_array() {if (_import_array() < 0) {PyErr_Print(); PyErr_SetString(PyExc_ImportError, "numpy.core.multiarray failed to import"); return NULL; } } > ^~~~ >/usr/lib/llvm/15/bin/../../../../lib/clang/15.0.3/include/stddef.h:89:16: note: expanded from macro 'NULL' ># define NULL ((void*)0) > ^~~~~~~~~~ >3 warnings and 1 error generated. >error: command '/usr/lib/llvm/15/bin/clang' failed with exit code 1 > * ERROR: dev-python/netcdf4-python-1.5.8::gentoo failed (compile phase): > * (no error message) > * > * Call stack: > * ebuild.sh, line 122: Called src_compile > * environment, line 3501: Called distutils-r1_src_compile > * environment, line 1598: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' > * environment, line 731: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 3184: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 2623: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 2621: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 1058: Called distutils-r1_run_phase 'distutils-r1_python_compile' > * environment, line 1580: Called distutils-r1_python_compile > * environment, line 1389: Called esetup.py 'build' '-j' '4' > * environment, line 2162: Called die > * The specific snippet of code: > * "${@}" || die -n; > * > * If you need support, post the output of `emerge --info '=dev-python/netcdf4-python-1.5.8::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/netcdf4-python-1.5.8::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-python:netcdf4-python-1.5.8:20221029-055950.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/netcdf4-python-1.5.8/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/netcdf4-python-1.5.8/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/netcdf4-python-1.5.8/work/netCDF4-1.5.8' > * S: '/var/tmp/portage/dev-python/netcdf4-python-1.5.8/work/netCDF4-1.5.8' >
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 878627
:
825937
| 825939 |
825941
|
825943
|
825945
|
825947