@all: Heads up everyone: I switched the branch this package builds from master
to releases/1.2
to have it more closely track the release version.
Please ensure that you are building from a clean build directory!
Git Clone URL: | https://aur.archlinux.org/hydrogen-git.git (read-only, click to copy) |
---|---|
Package Base: | hydrogen-git |
Description: | An advanced drum machine (git version) |
Upstream URL: | https://github.com/hydrogen-music/hydrogen |
Licenses: | GPL-2.0-or-later |
Groups: | pro-audio |
Conflicts: | hydrogen |
Provides: | hydrogen |
Submitter: | SpotlightKid |
Maintainer: | SpotlightKid |
Last Packager: | SpotlightKid |
Votes: | 3 |
Popularity: | 0.000000 |
First Submitted: | 2016-02-03 14:38 (UTC) |
Last Updated: | 2024-12-07 15:27 (UTC) |
@all: Heads up everyone: I switched the branch this package builds from master
to releases/1.2
to have it more closely track the release version.
Please ensure that you are building from a clean build directory!
@jurayk: with VCS packages it's kinda expected that upstream sometimes breaks things. The code should compile with -Werror=format-security
(which is in the standard CFLAGS
used by makepkg
, but it doesn't. Please report this upstream. Alternatively, you could edit /etc/makepkg.conf
and temporarily remove this flags from CFLAGS
(make sure you start with a clean build dir then).
Hi, I can't install the package with yay
utility due to following error. Thank You for any help!
.cache/yay/hydrogen-git/src/hydrogen/src/core/Logger.cpp: In function ‘void* H2Core::loggerThread_func(void*)’:
.cache/yay/hydrogen-git/src/hydrogen/src/core/Logger.cpp:58:32: error: format not a string literal and no format arguments [-Werror=format-security]
58 | fprintf( stderr,
| ~~~~~~~^~~~~~~~~
59 | QString( "Error: can't open log file [%1] for writing...\n" )
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | .arg( logger->m_sLogFilePath ).toLocal8Bit().data() );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
make[2]: *** [src/core/CMakeFiles/hydrogen-core-1.2.0.dir/build.make:734: src/core/CMakeFiles/hydrogen-core-1.2.0.dir/Logger.cpp.o] Error 1
make[2]: Leaving directory 'gc.cache/yay/hydrogen-git/src/hydrogen/build'
make[1]: *** [CMakeFiles/Makefile2:246: src/core/CMakeFiles/hydrogen-core-1.2.0.dir/all] Error 2
make[1]: Leaving directory 'gc.cache/yay/hydrogen-git/src/hydrogen/build'
make: *** [Makefile:156: all] Error 2
make: Leaving directory 'gc.cache/yay/hydrogen-git/src/hydrogen/build'
==> ERROR: A failure occurred in build().
Aborting...
-> error making: hydrogen-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
hydrogen-git - exit status 4
hey hey, I was trying to install hydrogen, but while cloning I get a timeout. The fix for this: 1) open the PKGBUILD file and go to line 19 (source=("${_pkgname}"::'git://github.com/hydrogen-music/hydrogen.git')
2) instead of "git://", write "git+https://"
Thanks for updating to the new beta version. However, to build it you require "itstool". I installed it manually and build proceeds fine, but it needs to be added as a dependency.
@SpotlightKid very impressive response time! Thanks for the fix!! Can confirm that package is correct now.
@codebling: thanks for the heads-up! This is a regression in upstream:
I've included a fix for it in the PKGBUILD.
i18n
folder is incorrectly getting installed in /usr/data/
instead of /usr/share/hydrogen/data/
.
The PKGBUILD
looks fine. I think that the problem is in updateTranslations.sh
, which runs a number of commands with the path ../..
@PSO: Thanks for reporting. Fixed now.
There are two errors in the PKGBUILD: 1. INSTALL.txt is now named INSTALL.md. 2. The library part is installed in /usr/lib64, but that's not allowed in Arch Linux packages. Add the line -DCMAKE_INSTALL_LIBDIR=lib to cmake's build arguments to fix this.
Pinned Comments
SpotlightKid commented on 2024-12-07 18:20 (UTC)
@all: Heads up everyone: I switched the branch this package builds from
master
toreleases/1.2
to have it more closely track the release version.Please ensure that you are building from a clean build directory!