#184 [Errno 20] Not a directory: '/dev/null/_copr_clime-rpkg-client.repo'
Opened 3 years ago by brianjmurrell. Modified 5 months ago

Trying to build a package using the make srpm method where my .copr/Makefile contains:

srpm:
    dnf -y install 'dnf-command(copr)' rpmdevtools
    dnf -y copr enable clime/rpkg-client
    dnf -y install rpkg
    spectool -g $(spec)
    rpkg srpm --outdir=$(outdir) --spec=$(spec)

I'm getting:

dnf -y copr enable clime/rpkg-client
[Errno 20] Not a directory: '/dev/null/_copr_clime-rpkg-client.repo'
make: *** [/mnt/tmp/tmph_tckwrm/iml-agent/.copr/Makefile:3: srpm] Error 1

As a temporary workaround, you can use:

dnf -y --setopt=reposdir=/tmp/yum.repos.d copr enable clime/rpkg-client

Metadata Update from @msuchy:
- Issue tagged with: bug

2 years ago

It is somewhat inconvenient to resolve this one-by-one per each method; so
(if Pagure worked) I'd set "Depending on field: #534".

Metadata Update from @praiskup:
- Issue marked as depending on: #534

5 months ago

Login to comment on this ticket.

Metadata