Discussion:
[Slackbuilds-users] Unable to build qt5 5.5.0
Christopher Culver
2015-09-30 13:18:03 UTC
Permalink
When I attempt to build qt5 5.5.0 from the SBo Slackbuild, the build
fails at the make install stage with the error:

can't read /media/BUILD/sbotmp//package-qt5/usr/lib64/pkgconfig/Qt5WebKit.pc: No
such file or directory

Now, I am invoking qt5 as root as follows:

TMP=/media/BUILD/ ./qt5.SlackBuild

because I don’t have so much space in /tmp/ and prefer to use another
drive for Slackbuilds, but I don’t think that is the problem here
– all other SBo Slackbuilds compile fine.

What could be the cause of this error?

_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds
Larry Hajali
2015-09-30 15:29:27 UTC
Permalink
On Wed, Sep 30, 2015 at 6:18 AM, Christopher Culver <
Post by Christopher Culver
When I attempt to build qt5 5.5.0 from the SBo Slackbuild, the build
can't read
/media/BUILD/sbotmp//package-qt5/usr/lib64/pkgconfig/Qt5WebKit.pc: No
such file or directory
TMP=/media/BUILD/ ./qt5.SlackBuild
because I don’t have so much space in /tmp/ and prefer to use another
drive for Slackbuilds, but I don’t think that is the problem here
– all other SBo Slackbuilds compile fine.
What could be the cause of this error?
I'm not sure. Did you run out of space in /media/BUILD? Do you have a
full Slackware64 install?

--Larry
Christopher Culver
2015-09-30 15:41:26 UTC
Permalink
I'm not sure. Did you run out of space in /media/BUILD?
No, there are still gigabytes free on the disc with the build directory.
Do you have a full Slackware64 install?
Yes. And the last version of qt5 compiled with no problems. It is only
this upgrade to 5.5.0 that is giving me the aforementioned error.

Christopher Culver

_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/
Andrzej Telszewski
2015-09-30 15:48:45 UTC
Permalink
Post by Christopher Culver
When I attempt to build qt5 5.5.0 from the SBo Slackbuild, the build
can't read /media/BUILD/sbotmp//package-qt5/usr/lib64/pkgconfig/Qt5WebKit.pc: No
such file or directory
TMP=/media/BUILD/ ./qt5.SlackBuild
because I don’t have so much space in/tmp/ and prefer to use another
drive for Slackbuilds, but I don’t think that is the problem here
– all other SBo Slackbuilds compile fine.
What could be the cause of this error?
Do you have any previous qt5 installation?
This might be a blind shot, but if you happen to have it, try first
uninstalling and then building.

I always do it this way, because for whatever reason builds fail if I
have previous version installed.
--
Best regards,
Andrzej Telszewski
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - ht
Christopher Culver
2015-10-01 17:39:08 UTC
Permalink
Post by Andrzej Telszewski
Do you have any previous qt5 installation?
This might be a blind shot, but if you happen to have it, try first
uninstalling and then building.
Unfortunately, even after uninstalling the previous installation of qt5,
building qt5 5.5.0 fails with the error I mentioned at the beginning of
this thread. This really sucks, as I can no longer open any Qt5
applications.

This bug has been reported before:

http://comments.gmane.org/gmane.comp.lib.qt.user/14016

but no solution was provided in that discussion.

_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/
Larry Hajali
2015-10-01 18:09:00 UTC
Permalink
Does Qt5WebKit.pc exist in the $PKG directory?

--Larry

On Thu, Oct 1, 2015 at 10:39 AM, Christopher Culver <
Post by Christopher Culver
Post by Andrzej Telszewski
Do you have any previous qt5 installation?
This might be a blind shot, but if you happen to have it, try first
uninstalling and then building.
Unfortunately, even after uninstalling the previous installation of qt5,
building qt5 5.5.0 fails with the error I mentioned at the beginning of
this thread. This really sucks, as I can no longer open any Qt5
applications.
http://comments.gmane.org/gmane.comp.lib.qt.user/14016
but no solution was provided in that discussion.
_______________________________________________
SlackBuilds-users mailing list
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/
Christopher Culver
2015-10-02 07:37:54 UTC
Permalink
Post by Larry Hajali
Does Qt5WebKit.pc exist in the $PKG directory?
No, there is no such file anywhere in package-qt5.

_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/
David Spencer
2015-10-02 00:07:12 UTC
Permalink
Post by Christopher Culver
When I attempt to build qt5 5.5.0 from the SBo Slackbuild, the build
can't read /media/BUILD/sbotmp//package-qt5/usr/lib64/pkgconfig/Qt5WebKit.pc: No
such file or directory
The .pc file is (or should be) created in
qt-everywhere-opensource-src-5.5.0/qtwebkit/lib/pkgconfig at the same
time as the shared libraries in the containing directory.

AFAICT the command line that is reporting that error should be something like

sed -e 's,[^ '\'']*/tmp/SBo/qt-everywhere-opensource-src-5.5.0/[^/][^/]*/lib,,g'
../lib/pkgconfig/Qt5WebKit.pc >
/tmp/SBo/package-qt5/usr/lib64/pkgconfig/Qt5WebKit.pc

This should be the line immediately before your error message. If
that's right, it's strange that in your case the sed command is
apparently reading from the package directory, not the source
directory. If it's wrong (i.e. not sed), it would be good to know what
it is.

Apparently you are exporting TMP=/media/BUILD/sbotmp/ with a trailing
slash. I wonder if defining it without a trailing slash might solve
the problem, although with 4+ hours for a build, that's an expensive
experiment for a wild guess that probably won't make any difference...

-D.
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/
Christopher Culver
2015-10-02 07:50:23 UTC
Permalink
Post by David Spencer
The .pc file is (or should be) created in
qt-everywhere-opensource-src-5.5.0/qtwebkit/lib/pkgconfig at the same
time as the shared libraries in the containing directory.
AFAICT the command line that is reporting that error should be something like
sed -e 's,[^ '\'']*/tmp/SBo/qt-everywhere-opensource-src-5.5.0/[^/][^/]*/lib,,g'
../lib/pkgconfig/Qt5WebKit.pc >
/tmp/SBo/package-qt5/usr/lib64/pkgconfig/Qt5WebKit.pc
I suppose. I cannot see the actual sed command, I just get the
aforementioned error that sed dumps.

However, there is no Qt5WebKit.pc file in either the source or the
package directories.
Post by David Spencer
Apparently you are exporting TMP=/media/BUILD/sbotmp/ with a trailing
slash.
I went ahead last night and freed up enough space that I did not need to
export TMP. Even with all the Slackware dir variables set to their
defaults, the SlackBuild still fails with the error that it cannot find
Qt5WebKit.pc.

Because Pulseaudio is required for Qt's web engine according to a
comment in the Slackbuild, and I do have Pulseaudio installed on my
system, I also tried running the build as USEPULSE=yes ./qt5.SlackBuild,
but this has no effect and I still get the error.

_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/
Christoph Willing
2015-10-02 11:08:29 UTC
Permalink
Post by Christopher Culver
Post by David Spencer
The .pc file is (or should be) created in
qt-everywhere-opensource-src-5.5.0/qtwebkit/lib/pkgconfig at the same
time as the shared libraries in the containing directory.
AFAICT the command line that is reporting that error should be something like
sed -e 's,[^ '\'']*/tmp/SBo/qt-everywhere-opensource-src-5.5.0/[^/][^/]*/lib,,g'
../lib/pkgconfig/Qt5WebKit.pc >
/tmp/SBo/package-qt5/usr/lib64/pkgconfig/Qt5WebKit.pc
I suppose. I cannot see the actual sed command, I just get the
aforementioned error that sed dumps.
However, there is no Qt5WebKit.pc file in either the source or the
package directories.
That Qt5WebKit.pc file is processed twice with sed; first by 'make
install' command which takes Qt5WebKit.pc from where it was generated
by 'make' (since its not in the 'raw' source after unpacking the source
tarball) and deposited into the package-qt5 tree. The second sed
occurrence is in the qt5.SlackBuild and its this instruction which you
are seeing fail. Its probably failing because the first sed occurrence
didn't succeed either - maybe 'make' didn't generate it in the first place.

If you can bear it, perhaps you could build again and keep a log file of
the build - something like:
sh ./qt5.SlackBuild 2>&1 | tee op
(op will be reasonably large ~50M).

In that log file, you should be able to search for Qt5WebKit.pc and find
where 'make install' processed it (or not) with sed. Look for warnings
and errors in that area of the log file and you may find what is going
wrong.
Post by Christopher Culver
Because Pulseaudio is required for Qt's web engine according to a
comment in the Slackbuild, and I do have Pulseaudio installed on my
system, I also tried running the build as USEPULSE=yes ./qt5.SlackBuild,
but this has no effect and I still get the error.
That shouldn't make any difference. FWIW, I use USEPULSE=yes and my
Qt5WebKit.pc appears as expected. I only started using that option
fairly recently and didn't have problems with previous versions when I
didn't use it.

chris

_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/
Christopher Culver
2015-10-03 14:56:47 UTC
Permalink
Christoph Willing
Post by Christoph Willing
If you can bear it, perhaps you could build again and keep a log file
sh ./qt5.SlackBuild 2>&1 | tee op
(op will be reasonably large ~50M).
Using tee, the SlackBuild output shows that WebKit is never built due to
a missing dependency:

The WebKit build was disabled for the following reasons:
* Missing ruby from PATH

I used to have ruby installed, I don’t know what happened to it. In any
event, reinstalling ruby with slackpkg and then running the qt5
SlackBuild again was successful.

_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http:

Loading...