FS#57254 - [docker] qt5-base Parse error at "IID"

Attached to Project: Community Packages
Opened by Marc Mettke (RemoteAdmin) - Sunday, 28 January 2018, 07:03 GMT
Last edited by Sébastien Luttringer (seblu) - Tuesday, 30 January 2018, 01:33 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
The latest version of qt5-base (5.10.0-3) throws the error "Parse error at IID"
if it is used inside of the official archlinux devel docker image.
Using the previous version (5.10.0-2) works fine with the same setup

Additional info:
* qt5-base (5.10.0-3)
* using: https://hub.docker.com/r/base/devel/
* building: https://aur.archlinux.org/packages/albert

Steps to reproduce:
docker run --rm -it base/devel /bin/bash
pacman -Syu
useradd -G wheel build
echo '%wheel ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
sudo -u build -- git clone https://aur.archlinux.org/albert.git
cd albert
sudo -u build -- makepkg -Ls

Current workaround:
pacman -S wget
wget https://archive.archlinux.org/packages/q/qt5-base/qt5-base-5.10.0-2-x86_64.pkg.tar.xz
pacman -U qt5-base-5.10.0-2-x86_64.pkg.tar.xz
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Tuesday, 30 January 2018, 01:33 GMT
Reason for closing:  Upstream
Comment by Antonio Rojas (arojas) - Sunday, 28 January 2018, 08:53 GMT
The issue is in docker, it's blocking statx syscalls

# wget https://raw.githubusercontent.com/torvalds/linux/master/samples/statx/test-statx.c
# gcc test-statx.c -o test-statx
# touch test-file
# ./test-statx test-file
statx(test-file) = -1
test-file: Operation not permitted
Comment by Marc Mettke (RemoteAdmin) - Sunday, 28 January 2018, 09:11 GMT
I see. The build is successful in a privileged container so it seems
like unprivileged containers are not allowed to perform statx syscalls.
Guess this ticket may be closed as it is not problem with qt5-base

Loading...