* Package: media-video/motion-4.1.1 * Repository: gentoo * Maintainer: vilhelm.gray@gmail.com media-video@gentoo.org,proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc ffmpeg kernel_linux libav userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Adding user 'motion' to your system ... * - Userid: 144 * - Shell: /sbin/nologin * - Home: /dev/null * - Groups: video * - GECOS: added by portage for motion >>> Unpacking source... >>> Unpacking motion-release-4.1.1.tar.gz to /var/tmp/portage/media-video/motion-4.1.1/work >>> Source unpacked in /var/tmp/portage/media-video/motion-4.1.1/work >>> Preparing source in /var/tmp/portage/media-video/motion-4.1.1/work/motion-release-4.1.1 ... * Running eautoreconf in '/var/tmp/portage/media-video/motion-4.1.1/work/motion-release-4.1.1' ... * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running elibtoolize in: motion-release-4.1.1/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-video/motion-4.1.1/work/motion-release-4.1.1 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/motion-4.1.1 --htmldir=/usr/share/doc/motion-4.1.1/html --libdir=/usr/lib64 --with-ffmpeg --without-mmal --without-mysql --without-pgsql --without-sqlite3 --without-v4l2 --without-webp --without-optimizecpu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking for ANSI C header files... (cached) yes checking for an ANSI C-conforming const... yes checking for Darwin/BSD... no checking for pthread_setname_np... yes checking for pthread_getname_np... yes checking for XSI strerror_r... no checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking jerror.h usability... yes checking jerror.h presence... yes checking for jerror.h... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking jpg libraries... yes checking for pkg-config... yes checking for libavformat... yes 58.1.0 checking for sqlite3... skipping checking for mysql support... skipped checking for pgsql support... skipped checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for unistd.h... (cached) yes checking for stdint.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for sys/types.h... (cached) yes configure: creating ./config.status config.status: creating camera1-dist.conf config.status: creating camera2-dist.conf config.status: creating camera3-dist.conf config.status: creating camera4-dist.conf config.status: creating motion-dist.conf config.status: creating motion.init-FreeBSD.sh config.status: creating motion.init-Debian config.status: creating motion.service config.status: creating motion.spec config.status: creating Makefile config.status: creating config.h ************************** Configure status motion 4.1.1 ************************** OS : Linux pthread support: Yes jpeg support: Yes webp support: No V4L2 support: No BKTR support: No MMAL support: disabled FFmpeg support: Yes ... FFMPEG_CFLAGS: ... FFMPEG_LIBS: -lavutil -lavformat -lavcodec -lswscale -lavdevice SQLite3 support: No MYSQL support: No PostgreSQL support: No CFLAGS: -O2 -pipe -march=native -D_THREAD_SAFE LIBS: -lm -pthread -ljpeg LDFLAGS: -Wl,-O1 -Wl,--as-needed Install prefix: /usr >>> Source configured. >>> Compiling source in /var/tmp/portage/media-video/motion-4.1.1/work/motion-release-4.1.1 ... make -j 1 Welcome to the setup procedure for Motion, the motion detection daemon! If you get error messages during this procedure, please report them to the mailing list. The Motion Guide contains all information you should need to get Motion up and running. Version: 4.1.1 Platform: Linux (if this is incorrect, please read README.FreeBSD) Generating dependencies, please wait... Compiling Motion object files... -------------------------------------------------------------------------------- Compiling motion.c into motion.o... Compiling logger.c into logger.o... Compiling conf.c into conf.o... Compiling draw.c into draw.o... Compiling jpegutils.c into jpegutils.o... Compiling video_loopback.c into video_loopback.o... Compiling video_v4l2.c into video_v4l2.o... Compiling video_common.c into video_common.o... Compiling video_bktr.c into video_bktr.o... Compiling netcam.c into netcam.o... Compiling netcam_http.c into netcam_http.o... Compiling netcam_ftp.c into netcam_ftp.o... Compiling netcam_jpeg.c into netcam_jpeg.o... Compiling netcam_wget.c into netcam_wget.o... Compiling track.c into track.o... Compiling alg.c into alg.o... Compiling event.c into event.o... Compiling picture.c into picture.o... Compiling rotate.c into rotate.o... Compiling webhttpd.c into webhttpd.o... Compiling stream.c into stream.o... Compiling md5.c into md5.o... Compiling netcam_rtsp.c into netcam_rtsp.o... Compiling ffmpeg.c into ffmpeg.o... ffmpeg.c: In function ‘ffmpeg_set_quality’: ffmpeg.c:541:41: error: ‘CODEC_FLAG_QSCALE’ undeclared (first use in this function); did you mean ‘AV_CODEC_FLAG_QSCALE’? ffmpeg->ctx_codec->flags |= CODEC_FLAG_QSCALE; ^~~~~~~~~~~~~~~~~ AV_CODEC_FLAG_QSCALE ffmpeg.c:541:41: note: each undeclared identifier is reported only once for each function it appears in ffmpeg.c: In function ‘ffmpeg_set_codec’: ffmpeg.c:666:33: error: ‘CODEC_FLAG_GLOBAL_HEADER’ undeclared (first use in this function); did you mean ‘AV_CODEC_FLAG_GLOBAL_HEADER’? ffmpeg->ctx_codec->flags |= CODEC_FLAG_GLOBAL_HEADER; ^~~~~~~~~~~~~~~~~~~~~~~~ AV_CODEC_FLAG_GLOBAL_HEADER make: *** [Makefile:106: ffmpeg.o] Error 1 * ERROR: media-video/motion-4.1.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-video/motion-4.1.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/motion-4.1.1::gentoo'`. * The complete build log is located at '/var/log/portage/media-video:motion-4.1.1:20180430-103532.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-video/motion-4.1.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/motion-4.1.1/temp/environment'. * Working directory: '/var/tmp/portage/media-video/motion-4.1.1/work/motion-release-4.1.1' * S: '/var/tmp/portage/media-video/motion-4.1.1/work/motion-release-4.1.1'