Skip to content

rpmbuild error : Directory not found #2074

Answered by pmatilai
rmehtacs asked this question in Q&A
Discussion options

You must be logged in to vote

Buildroot is no longer user defineable in rpm >= 4.6, ie the rpm versions released in past 13 or so years.
Running into this is an indication of abusing rpm: in rpm packaging, rpmbuild is supposed to handle the build of the software from sources to binaries, whereas you're pointing it to on-disk binaries built by some other means.

Rpm will not prevent you from copying files from an arbitrary location to the per-build buildroot though, so that's how you can work around it.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rmehtacs
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by pmatilai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants