mxlgv / dino

This is Dino+ A modern XMPP/Jabber client software, based on Dino
GNU General Public License v3.0
15 stars 9 forks source link

Cannot build Dino+ from AUR #96

Closed ghost closed 1 month ago

ghost commented 1 month ago

Hello. Here is the output from the terminal when trying to build the package

~ ❯ LANG=en paru -S dino-plus-git
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

:: Conflicts found:
    dino-plus-git: dino  

:: Conflicting packages will have to be confirmed manually

Aur (1) dino-plus-git-v0.4.3.fork.3.r14.gbec8a5b6-1

:: Proceed to review? [Y/n]: y

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
fetching devel info...
==> Making package: dino-plus-git v0.4.3.fork.3.r14.gbec8a5b6-1 (Sat Aug 17 17:37:01 2024)
==> Retrieving sources...
  -> Updating dino git repo...
==> Validating source files with sha512sums...
    dino ... Skipped
==> Making package: dino-plus-git v0.4.3.fork.3.r14.gbec8a5b6-1 (Sat Aug 17 17:37:03 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating dino git repo...
==> Validating source files with sha512sums...
    dino ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of dino git repo...
Cloning into 'dino'...
done.
==> Starting pkgver()...
==> Updated version: dino-plus-git v0.4.3.4.r13.g80af0670-1
==> Sources are ready.
dino-plus-git-v0.4.3.fork.3.r14.gbec8a5b6-1: parsing pkg list...
==> Making package: dino-plus-git v0.4.3.4.r13.g80af0670-1 (Sat Aug 17 17:37:06 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-!- CMake required.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'dino-plus-git-v0.4.3.fork.3.r14.gbec8a5b6-1': 
error: packages failed to build: dino-plus-git-v0.4.3.fork.3.r14.gbec8a5b6-1

Distribution: Artix Linux with latest updates paru version: v2.0.3

mxlgv commented 1 month ago

@VoidWa This is very strange. CMake is located in makedepends. I previously removed cmake and did:

paru -S dino-plus-git 

and repeated the same with:

yay -S dino-plus-git

Everything is builded correctly.

yay v12.3.5 - libalpm v14.0. paru v2.0.3 - libalpm v14.0.0

mxlgv commented 1 month ago

@VoidWa Please tell me what version of CMake you have? What does the cmake command output? I may have to specify cmake >=3.3 in makedepends according to cmake_minimum_required(VERSION 3.3). Do paru -Scc to clear the cache for reliability.

ghost commented 1 month ago

Please tell me what version of CMake you have?

~ ❯ sudo pacman -Q cmake 
cmake 3.30.2-1
~ ❯

What does the cmake command output?

~ ❯ cmake
Usage

  cmake [options] <path-to-source>
  cmake [options] <path-to-existing-build>
  cmake [options] -S <path-to-source> -B <path-to-build>

Specify a source directory to (re-)generate a build system for it in the
current working directory.  Specify an existing build directory to
re-generate its build system.

Run 'cmake --help' for more information.

~ ❯ 

Do paru -Scc to clear the cache for reliability.

I cleared the cache but I get the same error when building

giantplaceholder commented 1 month ago

@VoidWa, JFYI:

I've just installed a fresh Arch installation two days ago, ran full update and then built https://aur.archlinux.org/packages/dino-plus-git via pamac-manager with zero issues, with the same version of cmake as you have.

ghost commented 1 month ago

@VoidWa, JFYI:

I've just installed a fresh Arch installation two days ago, ran full update and then built https://aur.archlinux.org/packages/dino-plus-git via pamac-manager with zero issues, with the same version of cmake as you have.

Are you expecting congratulations from me? Or why did you inform me about your success?

giantplaceholder commented 1 month ago

@VoidWa, JFYI:

I've just installed a fresh Arch installation two days ago, ran full update and then built https://aur.archlinux.org/packages/dino-plus-git via pamac-manager with zero issues, with the same version of cmake as you have.

Are you expecting congratulations from me? Or why did you inform me about your success?

I expect you not to be a jerk when someone reports that on default configuration of a freshly installed OS there are no issues with the PKGBUILD.

Closing this specific issue as wontfix, since Dino+ successfully builds on a freshly installed Arch via paru and pamac, and since I've no desire to help assholes with their debug.

Should anyone else have any issues with building from AUR - please, make a new separate issue. Thanks.