Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#57611 - [qt5-base] moc @file fails on docker

Attached to Project: Arch Linux
Opened by Michel (xantares) - Friday, 23 February 2018, 10:46 GMT
Last edited by Antonio Rojas (arojas) - Friday, 23 February 2018, 10:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

With the latest qt5-base the moc config file syntax fails inside a docker container:

eg

$ /usr/bin/moc @/tmp/pkgtest/moc_widget.cpp_parameters
standard input:0: Note: No relevant classes found. No output generated.
==> FAIL

$ /usr/bin/moc -o /tmp/pkgtest/moc_widget.cpp /tmp/pkgtest/widget.h
==> OK

Test case:
cd /tmp && git clone https://github.com/xantares/pkgtest.git && cd pkgtest && cmake -DUSE_FORTRAN=OFF . && make t_glew VERBOSE=1 -j1

Docker file to reproduce:
FROM base/archlinux:latest
MAINTAINER xantares

# Locale
RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

# Update base system
RUN pacman -Sy --noconfirm --noprogressbar archlinux-keyring \
&& pacman-key --populate \
&& pacman -Su --noconfirm --noprogressbar pacman \
&& pacman-db-upgrade \
&& pacman -Su --noconfirm --noprogressbar ca-certificates \
&& trust extract-compat \
&& pacman -Syyu --noconfirm --noprogressbar \
&& (echo -e "y\ny\n" | pacman -Scc)

RUN pacman -S --noconfirm --noprogressbar base-devel cmake qt5-base glew git

RUN useradd -m -d /home/devel -u 1000 -U -G users,tty -s /bin/bash devel
RUN echo 'devel ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER devel
ENV TERM dumb

RUN cd /tmp && git clone https://github.com/xantares/pkgtest.git && cd pkgtest && cmake -DUSE_FORTRAN=OFF . && make t_glew VERBOSE=1 -j1




This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 23 February 2018, 10:57 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#57254 

Loading...