Ugh.

Its just broken now because ksh was a dependency of magics++, which is a
dependency of metview, and so it was being pulled in.

ksh suffers from
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810158 "Grave;  wontfix".

I've removed the dependency in magics++ by rewriting the scripts; trivial.

I think I need to add an explicit dep on "pdksh | ksh" and see if pdksh
can do the job instead.

regards

Alastair




On 17/11/2016 14:49, Gianfranco Costamagna wrote:
> control: unarchive -1
> control: reopen -1
> control: severity -1 serious
> control: found -1 4.7.2-2
>
> Hi,
>> We believe that the bug you reported is fixed in the latest version of
>> metview, which is due to be installed in the Debian FTP archive.
> the build is now broken in a clean sbuild sid environment, because the 
> package FTBFS due to missing ksh
>
> btw the failure is probably related to your cmake-fixes.patch
>
> @@ -148,7 +148,7 @@ set(extra_install_files macro_built_in_f
>
>  ADD_CUSTOM_COMMAND(
>      OUTPUT  
> ${CMAKE_BINARY_DIR}/share/metview/etc/macro_built_in_functions.txt
> -    COMMAND ${FULL_STARTUP_SCRIPT_PATH} -b 
> ${CMAKE_CURRENT_SOURCE_DIR}/../../../scripts/generate_list_of_macro_functions.mv
>  ${CMAKE_BINARY_DIR}/share/metview/etc/macro_built_in_functions.txt
> +    COMMAND ksh ${FULL_STARTUP_SCRIPT_PATH} -b 
> ${CMAKE_CURRENT_SOURCE_DIR}/../../../scripts/generate_list_of_macro_functions.mv
>  ${CMAKE_BINARY_DIR}/share/metview/etc/macro_built_in_functions.txt
>      DEPENDS ${FULL_STARTUP_SCRIPT_PATH} ${metview_core_targets}
>  )
>
>
> maybe you need to revert that?
>
> G.
>
> see the build log [1]
> [...]
> ../../lib/libMvMars.a(files.c.o): In function `marstmp':
> ./debian/build/src/libMars/./src/libMarsClient/files.c:21: warning: the use 
> of `tempnam' is dangerous, better use `mkstemp'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
> [ 80%] Built target Reprojection
> make -f share/metview/etc/CMakeFiles/macro_built_in_functions.dir/build.make 
> share/metview/etc/CMakeFiles/macro_built_in_functions.dir/depend
> make[3]: Entering directory '/<<PKGBUILDDIR>>/debian/build'
> cd /<<PKGBUILDDIR>>/debian/build && /usr/bin/cmake -E cmake_depends "Unix 
> Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/share/metview/etc 
> /<<PKGBUILDDIR>>/debian/build /<<PKGBUILDDIR>>/debian/build/share/metview/etc 
> /<<PKGBUILDDIR>>/debian/build/share/metview/etc/CMakeFiles/macro_built_in_functions.dir/DependInfo.cmake
>  --color=
> Scanning dependencies of target macro_built_in_functions
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
> make -f share/metview/etc/CMakeFiles/macro_built_in_functions.dir/build.make 
> share/metview/etc/CMakeFiles/macro_built_in_functions.dir/build
> make[3]: Entering directory '/<<PKGBUILDDIR>>/debian/build'
> [ 80%] Generating macro_built_in_functions.txt
> cd /<<PKGBUILDDIR>>/debian/build/share/metview/etc && ksh 
> /<<PKGBUILDDIR>>/debian/build/bin/metview -b 
> /<<PKGBUILDDIR>>/share/metview/etc/../../../scripts/generate_list_of_macro_functions.mv
>  /<<PKGBUILDDIR>>/debian/build/share/metview/etc/macro_built_in_functions.txt
> /bin/sh: 1: ksh: not found
> share/metview/etc/CMakeFiles/macro_built_in_functions.dir/build.make:67: 
> recipe for target 'share/metview/etc/macro_built_in_functions.txt' failed
> make[3]: *** [share/metview/etc/macro_built_in_functions.txt] Error 127
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
> CMakeFiles/Makefile2:5526: recipe for target 
> 'share/metview/etc/CMakeFiles/macro_built_in_functions.dir/all' failed
> make[2]: *** [share/metview/etc/CMakeFiles/macro_built_in_functions.dir/all] 
> Error 2
> make[2]: *** Waiting for unfinished jobs....
> [...]
>
> [1] 
> http://debomatic-amd64.debian.net/distribution#unstable/metview/4.7.2-2/buildlog
>

-- 
Alastair McKinstry, <alast...@sceal.ie>, <mckins...@debian.org>, 
https://diaspora.sceal.ie/u/amckinstry
Misentropy: doubting that the Universe is becoming more disordered. 

Reply via email to