Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#55359 - [exa] build fails during package()

Attached to Project: Community Packages
Opened by Erich Eckner (deepthought) - Wednesday, 30 August 2017, 10:30 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 04 September 2017, 10:04 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The build of the package in a clean chroot fails during package() with:

install -m755 -- target/release/exa "/build/exa/pkg/exa/usr/bin/"
install: target '/build/exa/pkg/exa/usr/bin/' is not a directory: No such file or directory
make: *** [Makefile:26: install-exa] Error 1
==> ERROR: A failure occurred in package().
Aborting...

Additional info:
* package version(s)
git revision 0e26cc378986d269bd1319b62338c436630bcdd0
exa-0.7.0-2

* config and/or log files etc.
full log is attached

Steps to reproduce:
Try to build it via staging-x86_64-build.
   log (6.3 KiB)
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Monday, 04 September 2017, 10:04 GMT
Reason for closing:  Upstream
Comment by Doug Newgard (Scimmia) - Wednesday, 30 August 2017, 15:01 GMT
Builds fine here, I would guess this is an upstream race condition.
Comment by Alexander F. Rødseth (xyproto) - Friday, 01 September 2017, 11:05 GMT
Unable to reproduce the issue with extra-x86_64-build.

staging-x86_64-build is experimental and may be broken just because the packages there are brand new and undergoing early testing.
Comment by Erich Eckner (deepthought) - Friday, 01 September 2017, 12:23 GMT
It fails (for me) in the same way with extra-x86_64-build:

==> Starting package()...
cargo build --release --no-default-features --features "default"
Finished release [optimized] target(s) in 0.0 secs
install -m755 -- target/release/exa "/build/exa/pkg/exa/usr/bin/"
install: target '/build/exa/pkg/exa/usr/bin/' is not a directory: No such file or directory
make: *** [Makefile:26: install-exa] Error 1
   log (12 KiB)
Comment by Erich Eckner (deepthought) - Friday, 01 September 2017, 12:31 GMT
btw: the same happens when I put

make -j1 PREFIX="$pkgdir/usr" install

in the PKGBUILD's package() function.
   log_j1 (5.9 KiB)
Comment by Erich Eckner (deepthought) - Friday, 01 September 2017, 13:07 GMT
The problem seems to be, that 'intall-man' creates /usr/bin, 'install-exa' requires it and 'install' lists 'install-exa install-man' - e.g. it only succeeds if -j2 or lager is given and 'target/release/exa', a dependency of 'install-exa' takes some time: 0.0s in my case seems too low ;-)

I reported it upstream: https://github.com/ogham/exa/issues/277
I guess, this issue can be closed, then :-)

Loading...