Subject: bug#45031: qoauth fail install/build

From: Distopico <[email-masked]>
Date: Thu, 03 Dec 2020 15:05:19 -0500

I was trying to install `guix install qoauth` and build `guix install
qoauth` but it failed, and looks like is due The installation process is
trying to copy some files that are part of qoauth into the store
directory of qtbase, which is another package.

Attached the log of the build.

strip --strip-unneeded /gnu/store/9cvbbjzj3v5w2pdqmkcqc8cdxq601cra-qoauth-2.0.0/lib/libqoauth.so.2.0.0
ln -f -s libqoauth.so.2.0.0 /gnu/store/9cvbbjzj3v5w2pdqmkcqc8cdxq601cra-qoauth-2.0.0/lib/libqoauth.so
ln -f -s libqoauth.so.2.0.0 /gnu/store/9cvbbjzj3v5w2pdqmkcqc8cdxq601cra-qoauth-2.0.0/lib/libqoauth.so.2
ln -f -s libqoauth.so.2.0.0 /gnu/store/9cvbbjzj3v5w2pdqmkcqc8cdxq601cra-qoauth-2.0.0/lib/libqoauth.so.2.0
install -m 644 -p ../lib/libqoauth.prl /gnu/store/9cvbbjzj3v5w2pdqmkcqc8cdxq601cra-qoauth-2.0.0/lib/libqoauth.prl
/gnu/store/qylisyh4cz32askxl5640qjhl47kr1wp-qtbase-5.14.2/bin/qmake -install qinstall /tmp/guix-build-qoauth-2.0.0.drv-0/source/src/qoauth_global.h /gnu/store/9cvbbjzj3v5w2pdqmkcqc8cdxq601cra-qoauth-2.0.0/include/QtOAuth/qoauth_global.h
/gnu/store/qylisyh4cz32askxl5640qjhl47kr1wp-qtbase-5.14.2/bin/qmake -install qinstall /tmp/guix-build-qoauth-2.0.0.drv-0/source/src/qoauth_namespace.h /gnu/store/9cvbbjzj3v5w2pdqmkcqc8cdxq601cra-qoauth-2.0.0/include/QtOAuth/qoauth_namespace.h
/gnu/store/qylisyh4cz32askxl5640qjhl47kr1wp-qtbase-5.14.2/bin/qmake -install qinstall /tmp/guix-build-qoauth-2.0.0.drv-0/source/src/interface.h /gnu/store/9cvbbjzj3v5w2pdqmkcqc8cdxq601cra-qoauth-2.0.0/include/QtOAuth/interface.h
/gnu/store/qylisyh4cz32askxl5640qjhl47kr1wp-qtbase-5.14.2/bin/qmake -install qinstall /tmp/guix-build-qoauth-2.0.0.drv-0/source/include/QtOAuth /gnu/store/9cvbbjzj3v5w2pdqmkcqc8cdxq601cra-qoauth-2.0.0/include/QtOAuth/QtOAuth
/gnu/store/qylisyh4cz32askxl5640qjhl47kr1wp-qtbase-5.14.2/bin/qmake -install qinstall /tmp/guix-build-qoauth-2.0.0.drv-0/source/src/qoauth.pc /gnu/store/9cvbbjzj3v5w2pdqmkcqc8cdxq601cra-qoauth-2.0.0/lib/pkgconfig/qoauth.pc
/gnu/store/qylisyh4cz32askxl5640qjhl47kr1wp-qtbase-5.14.2/bin/qmake -install qinstall /tmp/guix-build-qoauth-2.0.0.drv-0/source/oauth.prf /gnu/store/qylisyh4cz32askxl5640qjhl47kr1wp-qtbase-5.14.2/lib/qt5/mkspecs/features/oauth.prf
Error copying /tmp/guix-build-qoauth-2.0.0.drv-0/source/oauth.prf to /gnu/store/qylisyh4cz32askxl5640qjhl47kr1wp-qtbase-5.14.2/lib/qt5/mkspecs/features/oauth.prf: Cannot create /gnu/store/qylisyh4cz32askxl5640qjhl47kr1wp-qtbase-5.14.2/lib/qt5/mkspecs/features/oauth.prf for output
make[1]: *** [Makefile:453: install_features] Error 3
make[1]: Leaving directory '/tmp/guix-build-qoauth-2.0.0.drv-0/source/src'
make: *** [Makefile:72: sub-src-install_subtargets-ordered] Error 2
command "make" "install" failed with status 2
builder for `/gnu/store/vsfgann9z907q0kzj8a7qzv8kjz71z4k-qoauth-2.0.0.drv' failed with exit code 1
build of /gnu/store/vsfgann9z907q0kzj8a7qzv8kjz71z4k-qoauth-2.0.0.drv failed
View build log at '/var/log/guix/drvs/vs/fgann9z907q0kzj8a7qzv8kjz71z4k-qoauth-2.0.0.drv.bz2'.
guix build: error: build of `/gnu/store/vsfgann9z907q0kzj8a7qzv8kjz71z4k-qoauth-2.0.0.drv' failed