* Package: media-video/dvgrab-3.5-r1 * Repository: gentoo * Maintainer: media-video@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking dvgrab-3.5.tar.gz to /var/tmp/portage/media-video/dvgrab-3.5-r1/work >>> Source unpacked in /var/tmp/portage/media-video/dvgrab-3.5-r1/work >>> Preparing source in /var/tmp/portage/media-video/dvgrab-3.5-r1/work/dvgrab-3.5 ... * Applying dvgrab-3.5-gcc6.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-video/dvgrab-3.5-r1/work/dvgrab-3.5 ... ./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --docdir=/usr/share/doc/dvgrab-3.5-r1 --htmldir=/usr/share/doc/dvgrab-3.5-r1/html --libdir=/usr/lib --without-libquicktime --without-libjpeg checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-gentoo-linux-musl-gcc... none checking for library containing strerror... none required checking for x86_64-gentoo-linux-musl-g++... x86_64-gentoo-linux-musl-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-gentoo-linux-musl-g++ accepts -g... yes checking dependency style of x86_64-gentoo-linux-musl-g++... none checking for x86_64-gentoo-linux-musl-gcc... (cached) x86_64-gentoo-linux-musl-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... (cached) yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... (cached) none needed checking dependency style of x86_64-gentoo-linux-musl-gcc... (cached) none checking how to run the C preprocessor... x86_64-gentoo-linux-musl-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 whether byte ordering is bigendian... no checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for x86_64-gentoo-linux-musl-pkg-config... /usr/bin/x86_64-gentoo-linux-musl-pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBRAW1394... yes checking for LIBAVC1394... yes checking for LIBIEC61883... yes checking for pthread_create in -lpthread... yes checking for LIBDV... yes checking linux/videodev2.h usability... yes checking linux/videodev2.h presence... yes checking for linux/videodev2.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... void checking for mktime... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/media-video/dvgrab-3.5-r1/work/dvgrab-3.5 ... make -j32 make all-am make[1]: Entering directory '/var/tmp/portage/media-video/dvgrab-3.5-r1/work/dvgrab-3.5' x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -c -o avi.o avi.cc x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -c -o dvframe.o dvframe.cc x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -c -o dvgrab.o dvgrab.cc x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -c -o error.o error.cc x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -c -o filehandler.o filehandler.cc x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -c -o frame.o frame.cc x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -c -o hdvframe.o hdvframe.cc x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -c -o iec13818-1.o iec13818-1.cc x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -c -o iec13818-2.o iec13818-2.cc x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -c -o ieee1394io.o ieee1394io.cc x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -c io.c x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -c -o main.o main.cc x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -c raw1394util.c x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -c -o riff.o riff.cc x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -c -o smiltime.o smiltime.cc io.c: In function 'term_read': io.c:165:24: error: storage size of 'tv' isn't known 165 | struct timeval tv; | ^~ io.c:166:9: error: unknown type name 'fd_set' 166 | fd_set rfds; | ^~~~~~ io.c:168:9: warning: implicit declaration of function 'FD_ZERO' [-Wimplicit-function-declaration] 168 | FD_ZERO( &rfds ); | ^~~~~~~ io.c:169:9: warning: implicit declaration of function 'FD_SET'; did you mean 'L_SET'? [-Wimplicit-function-declaration] 169 | FD_SET( 0, &rfds ); | ^~~~~~ | L_SET x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -c -o stringutils.o stringutils.cc io.c:172:13: warning: implicit declaration of function 'select' [-Wimplicit-function-declaration] 172 | n = select( 1, &rfds, NULL, NULL, &tv ); | ^~~~~~ x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -c -o v4l2reader.o v4l2reader.cc x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -c -o srt.o srt.cc make[1]: *** [Makefile:376: io.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from ieee1394io.cc:63: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from avi.cc:47: avi.cc: In member function 'virtual int AVIFile::GetFrameInfo(off_t&, int&, int)': error.h:32:54: error: '__ASSERT_FUNCTION' was not declared in this scope 32 | #define fail_if(eval) real_fail_if (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ avi.cc:325:25: note: in expansion of macro 'fail_if' 325 | fail_if( lseek( fd, indx[ 0 ] ->aIndex[ i ].qwOffset + RIFF_HEADERSIZE, SEEK_SET ) == ( off_t ) - 1 ); | ^~~~~~~ avi.cc: In member function 'virtual int AVIFile::GetFrame(Frame*, int)': error.h:32:54: error: '__ASSERT_FUNCTION' was not declared in this scope 32 | #define fail_if(eval) real_fail_if (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ avi.cc:397:9: note: in expansion of macro 'fail_if' 397 | fail_if( lseek( fd, offset, SEEK_SET ) == ( off_t ) - 1 ); | ^~~~~~~ avi.cc: In member function 'virtual void AVIFile::PrintDirectoryEntryData(const RIFFDirEntry&)': error.h:32:54: error: '__ASSERT_FUNCTION' was not declared in this scope 32 | #define fail_if(eval) real_fail_if (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ avi.cc:430:17: note: in expansion of macro 'fail_if' 430 | fail_if( lseek( fd, entry.offset, SEEK_SET ) == ( off_t ) - 1 ); | ^~~~~~~ error.h:32:54: error: '__ASSERT_FUNCTION' was not declared in this scope 32 | #define fail_if(eval) real_fail_if (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ avi.cc:452:17: note: in expansion of macro 'fail_if' 452 | fail_if( lseek( fd, entry.offset, SEEK_SET ) == ( off_t ) - 1 ); | ^~~~~~~ error.h:32:54: error: '__ASSERT_FUNCTION' was not declared in this scope 32 | #define fail_if(eval) real_fail_if (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ avi.cc:486:17: note: in expansion of macro 'fail_if' 486 | fail_if( lseek( fd, entry.offset, SEEK_SET ) == ( off_t ) - 1 ); | ^~~~~~~ error.h:32:54: error: '__ASSERT_FUNCTION' was not declared in this scope 32 | #define fail_if(eval) real_fail_if (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ avi.cc:516:25: note: in expansion of macro 'fail_if' 516 | fail_if( lseek( fd, entry.offset, SEEK_SET ) == ( off_t ) - 1 ); | ^~~~~~~ error.h:32:54: error: '__ASSERT_FUNCTION' was not declared in this scope 32 | #define fail_if(eval) real_fail_if (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ avi.cc:529:25: note: in expansion of macro 'fail_if' 529 | fail_if( lseek( fd, entry.offset, SEEK_SET ) == ( off_t ) - 1 ); | ^~~~~~~ error.h:32:54: error: '__ASSERT_FUNCTION' was not declared in this scope 32 | #define fail_if(eval) real_fail_if (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ avi.cc:546:25: note: in expansion of macro 'fail_if' 546 | fail_if( lseek( fd, entry.offset, SEEK_SET ) == ( off_t ) - 1 ); | ^~~~~~~ error.h:32:54: error: '__ASSERT_FUNCTION' was not declared in this scope 32 | #define fail_if(eval) real_fail_if (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ avi.cc:566:17: note: in expansion of macro 'fail_if' 566 | fail_if( lseek( fd, entry.offset, SEEK_SET ) == ( off_t ) - 1 ); | ^~~~~~~ error.h:32:54: error: '__ASSERT_FUNCTION' was not declared in this scope 32 | #define fail_if(eval) real_fail_if (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ avi.cc:599:17: note: in expansion of macro 'fail_if' 599 | fail_if( lseek( fd, entry.offset, SEEK_SET ) == ( off_t ) - 1 ); | ^~~~~~~ error.h:32:54: error: '__ASSERT_FUNCTION' was not declared in this scope 32 | #define fail_if(eval) real_fail_if (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ avi.cc:625:17: note: in expansion of macro 'fail_if' 625 | fail_if( lseek( fd, entry.offset, SEEK_SET ) == ( off_t ) - 1 ); | ^~~~~~~ avi.cc: In member function 'virtual void AVIFile::ParseList(int)': error.h:30:54: error: '__ASSERT_FUNCTION' was not declared in this scope 30 | #define fail_neg(eval) real_fail_neg (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ avi.cc:653:9: note: in expansion of macro 'fail_neg' 653 | fail_neg( read( fd, &type, sizeof( type ) ) ); | ^~~~~~~~ In file included from iec13818-1.h:23, from hdvframe.h:24, from filehandler.h:34, from filehandler.cc:49: filehandler.cc: In member function 'virtual int RawHandler::GetFrame(Frame*, int)': error.h:32:54: error: '__ASSERT_FUNCTION' was not declared in this scope 32 | #define fail_if(eval) real_fail_if (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ filehandler.cc:619:9: note: in expansion of macro 'fail_if' 619 | fail_if( lseek( fd, offset, SEEK_SET ) == ( off_t ) - 1 ); | ^~~~~~~ filehandler.cc: In member function 'virtual bool AVIHandler::Create(const string&)': error.h:31:54: error: '__ASSERT_FUNCTION' was not declared in this scope 31 | #define fail_null(eval) real_fail_null (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ filehandler.cc:694:17: note: in expansion of macro 'fail_null' 694 | fail_null( avi = new AVI1File ); | ^~~~~~~~~ make[1]: *** [Makefile:390: avi.o] Error 1 filehandler.cc: In member function 'virtual bool AVIHandler::Open(const char*)': error.h:31:54: error: '__ASSERT_FUNCTION' was not declared in this scope 31 | #define fail_null(eval) real_fail_null (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ filehandler.cc:774:9: note: in expansion of macro 'fail_null' 774 | fail_null( avi = new AVI1File ); | ^~~~~~~~~ In file included from iec13818-1.h:23, from hdvframe.h:24, from ieee1394io.h:34, from v4l2reader.h:28, from v4l2reader.cc:21: v4l2reader.cc: In member function 'virtual bool v4l2Reader::Open()': error.h:30:54: error: '__ASSERT_FUNCTION' was not declared in this scope 30 | #define fail_neg(eval) real_fail_neg (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ v4l2reader.cc:66:17: note: in expansion of macro 'fail_neg' 66 | fail_neg( m_fd = open( m_device, O_RDWR | O_NONBLOCK, 0 ) ); | ^~~~~~~~ v4l2reader.cc: In member function 'virtual void v4l2Reader::Close()': error.h:30:54: error: '__ASSERT_FUNCTION' was not declared in this scope 30 | #define fail_neg(eval) real_fail_neg (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ v4l2reader.cc:129:17: note: in expansion of macro 'fail_neg' 129 | fail_neg( close( m_fd ) ); | ^~~~~~~~ v4l2reader.cc: In member function 'virtual bool v4l2Reader::StartReceive()': error.h:30:54: error: '__ASSERT_FUNCTION' was not declared in this scope 30 | #define fail_neg(eval) real_fail_neg (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ v4l2reader.cc:147:25: note: in expansion of macro 'fail_neg' 147 | fail_neg( ioctl( VIDIOC_QBUF, &buf ) ); | ^~~~~~~~ error.h:30:54: error: '__ASSERT_FUNCTION' was not declared in this scope 30 | #define fail_neg(eval) real_fail_neg (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ v4l2reader.cc:152:17: note: in expansion of macro 'fail_neg' 152 | fail_neg( ioctl( VIDIOC_STREAMON, &type ) ); | ^~~~~~~~ v4l2reader.cc: In member function 'bool v4l2Reader::Handler()': error.h:30:54: error: '__ASSERT_FUNCTION' was not declared in this scope 30 | #define fail_neg(eval) real_fail_neg (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ v4l2reader.cc:246:25: note: in expansion of macro 'fail_neg' 246 | fail_neg( result ); | ^~~~~~~~ error.h:30:54: error: '__ASSERT_FUNCTION' was not declared in this scope 30 | #define fail_neg(eval) real_fail_neg (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ v4l2reader.cc:271:17: note: in expansion of macro 'fail_neg' 271 | fail_neg( ioctl( VIDIOC_QBUF, &buf ) ); | ^~~~~~~~ make[1]: *** [Makefile:390: filehandler.o] Error 1 make[1]: *** [Makefile:390: v4l2reader.o] Error 1 In file included from iec13818-1.h:23, from hdvframe.h:24, from ieee1394io.h:34, from ieee1394io.cc:73: ieee1394io.cc: In member function 'virtual bool iec61883Reader::StartReceive()': error.h:30:54: error: '__ASSERT_FUNCTION' was not declared in this scope 30 | #define fail_neg(eval) real_fail_neg (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ ieee1394io.cc:479:25: note: in expansion of macro 'fail_neg' 479 | fail_neg( iec61883_mpeg2_recv_start( m_iec61883_mpeg2, channel ) ); | ^~~~~~~~ error.h:30:54: error: '__ASSERT_FUNCTION' was not declared in this scope 30 | #define fail_neg(eval) real_fail_neg (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ ieee1394io.cc:481:25: note: in expansion of macro 'fail_neg' 481 | fail_neg( iec61883_dv_fb_start( m_iec61883_dv, channel ) ); | ^~~~~~~~ ieee1394io.cc: In constructor 'AVC::AVC(int)': error.h:30:54: error: '__ASSERT_FUNCTION' was not declared in this scope 30 | #define fail_neg(eval) real_fail_neg (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ ieee1394io.cc:656:17: note: in expansion of macro 'fail_neg' 656 | fail_neg( numcards = raw1394_get_port_info( avc_handle, pinf, 16 ) ); | ^~~~~~~~ riff.cc: In member function 'virtual void RIFFFile::ParseChunk(int)': riff.cc:461:28: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551612' to '-4' [-Woverflow] 461 | typesize = -sizeof( type ); | ^~~~~~~~~~~~~~~ In file included from riff.cc:47: error.h:32:54: error: '__ASSERT_FUNCTION' was not declared in this scope 32 | #define fail_if(eval) real_fail_if (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ riff.cc:462:17: note: in expansion of macro 'fail_if' 462 | fail_if( lseek( fd, typesize, SEEK_CUR ) == ( off_t ) - 1 ); | ^~~~~~~ error.h:30:54: error: '__ASSERT_FUNCTION' was not declared in this scope 30 | #define fail_neg(eval) real_fail_neg (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ riff.cc:470:17: note: in expansion of macro 'fail_neg' 470 | fail_neg( read( fd, &length, sizeof( length ) ) ); | ^~~~~~~~ dvgrab.cc: In member function 'void DVgrab::getargs(int, char**)': dvgrab.cc:389:66: warning: format '%llx' expects argument of type 'long long unsigned int*', but argument 3 has type 'uint64_t*' {aka 'long unsigned int*'} [-Wformat=] 389 | if ( sscanf( optarg, "%llx", &m_guid ) != 1 ) | ~~~^ ~~~~~~~ | | | | | uint64_t* {aka long unsigned int*} | long long unsigned int* | %lx riff.cc: In member function 'virtual void RIFFFile::ParseList(int)': error.h:30:54: error: '__ASSERT_FUNCTION' was not declared in this scope 30 | #define fail_neg(eval) real_fail_neg (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ riff.cc:495:9: note: in expansion of macro 'fail_neg' 495 | fail_neg( read( fd, &type, sizeof( type ) ) ); | ^~~~~~~~ make[1]: *** [Makefile:390: ieee1394io.o] Error 1 riff.cc: In member function 'virtual void RIFFFile::ParseRIFF()': error.h:32:54: error: '__ASSERT_FUNCTION' was not declared in this scope 32 | #define fail_if(eval) real_fail_if (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ riff.cc:548:17: note: in expansion of macro 'fail_if' 548 | fail_if( lseek( fd, pos, SEEK_SET ) == ( off_t ) - 1 ); | ^~~~~~~ riff.cc: In member function 'virtual void RIFFFile::ReadChunk(int, void*)': error.h:32:54: error: '__ASSERT_FUNCTION' was not declared in this scope 32 | #define fail_if(eval) real_fail_if (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ riff.cc:568:9: note: in expansion of macro 'fail_if' 568 | fail_if( lseek( fd, entry.offset, SEEK_SET ) == ( off_t ) - 1 ); | ^~~~~~~ riff.cc: In member function 'virtual void RIFFFile::WriteChunk(int, const void*)': error.h:32:54: error: '__ASSERT_FUNCTION' was not declared in this scope 32 | #define fail_if(eval) real_fail_if (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ riff.cc:585:9: note: in expansion of macro 'fail_if' 585 | fail_if( lseek( fd, entry.offset - RIFF_HEADERSIZE, SEEK_SET ) == ( off_t ) - 1 ); | ^~~~~~~ riff.cc: In member function 'virtual void RIFFFile::WriteRIFF()': error.h:32:54: error: '__ASSERT_FUNCTION' was not declared in this scope 32 | #define fail_if(eval) real_fail_if (eval, #eval, __ASSERT_FUNCTION, __FILE__, __LINE__) | ^~~~~~~~~~~~~~~~~ riff.cc:631:25: note: in expansion of macro 'fail_if' 631 | fail_if( lseek( fd, entry.offset - RIFF_HEADERSIZE, SEEK_SET ) == ( off_t ) - 1 ) ; | ^~~~~~~ make[1]: *** [Makefile:390: riff.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-video/dvgrab-3.5-r1/work/dvgrab-3.5' make: *** [Makefile:250: all] Error 2 * ERROR: media-video/dvgrab-3.5-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-video/dvgrab-3.5-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/dvgrab-3.5-r1::gentoo'`. * The complete build log is located at '/var/log/portage/media-video:dvgrab-3.5-r1:20220106-162257.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-video/dvgrab-3.5-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/dvgrab-3.5-r1/temp/environment'. * Working directory: '/var/tmp/portage/media-video/dvgrab-3.5-r1/work/dvgrab-3.5' * S: '/var/tmp/portage/media-video/dvgrab-3.5-r1/work/dvgrab-3.5'