Seems that it doesn't quite work (not sure why yet):

```
INFO: ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target 
x86_64 --nodeps /builddir/build/SPECS/rust-warp.spec'], 
chrootPath='/var/lib/mock/fedora-rawhide-x86_64-buildreqs/root'env={'TERM': 
'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': 
'/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf 
"\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 
'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 
0x7f88f76beda0>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock',
 
'--bind=/tmp/mock-resolv.9ce04myj:/etc/resolv.conf']unshare_net=TrueprintOutput=True)
DEBUG: child environment: None
DEBUG: Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 
'0e1a55f2c21348f683147f4abb2a2339', '-D', 
'/var/lib/mock/fedora-rawhide-x86_64-buildreqs/root', '-a', 
'--capability=cap_ipc_lock', 
'--bind=/tmp/mock-resolv.9ce04myj:/etc/resolv.conf', '--setenv=TERM=vt100', 
'--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', 
'--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', 
'--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', 
'--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 
'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 
--nodeps /builddir/build/SPECS/rust-warp.spec'] with env {'TERM': 'vt100', 
'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': 
'/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf 
"\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 
'en_US.UTF-8'} and shell False
DEBUG: Unsharing. Flags: 1073741824
DEBUG: Unsharing. Flags: 134217728
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5b8t2s
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf warp-0.1.15
+ /usr/bin/gzip -dc /builddir/build/SOURCES/warp-0.1.15.crate
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd warp-0.1.15
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ set -eu
+ /usr/bin/mkdir -p .cargo
+ cat
+ /usr/bin/rm -f Cargo.lock
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4iJY1v
+ umask 022
+ cd /builddir/build/BUILD
+ cd warp-0.1.15
+ /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 /usr/bin/cargo build -j8 -Z 
avoid-dev-deps --release
error: no matching package named `bytes` found
```

This means that `%generate_buildrequires` was not executed.

[rust-warp-0.1.15-1.fc31.src.rpm.gz](https://github.com/rpm-software-management/rpm/files/3061081/rust-warp-0.1.15-1.fc31.src.rpm.gz)


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/593#issuecomment-481450123
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to