unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#45031: qoauth fail install/build
@ 2020-12-03 20:05 Distopico
  2020-12-04 22:28 ` zimoun
  2020-12-07 23:47 ` Marius Bakke
  0 siblings, 2 replies; 4+ messages in thread
From: Distopico @ 2020-12-03 20:05 UTC (permalink / raw)
  To: 45031


[-- Attachment #1.1: Type: text/plain, Size: 289 bytes --]


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.


[-- Attachment #1.2: qoauth_bug_log.txt --]
[-- Type: text/plain, Size: 2809 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 515 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#45031: qoauth fail install/build
  2020-12-03 20:05 bug#45031: qoauth fail install/build Distopico
@ 2020-12-04 22:28 ` zimoun
  2020-12-06  1:20   ` Distopico
  2020-12-07 23:47 ` Marius Bakke
  1 sibling, 1 reply; 4+ messages in thread
From: zimoun @ 2020-12-04 22:28 UTC (permalink / raw)
  To: Distopico, 45031

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#45031: qoauth fail install/build
  2020-12-04 22:28 ` zimoun
@ 2020-12-06  1:20   ` Distopico
  0 siblings, 0 replies; 4+ messages in thread
From: Distopico @ 2020-12-06  1:20 UTC (permalink / raw)
  To: zimoun; +Cc: 45031

[-- Attachment #1: Type: text/plain, Size: 1128 bytes --]


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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 515 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#45031: qoauth fail install/build
  2020-12-03 20:05 bug#45031: qoauth fail install/build Distopico
  2020-12-04 22:28 ` zimoun
@ 2020-12-07 23:47 ` Marius Bakke
  1 sibling, 0 replies; 4+ messages in thread
From: Marius Bakke @ 2020-12-07 23:47 UTC (permalink / raw)
  To: Distopico, 45031-done

[-- Attachment #1: Type: text/plain, Size: 1609 bytes --]

Distopico <distopico@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.)  :-)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 507 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-07 23:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-03 20:05 bug#45031: qoauth fail install/build Distopico
2020-12-04 22:28 ` zimoun
2020-12-06  1:20   ` Distopico
2020-12-07 23:47 ` Marius Bakke

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).