When I try to do a local build with fedpkg local I generally get
something like:
++ /usr/bin/cargo-inspector --version Cargo.toml
+ CRATE_VERSION=0.2.6
+
REG_DIR=/home/orion/BUILDROOT/rust-jpeg-decoder-0.2.6-1.fc37.x86_64/usr/share/cargo/registry/jpeg-decoder-0.2.6
+ /usr/bin/mkdir -p
/home/orion/BUILDROOT/rust-jpeg-decoder-0.2.6-1.fc37.x86_64/usr/share/cargo/registry/jpeg-decoder-0.2.6
+ gawk -i inplace -v INPLACE_SUFFIX=.deps
'/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next}
/^\[/{f=0}; !f' Cargo.toml
+ /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1
'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1
-Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now
-Clink-arg=-Wl,-dT,/home/orion/fedora/rust-jpeg-decoder/jpeg-decoder-0.2.6/.package_note-rust-jpeg-decoder-0.2.6-1.fc37.x86_64.ld
--cap-lints=warn' /usr/bin/cargo package -l
+ grep -w -E -v 'Cargo.(lock|toml.orig)'
+ xargs -d '\n' /usr/bin/cp --parents -a -t
/home/orion/BUILDROOT/rust-jpeg-decoder-0.2.6-1.fc37.x86_64/usr/share/cargo/registry/jpeg-decoder-0.2.6
error: 36 files in the working directory contain changes that were not
yet committed into git:
tests/rayon.rs
tests/lib.rs
tests/rayon-0.rs
tests/rayon-1.rs
tests/rayon-2.rs
Cargo.toml.deps
LICENSE-MIT
Cargo.toml
src/marker.rs
src/lib.rs
src/decoder/lossless.rs
src/idct.rs
src/worker/mod.rs
src/worker/rayon.rs
src/worker/multithreaded.rs
src/worker/immediate.rs
src/arch/mod.rs
src/arch/neon.rs
src/arch/ssse3.rs
src/parser.rs
src/huffman.rs
src/error.rs
src/decoder.rs
src/upsampler.rs
LICENSE-APACHE
benches/tower.jpg
benches/large_image.rs
benches/tower_progressive.jpg
benches/tower_grayscale.jpg
benches/decoding_benchmark.rs
benches/large_image.jpg
CHANGELOG.md
rust-toolchain
appveyor.yml
README.md
examples/decode.rs
to proceed despite this and include the uncommitted changes, pass the
`--allow-dirty` flag
/usr/bin/cp: missing file operand
Try '/usr/bin/cp --help' for more information.
error: Bad exit status from /var/tmp/rpm-tmp.SxxYSB (%install)
How does one get around this?
--
Orion Poplawski
he/him/his - surely the least important thing about me
IT Systems Manager 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301
https://www.nwra.com/