-
Notifications
You must be signed in to change notification settings - Fork 51
Description
/bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -Wall -I/tmp/pip-req-build-i1w9m5u1/mininet_dependencies/openflow/include -Wshadowpkg-config --cflags libconfig-static -Wl,-E -L/tmp/pip-req-build-i1w9m5u1/mininet_dependencies/openflow/libpkg-config --libs libconfig-o oflops channel_info.o context.o control.o module_run.o module_default.o oflops.o oflops_pcap.o timer_event.o msg.o log.o traffic_generator.o usage.o -ldl -lpcap -lnetsnmp -loflops_test -lpthread libtool: link: gcc -g -O2 -Wall -I/tmp/pip-req-build-i1w9m5u1/mininet_dependencies/openflow/include -Wshadow -Wl,-E -o oflops channel_info.o context.o control.o module_run.o module_default.o oflops.o oflops_pcap.o timer_event.o msg.o log.o traffic_generator.o usage.o -L/tmp/pip-req-build-i1w9m5u1/mininet_dependencies/openflow/lib -ldl -lpcap /tmp/pip-req-build-i1w9m5u1/mininet_dependencies/oflops/.libs/liboflops_test.a -lconfig -lnetsnmp -lpthread /usr/bin/ld: /tmp/pip-req-build-i1w9m5u1/mininet_dependencies/oflops/.libs/liboflops_test.a(wc_event.o): in functionevent_loop':
/tmp/pip-req-build-i1w9m5u1/mininet_dependencies/oflops/wc_event.c:399: undefined reference to `pthread_yield'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:589: oflops] Error 1
make[2]: Leaving directory '/tmp/pip-req-build-i1w9m5u1/mininet_dependencies/oflops'
make[1]: *** [Makefile:659: all-recursive] Error 1
make[1]: Leaving directory '/tmp/pip-req-build-i1w9m5u1/mininet_dependencies/oflops'
make: *** [Makefile:445: all] Error 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ipmininet
Running setup.py clean for ipmininet
Failed to build ipmininet
Installing collected packages: ipmininet
Running setup.py install for ipmininet ... error
error: subprocess-exited-with-error
× Running setup.py install for ipmininet did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
/usr/lib/python3/dist-packages/pkg_resources/init.py:116: PkgResourcesDeprecationWarning: 0.1.43ubuntu1 is an invalid version and will not be supported in a future release
warnings.warn(
/usr/lib/python3/dist-packages/pkg_resources/init.py:116: PkgResourcesDeprecationWarning: 1.1build1 is an invalid version and will not be supported in a future release
warnings.warn(
/usr/lib/python3/dist-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
running install
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
DISTRIB_ID=Ubuntu
DISTRIB_DESCRIPTION="Ubuntu 22.04 LTS"
*** pip3 -V
*** apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists...
error: [Errno 17] File exists: '/tmp/pip-req-build-i1w9m5u1/mininet_dependencies'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> ipmininet
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
root@ubuntu2204siqian1 ipmininet (master) # uname -a
Linux ubuntu2204siqian1 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu2204siqian1 ipmininet (master) #
install failled with sudo pip install --upgrade git+https://github.com/cnp3/ipmininet.git@v1.1`