Adafruit_BBIO-1.1.1 gcc failed #302
Owner
```
root@g18-hasstest:/usr/portage/homeassistant/dev-python/Adafruit_BBIO # rpmm -tc
* generating manifest: dev-python/Adafruit_BBIO::HomeAssistantRepository
Local copy of remote index is up-to-date and will be used.
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[ebuild N ] dev-python/Adafruit_BBIO-1.1.1::HomeAssistantRepository USE="test" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 -python3_11" 0 KiB
Total: 1 package (1 new), Size of downloads: 0 KiB
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-python/Adafruit_BBIO-1.1.1::HomeAssistantRepository
>>> Failed to emerge dev-python/Adafruit_BBIO-1.1.1, Log file:
>>> '/var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed Load avg: 0.46, 0.52, 0.37
* Package: dev-python/Adafruit_BBIO-1.1.1:0
* Repository: HomeAssistantRepository
* Maintainer: b@edevau.net
* Upstream: justin@adafruit.com
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 test userland_GNU
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking Adafruit_BBIO-1.1.1.tar.gz to /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work
>>> Source unpacked in /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work
>>> Preparing source in /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1 ...
* Build system packages:
* dev-python/setuptools : 65.3.0
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1 ...
* python3_10: running distutils-r1_run_phase distutils-r1_python_compile
python3.10 setup.py build -j 6
running build
running build_py
copying Adafruit_I2C.py -> /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1-python3_10/lib
creating /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1-python3_10/lib/Adafruit_BBIO
copying Adafruit_BBIO/sysfs.py -> /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1-python3_10/lib/Adafruit_BBIO
copying Adafruit_BBIO/__init__.py -> /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1-python3_10/lib/Adafruit_BBIO
copying Adafruit_BBIO/Encoder.py -> /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1-python3_10/lib/Adafruit_BBIO
creating /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1-python3_10/lib/overlays
copying overlays/builder.py -> /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1-python3_10/lib/overlays
copying overlays/__init__.py -> /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1-python3_10/lib/overlays
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
building 'Adafruit_BBIO.GPIO' extension
creating /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1-python3_10/temp.linux-x86_64-3.10
building 'Adafruit_BBIO.ADC' extension
building 'Adafruit_BBIO.SPI' extension
creating /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1-python3_10/temp.linux-x86_64-3.10/source
building 'Adafruit_BBIO.PWM' extension
building 'Adafruit_BBIO.UART' extension
creating /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1-python3_10/temp.linux-x86_64-3.10/source
x86_64-pc-linux-gnu-gcc -march=nocona -mtune=corei7-avx -O2 -pipe -fPIC -DBBBVERSION41 -Isource/include/ -I/usr/include/python3.10 -c source/c_pinmux.c -o /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1-python3_10/temp.linux-x86_64-3.10/source/c_pinmux.o -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-strict-aliasing
x86_64-pc-linux-gnu-gcc -march=nocona -mtune=corei7-avx -O2 -pipe -fPIC -DBBBVERSION41 -Isource/include/ -I/usr/include/python3.10 -c source/c_pinmux.c -o /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1-python3_10/temp.linux-x86_64-3.10/source/c_pinmux.o -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-strict-aliasing
creating /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1-python3_10/temp.linux-x86_64-3.10/source
x86_64-pc-linux-gnu-gcc -march=nocona -mtune=corei7-avx -O2 -pipe -fPIC -DBBBVERSION41 -Isource/include/ -I/usr/include/python3.10 -c source/c_pinmux.c -o /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1-python3_10/temp.linux-x86_64-3.10/source/c_pinmux.o -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-strict-aliasing
x86_64-pc-linux-gnu-gcc -march=nocona -mtune=corei7-avx -O2 -pipe -fPIC -DBBBVERSION41 -Isource/include/ -I/usr/include/python3.10 -c source/c_pinmux.c -o /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1-python3_10/temp.linux-x86_64-3.10/source/c_pinmux.o -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-strict-aliasing
x86_64-pc-linux-gnu-gcc -march=nocona -mtune=corei7-avx -O2 -pipe -fPIC -DBBBVERSION41 -Isource/include/ -I/usr/include/python3.10 -c source/c_adc.c -o /var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1-python3_10/temp.linux-x86_64-3.10/source/c_adc.o -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-strict-aliasing
source/c_pinmux.c: In function ‘set_pin_mode’:
source/c_pinmux.c: In function ‘set_pin_mode’:
source/c_pinmux.c: In function ‘set_pin_mode’:
source/c_pinmux.c: In function ‘set_pin_mode’:
source/c_pinmux.c:33:42: error: ‘%s’ directive output may be truncated writing up to 19 bytes into a region of size between 10 and 59 [-Werror=format-truncation=]
33 | snprintf(path, sizeof(path), "%s/%s/state", ocp_dir, pinmux_dir);
| ^~ ~~~~~~~~~~
source/c_pinmux.c:33:42: error: ‘%s’ directive output may be truncated writing up to 19 bytes into a region of size between 10 and 59 [-Werror=format-truncation=]
33 | snprintf(path, sizeof(path), "%s/%s/state", ocp_dir, pinmux_dir);
| ^~ ~~~~~~~~~~
source/c_pinmux.c:33:42: error: ‘%s’ directive output may be truncated writing up to 19 bytes into a region of size between 10 and 59 [-Werror=format-truncation=]
33 | snprintf(path, sizeof(path), "%s/%s/state", ocp_dir, pinmux_dir);
| ^~ ~~~~~~~~~~
In file included from /usr/include/stdio.h:894,
from source/c_pinmux.c:1:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 8 and 76 bytes into a destination of size 60
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:894,
from source/c_pinmux.c:1:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 8 and 76 bytes into a destination of size 60
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:894,
from source/c_pinmux.c:1:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 8 and 76 bytes into a destination of size 60
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
source/c_pinmux.c:33:42: error: ‘%s’ directive output may be truncated writing up to 19 bytes into a region of size between 10 and 59 [-Werror=format-truncation=]
33 | snprintf(path, sizeof(path), "%s/%s/state", ocp_dir, pinmux_dir);
| ^~ ~~~~~~~~~~
In file included from /usr/include/stdio.h:894,
from source/c_pinmux.c:1:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 8 and 76 bytes into a destination of size 60
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
cc1: all warnings being treated as errors
cc1: all warnings being treated as errors
cc1: all warnings being treated as errors
source/c_adc.c: In function ‘read_value’:
source/c_adc.c:98:47: error: ‘_raw’ directive output may be truncated writing 4 bytes into a region of size between 0 and 48 [-Werror=format-truncation=]
98 | snprintf(ain_path, sizeof(ain_path), "%s%d_raw", adc_prefix_dir, ain);
| ^~~~
In file included from /usr/include/stdio.h:894,
from source/c_adc.c:24:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 6 and 64 bytes into a destination of size 49
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
error: command '/usr/bin/x86_64-pc-linux-gnu-gcc' failed with exit code 1
* ERROR: dev-python/Adafruit_BBIO-1.1.1::HomeAssistantRepository failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 122: Called src_compile
* environment, line 3302: Called distutils-r1_src_compile
* environment, line 1532: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
* environment, line 678: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2994: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2557: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2555: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 1005: Called distutils-r1_run_phase 'distutils-r1_python_compile'
* environment, line 1514: Called distutils-r1_python_compile
* environment, line 1323: Called esetup.py 'build' '-j' '6'
* environment, line 2096: Called die
* The specific snippet of code:
* "${@}" || die -n;
*
* If you need support, post the output of `emerge --info '=dev-python/Adafruit_BBIO-1.1.1::HomeAssistantRepository'`,
* the complete build log and the output of `emerge -pqv '=dev-python/Adafruit_BBIO-1.1.1::HomeAssistantRepository'`.
* The complete build log is located at '/var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1'
* S: '/var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1'
* Messages for package dev-python/Adafruit_BBIO-1.1.1:
* ERROR: dev-python/Adafruit_BBIO-1.1.1::HomeAssistantRepository failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 122: Called src_compile
* environment, line 3302: Called distutils-r1_src_compile
* environment, line 1532: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
* environment, line 678: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2994: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2557: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2555: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 1005: Called distutils-r1_run_phase 'distutils-r1_python_compile'
* environment, line 1514: Called distutils-r1_python_compile
* environment, line 1323: Called esetup.py 'build' '-j' '6'
* environment, line 2096: Called die
* The specific snippet of code:
* "${@}" || die -n;
*
* If you need support, post the output of `emerge --info '=dev-python/Adafruit_BBIO-1.1.1::HomeAssistantRepository'`,
* the complete build log and the output of `emerge -pqv '=dev-python/Adafruit_BBIO-1.1.1::HomeAssistantRepository'`.
* The complete build log is located at '/var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1'
* S: '/var/tmp/portage/dev-python/Adafruit_BBIO-1.1.1/work/Adafruit_BBIO-1.1.1'
Emerge failed, commit skipped.
```
Bug
label
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?