Skip to content

Conversation

@Rtoax
Copy link
Contributor

@Rtoax Rtoax commented Aug 2, 2023

We should create a SOURCES directory for rpmbuild, reproduce the problem:

    # 1. Clean all
    $ rm -rf ~/rpmbuild

    # 2. Make package
    $ make pkg
    ...
    git archive --format=tar --prefix=`rpmspec -q --queryformat="%{NAME}-%{VERSION}\n" buildrpm/bpftune.spec | head -1`/ -o /home/rongtao/rpmbuild/SOURCES/`rpmspec -q --queryformat="%{NAME}-%{VERSION}\n" buildrpm/bpftune.spec | head -1`.tar HEAD
    fatal: could not open '/home/rongtao/rpmbuild/SOURCES/bpftune-0.1.tar' for writing: No such file or directory

We should create a SOURCES directory for rpmbuild, reproduce the problem:

    # 1. Clean all
    $ rm -rf ~/rpmbuild

    # 2. Make package
    $ make pkg
    ...
    git archive --format=tar --prefix=`rpmspec -q --queryformat="%{NAME}-%{VERSION}\n" buildrpm/bpftune.spec | head -1`/ -o /home/rongtao/rpmbuild/SOURCES/`rpmspec -q --queryformat="%{NAME}-%{VERSION}\n" buildrpm/bpftune.spec | head -1`.tar HEAD
    fatal: could not open '/home/rongtao/rpmbuild/SOURCES/bpftune-0.1.tar' for writing: No such file or directory

Signed-off-by: Rong Tao <[email protected]>
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 2, 2023
@alan-maguire alan-maguire merged commit f7e051a into oracle:main Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants