Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395503 - sci-geosciences/qgis-1.7.0 fails w/ x11-libs/qwtpolar-1.0.0 - /usr/include/qwt_polar_item.h:15:26: fatal error: qwt_interval.h: No such file or directory
Summary: sci-geosciences/qgis-1.7.0 fails w/ x11-libs/qwtpolar-1.0.0 - /usr/include/qw...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-21 09:39 UTC by jannis
Modified: 2012-05-24 12:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,74.18 KB, text/plain)
2011-12-21 09:40 UTC, jannis
Details
CMAKE_VERBOSE="true" build.log (build.log.gz,34.09 KB, application/gzip-compressed)
2011-12-22 11:48 UTC, jannis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jannis 2011-12-21 09:39:25 UTC
Lately, I updated x11-libs/qwt from 6.0.0 to 6.0.1. Now, qgis fails to compile. See attached build.log. However I just realise that it might rather be a bug in qwt itself.

Reproducible: Always
Comment 1 jannis 2011-12-21 09:40:03 UTC
Created attachment 296559 [details]
build.log
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2011-12-22 07:46:18 UTC
Could please attach a build.log from

CMAKE_VERBOSE="true" emerge  sci-geosciences/qgis
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2011-12-22 10:31:10 UTC
I cannort reproduce it here. Neither I have /usr/include/qwt_polar_item.h present
Comment 4 jannis 2011-12-22 11:48:37 UTC
Created attachment 296649 [details]
CMAKE_VERBOSE="true" build.log

Here is the build.log with CMAKE_VERBOSE="true"
I'll do some further tests later since I have qwt in two slots:

[I] x11-libs/qwt
     Available versions:  
        (5)     5.2.0 5.2.1 **9999[1]
        (6)     6.0.0 (~)6.0.1
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2011-12-22 12:25:54 UTC
(In reply to comment #4)
> Created attachment 296649 [details]
> CMAKE_VERBOSE="true" build.log
> 
> Here is the build.log with CMAKE_VERBOSE="true"
> I'll do some further tests later since I have qwt in two slots:
> 
> [I] x11-libs/qwt
>      Available versions:  
>         (5)     5.2.0 5.2.1 **9999[1]
>         (6)     6.0.0 (~)6.0.1

which version do you have installed?
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2011-12-22 12:34:38 UTC
the problem is qwtpolar. Version 1.0.0 uses qwt-6 where as qgis still uses qwt-5.
Comment 7 jannis 2011-12-22 14:03:01 UTC
(In reply to comment #5)
> > [I] x11-libs/qwt
> >      Available versions:  
> >         (5)     5.2.0 5.2.1 **9999[1]
> >         (6)     6.0.0 (~)6.0.1
> 
> which version do you have installed?

Oh, my fault. Of course you cannot see terminal colors here. I have versions 5.2.1 and 6.0.1 installed. After comment #6, I tried to unmerge qwt:6 and retry qgis then but it still fails. The .so-files installed by qwtpolar all link against /usr/lib64/libqwt.so.5

According to bug #395271 there should be a new version of qgis in the tree, I'll try that later.
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2011-12-22 14:51:37 UTC
(In reply to comment #7)
> (In reply to comment #5)
> > > [I] x11-libs/qwt
> > >      Available versions:  
> > >         (5)     5.2.0 5.2.1 **9999[1]
> > >         (6)     6.0.0 (~)6.0.1
> > 
> > which version do you have installed?
> 
> Oh, my fault. Of course you cannot see terminal colors here. I have versions
> 5.2.1 and 6.0.1 installed. After comment #6, I tried to unmerge qwt:6 and retry
> qgis then but it still fails. The .so-files installed by qwtpolar all link
> against /usr/lib64/libqwt.so.5
> 
> According to bug #395271 there should be a new version of qgis in the tree,
> I'll try that later.

New qgis is also affected.
Simply downgrade qwtpolar to version <1.0.0. This fixes it.
Comment 9 jannis 2011-12-22 16:14:05 UTC
Yes, downgrading qwtpolar fixes it. Seems I didn't understand your #6 correctly. Can you set a dependency on qgis for <qwtpolar-1.0.0 ?
Comment 10 Tomáš Chvátal (RETIRED) gentoo-dev 2012-05-24 12:45:04 UTC
FIxed in cvs.
Comment 11 Tomáš Chvátal (RETIRED) gentoo-dev 2012-05-24 12:45:23 UTC
In version 1.7.4 to be exact :)