Package Details: lomiri-ui-toolkit 1.3.5903-1

Git Clone URL: https://aur.archlinux.org/lomiri-ui-toolkit.git (read-only, click to copy)
Package Base: lomiri-ui-toolkit
Description: Lomiri UI Toolkit
Upstream URL: https://gitlab.com/ubports/development/core/lomiri-ui-toolkit
Licenses: LGPL-3.0-only
Submitter: link2xt
Maintainer: link2xt
Last Packager: link2xt
Votes: 0
Popularity: 0.000000
First Submitted: 2025-06-11 15:51 (UTC)
Last Updated: 2026-03-07 17:14 (UTC)

Latest Comments

link2xt commented on 2026-03-08 09:14 (UTC)

Arch now sets _FORTIFY_SOURCE=3 and hardcoded value in lomiri-ui-toolkit is _FORTIFY_SOURCE=2, so the correct solution is to remove hardcoding from lomiri-ui-toolkit and with your soultion of !buildflags you reduce it to _FORTIFY_SOURCE=2.

serxxx commented on 2026-03-07 20:53 (UTC)

Interesting. So did I, but it was a completely different fix. I did:

options=(!buildflags)

because _FORTIFY_SOURCE is being defined there.

The first thing I tried was to build it from git HEAD, so now I have a -git version. DeltaTouch -- which is what I was trying to install this for -- builds and runs against lomiri HEAD, FWIW.

I had to change several things in the process; I'm torn about creating a parallel -git package, because I'm really only interested in this as a dependency for that one program. So here's the PKGBUILD for anyone who wants to try against lomiri HEAD:

# Maintainer: xxxxx <xxx@email.com>
pkgname=lomiri-ui-toolkit-git
_pkgname=${pkgname%-git}
pkgver=1.3.5903
pkgrel=1
epoch=
pkgdesc="Lomiri UI Toolkit"
arch=('x86_64')
url="https://gitlab.com/ubports/development/core/lomiri-ui-toolkit"
license=('AGPL3')
groups=()
depends=('lttng-ust' 'qt5-pim' 'qt5-systems')
makedepends=('git' 'qt5-base' 'qt5-tools')
checkdepends=()
optdepends=()
provides=(${_pkgname})
conflicts=(${_pkgname})
replaces=()
backup=()
options=(!buildflags)
install=
changelog=
source=("${pkgname}::git+https://gitlab.com/ubports/development/core/lomiri-ui-toolkit")
noextract=()
sha256sums=('SKIP')
validpgpkeys=()

prepare() {
    cd "${srcdir}/$pkgname"
}

build() {
    cd "${srcdir}/$pkgname"
    mkdir -p build
    cd build
    qmake ..
    make
}

check() {
    cd "${srcdir}/$pkgname"
    #make -k check
}

package() {
    cd "${srcdir}/$pkgname/build"
    unset LD_PRELOAD
    make INSTALL_ROOT="$pkgdir/" install
}

link2xt commented on 2026-03-07 15:11 (UTC)

I pushed the fix for _FORTIFY_SOURCE.

serxxx commented on 2026-03-07 13:50 (UTC) (edited on 2026-03-07 14:03 (UTC) by serxxx)

Currently fails to build with

<command-line>: error: ‘_FORTIFY_SOURCE’ redefined

Note, this still fails with the upstream 1.3.5903 tag. I made an ad-hoc -git package, and it's also raising this error from the head of the upstream repo.