Imagemagick6 "missing" files in its own port directory

Code:
cd /usr/ports/graphics/Imagemagick6
make
make install

/lib/ImageMagick-6.9.13/modules-Q16/coders/wmf.so:No such file or directory
*** Error code 1

This happens inside a chroot dir that builds +500 ports. I have no idea what I'm missing. The file doesn't exist but we're talking about the port directory itself.. Why is it missing? Strange thing is that I finished this without problems yesterday but I don't remember doing anything to solve this.
Is this Q16 part of something else without official dependency? What;s wmf.so? Can soeone do a pkg which on this file if it exists?
 
I don't think so.
It seems unlikely. That's only the most low-level things. Now trying a clean build to repeat the exact same problem.
I also needed xorgproto as run-dependency for it. How strange is that?
 
Imagemagick is a beast to build (nowhere as "heavy" as Rust, though), and depending on what options you tick, can pull in an awful lot of other dependencies.
 
Build on a 15.0 world where xorg-server with dependencies is already built and installed:

Code:
pace.Plo
mv -f magick/.deps/libMagickCore_6_la-blob.Tpo magick/.deps/libMagickCore_6_la-blob.Plo
mv -f magick/.deps/libMagickCore_6_la-compare.Tpo magick/.deps/libMagickCore_6_la-compare.Plo
mv -f magick/.deps/libMagickCore_6_la-cache.Tpo magick/.deps/libMagickCore_6_la-cache.Plo
gmake[1]: Leaving directory '/usr/ports/graphics/ImageMagick6/work-x11/ImageMagick-6.9.13-36'
gmake: *** [Makefile:5713: all] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

in work/config/config.log afther this:
Code:
Thread model: posix
InstalledDir: /usr/bin
configure:7689: $? = 0
configure:7678: cc -V >&5
cc: error: argument to '-V' is missing (expected 1 value)
cc: error: no input files
configure:7689: $? = 1
configure:7678: cc -qversion >&5
cc: error: unknown argument '-qversion'; did you mean '--version'?
cc: error: no input files
configure:7689: $? = 1
configure:7678: cc -version >&5
cc: error: unknown argument '-version'; did you mean '--version'?
cc: error: no input files
configure:7689: $? = 1
configure:7693: checking whether the compiler supports GNU C
configure:7725: result: yes
 
Imagemagick is a beast to build (nowhere as "heavy" as Rust, though), and depending on what options you tick, can pull in an awful lot of other dependencies.
I only use 2 command line tools of it for scaling pictures. I forgot the names. Maybe I'll replace that once.

tool names: convert and showimage I don't know how to build them separated. That would allow me to skip the entire Imagemagick build.
 
The "default" was set to graphics/ImageMagick7 quite some time ago. That said, there are still a number of ports that depend on the 'old' 6 version.
Trying to build that. It installs a bunch of new dependencies and misses file Xos.h which is part of xorgproto so I installed that too.

Now the build result:
Code:
tage/usr/local/share/doc/ImageMagick-7/www/Magick++                                         
/usr/bin/strip /usr/ports/graphics/ImageMagick7/work-x11/stage/usr/local/lib/perl5/site_per l/mach/5.42/auto/Image/Magick/*/*.so                                                       
====> Compressing man pages (compress-man)                                                 
===>  Installing for ImageMagick7-7.1.1.45_5                                               
===>  Checking if ImageMagick7 is already installed                                         
===>   Registering installation for ImageMagick7-7.1.1.45_5                                 
pkg-static: Unable to access file /usr/ports/graphics/ImageMagick7/work-x11/stage/usr/local /lib/ImageMagick-7.1.1/modules-Q16HDRI/coders/ept.la:No such file or directory             
pkg-static: Unable to access file /usr/ports/graphics/ImageMagick7/work-x11/stage/usr/local /lib/ImageMagick-7.1.1/modules-Q16HDRI/coders/ept.so:No such file or directory             
pkg-static: Unable to access file /usr/ports/graphics/ImageMagick7/work-x11/stage/usr/local /lib/ImageMagick-7.1.1/modules-Q16HDRI/coders/exr.la:No such file or directory
pkg-static: Unable to access file /usr/ports/graphics/ImageMagick7/work-x11/stage/usr/local/lib/ImageMagick-7.1.1/modules-Q16HDRI/coders/exr.so:No such file or directory
pkg-static: Unable to access file /usr/ports/graphics/ImageMagick7/work-x11/stage/usr/local/lib/ImageMagick-7.1.1/modules-Q16HDRI/coders/heic.la:No such file or directory
pkg-static: Unable to access file /usr/ports/graphics/ImageMagick7/work-x11/stage/usr/local/lib/ImageMagick-7.1.1/modules-Q16HDRI/coders/heic.so:No such file or directory
pkg-static: Unable to access file /usr/ports/graphics/ImageMagick7/work-x11/stage/usr/local/lib/ImageMagick-7.1.1/modules-Q16HDRI/coders/jxl.la:No such file or directory
pkg-static: Unable to access file /usr/ports/graphics/ImageMagick7/work-x11/stage/usr/local/lib/ImageMagick-7.1.1/modules-Q16HDRI/coders/jxl.so:No such file or directory
pkg-static: Unable to access fil/lib/ImageMagick-7.1.1/modules-Q16HDRI/coders/tiff.so:No such file or directory
pkg-static: Unable to access file /usr/ports/graphics/ImageMagick7/work-x11/stage/usr/local/lib/ImageMagick-7.1.1/modules-Q16HDRI/coders/wmf.la:No such file or directory
pkg-static: Unable to access file /usr/ports/graphics/ImageMagick7/work-x11/stage/usr/local/lib/ImageMagick-7.1.1/modules-Q16HDRI/coders/wmf.so:No such file or directory
*** Error code 1

Stop.
make[1]: stopped making "/usr/ports/graphics/ImageMagick7/work-x11/.install_done.ImageMagick._usr_local" in /usr/ports/graphics/ImageMagick7
*** Error code 1

Stop.
make: stopped making "install" in /usr/ports/graphics/ImageMagick7
e /usr/ports/graphics/ImageMagick7/work-x11/stage/usr/local/lib/ImageMagick-7.1.1/modules-Q16HDRI/coders/tiff.la:No such file or directory
pkg-static: Unable to access file /usr/ports/graphics/ImageMagick7/work-x11/stage/usr/local
 
Both 6 and 7 have the same dependency for the WMF option:
Code:
WMF_CONFIGURE_WITH=	wmf
WMF_LIB_DEPENDS=	libwmf.so:graphics/libwmf@${FLAVOR}
Is your graphics/libwmf up to date?
 
Back
Top