Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i2c-tools fails to build on amd64 #37365

Open
murraybd opened this issue Dec 17, 2024 · 0 comments
Open

i2c-tools fails to build on amd64 #37365

murraybd opened this issue Dec 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working service:ftbfs Failed to Build From Source

Comments

@murraybd
Copy link
Member

The package i2c-tools fails to build from source with the following error:

using /tmp/apko-temp-1246489306/apko-x86_64.tar.gz for image layer
ImgRef = /tmp/melange-guest-2047462986
running step "fetch"
--2024-12-17 06:57:34--  https://fossies.org/linux/misc/i2c-tools-4.4.tar.gz
Resolving fossies.org... 148.251.50.230
Connecting to fossies.org|148.251.50.230|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 95194 (93K) [application/x-gzip]
Saving to: 'i2c-tools-4.4.tar.gz'

     0K .......... .......... .......... .......... .......... 53%  156K 0s
    50K .......... .......... .......... .......... ..        100% 1.52M=0.3s

2024-12-17 06:57:35 (268 KB/s) - 'i2c-tools-4.4.tar.gz' saved [95194/95194]

fetch: Expected sha256: af01d0fbe78e109a2db7137c7e9bfda3f3fb236c3177744c0f2695d1056cde71
cc -fpic -D_REENTRANT -O2 -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c lib/smbus.c -o lib/smbus.o
cc -shared  -Wl,--version-script=lib/libi2c.map -Wl,-soname,libi2c.so.0 -o lib/libi2c.so.0.1.1 lib/smbus.o -lc
cc -O2 -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c lib/smbus.c -o lib/smbus.ao
rm -f lib/libi2c.a
ar rcvs lib/libi2c.a lib/smbus.ao
a - lib/smbus.ao
rm -f lib/libi2c.so.0
ln -sf libi2c.so.0.1.1 lib/libi2c.so.0
rm -f lib/libi2c.so
ln -sf libi2c.so.0.1.1 lib/libi2c.so
cc -O2 -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2cdetect.c -o tools/i2cdetect.o
cc -O2 -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2cbusses.c -o tools/i2cbusses.o
cc  -o tools/i2cdetect tools/i2cdetect.o tools/i2cbusses.o lib/libi2c.so -Llib -li2c
cc -O2 -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2cdump.c -o tools/i2cdump.o
cc -O2 -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/util.c -o tools/util.o
cc  -o tools/i2cdump tools/i2cdump.o tools/i2cbusses.o tools/util.o lib/libi2c.so -Llib -li2c
cc -O2 -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2cset.c -o tools/i2cset.o
cc  -o tools/i2cset tools/i2cset.o tools/i2cbusses.o tools/util.o lib/libi2c.so -Llib -li2c
cc -O2 -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2cget.c -o tools/i2cget.o
cc  -o tools/i2cget tools/i2cget.o tools/i2cbusses.o tools/util.o lib/libi2c.so -Llib -li2c
cc -O2 -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2ctransfer.c -o tools/i2ctransfer.o
cc  -o tools/i2ctransfer tools/i2ctransfer.o tools/i2cbusses.o tools/util.o lib/libi2c.so -Llib -li2c
Traceback (most recent call last):
  File "/home/build/py-smbus/setup.py", line 3, in <module>
    from setuptools import setup, Extension
ModuleNotFoundError: No module named 'setuptools'
deleting guest dir /tmp/melange-guest-4132775574
deleting workspace dir /tmp/melange-workspace-2330576672
removing image path /tmp/melange-guest-2047462986
failed to build package: unable to run package i2c-tools pipeline: unable to run pipeline: exit status 1
@murraybd murraybd added bug Something isn't working service:ftbfs Failed to Build From Source labels Dec 17, 2024
@murraybd murraybd self-assigned this Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working service:ftbfs Failed to Build From Source
Projects
None yet
Development

No branches or pull requests

1 participant