* Package: dev-util/hxd-0.70.02-r2 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking hxd-0.70.02.tar.gz to /var/tmp/portage/dev-util/hxd-0.70.02-r2/work >>> Source unpacked in /var/tmp/portage/dev-util/hxd-0.70.02-r2/work >>> Preparing source in /var/tmp/portage/dev-util/hxd-0.70.02-r2/work/hxd-0.70.02 ... * Applying hxd-0.70.02-prll-flags.patch ... [ ok ] * Applying hxd-0.70.02-llong-redef.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/hxd-0.70.02-r2/work/hxd-0.70.02 ... ./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 --libdir=/usr/lib Your System is Linux release 5.5.8. Great! Linking Makefile. find . -name "*.o" -exec rm -f {} \; rm -f hxd hxd.1 unhxd unhxd.1 header.h mkmkman mkman mkman.c Now run 'make' or 'make install'! >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/hxd-0.70.02-r2/work/hxd-0.70.02 ... make -j1 x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wstrict-prototypes -I./ -DOS_TYPE_Linux -DOS_TYPE_STR=\"Linux\" -Dprg_name=\"hxd\" -DMANUAL_NUMBER=1 -Wl,-O1 -Wl,--as-needed -Wl,-warn-common -L./ hxd.c -o hxd In file included from hxd.h:1, from hxd.c:25: general.h:58:1: error: unknown type name ‘loff_t’; did you mean ‘off_t’? 58 | loff_t lseek64( int fd, loff_t offset, int whence ); | ^~~~~~ | off_t general.h:58:25: error: unknown type name ‘loff_t’; did you mean ‘off_t’? 58 | loff_t lseek64( int fd, loff_t offset, int whence ); | ^~~~~~ | off_t hxd.c: In function ‘display_help’: hxd.c:35:92: warning: self-comparison always evaluates to true [-Wtautological-compare] 35 | \t write this info to %s and exit sucessfully\n",HELP_CHANNEL==stdout?"stdout":"stderr" ); | ^~ hxd.c:38:114: warning: self-comparison always evaluates to true [-Wtautological-compare] 38 | ompilation info to %s and exit sucessfully\n",VERSION_CHANNEL==stdout?"stdout":"stderr" ); | ^~ In file included from hxd.h:1, from hxd.c:25: hxd.c: At top level: general.h:69:16: error: unknown type name ‘loff_t’; did you mean ‘off_t’? 69 | #define OFF_T loff_t | ^~~~~~ hxd.c:91:1: note: in expansion of macro ‘OFF_T’ 91 | OFF_T | ^~~~~ general.h:69:16: error: unknown type name ‘loff_t’; did you mean ‘off_t’? 69 | #define OFF_T loff_t | ^~~~~~ hxd.c:92:33: note: in expansion of macro ‘OFF_T’ 92 | getoptarg( char opt, char* arg, OFF_T min, OFF_T max, char* pn ) { | ^~~~~ general.h:69:16: error: unknown type name ‘loff_t’; did you mean ‘off_t’? 69 | #define OFF_T loff_t | ^~~~~~ hxd.c:92:44: note: in expansion of macro ‘OFF_T’ 92 | getoptarg( char opt, char* arg, OFF_T min, OFF_T max, char* pn ) { | ^~~~~ hxd.c: In function ‘main’: general.h:69:16: error: unknown type name ‘loff_t’; did you mean ‘off_t’? 69 | #define OFF_T loff_t | ^~~~~~ hxd.c:189:3: note: in expansion of macro ‘OFF_T’ 189 | OFF_T offset= 0; /* offset from option */ | ^~~~~ general.h:69:16: error: unknown type name ‘loff_t’; did you mean ‘off_t’? 69 | #define OFF_T loff_t | ^~~~~~ hxd.c:190:3: note: in expansion of macro ‘OFF_T’ 190 | OFF_T off; /* actual offset */ | ^~~~~ general.h:69:16: error: unknown type name ‘loff_t’; did you mean ‘off_t’? 69 | #define OFF_T loff_t | ^~~~~~ hxd.c:191:3: note: in expansion of macro ‘OFF_T’ 191 | OFF_T tnbr; /* total number of bytes read */ | ^~~~~ general.h:69:16: error: unknown type name ‘loff_t’; did you mean ‘off_t’? 69 | #define OFF_T loff_t | ^~~~~~ hxd.c:192:3: note: in expansion of macro ‘OFF_T’ 192 | OFF_T tnbw; /* total number of bytes written */ | ^~~~~ general.h:69:16: error: unknown type name ‘loff_t’; did you mean ‘off_t’? 69 | #define OFF_T loff_t | ^~~~~~ hxd.c:193:3: note: in expansion of macro ‘OFF_T’ 193 | OFF_T tnbtr; /* total number of bytes to read */ | ^~~~~ general.h:69:16: error: unknown type name ‘loff_t’; did you mean ‘off_t’? 69 | #define OFF_T loff_t | ^~~~~~ hxd.c:194:3: note: in expansion of macro ‘OFF_T’ 194 | OFF_T num; /* offset for printing purposes */ | ^~~~~ hxd.c:218:22: warning: implicit declaration of function ‘getoptarg’; did you mean ‘getopt’? [-Wimplicit-function-declaration] 218 | nbpl= (long) getoptarg( c, optarg, (OFF_T)1, (OFF_T)MAX_NBPL, *argv ); | ^~~~~~~~~ | getopt In file included from hxd.h:1, from hxd.c:25: general.h:69:16: error: ‘loff_t’ undeclared (first use in this function); did you mean ‘off_t’? 69 | #define OFF_T loff_t | ^~~~~~ hxd.c:218:45: note: in expansion of macro ‘OFF_T’ 218 | nbpl= (long) getoptarg( c, optarg, (OFF_T)1, (OFF_T)MAX_NBPL, *argv ); | ^~~~~ general.h:69:16: note: each undeclared identifier is reported only once for each function it appears in 69 | #define OFF_T loff_t | ^~~~~~ hxd.c:218:45: note: in expansion of macro ‘OFF_T’ 218 | nbpl= (long) getoptarg( c, optarg, (OFF_T)1, (OFF_T)MAX_NBPL, *argv ); | ^~~~~ hxd.c:218:51: error: expected ‘)’ before numeric constant 218 | nbpl= (long) getoptarg( c, optarg, (OFF_T)1, (OFF_T)MAX_NBPL, *argv ); | ^ | ) In file included from hxd.h:1, from hxd.c:25: general.h:65:29: error: expected ‘)’ before numeric constant 65 | #define SIZE_MIN ( (loff_t) 0 ) | ~ ^ hxd.c:222:38: note: in expansion of macro ‘SIZE_MIN’ 222 | tnbtr= getoptarg( c, optarg, SIZE_MIN, SIZE_MAX, *argv ); | ^~~~~~~~ general.h:65:29: error: expected ‘)’ before numeric constant 65 | #define SIZE_MIN ( (loff_t) 0 ) | ~ ^ hxd.c:225:39: note: in expansion of macro ‘SIZE_MIN’ 225 | offset= getoptarg( c, optarg, SIZE_MIN, SIZE_MAX, *argv ); | ^~~~~~~~ general.h:61:22: warning: implicit declaration of function ‘lseek64’; did you mean ‘lseek’? [-Wimplicit-function-declaration] 61 | #define LSEEK(A,B,C) lseek64((A),(B),(C)) | ^~~~~~~ hxd.c:304:14: note: in expansion of macro ‘LSEEK’ 304 | if( (off=LSEEK(in_fd,offset,SEEK_SET)) == -1 ) { | ^~~~~ hxd.c:336:48: warning: format ‘%Lx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘int’ [-Wformat=] 336 | fprintf( ERROR_CHANNEL, "at offset 0x%08Lx", off ); | ~~~~^ ~~~ | | | | | int | long long unsigned int | %08x hxd.c:463:38: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 4 has type ‘int’ [-Wformat=] 463 | fprintf( VERBOSE_CHANNEL, "%s: %Ld/%Ld bytes read/written.\n", | ~~^ | | | long long int | %d 464 | *argv, tnbr, tnbw ); | ~~~~ | | | int hxd.c:463:42: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 5 has type ‘int’ [-Wformat=] 463 | fprintf( VERBOSE_CHANNEL, "%s: %Ld/%Ld bytes read/written.\n", | ~~^ | | | long long int | %d 464 | *argv, tnbr, tnbw ); | ~~~~ | | | int make: *** [Makefile:28: hxd] Error 1 * ERROR: dev-util/hxd-0.70.02-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-util/hxd-0.70.02-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/hxd-0.70.02-r2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-util:hxd-0.70.02-r2:20200315-072757.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/hxd-0.70.02-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/hxd-0.70.02-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/hxd-0.70.02-r2/work/hxd-0.70.02' * S: '/var/tmp/portage/dev-util/hxd-0.70.02-r2/work/hxd-0.70.02'