[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#784432: marked as done (FTFBS when build under /usr)



Your message dated Sun, 25 Aug 2019 15:35:34 +0000
with message-id <[🔎] E1i1uYI-000I51-W9@fasolo.debian.org>
and subject line Bug#935668: Removed package(s) from unstable
has caused the Debian Bug report #784432,
regarding FTFBS when build under /usr
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
784432: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784432
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: qtwebkit
Version: 2.3.4.dfsg-3
Severity: normal
Tags: patch

Hey,

When building qtwebkit in a directory under /usr (e.g. /usr/src) the following
compiler error occurs:

In file included from /usr/src/packages/BUILD/qtwebkit-2.3.4.dfsg/Source/WebKit/qt/declarative/qdeclarativewebview_p.h:29:0,
                 from /usr/src/packages/BUILD/qtwebkit-2.3.4.dfsg/Source/WebKit/qt/declarative/qdeclarativewebview.cpp:21:
../../../../include/QtWebKit/qgraphicswebview.h:1:81: fatal error: ../../../../../../../../../../Source/WebKit/qt/Api/qgraphicswebview.h: No such file or directory
 #include "../../../../../../../../../../Source/WebKit/qt/Api/qgraphicswebview.h"
                                                                                 ^
compilation terminated.

This turns out to be because syncqt-4.8 generated incorrect relative paths due
 to this section of code:

sub fixPaths {
       my ($file, $dir) = @_;
       $dir =~ s=^$quoted_basedir/=$out_basedir/= if(!($basedir eq $out_basedir));

dir being the full path to the source files, basedir /usr, when dir doesn't
start with /usr this is a noop, but if it is the /usr part gets replaced and
things break...

Patch attached to fix this
--- a/Tools/qmake/syncqt-4.8
+++ b/Tools/qmake/syncqt-4.8
@@ -353,7 +353,6 @@
 ######################################################################
 sub fixPaths {
     my ($file, $dir) = @_;
-    $dir =~ s=^$quoted_basedir/=$out_basedir/= if(!($basedir eq $out_basedir));
     $file =~ s=\\=/=g;
     $dir =~ s=\\=/=g;
 

--- End Message ---
--- Begin Message ---
Version: 2.3.4.dfsg-10+rm

Dear submitter,

as the package qtwebkit has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/935668

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: