Package Details: roundcubemail-git 1.4.rc2.r702.ga0fbcf381-1

Git Clone URL: (read-only, click to copy)
Package Base: roundcubemail-git
Description: A PHP web-based mail client
Upstream URL:
Licenses: GPL
Conflicts: roundcubemail
Provides: roundcubemail
Submitter: cgirard
Maintainer: cgirard
Last Packager: cgirard
Votes: 1
Popularity: 0.53
First Submitted: 2018-11-05 14:32
Last Updated: 2021-01-02 14:26

Dependencies (11)

Required by (22)

Sources (2)

Latest Comments

1 2 Next › Last »

caleb commented on 2021-05-19 13:52

@cgirard That is because you are assuming they will tag with X.Y.0. If they tag with 1.5 instead of 1.5.0 then you'll see vercmp won't register the right direction. This is documented in the wiki and vercmp man pages, the correct way to do it is with no segment separator before suffixes like "pre", "beta", etc. Otherwise they will not be considered as adding meaning to the previous segments but as segments of their own --- which will often sort them incorrectly.

cgirard commented on 2021-05-19 13:06


I am not sure what you mean:

# vercmp 1.5.0 1.5.beta.r86.gbf2c4f32e-1

caleb commented on 2021-05-19 11:59

The pkgver() function is broken because it's allowing beta version tags upstream that are not a valid format for PKGBUILD files that will end up being newer than the final release tags. It can be fixed like this (apply with git am < file.patch):

From 16aeb5032a5430795601d561f3d1f719dc0e02df Mon Sep 17 00:00:00 2001
From: Caleb Maclennan <>
Date: Tue, 1 Jun 2021 22:10:25 +0300
Subject: [PATCH] Fix versioning so releases will be newer than betas

Signed-off-by: Caleb Maclennan <>
 .SRCINFO | 3 +--
 PKGBUILD | 5 +++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index e535845..85b6cde 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = roundcubemail-git
    pkgdesc = A PHP web-based mail client
-   pkgver = 1.4.rc2.r702.ga0fbcf381
+   pkgver = 1.5beta.r100.ge62c0a8
    pkgrel = 1
    url =
    arch = any
@@ -26,4 +26,3 @@ pkgbase = roundcubemail-git
    sha256sums = c90981405527ebaf153a407af6b8178b41d078bd4472d63b837b3b4cd5ae36b0

 pkgname = roundcubemail-git
diff --git a/PKGBUILD b/PKGBUILD
index 086ce5b..5891672 100644
@@ -2,7 +2,7 @@
 # Contributor: Sergej Pupykin <>

 pkgdesc="A PHP web-based mail client"
@@ -21,7 +21,8 @@ sha256sums=('SKIP'

 pkgver() {
   cd "roundcubemail"
-  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+  git describe --long --tags --abbrev=7 HEAD |
+    sed 's/-beta/beta/g;s/\([^-]*-g\)/r\1/;s/-/./g'

 prepare() {

cgirard commented on 2021-05-15 16:22

Adopted and corrected nodejs-clean-css

cgirard commented on 2021-05-15 16:14

Understood. I was using packages built a long time ago of those nodejs modules (as they have not been updated, it did not triggered a rebuild). On those version, no root module was included.

I have corrected nodejs-less PKGBUILD which should correct for that package anyway. If you still see issues with nodejs-clean-css or nodejs-less-plugin-clean-css, please comment on those packages as the owner has no way to learn about it else.

corecode commented on 2021-05-15 15:59

the problem isn't in roundcubemail-git, it's in nodejs-clean-css and nodejs-less (latest from AUR) containing conflicting files in /usr/lib/node_modules/root:

10:56:30 ernest:~/.cache/yay/nodejs-less master 
% pacman -Qlp nodejs-less-4.1.1-1-any.pkg.tar.xz|grep /usr/lib/node_modules/root|wc -l

I'm guessing it is some obscure build issue with those two packages (npm?) which makes the install dir include files it shouldn't contain.

cgirard commented on 2021-05-15 15:23

@corecode: I don't understant what you are talking about:

$ pacman -Qlp nodejs-clean-css-4.2.1-1-any.pkg.tar.zst | grep /usr/lib/node_modules/root
$ pacman -Qlp nodejs-less-4.1.1-1-any.pkg.tar.zst | grep /usr/lib/node_modules/root
$ pacman -Qlp nodejs-less-plugin-clean-css-1.5.1-1-any.pkg.tar.zst | grep /usr/lib/node_modules/root

I am rebuilding each day roundcubemail-git on a clean chroot without any problem (repo available here: if you need it).

corecode commented on 2021-05-14 14:15

nodejs-less-plugin-clean-css requires both nodejs-less and nodejs-clean-css, both of which install conflicting files in /usr/lib/node_modules/root. This conflict breaks build of roundcubemail-git.

cgirard commented on 2021-05-05 12:26

What do you mean by

Additionally the current build depends on a duplicate package with a bad name that installs conflicting files with another package (nodejs-clean-css vs. nodejs-less-plugin-clean-css). Those have two different upstreams with unrelated versions.

Did you notice anything specific on upcoming 1.5 release? I have everything building and working fine with latest HEAD and do not see any notable change in instructions that I did not already applied.

caleb commented on 2021-05-03 09:13

There are quite a few build chain changes in the upcoming 1.5 release. Additionally the current build depends on a duplicate package with a bad name that installs conflicting files with another package (nodejs-clean-css vs. nodejs-less-plugin-clean-css). Could this be updated to build cleanly for the current dependencies?