[MacPorts] #23092: InsightToolKit should not clean on each build
MacPorts
noreply at macports.org
Thu Feb 18 13:39:11 PST 2010
#23092: InsightToolKit should not clean on each build
---------------------------------+------------------------------------------
Reporter: trog24@… | Owner: dweber@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Resolution: wontfix | Keywords:
Port: InsightToolKit |
---------------------------------+------------------------------------------
Changes (by dweber@…):
* status: reopened => closed
* resolution: => wontfix
Comment:
OK, ran a build last night that failed as above. Now trying to "recover"
from that by just running the build again, using:
{{{
$ sudo port -d build -o InsightToolkit build.jobs=1
}}}
So, as expected, it skips all the phases up to the build phase and starts
that off with a call to 'gnumake', i.e.:
{{{
...
DEBUG: Executing org.macports.main (InsightToolkit)
DEBUG: Skipping completed org.macports.fetch (InsightToolkit)
DEBUG: Skipping completed org.macports.checksum (InsightToolkit)
DEBUG: Skipping completed org.macports.extract (InsightToolkit)
DEBUG: Skipping completed org.macports.patch (InsightToolkit)
DEBUG: Skipping completed org.macports.configure (InsightToolkit)
---> Building InsightToolkit
DEBUG: Executing org.macports.build (InsightToolkit)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_InsightToolkit/work/InsightToolkit-3.16-build"
&& /usr/bin/gnumake -j1 all'
...
}}}
This quickly gets a long way into the build (as I write, it's about 80%
complete after a few minutes on a fast system). So, it appears to be
using the pre-compiled objects, as expected.
However, it appears to be re-building the java objects. For example, at
about 90%, it quickly identified that the Tcl and Python objects were
built already, but it is re-building a java object, i.e.:
{{{
gnumake[2]: Nothing to be done for
`Wrapping/WrapITK/Modules/SimpleFilters/CMakeFiles/SimpleFiltersTcl.dir/build'.
/opt/local/bin/cmake -E cmake_progress_report
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_InsightToolkit/work/InsightToolkit-3.16-build/CMakeFiles
54
[ 90%] Built target SimpleFiltersTcl
/usr/bin/gnumake -f
Wrapping/WrapITK/Modules/SimpleFilters/CMakeFiles/_SimpleFiltersPython.dir/build.make
Wrapping/WrapITK/Modules/SimpleFilters/CMakeFiles/_SimpleFiltersPython.dir/depend
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_InsightToolkit/work/InsightToolkit-3.16-build
&& /opt/local/bin/cmake -E cmake_depends "Unix Makefiles"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_InsightToolkit/work/InsightToolkit-3.16
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_InsightToolkit/work/InsightToolkit-3.16/Wrapping/WrapITK/Modules/SimpleFilters
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_InsightToolkit/work/InsightToolkit-3.16-build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_InsightToolkit/work/InsightToolkit-3.16-build/Wrapping/WrapITK/Modules/SimpleFilters
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_InsightToolkit/work/InsightToolkit-3.16-build/Wrapping/WrapITK/Modules/SimpleFilters/CMakeFiles/_SimpleFiltersPython.dir/DependInfo.cmake
--color=
/usr/bin/gnumake -f
Wrapping/WrapITK/Modules/SimpleFilters/CMakeFiles/_SimpleFiltersPython.dir/build.make
Wrapping/WrapITK/Modules/SimpleFilters/CMakeFiles/_SimpleFiltersPython.dir/build
gnumake[2]: Nothing to be done for
`Wrapping/WrapITK/Modules/SimpleFilters/CMakeFiles/_SimpleFiltersPython.dir/build'.
/opt/local/bin/cmake -E cmake_progress_report
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_InsightToolkit/work/InsightToolkit-3.16-build/CMakeFiles
79
[ 91%] Built target _SimpleFiltersPython
/usr/bin/gnumake -f
Wrapping/WrapITK/Modules/UnaryPixelMath/CMakeFiles/UnaryPixelMathJava.dir/build.make
Wrapping/WrapITK/Modules/UnaryPixelMath/CMakeFiles/UnaryPixelMathJava.dir/depend
}}}
This may be an issue to discuss on the main InsightToolkit and CMake user
lists.
IMHO, this is not a defect in this port. Rather, it's some kind of defect
in the build system for java wrapping.
This may have been noted in another ticket, but for the record, the base
c++ library can be installed without any wrapping by using:
{{{
$ sudo port install InsightToolkit -doc -py25 +shared
}}}
Finally and hopefully, closing this ticket. The build system problem for
java wrapping is probably beyond the control of this port (certainly
beyond my understanding to fix it).
--
Ticket URL: <http://trac.macports.org/ticket/23092#comment:17>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list