* Package: media-video/ushare-1.1a-r6 * Repository: gentoo * Maintainer: hwoarang@gentoo.org * USE: abi_x86_64 amd64 dlna elibc_glibc kernel_linux nls userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Applying various patches (bugfixes/updates) ... * 01_all_ushare_build_system.patch ... [ ok ] * 02_all_ushare_build_warnings.patch ... [ ok ] * 03_all_ushare_mp4_video_mime.patch ... [ ok ] * 04_all_ushare_upnp_build_fix.patch ... [ ok ] * 05_all_missing_headers.patch ... [ ok ] * Skipping 06_all_ushare_disable_sysconf.patch due to EPATCH_EXCLUDE ... * 07_all_drop_optimizations.patch ... [ ok ] * Done with patching Checking for compiler available... Checking for locales ... Checking for ifaddrs ... Checking for langinfo ... Checking for iconv ... Checking for libixml ... Checking for libthreadutil ... Checking for libupnp >= 1.4.2 ... Checking for libdlna >= 0.2.1 ... uShare: configure is OK version 1.2.0 using libupnp 1.6.19 using libdlna 0.2.4 configuration: install prefix /usr configuration dir /etc locales dir ${PREFIX}/share/locale NLS support yes DLNA support yes C compiler x86_64-pc-linux-gnu-gcc STRIP strip make make CPU x86_64 () install sysconf yes developer options no debug symbols no strip symbols no optimize yes CFLAGS -O2 -march=native -pipe -fomit-frame-pointer -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -DHAVE_DLNA LDFLAGS -Wl,-O1 -Wl,--as-needed extralibs -lixml -lthreadutil -lpthread -lupnp -pthread -ldlna -L/usr/lib -lavformat -lavcodec Creating config.mak ... Creating config.h ... for subdir in po scripts src ; do \ make -C $subdir all; \ done make[1]: Entering directory `/var/tmp/portage/media-video/ushare-1.1a-r6/work/ushare-1.1a/po' make fr.gmo de.gmo make[2]: Entering directory `/var/tmp/portage/media-video/ushare-1.1a-r6/work/ushare-1.1a/po' make[2]: `fr.gmo' is up to date. make[2]: `de.gmo' is up to date. make[2]: Leaving directory `/var/tmp/portage/media-video/ushare-1.1a-r6/work/ushare-1.1a/po' touch stamp-po make[1]: Leaving directory `/var/tmp/portage/media-video/ushare-1.1a-r6/work/ushare-1.1a/po' make[1]: Entering directory `/var/tmp/portage/media-video/ushare-1.1a-r6/work/ushare-1.1a/scripts' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/media-video/ushare-1.1a-r6/work/ushare-1.1a/scripts' make[1]: Entering directory `/var/tmp/portage/media-video/ushare-1.1a-r6/work/ushare-1.1a/src' x86_64-pc-linux-gnu-gcc -I.. -MM -O2 -march=native -pipe -fomit-frame-pointer cds.c cms.c msr.c http.c presentation.c metadata.c mime.c services.c buffer.c util_iconv.c content.c cfgparser.c trace.c redblack.c osdep.c ctrl_telnet.c ushare.c 1>.depend x86_64-pc-linux-gnu-gcc -c -O2 -march=native -pipe -fomit-frame-pointer -O2 -march=native -pipe -fomit-frame-pointer -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -DHAVE_DLNA -o cds.o cds.c x86_64-pc-linux-gnu-gcc -c -O2 -march=native -pipe -fomit-frame-pointer -O2 -march=native -pipe -fomit-frame-pointer -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -DHAVE_DLNA -o cms.o cms.c x86_64-pc-linux-gnu-gcc -c -O2 -march=native -pipe -fomit-frame-pointer -O2 -march=native -pipe -fomit-frame-pointer -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -DHAVE_DLNA -o msr.o msr.c In file included from msr.c:24:0: ushare.h:130:13: warning: inline function ‘display_headers’ declared but never defined inline void display_headers (void);  ^ In file included from cms.c:27:0: ushare.h:130:13: warning: inline function ‘display_headers’ declared but never defined inline void display_headers (void);  ^ x86_64-pc-linux-gnu-gcc -c -O2 -march=native -pipe -fomit-frame-pointer -O2 -march=native -pipe -fomit-frame-pointer -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -DHAVE_DLNA -o http.o http.c cds.c: In function ‘didl_add_value’: cds.c:271:24: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘off_t {aka long int}’ [-Wformat=] buffer_appendf (out, " %s=\"%lld\"", param, value);  ^ cds.c: In function ‘cds_browse’: cds.c:485:43: warning: variable ‘sort_criteria’ set but not used [-Wunused-but-set-variable] int result_count = 0, index, count, id, sort_criteria;  ^ cds.c: In function ‘cds_search’: cds.c:805:43: warning: variable ‘sort_criteria’ set but not used [-Wunused-but-set-variable] int result_count = 0, index, count, id, sort_criteria;  ^ In file included from cds.c:28:0: cds.c: At top level: ushare.h:130:13: warning: inline function ‘display_headers’ declared but never defined inline void display_headers (void);  ^ x86_64-pc-linux-gnu-gcc -c -O2 -march=native -pipe -fomit-frame-pointer -O2 -march=native -pipe -fomit-frame-pointer -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -DHAVE_DLNA -o presentation.o presentation.c In file included from http.c:42:0: http.c: In function ‘http_seek’: trace.h:52:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘off_t {aka long int}’ [-Wformat=] print_log (ULOG_VERBOSE, (s), ##str); \  ^ http.c:309:5: note: in expansion of macro ‘log_verbose’ log_verbose ("Attempting to seek to %lld (was at %lld) in %s\n",  ^ trace.h:52:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘off_t {aka long int}’ [-Wformat=] print_log (ULOG_VERBOSE, (s), ##str); \  ^ http.c:309:5: note: in expansion of macro ‘log_verbose’ log_verbose ("Attempting to seek to %lld (was at %lld) in %s\n",  ^ trace.h:52:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘off_t {aka long int}’ [-Wformat=] print_log (ULOG_VERBOSE, (s), ##str); \  ^ http.c:314:5: note: in expansion of macro ‘log_verbose’ log_verbose ("Attempting to seek by %lld from %lld in %s\n",  ^ trace.h:52:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘off_t {aka long int}’ [-Wformat=] print_log (ULOG_VERBOSE, (s), ##str); \  ^ http.c:314:5: note: in expansion of macro ‘log_verbose’ log_verbose ("Attempting to seek by %lld from %lld in %s\n",  ^ trace.h:52:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘off_t {aka long int}’ [-Wformat=] print_log (ULOG_VERBOSE, (s), ##str); \  ^ http.c:319:5: note: in expansion of macro ‘log_verbose’ log_verbose ("Attempting to seek by %lld from end (was at %lld) in %s\n",  ^ trace.h:52:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘off_t {aka long int}’ [-Wformat=] print_log (ULOG_VERBOSE, (s), ##str); \  ^ http.c:319:5: note: in expansion of macro ‘log_verbose’ log_verbose ("Attempting to seek by %lld from end (was at %lld) in %s\n",  ^ http.c: At top level: trace.h:32:13: warning: inline function ‘start_log’ declared but never defined inline void start_log (void);  ^ In file included from services.h:27:0, from http.c:35: ushare.h:130:13: warning: inline function ‘display_headers’ declared but never defined inline void display_headers (void);  ^ In file included from metadata.h:29:0, from presentation.c:30: ushare.h:130:13: warning: inline function ‘display_headers’ declared but never defined inline void display_headers (void);  ^ x86_64-pc-linux-gnu-gcc -c -O2 -march=native -pipe -fomit-frame-pointer -O2 -march=native -pipe -fomit-frame-pointer -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -DHAVE_DLNA -o metadata.o metadata.c x86_64-pc-linux-gnu-gcc -c -O2 -march=native -pipe -fomit-frame-pointer -O2 -march=native -pipe -fomit-frame-pointer -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -DHAVE_DLNA -o mime.o mime.c x86_64-pc-linux-gnu-gcc -c -O2 -march=native -pipe -fomit-frame-pointer -O2 -march=native -pipe -fomit-frame-pointer -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -DHAVE_DLNA -o services.o services.c In file included from mime.c:26:0: ushare.h:130:13: warning: inline function ‘display_headers’ declared but never defined inline void display_headers (void);  ^ x86_64-pc-linux-gnu-gcc -c -O2 -march=native -pipe -fomit-frame-pointer -O2 -march=native -pipe -fomit-frame-pointer -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -DHAVE_DLNA -o buffer.o buffer.c In file included from metadata.c:38:0: trace.h:32:13: warning: inline function ‘start_log’ declared but never defined inline void start_log (void);  ^ In file included from metadata.h:29:0, from metadata.c:34: ushare.h:130:13: warning: inline function ‘display_headers’ declared but never defined inline void display_headers (void);  ^ In file included from services.c:32:0: trace.h:32:13: warning: inline function ‘start_log’ declared but never defined inline void start_log (void);  ^ In file included from services.c:27:0: ushare.h:130:13: warning: inline function ‘display_headers’ declared but never defined inline void display_headers (void);  ^ x86_64-pc-linux-gnu-gcc -c -O2 -march=native -pipe -fomit-frame-pointer -O2 -march=native -pipe -fomit-frame-pointer -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -DHAVE_DLNA -o util_iconv.o util_iconv.c x86_64-pc-linux-gnu-gcc -c -O2 -march=native -pipe -fomit-frame-pointer -O2 -march=native -pipe -fomit-frame-pointer -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -DHAVE_DLNA -o content.o content.c x86_64-pc-linux-gnu-gcc -c -O2 -march=native -pipe -fomit-frame-pointer -O2 -march=native -pipe -fomit-frame-pointer -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -DHAVE_DLNA -o cfgparser.o cfgparser.c x86_64-pc-linux-gnu-gcc -c -O2 -march=native -pipe -fomit-frame-pointer -O2 -march=native -pipe -fomit-frame-pointer -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -DHAVE_DLNA -o trace.o trace.c x86_64-pc-linux-gnu-gcc -c -O2 -march=native -pipe -fomit-frame-pointer -O2 -march=native -pipe -fomit-frame-pointer -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -DHAVE_DLNA -o redblack.o redblack.c x86_64-pc-linux-gnu-gcc -c -O2 -march=native -pipe -fomit-frame-pointer -O2 -march=native -pipe -fomit-frame-pointer -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -DHAVE_DLNA -o osdep.o osdep.c In file included from cfgparser.c:32:0: trace.h:32:13: warning: inline function ‘start_log’ declared but never defined inline void start_log (void);  ^ In file included from cfgparser.h:24:0, from cfgparser.c:30: ushare.h:130:13: warning: inline function ‘display_headers’ declared but never defined inline void display_headers (void);  ^ redblack.c: In function ‘rbinit’: redblack.c:143:7: warning: variable ‘c’ set but not used [-Wunused-but-set-variable] char c;  ^ In file included from trace.c:28:0: ushare.h:130:13: warning: inline function ‘display_headers’ declared but never defined inline void display_headers (void);  ^ x86_64-pc-linux-gnu-gcc -c -O2 -march=native -pipe -fomit-frame-pointer -O2 -march=native -pipe -fomit-frame-pointer -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -DHAVE_DLNA -o ctrl_telnet.o ctrl_telnet.c x86_64-pc-linux-gnu-gcc -c -O2 -march=native -pipe -fomit-frame-pointer -O2 -march=native -pipe -fomit-frame-pointer -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -DHAVE_DLNA -o ushare.o ushare.c ctrl_telnet.c: In function ‘ctrl_telnet_stop’: ctrl_telnet.c:205:11: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] ssize_t tmp;  ^ In file included from ctrl_telnet.c:27:0: ctrl_telnet.c: At top level: trace.h:32:13: warning: inline function ‘start_log’ declared but never defined inline void start_log (void);  ^ In file included from ushare.c:72:0: trace.h:32:13: warning: inline function ‘start_log’ declared but never defined inline void start_log (void);  ^ x86_64-pc-linux-gnu-gcc cds.o cms.o msr.o http.o presentation.o metadata.o mime.o services.o buffer.o util_iconv.o content.o cfgparser.o trace.o redblack.o osdep.o ctrl_telnet.o ushare.o -Wl,-O1 -Wl,--as-needed -lixml -lthreadutil -lpthread -lupnp -pthread -ldlna -L/usr/lib -lavformat -lavcodec -o ushare cfgparser.o: In function `parse_command_line': cfgparser.c:(.text+0x919): undefined reference to `display_headers' cfgparser.c:(.text+0x961): undefined reference to `display_headers' ushare.o: In function `main': ushare.c:(.text.startup+0x289): undefined reference to `start_log' collect2: error: ld returned 1 exit status make[1]: *** [ushare] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-video/ushare-1.1a-r6/work/ushare-1.1a/src' make: *** [all] Error 2 * ERROR: media-video/ushare-1.1a-r6::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-video/ushare-1.1a-r6::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/ushare-1.1a-r6::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-video/ushare-1.1a-r6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/ushare-1.1a-r6/temp/environment'. * Working directory: '/var/tmp/portage/media-video/ushare-1.1a-r6/work/ushare-1.1a' * S: '/var/tmp/portage/media-video/ushare-1.1a-r6/work/ushare-1.1a'