Package Details: taskwarrior-tui-git r146.fad4e5f-1

Git Clone URL: https://aur.archlinux.org/taskwarrior-tui-git.git (read-only, click to copy)
Package Base: taskwarrior-tui-git
Description: A Terminal User Interface for Taskwarrior
Upstream URL: https://github.com/kdheepak/taskwarrior-tui
Keywords: taskwarrior tui
Licenses: MIT
Conflicts: taskwarrior-tui
Provides: taskwarrior-tui
Submitter: loki7990
Maintainer: loki7990 (kdheepak)
Last Packager: loki7990
Votes: 3
Popularity: 0.000000
First Submitted: 2020-10-02 22:30 (UTC)
Last Updated: 2020-10-29 00:44 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

loki7990 commented on 2021-04-28 19:47 (UTC)

Hmm, I'm not sure @AkechiShiro. Like I said, it installs just fine for me. I suggest opening an issue over at the github repo.

AkechiShiro commented on 2021-04-28 19:18 (UTC)

Hi @loki7990 I'm still facing issue even with the rustup suggestion you mentioned the same issue happens.

info: using existing install for 'nightly-x86_64-unknown-linux-gnu'
info: default toolchain set to 'nightly-x86_64-unknown-linux-gnu'

  nightly-x86_64-unknown-linux-gnu unchanged - rustc 1.51.0-nightly (f4eb5d9f7 2021-01-25)

To build I use the current command sudo aura -Axc pkgName the c option is said to delete its build directory immediately, so I don't think it is related to some cache.

loki7990 commented on 2021-04-28 18:44 (UTC) (edited on 2021-04-28 18:44 (UTC) by loki7990)

@AkechiShiro Looks like kdheepak is in the midst of making commits. I was able to build and install just fine with the rust package in the repos. You could try installing rustup and then run rustup default nightly and install again, but I suspect that since you tried installing while kdheepak was making commits things borked along the way. Try installing again now and if you still have problems, try the rustup suggestion I mentioned.

AkechiShiro commented on 2021-04-28 18:31 (UTC)

This package does not build seems upstream is broken or maybe my Rust version is not recent enough ?

error[E0433]: failed to resolve: could not find `addr_of` in `ptr`
   --> /home/xxxx/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.40/src/error.rs:606:14
    |
606 |         ptr::addr_of!((*unerased.as_ptr())._object) as *mut E,
    |              ^^^^^^^ could not find `addr_of` in `ptr`

error[E0433]: failed to resolve: could not find `addr_of` in `ptr`
   --> /home/zwei/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.40/src/error.rs:647:22
    |
647 |                 ptr::addr_of!((*unerased.as_ptr())._object) as *mut E,
    |                      ^^^^^^^ could not find `addr_of` in `ptr`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0433`.
error: could not compile `anyhow`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

orhun commented on 2020-10-23 18:18 (UTC) (edited on 2020-12-12 09:49 (UTC) by orhun)

A few issues about PKGBUILD:

  • Consider using the following command for getting the most recent annotated tag.
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'

More info: https://wiki.archlinux.org/index.php/VCS_package_guidelines#The_pkgver()_function

  • You can install README.md as well with the following command:
install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
  • Using $srcdir is unnecessary.
  • Consider adding a check() function for cargo test.