Package Details: milkytracker-git 1.04.00.r335.g60ce53e-1

Git Clone URL: https://aur.archlinux.org/milkytracker-git.git (read-only, click to copy)
Package Base: milkytracker-git
Description: Fast Tracker II inspired music tracker
Upstream URL: http://www.milkytracker.org/
Licenses: GPL3
Conflicts: milkytracker
Provides: milkytracker
Submitter: RavuAlHemio
Maintainer: RavuAlHemio
Last Packager: RavuAlHemio
Votes: 1
Popularity: 0.000000
First Submitted: 2014-03-30 13:55 (UTC)
Last Updated: 2025-12-09 14:45 (UTC)

Latest Comments

asart commented on 2025-12-11 18:44 (UTC)

Seems that way. For anyone interested - I've opened an issue upstream.

RavuAlHemio commented on 2025-12-09 19:12 (UTC)

Given that makepkg does the right thing, to be honest, I'd consider that a makechrootpkg bug -- somewhere, stdout and stderr are being conflated, and it's almost a miracle that this is the only negative effect...

asart commented on 2025-12-09 17:06 (UTC)

Hey! Thanks for the quick fix!

Just in case this is useful: The package now correctly builds with makepkg, but an extra-x86_64-build / makechrootpkg in a clean chroot still fails with:

==> Retrieving sources...   -> Found 0001-Build-SET-CMP0004-OLD-only-if-CMake-4.0.patch   -> Found milkytracker.install ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...   -> Creating working copy of milkytracker git repo... Cloning into 'milkytracker'... done. ==> Starting prepare()... [milkytracker]                    Generating desktop file... AudioVideoEditing is an unrecognized category ok patching file CMakeLists.txt ==> Starting pkgver()... ==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace. ==> ERROR: pkgver() generated an invalid version: warning: tag 'remove' is externally known as 'v1.04.00' 1.04.00.r335.g60ce53e ==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/redacted/build 

In the clean chroot git describe --long prints that warning on stdout, so it becomes part of the pkgver() output and makepkg rejects it. In upstream this seems to come from a tag/metadata inconsistency involving the remove and v1.04.00 tags, which makes newer Git print that warning. Redirecting git stderr to /dev/null still fixes the issue.

Everything else works perfectly.

RavuAlHemio commented on 2025-12-09 14:50 (UTC) (edited on 2025-12-09 14:51 (UTC) by RavuAlHemio)

Hiya, thanks for your report! I don't actively monitor the build status of this package, but I do update it when an issue is reported.

  1. Added git to makedepends.

  2. pkgver: Added stripping leading v from package version as used in upstream's git tags. The warning output by git describe is a side effect of a different issue which does not adversely affect the build process.

  3. Upstream has received PR 396 to fix CMake >= 4.0.0 no longer accepting setting policy to CMP0004, so I added those changes as a patch to this AUR package.

asart commented on 2025-12-09 00:23 (UTC)

Not sure if this is still maintained, but git is missing from makedepends.

Also, pkgver fails, because of a git warning:

==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace. ==> ERROR: pkgver() generated an invalid version: warning: tag 'remove' is externally known as 'v1.04.00' 

Finally, cmake complains about cmake_policy(SET CMP0004 OLD).

This patch seems to work for me:

--- a/PKGBUILD +++ b/PKGBUILD @@ -15,7 +15,7 @@ license=('GPL3')  provides=("$_pkgbase")  conflicts=("$_pkgbase")  depends=('sdl2' 'alsa-lib' 'zlib' 'gcc-libs' 'lhasa' 'zziplib' 'rtaudio' 'rtmidi') -makedepends=('jack' 'gendesk' 'cmake') +makedepends=('jack' 'gendesk' 'cmake' 'git')  optdepends=('jack: JACK audio support')  options=('docs' '!strip')  install="${_pkgbase}.install" @@ -26,10 +26,14 @@ sha256sums=('SKIP'   pkgver() {    cd "$srcdir/${_pkgbase}" -  git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g' +  git describe --long 2>/dev/null | sed -r 's/([^-]*-g)/r\1/;s/-/./g'  }   prepare() { +  cd "$srcdir/${_pkgbase}" +  sed -i '/cmake_policy(SET CMP0004 OLD)/d' CMakeLists.txt + +  cd "$srcdir"    gendesk -f -n --pkgname "$_pkgbase" --pkgdesc "$pkgdesc" --name 'MilkyTracker' \      --categories 'AudioVideo;Audio;AudioVideoEditing;' 

RavuAlHemio commented on 2019-09-22 21:13 (UTC)

Replaced jack-audio-connection-kit with jack, thanks!

SoniEx2 commented on 2019-09-16 12:51 (UTC)

jack-audio-connection-kit no longer exists

RavuAlHemio commented on 2018-07-08 14:53 (UTC)

Package updated to use the CMake build system (since autotools have been removed) and to use system dependencies instead of the Git submodules.

RavuAlHemio commented on 2016-05-03 07:19 (UTC)

Updated, thanks for the heads-up!

dwhinham commented on 2016-05-03 00:38 (UTC)

Hey, We moved to SDL2 upstream some time ago - this PKGBUILD should have sdl2 as a dependency instead of sdl. Cheers :) -Dale