* Package: net-print/mtink-1.0.16-r2 * Repository: gentoo * Maintainer: printing@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo-mirror/gentoo/commit/1be3922bda04acc37bd4c1a304885084ba7e6ab6 (Mon Sep 7 17:05:39 UTC 2020) @@@@@ END @@@@@ emerge --info: Portage 3.0.5 (python 3.8.5-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r1, 5.4.0-1021-aws x86_64) ================================================================= System uname: Linux-5.4.0-1021-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-glibc2.2.5 KiB Mem: 64359960 total, 32560736 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 07 Sep 2020 17:05:39 +0000 sh bash 5.0_p18 ld GNU ld (Gentoo 2.34 p6) 2.34.0 app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18-r1::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.5::gentoo, 3.9.0_rc1::gentoo dev-util/cmake: 3.18.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r2::gentoo sys-devel/gcc: 10.2.0-r1::gentoo sys-devel/gcc-config: 2.3.2::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* GPL-2" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-clang" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-clang++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" DISTDIR="/var/tmp/portage/net-print/mtink-1.0.16-r2/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -b -k" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld" MAKEOPTS="-j16 V=1" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS >>> Unpacking source... >>> Unpacking mtink-1.0.16.tar.gz to /var/tmp/portage/net-print/mtink-1.0.16-r2/work >>> Source unpacked in /var/tmp/portage/net-print/mtink-1.0.16-r2/work >>> Preparing source in /var/tmp/portage/net-print/mtink-1.0.16-r2/work/mtink-1.0.16 ... * Applying mtink-1.0.16-overflow.patch ... [ ok ] * Applying mtink-1.0.16-flags.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-print/mtink-1.0.16-r2/work/mtink-1.0.16 ... Binary path: /usr/local/bin The documentation files will be installed under: /usr/local/mtink >>> Source configured. >>> Compiling source in /var/tmp/portage/net-print/mtink-1.0.16-r2/work/mtink-1.0.16 ... make -j16 V=1 ttink detect/askPrinter mtinkd Compile ttink.c Compile rw.c Compile d4lib.c Compile rdPrtDesc.c Compile cmd.c as nXcmd.o Compile usbHlp.c Compile rdRes.c Compile access.c Compile and link askPrinter.c Compile mtinkd.c Compile cmd.c Compile d4lib.c mainSrc/rw.c: In function ‘readLine’: mainSrc/rw.c:51:16: warning: implicit declaration of function ‘strncmp’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 51 | if ( strncmp(buf, "Recv:",5) == 0 ) | ^~~~~~~ mainSrc/rw.c:51:37: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch]8;;] 51 | if ( strncmp(buf, "Recv:",5) == 0 ) | ^ : note: built-in ‘strncmp’ declared here mainSrc/rw.c: In function ‘convertBuf’: mainSrc/rw.c:80:31: warning: implicit declaration of function ‘strtol’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 80 | buf[i] = (unsigned char)strtol(buffer, &buffer, 16)&0xff; | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:57:41: note: in expansion of macro ‘OFFSET’ 57 | { ".name:", A_STR, OFFSET(name) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:58:41: note: in expansion of macro ‘OFFSET’ 58 | { ".colorsNb:", A_NB, OFFSET(colors) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:59:41: note: in expansion of macro ‘OFFSET’ 59 | { ".mainProt:", A_PROT, OFFSET(prot) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:60:41: note: in expansion of macro ‘OFFSET’ 60 | { ".stateFlg:", A_FLAG, OFFSET(state) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:61:41: note: in expansion of macro ‘OFFSET’ 61 | { ".exchangeFlg:", A_FLAG, OFFSET(exchange) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:62:41: note: in expansion of macro ‘OFFSET’ 62 | { ".exchangeSeparateFlg:", A_FLAG, OFFSET(exchangeSeparate) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:63:41: note: in expansion of macro ‘OFFSET’ 63 | { ".cleanSeparateFlg:", A_FLAG, OFFSET(cleanSeparate) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:64:41: note: in expansion of macro ‘OFFSET’ 64 | { ".resetProt:", A_PROT, OFFSET(reset) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:65:41: note: in expansion of macro ‘OFFSET’ 65 | { ".alignProt:", A_PROT, OFFSET(align) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:66:41: note: in expansion of macro ‘OFFSET’ 66 | { ".idFlg:", A_FLAG, OFFSET(id) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:67:41: note: in expansion of macro ‘OFFSET’ 67 | { ".passesNb:", A_NB, OFFSET(passes) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:68:41: note: in expansion of macro ‘OFFSET’ 68 | { ".choicesNb:", A_NB, OFFSET(choices) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:69:41: note: in expansion of macro ‘OFFSET’ 69 | { ".colorPassesNb:", A_NB, OFFSET(color_passes) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:70:41: note: in expansion of macro ‘OFFSET’ 70 | { ".colorChoicesNb:", A_NB, OFFSET(color_choices) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:71:41: note: in expansion of macro ‘OFFSET’ 71 | { ".checkNozzleNeedReset:",A_FLAG, OFFSET(checkNeedReset) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:72:41: note: in expansion of macro ‘OFFSET’ 72 | { ".alignFunctionName:", A_FNAME, OFFSET(alignFunction) }, | ^~~~~~ detect/askPrinter.c: In function ‘get_deviceid’: detect/askPrinter.c:18:8: warning: implicit declaration of function ‘read’; did you mean ‘fread’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 18 | if (read (fd, buffer, 2) < 2) | ^~~~ | fread detect/askPrinter.c: In function ‘main’: detect/askPrinter.c:78:15: warning: implicit declaration of function ‘access’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 78 | if ( access(dev, R_OK|W_OK) == -1 ) | ^~~~~~ detect/askPrinter.c:117:10: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 117 | close (fd); | ^~~~~ | pclose server/mtinkd.c: In function ‘main’: server/mtinkd.c:993:7: warning: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 993 | chown(fifoName, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~ server/mtinkd.c:1086:4: warning: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1086 | chown(fifoName, sBuf.st_uid, sBuf.st_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/mtinkd.c:1641:19: warning: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1641 | chown(fifoName, sBuf.st_uid, sBuf.st_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Link mtinkd ld.lld: error: duplicate symbol: alignHead >>> defined at mtinkd.c >>> server/mtinkd.o:(alignHead) >>> defined at cmd.c >>> server/cmd.o:(.bss+0x20) ld.lld: error: duplicate symbol: exchangeCartridge >>> defined at mtinkd.c >>> server/mtinkd.o:(exchangeCartridge) >>> defined at cmd.c >>> server/cmd.o:(.bss+0x60) ld.lld: error: duplicate symbol: newPrinter >>> defined at mtinkd.c >>> server/mtinkd.o:(newPrinter) >>> defined at cmd.c >>> server/cmd.o:(.bss+0xA0) ld.lld: error: duplicate symbol: firstConfig >>> defined at mtinkd.c >>> server/mtinkd.o:(firstConfig) >>> defined at cmd.c >>> server/cmd.o:(.bss+0xE0) collect2: error: ld returned 1 exit status make: *** [Makefile:260: mtinkd] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: net-print/mtink-1.0.16-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-print/mtink-1.0.16-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-print/mtink-1.0.16-r2::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/net-print/mtink-1.0.16-r2:20200907-183823.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-print/mtink-1.0.16-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-print/mtink-1.0.16-r2/temp/environment'. * Working directory: '/var/tmp/portage/net-print/mtink-1.0.16-r2/work/mtink-1.0.16' * S: '/var/tmp/portage/net-print/mtink-1.0.16-r2/work/mtink-1.0.16'