>>> Compiling source in /var/tmp/portage/media-gfx/autotrace-0.31.1-r8/work/autotrace-0.31.1 ... make -j4 make all-am make[1]: Entering directory `/var/tmp/portage/media-gfx/autotrace-0.31.1-r8/work/autotrace-0.31.1' /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-7 -O2 -march=native -pipe -fomit-frame-pointer -c -o input-pnm.lo input-pnm.c /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-7 -O2 -march=native -pipe -fomit-frame-pointer -c -o input-bmp.lo input-bmp.c /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-7 -O2 -march=native -pipe -fomit-frame-pointer -c -o input-tga.lo input-tga.c /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-7 -O2 -march=native -pipe -fomit-frame-pointer -c -o input-png.lo input-png.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-7 -O2 -march=native -pipe -fomit-frame-pointer -c input-png.c -fPIC -DPIC -o .libs/input-png.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-7 -O2 -march=native -pipe -fomit-frame-pointer -c input-bmp.c -fPIC -DPIC -o .libs/input-bmp.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-7 -O2 -march=native -pipe -fomit-frame-pointer -c input-pnm.c -fPIC -DPIC -o .libs/input-pnm.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-7 -O2 -march=native -pipe -fomit-frame-pointer -c input-tga.c -fPIC -DPIC -o .libs/input-tga.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-7 -O2 -march=native -pipe -fomit-frame-pointer -c -o input-magick.lo input-magick.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-7 -O2 -march=native -pipe -fomit-frame-pointer -c input-magick.c -fPIC -DPIC -o .libs/input-magick.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-7 -O2 -march=native -pipe -fomit-frame-pointer -c -o output-eps.lo output-eps.c /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-7 -O2 -march=native -pipe -fomit-frame-pointer -c -o output-er.lo output-er.c input-magick.c:31:24: fatal error: magick/api.h: No such file or directory #include <magick/api.h> ^ compilation terminated. make[1]: *** [input-magick.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-7 -O2 -march=native -pipe -fomit-frame-pointer -c output-eps.c -fPIC -DPIC -o .libs/output-eps.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-7 -O2 -march=native -pipe -fomit-frame-pointer -c output-er.c -fPIC -DPIC -o .libs/output-er.o make[1]: Leaving directory `/var/tmp/portage/media-gfx/autotrace-0.31.1-r8/work/autotrace-0.31.1' make: *** [all] Error 2
Created attachment 473958 [details] build.log
I have the same problem with media-gfx/autotrace-0.31.1-r8.
The include file "api.h" existed before the update to media-gfx/imagemagick-7.0.5.7: # find /usr/ -name api.h /usr/include/ImageMagick-6/magick/api.h
Same problem here
Workaround: disable "imagemagick" use flag # echo "=media-gfx/autotrace-0.31.1-r8 -imagemagick" >> /etc/portage/package.use/package.use.orig # emerge -av1 media-gfx/autotrace
commit af14a9845810137c82742baf89bf3dd4fcbc9540 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: Wed Aug 16 12:11:52 2017 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: Wed Aug 16 12:21:39 2017 media-gfx/autotrace: Remove last-rited pkg, #620802