Re: vtk510 missing Shlibs fields

Derek Homeier <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <C2821F8B-6407-441B-B3FC-7B59D010C308@astro.physik.uni-goettingen.de>
On 6 Apr 2015, at 1:03 am, Hanspeter Niederstrasser <[email protected]> wrote:
> 
>> building vtk510-5.10.1-1 with -m fails the package check due to two entries missing in the Shlibs list:
>> 
>> 147a148
>>>  %p/lib/%N/libLSDyna.5.10.dylib                   	5.10.0  %n  (>= 5.10.0-1)
>> 231a233
>>>  %p/lib/%N/libvtkhdf5_hl.1.8.5.dylib			1.8.5  %n  (>= 5.10.0-1)
> 
> Thanks for the report.  I've gone ahead and added the two files to the Shlibs: field.  I've also added missing *Depends to the various SplitOffs.
> 
Thanks for the fix; unfortunately on 10.10 I was having another build problem with a rather non-informative error,
after setting MaxBuildJobs to 1, this seems to point to a Java Problem (the control panel here said 8u31 was up-to-date,
though initially the build reported an error with an include file in /Library/Java/JavaVirtualMachines/jdk1.8.0_26.jdk/).
I reinstalled first the jdk1.8.0_31, then jdk1.8.0_40 from the Oracle site, but as it seems, producing the same error
in all versions ca. 69% into the build (see first snippet of build log below).

I finally removed all jdk versions from /Library/Java/JavaVirtualMachines, so no system-java is installed any more;
with this the build completes to 96% but then complains about having to install a Java runtime and then fails with
a java error (2nd piece of build log below).
On the 10.9 machine where the build succeeded, all system-java1[4-6]-dev are installed. Since the package does
not specify any java dependencies, do you have any idea what to use?

Thanks,
					Derek

+++

In file included from /scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild/Rendering/vtkRenderWindowJava.cxx:1405:
/scratch.noindex/fink.build/vtk510-5.10.1-2/VTK5.10.1/Common/vtkJavaAwt.h:107:3: error: unknown type name 'JAWT_MacOSXDrawingSurfaceInfo'; did you mean
   'JAWT_DrawingSurfaceInfo'?
JAWT_MacOSXDrawingSurfaceInfo* dsi_mac;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JAWT_DrawingSurfaceInfo
/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/include/jawt.h:170:3: note: 'JAWT_DrawingSurfaceInfo' declared here
} JAWT_DrawingSurfaceInfo;
^
In file included from /scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild/Rendering/vtkRenderWindowJava.cxx:1405:
/scratch.noindex/fink.build/vtk510-5.10.1-2/VTK5.10.1/Common/vtkJavaAwt.h:108:14: error: unknown type name 'JAWT_MacOSXDrawingSurfaceInfo'; did you mean
   'JAWT_DrawingSurfaceInfo'?
dsi_mac = (JAWT_MacOSXDrawingSurfaceInfo*)dsi->platformInfo;
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          JAWT_DrawingSurfaceInfo
/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/include/jawt.h:170:3: note: 'JAWT_DrawingSurfaceInfo' declared here
} JAWT_DrawingSurfaceInfo;
^
In file included from /scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild/Rendering/vtkRenderWindowJava.cxx:1405:
/scratch.noindex/fink.build/vtk510-5.10.1-2/VTK5.10.1/Common/vtkJavaAwt.h:109:31: error: no member named 'cocoaViewRef' in 'jawt_DrawingSurfaceInfo'
temp0->SetWindowId(dsi_mac->cocoaViewRef);
                  ~~~~~~~  ^
3 errors generated.
make -f Wrapping/Java/CMakeFiles/VTKJavaCommon.dir/build.make Wrapping/Java/CMakeFiles/VTKJavaCommon.dir/depend
make[2]: Entering directory '/scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild'
cd /scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild && /sw/bin/cmake -E cmake_depends "Unix Makefiles" /scratch.noindex/fink.build/vtk510-5.10.1-2/VTK5.10.1 /scratch.noindex/fink.build/vtk510-5.10.1-2/VTK5.10.1/Wrapping/Java /scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild /scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild/Wrapping/Java /scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild/Wrapping/Java/CMakeFiles/VTKJavaCommon.dir/DependInfo.cmake --color=
Scanning dependencies of target VTKJavaCommon
make[2]: Leaving directory '/scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild'
make -f Wrapping/Java/CMakeFiles/VTKJavaCommon.dir/build.make Wrapping/Java/CMakeFiles/VTKJavaCommon.dir/build
make[2]: Entering directory '/scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild'
/sw/bin/cmake -E cmake_progress_report /scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild/CMakeFiles 
[ 96%] Generating ../../java/vtk/vtkVTKJavaCommonDriver.class
cd /scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild/Wrapping/Java && /usr/bin/javac -source 5 -classpath /scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild/java /scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild/java/vtk/vtkVTKJavaCommonDriver.java
No Java runtime present, requesting install.
Wrapping/Java/CMakeFiles/VTKJavaCommon.dir/build.make:225: recipe for target 'java/vtk/vtkVTKJavaCommonDriver.class' failed
make[2]: *** [java/vtk/vtkVTKJavaCommonDriver.class] Error 1
make[2]: Leaving directory '/scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild'
CMakeFiles/Makefile2:8544: recipe for target 'Wrapping/Java/CMakeFiles/VTKJavaCommon.dir/all' failed
make[1]: *** [Wrapping/Java/CMakeFiles/VTKJavaCommon.dir/all] Error 2
make[1]: Leaving directory '/scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild'
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild'
### execution of /tmp/fink.4OYo0 failed, exit code 2
### execution of /tmp/fink.FMqTC failed, exit code 2


make[2]: Leaving directory '/scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild'
/sw/bin/cmake -E cmake_progress_report /scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild/CMakeFiles 
[ 96%] Built target vtkpython_pyc
make -f Wrapping/Java/CMakeFiles/VTKJavaCommon.dir/build.make Wrapping/Java/CMakeFiles/VTKJavaCommon.dir/depend
make[2]: Entering directory '/scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild'
cd /scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild && /sw/bin/cmake -E cmake_depends "Unix Makefiles" /scratch.noindex/fink.build/vtk510-5.10.1-2/VTK5.10.1 /scratch.noindex/fink.build/vtk510-5.10.1-2/VTK5.10.1/Wrapping/Java /scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild /scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild/Wrapping/Java /scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild/Wrapping/Java/CMakeFiles/VTKJavaCommon.dir/DependInfo.cmake --color=
Scanning dependencies of target VTKJavaCommon
make[2]: Leaving directory '/scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild'
make -f Wrapping/Java/CMakeFiles/VTKJavaCommon.dir/build.make Wrapping/Java/CMakeFiles/VTKJavaCommon.dir/build
make[2]: Entering directory '/scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild'
/sw/bin/cmake -E cmake_progress_report /scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild/CMakeFiles 
[ 96%] Generating ../../java/vtk/vtkVTKJavaCommonDriver.class
cd /scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild/Wrapping/Java && /usr/bin/javac -source 5 -classpath /scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild/java /scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild/java/vtk/vtkVTKJavaCommonDriver.java
No Java runtime present, requesting install.
Wrapping/Java/CMakeFiles/VTKJavaCommon.dir/build.make:225: recipe for target 'java/vtk/vtkVTKJavaCommonDriver.class' failed
make[2]: *** [java/vtk/vtkVTKJavaCommonDriver.class] Error 1
make[2]: Leaving directory '/scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild'
CMakeFiles/Makefile2:8544: recipe for target 'Wrapping/Java/CMakeFiles/VTKJavaCommon.dir/all' failed
make[1]: *** [Wrapping/Java/CMakeFiles/VTKJavaCommon.dir/all] Error 2
make[1]: Leaving directory '/scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild'
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/scratch.noindex/fink.build/vtk510-5.10.1-2/VTKBuild'
### execution of /tmp/fink.vEXYe failed, exit code 2
### execution of /tmp/fink.i3_Pl failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-vtk510-5.10.1-2
(Reading database ... 322624 files and directories currently installed.)
Removing fink-buildlock-vtk510-5.10.1-2 ...
Reading buildlock packages...
	All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i /sw/fink/dists/local/main/binary-darwin-x86_64/devel/openmpi_1.8.4-1_darwin-x86_64.deb
Selecting previously deselected package openmpi.
(Reading database ... 322623 files and directories currently installed.)
Unpacking openmpi (from .../openmpi_1.8.4-1_darwin-x86_64.deb) ...
Setting up openmpi (1.8.4-1) ...
Clearing dependency_libs of .la files being installed

Failed: phase compiling: vtk510-5.10.1-2 failed

…

Also include the following system information:
Package manager version: 0.38.4
Distribution version: selfupdate-rsync Mon Apr  6 22:48:58 2015, 10.10, x86_64
Trees: stable/main local/main local/injected unstable/main
Xcode.app: 6.2
Xcode command-line tools: 6.2.0.0.1.1424975374
Max. Fink build jobs:  1


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.