GNU bug report logs - #45031
qoauth fail install/build

Previous Next

Package: guix;

Reported by: Distopico <distopico <at> riseup.net>

Date: Thu, 3 Dec 2020 20:50:02 UTC

Severity: normal

Done: Marius Bakke <marius <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 45031 in the body.
You can then email your comments to 45031 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#45031; Package guix. (Thu, 03 Dec 2020 20:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Distopico <distopico <at> riseup.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 03 Dec 2020 20:50:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Distopico <distopico <at> riseup.net>
To: bug-guix <at> gnu.org
Subject: qoauth fail install/build
Date: Thu, 03 Dec 2020 15:05:19 -0500
[Message part 1 (text/plain, inline)]
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.

[qoauth_bug_log.txt (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#45031; Package guix. (Fri, 04 Dec 2020 22:33:02 GMT) Full text and rfc822 format available.

Message #8 received at 45031 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Distopico <distopico <at> riseup.net>, 45031 <at> debbugs.gnu.org
Subject: Re: bug#45031: qoauth fail install/build
Date: Fri, 04 Dec 2020 23:28:59 +0100
Hi,

Thanks for the report. Well, something is wrong but it is not easy to
spot out what.  For example, the history shows,

<https://data.guix.gnu.org/repository/1/branch/master/package/qoauth/output-history>

that something in the qtbase or qca dependencies is going wrong.  Trying
to locally build with,

--8<---------------cut here---------------start------------->8---
for ci in $(git log --format="%H %s" | grep qtbase | head -5 | cut -f1 -d' '); \
do
   guix time-machine --commit=$ci \
        -- build qoauth --no-grafts ;
done
--8<---------------cut here---------------end--------------->8---

does not build easily.  I am trying to figure out why.


In the meantime, if you absolutely need the package qoauth, it is
avaible with:

   guix time-machine --commit=ec944bdd -- install qoauth

but the substitute is not available, so it will burn a bit of CPU. 


Thanks,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#45031; Package guix. (Sun, 06 Dec 2020 01:46:01 GMT) Full text and rfc822 format available.

Message #11 received at 45031 <at> debbugs.gnu.org (full text, mbox):

From: Distopico <distopico <at> riseup.net>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 45031 <at> debbugs.gnu.org
Subject: Re: bug#45031: qoauth fail install/build
Date: Sat, 05 Dec 2020 20:20:31 -0500
[Message part 1 (text/plain, inline)]
Thanks, I'll try it, I need install another package that have dependency
of it but not rush. thanks again for your help.


On 2020-12-04, zimoun wrote:

> Hi,
>
> Thanks for the report. Well, something is wrong but it is not easy to
> spot out what.  For example, the history shows,
>
> <https://data.guix.gnu.org/repository/1/branch/master/package/qoauth/output-history>
>
> that something in the qtbase or qca dependencies is going wrong.  Trying
> to locally build with,
>
> --8<---------------cut here---------------start------------->8---
> for ci in $(git log --format="%H %s" | grep qtbase | head -5 | cut -f1 -d' '); \
> do
>    guix time-machine --commit=$ci \
>         -- build qoauth --no-grafts ;
> done
> --8<---------------cut here---------------end--------------->8---
>
> does not build easily.  I am trying to figure out why.
>
>
> In the meantime, if you absolutely need the package qoauth, it is
> avaible with:
>
>    guix time-machine --commit=ec944bdd -- install qoauth
>
> but the substitute is not available, so it will burn a bit of CPU. 
>
>
> Thanks,
> simon

[signature.asc (application/pgp-signature, inline)]

Reply sent to Marius Bakke <marius <at> gnu.org>:
You have taken responsibility. (Mon, 07 Dec 2020 23:48:01 GMT) Full text and rfc822 format available.

Notification sent to Distopico <distopico <at> riseup.net>:
bug acknowledged by developer. (Mon, 07 Dec 2020 23:48:02 GMT) Full text and rfc822 format available.

Message #16 received at 45031-done <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <marius <at> gnu.org>
To: Distopico <distopico <at> riseup.net>, 45031-done <at> debbugs.gnu.org
Subject: Re: bug#45031: qoauth fail install/build
Date: Tue, 08 Dec 2020 00:47:32 +0100
[Message part 1 (text/plain, inline)]
Distopico <distopico <at> riseup.net> skriver:

> 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.

[...]

> /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

For some reason $QMAKE_MKSPECS no longer resolves to the output at
install time.  I'm not sure when this regression occured.

After a quick rummaging of my store, it seems the practice of installing
"mkspecs" files is rather unorthodox (I found only 'qca', and it does
not use qmake at all and thus avoids this problem), so I committed an
unsatisfactory workaround in 627b70e3ac8aade9744a998c28570fbb52b986a7.

It would be good to find the source of the regression and fix 'qmake',
but let's get back to that if it becomes a widespread issue.

Thanks for the report!

(By the way, there are some [disabled] test failures in qoauth.  If you
intend to use this library for something important, I recommend trying
to get the tests working.)  :-)
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 05 Jan 2021 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 114 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.