Package Details: auracle-git r366.8739929-1

Git Clone URL: https://aur.archlinux.org/auracle-git.git (read-only, click to copy)
Package Base: auracle-git
Description: A flexible client for the AUR
Upstream URL: https://github.com/falconindy/auracle.git
Keywords: aur
Licenses: MIT
Conflicts: auracle
Provides: auracle
Submitter: Foxboron
Maintainer: artafinde
Last Packager: artafinde
Votes: 93
Popularity: 3.15
First Submitted: 2017-07-02 16:40
Last Updated: 2021-02-12 08:13

Required by (10)

Sources (1)

Pinned Comments

falconindy commented on 2020-05-31 15:35

FAQ:

  • The dependencies are correct. fmt and nlohmann_json are configured as subprojects for ease of development on my end, and it's only natural to statically link C++ projects, as ABI stability with exported C++ libraries isn't a thing (compared to C).
  • If you think pod2man is missing, it's a configuration problem on your end. pod2man is part of the perl package, but in a perl-specific PATH handled by /etc/profile.d/perlbin.sh
  • I'm only able to test auracle on i686 and x86_64, so that's what I'm willing to commit to in the PKGBUILD. If you want to build this on some other architecture, use makepkg -A. The "any" architecture is reserved for packages with architecture independent files (and compiled C++ is not).

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 ... Next › Last »

falconindy commented on 2020-05-14 20:18

And what package is pod2man part of?

I'll answer that for you. It's perl. It's in the makedepends already. It's not part of the standard PATH, but /etc/profile.d/perlbin.sh ensures you have this available.

miguelmsoler commented on 2020-05-14 19:53

Hi, I thing there is a missing dependency: pod2man. After installing it, everything runs smoothly.

This is my log for the error:

⇒  makepkg -i PKGBUILD --noconfirm -L --clean --syncdeps
==> Making package: auracle-git r316.dfbd170-1 (Thu 14 May 2020 04:51:04 PM -03)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating auracle git repo...
Fetching origin
==> Validating source files with sha256sums...
    auracle ... Skipped
==> Extracting sources...
  -> Creating working copy of auracle git repo...
Reset branch 'makepkg'
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
The Meson build system
Version: 0.54.1
Source dir: /home/miguelmsoler/.cache/aurutils/sync/auracle-git/src/auracle
Build dir: /home/miguelmsoler/.cache/aurutils/sync/auracle-    git/src/auracle/build
Build type: native build
Project name: auracle
Project version: 0
Using 'CXXFLAGS' from environment with value: '-march=x86-64 -mtune=generic     -O2 -pipe -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-    needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
Using 'CXXFLAGS' from environment with value: '-march=x86-64 -mtune=generic     -O2 -pipe -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-    needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
C++ compiler for the host machine: c++ (gcc 10.1.0 "c++ (GCC) 10.1.0")
C++ linker for the host machine: c++ ld.bfd 2.34.50.20200508
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C++ supports arguments -ffunction-sections: YES 
Compiler for C++ supports arguments -fdata-sections: YES 
Compiler for C++ supports link arguments -Wl,--gc-sections: YES 
Found pkg-config: /usr/sbin/pkg-config (1.6.3)
Found CMake: /usr/sbin/cmake (3.17.2)
Using 'CFLAGS' from environment with value: '-march=x86-64 -mtune=generic -    O2 -pipe -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-    needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
Run-time dependency nlohmann_json found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency nlohmann_json

|Executing subproject nlohmann_json method meson 
|
|Project name: nlohmann_json
|Project version: 3.7.1
|C++ compiler for the host machine: c++ (gcc 10.1.0 "c++ (GCC) 10.1.0")
|C++ linker for the host machine: c++ ld.bfd 2.34.50.20200508
|Build targets in project: 0
|Subproject nlohmann_json finished.

Dependency nlohmann_json from subproject subprojects/nlohmann_json found:     YES 3.7.1
Run-time dependency libalpm found: YES 12.0.1
Run-time dependency libcurl found: YES 7.70.0
Run-time dependency fmt found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency fmt

|Executing subproject fmt method meson 
|
|Project name: fmt
|Project version: 6.0.0
|C++ compiler for the host machine: c++ (gcc 10.1.0 "c++ (GCC) 10.1.0")
|C++ linker for the host machine: c++ ld.bfd 2.34.50.20200508
|Build targets in project: 1
|Subproject fmt finished.

Dependency fmt from subproject subprojects/fmt found: YES 6.0.0
Run-time dependency libsystemd found: YES 245
Run-time dependency GTest found: YES 1.8.1
Run-time dependency GMock found: YES 1.8.1
Library stdc++fs found: YES
Program pod2man found: NO

meson.build:38:0: ERROR: Program(s) ['pod2man'] not found or not executable

yshui commented on 2020-05-14 14:22

Thanks.

falconindy commented on 2020-05-14 12:56

systemd is now in makedepends.

a821 commented on 2020-05-13 17:46

Here is my failed build log http://sprunge.us/ouCwpA and the respective meson logs http://sprunge.us/gphjVq. Note I'm using extra-x86_64-build which only installs base-devel AFAICT. Also, the wiki (https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot#Classic_way) does not mention base, only base-devel. Maybe the wiki is wrong :-P

FWIW, my last auracle clean-build on 2020.04.27 was successful.

yshui commented on 2020-05-13 15:05

Thanks for looking into this. Now I tried again, nlohmann_json is indeeded downloaded, but it wasn't last time, and I did rerun the build to make sure. Maybe a transient network failure?

systemd is in base, but it is not in base-devel, which is what I created my chroot with.

falconindy commented on 2020-05-13 14:31

Here's a build log in a clean chroot (using makechrootpkg -C -r $root):

https://0x0.st/iL8e.txt

You'll notice that:

a) systemd is part of base, so it's implied (base is mandatory: https://www.archlinux.org/news/base-group-replaced-by-mandatory-base-package-manual-intervention-required/).

b) nlohmann_json is downloaded by meson as part of the build.

What am I missing?

AndyRTR commented on 2020-05-13 13:40

me2 - clean chroot fails here:

Determining dependency 'libsystemd' with pkg-config executable '/usr/bin/pkg-config' PKG_CONFIG_PATH: Called /usr/bin/pkg-config --modversion libsystemd -> 1 ... Run-time dependency libsystemd found: NO (tried pkgconfig and cmake)

meson.build:33:0: ERROR: Dependency "libsystemd" not found, tried pkgconfig and cmake

Probably because /usr/share/pkgconfig/systemd.pc is part of systemd package and not inliced in systemd-libs. Adding systemd to makedepends solves this.

yshui commented on 2020-05-13 13:37

Dependencies are incorrect, which you can easily verify using makechrootpkg with a fresh chroot. Whether you want to fix it is up to you.

Also, you wrote the code yourself, how could you not know what are the dependencies? (https://github.com/falconindy/auracle/blob/master/meson.build#L25)

falconindy commented on 2020-05-13 11:24

Dependencies are correct. If you think otherwise, you'll need to provide a log showing the makepkg invocation and subsequent failure.