<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>130471</bug_id>
          
          <creation_ts>2006-04-19 06:21 0000</creation_ts>
          <short_desc>sci-libs/vtk-5.0.0 with qt4 support fails to build</short_desc>
          <delta_ts>2006-04-20 19:20:22 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>remi@gentoo.org</reporter>
          <assigned_to>markusle@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>remi@gentoo.org</who>
            <bug_when>2006-04-19 06:21:25 0000</bug_when>
            <thetext>[snip]
-- Check if the system is big endian - little endian
-- Looking for glXGetProcAddressARB
-- Looking for glXGetProcAddressARB - found
-- Looking for glXGetProcAddressARB in GL/glx.h
-- Looking for glXGetProcAddressARB in GL/glx.h - FALSE
CMake Error: Error in cmake code at
/var/tmp/portage/vtk-5.0.0/work/VTK/GUISupport/Qt/CMakeLists.txt:20:
INCLUDE called with wrong number of arguments.  Include only takes one file.
CMake Error: Error in cmake code at
/var/tmp/portage/vtk-5.0.0/work/VTK/GUISupport/Qt/CMakeLists.txt:34:
Unknown CMake command &quot;QT4_WRAP_CPP&quot;.
CMake Error: Error in cmake code at
/var/tmp/portage/vtk-5.0.0/work/VTK/GUISupport/Qt/CMakeLists.txt:35:
Unknown CMake command &quot;QT4_WRAP_CPP&quot;.
-- Configuring done

!!! ERROR: sci-libs/vtk-5.0.0 failed.
!!! Function src_compile, Line 134, Exitcode 255
!!! cmake configuration failed
!!! If you need support, post the topmost build error, NOT this status message.


I have qt-4.1.2. Am I forgetting something?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2006-04-19 07:18:53 0000</bug_when>
            <thetext>Hi R</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2006-04-19 07:18:53 0000</bug_when>
            <thetext>Hi Rémi,

Thanks for your report! I just tried and it works fine here.
What version of cmake are you using? If you&apos;re using cmake-2.0.6 
please try it with the one in ~arch, i.e. cmake-2.2.3. 
If this doesn&apos;t solve it, please post your emerge --info.

Thanks,
Markus</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>remi@gentoo.org</who>
            <bug_when>2006-04-19 08:48:50 0000</bug_when>
            <thetext>Seems to work but vtk failed much later on with a java error. I&apos;m rebuilding with USE=&quot;-java&quot;. I&apos;ll let you know how it turns out.



ajout : vtk/vtkPlanes.class (entr</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>remi@gentoo.org</who>
            <bug_when>2006-04-19 08:48:50 0000</bug_when>
            <thetext>Seems to work but vtk failed much later on with a java error. I&apos;m rebuilding with USE=&quot;-java&quot;. I&apos;ll let you know how it turns out.



ajout : vtk/vtkPlanes.class (entrée = 1892) (sortie = 836) (55% compressés)
ajout : vtk/vtkProcessObject.class (entrée = 1573) (sortie = 659) (58% compressés)
ajout : vtk/vtkParametricCrossCap.class (entrée = 857) (sortie = 454) (47% compressés)
Scanning dependencies of target VTKJavaExecutable
Building CXX object Wrapping/Java/CMakeFiles/VTKJavaExecutable.dir/VTKJava.o
Linking CXX executable ../../bin/VTKJavaExecutable
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: warning: libmawt.so, needed by /opt/sun-jdk-1.5.0.06/jre/lib/i386/libjawt.so, not found (try using -rpath or -rpath-link)
/opt/sun-jdk-1.5.0.06/jre/lib/i386/libjawt.so: référence indéfinie vers « awt_Unlock@SUNWprivate_1.1 »
/opt/sun-jdk-1.5.0.06/jre/lib/i386/libjawt.so: référence indéfinie vers « awt_GetComponent@SUNWprivate_1.1 »
/opt/sun-jdk-1.5.0.06/jre/lib/i386/libjawt.so: référence indéfinie vers « awt_GetDrawingSurface@SUNWprivate_1.1 »
/opt/sun-jdk-1.5.0.06/jre/lib/i386/libjawt.so: référence indéfinie vers « awt_FreeDrawingSurface@SUNWprivate_1.1 »
/opt/sun-jdk-1.5.0.06/jre/lib/i386/libjawt.so: référence indéfinie vers « awt_Lock@SUNWprivate_1.1 »
collect2: ld a retourné 1 code d&apos;état d&apos;exécution
make[2]: *** [bin/VTKJavaExecutable] Erreur 1
make[1]: *** [Wrapping/Java/CMakeFiles/VTKJavaExecutable.dir/all] Erreur 2
make: *** [all] Erreur 2

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>remi@gentoo.org</who>
            <bug_when>2006-04-20 05:52:07 0000</bug_when>
            <thetext>It built fine. I haven&apos;t had the time to actually compile anything against Vtk, but the ebuild went ok. I guess the deps could be updated to include this version of cmake. 

Thanks a lot for the quick reply.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2006-04-20 19:20:22 0000</bug_when>
            <thetext>Hi R</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2006-04-20 19:20:22 0000</bug_when>
            <thetext>Hi Rémi,

Thank you very much for testing. I changed the dependency
on cmake to version 2.2.3.

Thanks,
Markus</thetext>
          </long_desc>
      
    </bug>

</bugzilla>