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

rpmbuild fails on Fedora 32 #2557

Closed
bdelgado1995 opened this issue Apr 16, 2022 · 3 comments
Closed

rpmbuild fails on Fedora 32 #2557

bdelgado1995 opened this issue Apr 16, 2022 · 3 comments
Assignees

Comments

@bdelgado1995
Copy link

I'm following the instructions at https://opae.github.io/latest/docs/install_guide/installation_guide.html and trying to build the rpms for Fedora 32.

When running this command, I get the errors below.

$ cd opae-sdk/packaging/opae/rpm
$ ./create fedora

Errors:

Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/brian/opae-sdk/packaging/opae/rpm/rpmbuild/BUILDROOT/opae-2.1.0-1.fc32.x86_64
error: Installed (but unpackaged) file(s) found:
/usr/lib/opae-2.1.0/opae-config-version.cmake
/usr/lib/opae-2.1.0/opae-config.cmake
/usr/lib/opae-2.1.0/opae-targets-relwithdebinfo.cmake
/usr/lib/opae-2.1.0/opae-targets.cmake

RPM build errors:
File listed twice: /usr/lib/.build-id/b8/e0e176bef6cc46ac0d9d542613d3eef9108e90
File listed twice: /usr/lib64/python3.8/site-packages/opae.fpga-2.1.0-py3.8.egg-info
File listed twice: /usr/lib64/python3.8/site-packages/opae.fpga-2.1.0-py3.8.egg-info/PKG-INFO
File listed twice: /usr/lib64/python3.8/site-packages/opae.fpga-2.1.0-py3.8.egg-info/SOURCES.txt
File listed twice: /usr/lib64/python3.8/site-packages/opae.fpga-2.1.0-py3.8.egg-info/dependency_links.txt
File listed twice: /usr/lib64/python3.8/site-packages/opae.fpga-2.1.0-py3.8.egg-info/entry_points.txt
File listed twice: /usr/lib64/python3.8/site-packages/opae.fpga-2.1.0-py3.8.egg-info/requires.txt
File listed twice: /usr/lib64/python3.8/site-packages/opae.fpga-2.1.0-py3.8.egg-info/top_level.txt
File listed twice: /usr/lib64/python3.8/site-packages/opae/fpga
File listed twice: /usr/lib64/python3.8/site-packages/opae/fpga/init.py
File listed twice: /usr/lib64/python3.8/site-packages/opae/fpga/pycache
File listed twice: /usr/lib64/python3.8/site-packages/opae/fpga/pycache/init.cpython-38.opt-1.pyc
File listed twice: /usr/lib64/python3.8/site-packages/opae/fpga/pycache/init.cpython-38.pyc
File listed twice: /usr/lib64/python3.8/site-packages/opae/fpga/_opae.cpython-38-x86_64-linux-gnu.so
Installed (but unpackaged) file(s) found:
/usr/lib/opae-2.1.0/opae-config-version.cmake
/usr/lib/opae-2.1.0/opae-config.cmake
/usr/lib/opae-2.1.0/opae-targets-relwithdebinfo.cmake
/usr/lib/opae-2.1.0/opae-targets.cmake
first rpmbuild failed.. exiting

@r-rojo
Copy link
Contributor

r-rojo commented Apr 19, 2022

#2559 Should fix this

@bdelgado1995
Copy link
Author

Thanks for the update! I tried it out but am now getting a slightly similar error, but not exactly the same. If it's helpful, I can attach the full log.

git rev-parse HEAD
8e879d1

./create fedora
[... ]
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/brian/opae-sdk/packaging/opae/rpm/rpmbuild/BUILDROOT/opae-2.1.0-1.fc32.x86_64
error: Installed (but unpackaged) file(s) found:
/usr/include/opae/plugin/adapter.h

RPM build errors:
File listed twice: /usr/lib/.build-id/b8/e0e176bef6cc46ac0d9d542613d3eef9108e90
File listed twice: /usr/lib64/python3.8/site-packages/opae.fpga-2.1.0-py3.8.egg-info
File listed twice: /usr/lib64/python3.8/site-packages/opae.fpga-2.1.0-py3.8.egg-info/PKG-INFO
File listed twice: /usr/lib64/python3.8/site-packages/opae.fpga-2.1.0-py3.8.egg-info/SOURCES.txt
File listed twice: /usr/lib64/python3.8/site-packages/opae.fpga-2.1.0-py3.8.egg-info/dependency_links.txt
File listed twice: /usr/lib64/python3.8/site-packages/opae.fpga-2.1.0-py3.8.egg-info/entry_points.txt
File listed twice: /usr/lib64/python3.8/site-packages/opae.fpga-2.1.0-py3.8.egg-info/requires.txt
File listed twice: /usr/lib64/python3.8/site-packages/opae.fpga-2.1.0-py3.8.egg-info/top_level.txt
File listed twice: /usr/lib64/python3.8/site-packages/opae/fpga
File listed twice: /usr/lib64/python3.8/site-packages/opae/fpga/init.py
File listed twice: /usr/lib64/python3.8/site-packages/opae/fpga/pycache
File listed twice: /usr/lib64/python3.8/site-packages/opae/fpga/pycache/init.cpython-38.opt-1.pyc
File listed twice: /usr/lib64/python3.8/site-packages/opae/fpga/pycache/init.cpython-38.pyc
File listed twice: /usr/lib64/python3.8/site-packages/opae/fpga/_opae.cpython-38-x86_64-linux-gnu.so
Installed (but unpackaged) file(s) found:
/usr/include/opae/plugin/adapter.h
first rpmbuild failed.. exiting

@tswhison
Copy link
Contributor

tswhison commented Jun 2, 2023

Fedora32 is legacy. Code is packaging correctly with Fedora35, Fedora37.

@tswhison tswhison closed this as not planned Won't fix, can't repro, duplicate, stale Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants