* Package: net-misc/smbc-1.2.2-r3:0 * Repository: gentoo * Maintainer: samba@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking smbc-1.2.2.tgz to /var/tmp/portage/net-misc/smbc-1.2.2-r3/work >>> Source unpacked in /var/tmp/portage/net-misc/smbc-1.2.2-r3/work >>> Preparing source in /var/tmp/portage/net-misc/smbc-1.2.2-r3/work/smbc-1.2.2 ... * Applying smbc-1.2.2-cflags.patch ... [ ok ] * Applying smbc-1.2.2-size_t.patch ... [ ok ] * Applying smbc-1.2.2-samba4-includes.patch ... [ ok ] * Applying smbc-1.2.2-multiple-definitions-gcc10.patch ... [ ok ] * Applying smbc-1.2.2-tinfo.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-misc/smbc-1.2.2-r3/work/smbc-1.2.2' ... * Running 'aclocal -I m4 --system-acdir=/var/tmp/portage/net-misc/smbc-1.2.2-r3/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --foreign --force-missing' ... [ ok ] * Running elibtoolize in: smbc-1.2.2/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/smbc-1.2.2-r3/work/smbc-1.2.2 ... * econf: updating smbc-1.2.2/config/config.sub with /usr/share/gnuconfig/config.sub * econf: updating smbc-1.2.2/config/config.guess with /usr/share/gnuconfig/config.guess * econf: updating smbc-1.2.2/config.sub with /usr/share/gnuconfig/config.sub * econf: updating smbc-1.2.2/config.guess with /usr/share/gnuconfig/config.guess ./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 --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/smbc-1.2.2-r3 --htmldir=/usr/share/doc/smbc-1.2.2-r3/html --libdir=/usr/lib64 --enable-nls --without-debug Samba Commander version 1.2.2 Configuring... checking for x86_64-pc-linux-gnu-gcc... clang 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 the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking for strerror in -lcposix... no checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of clang... none checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/param.h... yes checking for vfork.h... no checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for egrep... (cached) /bin/grep -E checking for libsmbclient.h... no checking for sys/socket.h... yes checking for sys/param.h... (cached) yes checking for sys/file.h... yes checking for sys/time.h... yes checking for arpa/inet.h... yes checking for netinet/in.h... yes checking for fcntl.h... yes checking for libintl.h... yes checking for popt.h... yes checking for errno.h... yes checking for time.h... yes checking for termios.h... yes checking for curses.h... yes checking for dirent.h... yes checking for signal.h... yes checking for stdio.h... (cached) yes checking for ctype.h... yes checking for stdbool.h... yes checking for iconv.h... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib checking for an ANSI C-conforming const... yes checking for signed... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for long long... yes checking for long double... yes checking for wchar_t... yes checking for wint_t... yes checking for inttypes.h... yes checking for stdint.h... yes checking for intmax_t... yes checking how to run the C preprocessor... clang-cpp checking whether printf() supports POSIX/XSI format strings... yes checking for working alloca.h... yes checking for alloca... yes checking for getpagesize... yes checking for fork... yes checking for vfork... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking whether integer division by zero raises SIGFPE... no checking for unsigned long long... yes checking for inttypes.h... yes checking whether the inttypes.h PRIxNN macros are broken... no checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for stdint.h... (cached) yes checking for ld used by GCC... ld.lld checking if the linker (ld.lld) is GNU ld... yes checking for shared library run path origin... /bin/sh: ./config//config.rpath: No such file or directory done checking for ptrdiff_t... yes checking for argz.h... yes checking for limits.h... yes checking for locale.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for asprintf... yes checking for fwprintf... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for snprintf... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for wcslen... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for __fsetlocking... yes checking whether _snprintf is declared... no checking whether _snwprintf is declared... no checking whether feof_unlocked is declared... yes checking whether fgets_unlocked is declared... no checking whether getc_unlocked is declared... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for bison... bison checking version of bison... 3.8.2, ok checking whether NLS is requested... yes checking whether included gettext is requested... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for an ANSI C-conforming const... (cached) yes checking for mode_t... yes checking for off_t... (cached) yes checking for size_t... (cached) yes checking whether closedir returns void... no checking for pid_t... yes checking for working fork... yes checking for working vfork... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for GNU libc compatible realloc... yes checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for alarm... yes checking for dup2... yes checking for mkdir... yes checking for rmdir... yes checking for setlocale... (cached) yes checking for strdup... (cached) yes checking for strstr... yes checking for main in -lm... yes checking for main in -lpopt... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for ncurses... yes checking for main in -lsmbclient... yes checking for smbc_set_context in -lsmbclient... yes checking for smbc_new_context in -lsmbclient... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting config.status: creating intl/Makefile config.status: WARNING: 'intl/Makefile.in' seems to ignore the --datarootdir setting config.status: creating m4/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile Configure finished. *** setting **************************************** Install prefix : /usr smbc_set_context : yes smbc_new_context : yes **************************************************** *** for developers ********************************* debug message : yes compile for ggdb message : no **************************************************** Now you can run make >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/smbc-1.2.2-r3/work/smbc-1.2.2 ... make -j5 make all-recursive make[1]: Entering directory '/var/tmp/portage/net-misc/smbc-1.2.2-r3/work/smbc-1.2.2' Making all in m4 make[2]: Entering directory '/var/tmp/portage/net-misc/smbc-1.2.2-r3/work/smbc-1.2.2/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/net-misc/smbc-1.2.2-r3/work/smbc-1.2.2/m4' Making all in intl make[2]: Entering directory '/var/tmp/portage/net-misc/smbc-1.2.2-r3/work/smbc-1.2.2/intl' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/net-misc/smbc-1.2.2-r3/work/smbc-1.2.2/intl' Making all in po make[2]: Entering directory '/var/tmp/portage/net-misc/smbc-1.2.2-r3/work/smbc-1.2.2/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/net-misc/smbc-1.2.2-r3/work/smbc-1.2.2/po' Making all in src make[2]: Entering directory '/var/tmp/portage/net-misc/smbc-1.2.2-r3/work/smbc-1.2.2/src' clang -DHAVE_CONFIG_H -I. -I.. -I../intl -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wall -O2 -pipe -march=native -fno-diagnostics-color -c -o smbc-smbc.o `test -f 'smbc.c' || echo './'`smbc.c clang -DHAVE_CONFIG_H -I. -I.. -I../intl -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wall -O2 -pipe -march=native -fno-diagnostics-color -c -o smbc-smb-pack.o `test -f 'smb-pack.c' || echo './'`smb-pack.c clang -DHAVE_CONFIG_H -I. -I.. -I../intl -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wall -O2 -pipe -march=native -fno-diagnostics-color -c -o smbc-fnet.o `test -f 'fnet.c' || echo './'`fnet.c clang -DHAVE_CONFIG_H -I. -I.. -I../intl -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wall -O2 -pipe -march=native -fno-diagnostics-color -c -o smbc-ierror.o `test -f 'ierror.c' || echo './'`ierror.c clang -DHAVE_CONFIG_H -I. -I.. -I../intl -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wall -O2 -pipe -march=native -fno-diagnostics-color -c -o smbc-find-index-manage.o `test -f 'find-index-manage.c' || echo './'`find-index-manage.c clang -DHAVE_CONFIG_H -I. -I.. -I../intl -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wall -O2 -pipe -march=native -fno-diagnostics-color -c -o smbc-debug.o `test -f 'debug.c' || echo './'`debug.c smbc.c:316:2: error: function definition is not allowed here { ^ fnet.c:62:3: error: function definition is not allowed here { ^ fnet.c:72:5: error: call to undeclared function 'itoaAddChar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] itoaAddChar(n % 10 + '0'); ^ fnet.c:75:5: error: call to undeclared function 'itoaAddChar'; ISO C99 and latersmbc.c : 580do: 15not: error: supportcall implicitto functionundeclared declarationsfunction 'Rpaint';[-Wimplicit-function-declaration] ISO C99 and itoaAddChar('-');later ^do not support implicit function declarations [-Wimplicit-function-declaration] Rpaint(Rt1,0,7); ^ fnet.c:407:7: warning: variable 'y' set but not used [-Wunused-but-set-variable] int y, x; ^ find-index-manage.c:64:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(Rfdo, &Rdata, Rread); ^~~~~ ~~~~~~~~~~~~~~~~~~~ fnet.c:488:7: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] asprintf(&Rstr, "%c", Rbuf[xCursor]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:158:3: note: expanded from macro 'asprintf' smbc.c:1182:3: __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) error: ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~function definition is not allowed here { ^ fnet.c:493:7: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] asprintf(&Rstr, " "); ^~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:158:3find-index-manage.c:: 73note: :expanded7 :from warning: macrovariable 'asprintf''Ri' set but not used [-Wunused-but-set-variable] __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) int Ri; ^ ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fnet.csmbc.c::4991300::53:: warning: error: ignoringfunction returndefinition valueis ofnot functionallowed heredeclared with { ^'warn_unused_result' attribute [-Wunused-result] asprintf(&Rstr, " "); ^~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:158:3: note: expanded from macro 'asprintf' __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~smbc.c :1346:3: error: function definition is not allowed here { ^ smbc.c:1358:3: error: function definition is not allowed here { ^ smbc.c:1371:3: error: call to undeclared function 'RmanageListCreateWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RmanageListCreateWindow(); ^ find-index-manage.csmbc.c::3041373::313:: warning: error: passingcall 'int *'to to undeclaredparameter functionof 'RpaintList';type ISO 'unsigned int *'C99 convertsand between laterpointers doto notinteger supporttypes implicitwith functiondifferent declarations sign fnet.c [-Wimplicit-function-declaration]:[-Wpointer-sign] 875 :3: RpaintList(RlFirst, RlSelect); RreadUnsignedInt(RfileDesc, &Rreturn);warning: ^ ignoring ^~~~~~~~ return value of function ./fnet.hdeclared: 75with: 44 :'warn_unused_result' note: attributepassing [-Wunused-result]argument to parameter 'buf' here asprintf(&Ri, "%i", fmt); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.hint RreadUnsignedInt(int fd, unsigned int *buf);: 158 ^: 3: note: expanded from macro 'asprintf' __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fnet.c:895:3: error: function definition is not allowed here { ^ smbc.c:1375:37: error: use of undeclared identifier 'RsigAlarmManageWindow' RpreviousAction = signal(SIGALRM, RsigAlarmManageWindow); ^ find-index-manage.c:417:7: warning: variable 'RyIF' set but not used [-Wunused-but-set-variable] int RyIF = 0; ^ fnet.c:926:9: error: call to undeclared function 'RmvwprintwAddPercent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RmvwprintwAddPercent(); ^ smbc.c:1709:3: error: function definition is not allowed here { ^ smbc.c:1760:7: error: call to undeclared function 'RretryAgain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RretryAgain(); ^ smbc.c:1806:3: error: function definition is not allowed here { ^ 5 warnings and 5 errors generated. smbc.c:1859:5: error: call to undeclared function 'RretryAgain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RretryAgain(); ^ smbc.c:1904:3: error: function definition is not allowed here { ^ smbc.c:1963:7: error: call to undeclared function 'RretryAgain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RretryAgain(); ^ smbc.c:2096:7: warning: variable 'Rsize' set but not used [-Wunused-but-set-variable] int Rsize; ^ smbc.c:2307:3: error: function definition is not allowed here { ^ smbc.c:2361:3: error: function definition is not allowed here { ^ smbc.c:2380:3: error: function definition is not allowed here { ^ smbc.c:2421:3: error: call to undeclared function 'RpreSort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RpreSort((*RlistI)->next, RdoGroup, RsortMethodI); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] make[2]: *** [Makefile:510: smbc-fnet.o] Error 1 make[2]: *** Waiting for unfinished jobs.... debug.c:60:7: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(Rdesc, Rstr, strlen(Rstr)); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ debug.c:62:7: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(Rdesc, Rms, strlen(Rms)); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ debug.c:72:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] asprintf(&Rstr, "%i", Ri); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:158:3: note: expanded from macro 'asprintf' __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.c:83:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] asprintf(&Rstr, "%c", Rc); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:158:3: note: expanded from macro 'asprintf' __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 20 errors generated. 4 warnings generated. make[2]: *** [Makefile:482: smbc-smbc.o] Error 1 4 warnings generated. make[2]: Leaving directory '/var/tmp/portage/net-misc/smbc-1.2.2-r3/work/smbc-1.2.2/src' make[1]: *** [Makefile:475: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-misc/smbc-1.2.2-r3/work/smbc-1.2.2' make: *** [Makefile:393: all] Error 2 * ERROR: net-misc/smbc-1.2.2-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/smbc-1.2.2-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/smbc-1.2.2-r3::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:smbc-1.2.2-r3:20230903-074333.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/smbc-1.2.2-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/smbc-1.2.2-r3/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/smbc-1.2.2-r3/work/smbc-1.2.2' * S: '/var/tmp/portage/net-misc/smbc-1.2.2-r3/work/smbc-1.2.2'