Re: Reproducible builds error: libQt5Core.so.5: cannot open shared object file: No such file or directory

2018-07-10 Thread Lisandro Damián Nicanor Pérez Meyer
El lunes, 9 de julio de 2018 14:05:36 -03 Mattia Rizzolo escribió:
> On Mon, Jul 09, 2018 at 07:02:00PM +0200, Innocent De Marchi wrote:
> > Recently, ALL the packages that I maintain based on Qt, have problems
> > of reproducibility on build on i386.
> 
> This is:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895718
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902383
> 
> Which turned out to be needed due to:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875990
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876035
> 
> > The message is always the same:
> > /usr/lib/qt5/bin/uic: error while loading shared libraries:
> > libQt5Core.so.5: cannot open shared object file: No such file or
> > directory [0]
> 
> The (IMHO) misleading message is instead a linker bug, that I don't
> think anybody filed anywhere.  Although that stupid message did cause
> and is still causing a ton of wasted time for people to figure what is
> going on.

Apart from the possible linker bug, the Qt5Core part could be solved by adding 
runtime detection. It should not be too complicated to achieve, but:

It should be easy to fix, but we Qt maintainers could not make time for this 
yet, nor we can assure we will. But:

  * In case we get a patch created we want it submitted to upstream, that 
means agreeing with the [CLA]. So if anyone is thinking about creating a patch 
**pretty please** check that you will agree to it. We will not be able to 
forward [any patch], they should be submitted to their gerrit instance by the 
person who coded it. Of course we will be happy to help with the process if 
needed.

[CLA] It's worth to note that this CLA does not makes one give copyright to 
others, but the permission to use the code in proprietary versions.

[any patch] Except the patch is so small that it can't be considered 
copyrighteable.

  * Before applying it we want the patch "blessed" by upstream, meaning that 
even if they don't want to accept it (let's say, just as an example, because 
it's slows loading) they see the patch fit.

Cheers, Lisandro.

-- 
Without us [Free Software developers], people would study computer science
and programming without ever having seen a real program in its entirety.
That's like becoming writers without ever having read a complete book.
  Matthias Ettrich, founder of the KDE project.
  http://www.efytimes.com/efytimes/25412/news.htm

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/


signature.asc
Description: This is a digitally signed message part.


Re: Reproducible builds error: libQt5Core.so.5: cannot open shared object file: No such file or directory

2018-07-09 Thread Holger Levsen
On Mon, Jul 09, 2018 at 08:34:54PM +0200, Mattia Rizzolo wrote:
> I agree.  I haven't been mad about it only because it affects i386 only,
> and we have 3 other architectures, 

I agree too.

> but we'll need to figure a workaround
> soon.

and/or exclude these results from showing up on tracker.d.o and
elsewhere.


-- 
cheers,
Holger


signature.asc
Description: PGP signature


Re: Reproducible builds error: libQt5Core.so.5: cannot open shared object file: No such file or directory

2018-07-09 Thread Mattia Rizzolo
On Mon, Jul 09, 2018 at 07:36:51PM +0200, Innocent De Marchi wrote:
> Thank you very much for your answer. This does not leave the
> reproducible builds in a very good place...

I agree.  I haven't been mad about it only because it affects i386 only,
and we have 3 other architectures, but we'll need to figure a workaround
soon.

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature


Re: Reproducible builds error: libQt5Core.so.5: cannot open shared object file: No such file or directory

2018-07-09 Thread Innocent De Marchi
Hi Mattia & Holger ,


> 
> The (IMHO) misleading message is instead a linker bug, that I don't
> think anybody filed anywhere.  Although that stupid message did cause
> and is still causing a ton of wasted time for people to figure what is
> going on.
> 

Thank you very much for your answer. This does not leave the
reproducible builds in a very good place...


Regards!

I. De Marchi



Re: Reproducible builds error: libQt5Core.so.5: cannot open shared object file: No such file or directory

2018-07-09 Thread Holger Levsen
On Mon, Jul 09, 2018 at 07:02:00PM +0200, Innocent De Marchi wrote:
> Recently, ALL the packages that I maintain based on Qt, have problems
> of reproducibility on build on i386.
> 
> The message is always the same: 
> /usr/lib/qt5/bin/uic: error while loading shared libraries:
> libQt5Core.so.5: cannot open shared object file: No such file or
> directory [0].
 
This is because of #895718 "libqt5core5a: Requires Linux kernel 3.17.0 or 
newer".


-- 
cheers,
Holger


signature.asc
Description: PGP signature


Re: Reproducible builds error: libQt5Core.so.5: cannot open shared object file: No such file or directory

2018-07-09 Thread Mattia Rizzolo
On Mon, Jul 09, 2018 at 07:02:00PM +0200, Innocent De Marchi wrote:
> Recently, ALL the packages that I maintain based on Qt, have problems
> of reproducibility on build on i386.

This is:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895718
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902383

Which turned out to be needed due to:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875990
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876035

> The message is always the same: 
> /usr/lib/qt5/bin/uic: error while loading shared libraries:
> libQt5Core.so.5: cannot open shared object file: No such file or
> directory [0]

The (IMHO) misleading message is instead a linker bug, that I don't
think anybody filed anywhere.  Although that stupid message did cause
and is still causing a ton of wasted time for people to figure what is
going on.

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature


Reproducible builds error: libQt5Core.so.5: cannot open shared object file: No such file or directory

2018-07-09 Thread Innocent De Marchi
Hello everyone,

Recently, ALL the packages that I maintain based on Qt, have problems
of reproducibility on build on i386.

The message is always the same: 
/usr/lib/qt5/bin/uic: error while loading shared libraries:
libQt5Core.so.5: cannot open shared object file: No such file or
directory [0].

I'm missing something? libQt5Core is a dependency that must be
installed when the qtbase5-dev packages depend.

Regards!

I. De Marchi



[0]
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/glpeces.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/librecad.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/connectagram.html
and others...