MidnightBSD Magus

net/ushare

Lightweight UPnP (TM) A/V Media Server

Version Run OSVersion Arch License Restricted Status
1.1a_1 325 0.8 amd64 gpl2 0 fail

Events

Machine Type Time Message
m5 info 2016-08-22 07:57:43.075317 Test Started
m5 fail 2016-08-22 07:57:55.12311 make build returned non-zero: 1
m5 fail 2016-08-22 07:57:55.285841 Test complete.

Log

===>  Building for ushare-1.1a_1
for subdir in po scripts src ; do \
  gmake -C $subdir all; \
done
gmake[1]: Entering directory '/magus/work/usr/mports/net/ushare/work/ushare-1.1a/po'
gmake fr.gmo de.gmo
gmake[2]: Entering directory '/magus/work/usr/mports/net/ushare/work/ushare-1.1a/po'
gmake[2]: 'fr.gmo' is up to date.
gmake[2]: 'de.gmo' is up to date.
gmake[2]: Leaving directory '/magus/work/usr/mports/net/ushare/work/ushare-1.1a/po'
touch stamp-po
gmake[1]: Leaving directory '/magus/work/usr/mports/net/ushare/work/ushare-1.1a/po'
gmake[1]: Entering directory '/magus/work/usr/mports/net/ushare/work/ushare-1.1a/scripts'
gmake[1]: Nothing to be done for 'all'.
gmake[1]: Leaving directory '/magus/work/usr/mports/net/ushare/work/ushare-1.1a/scripts'
gmake[1]: Entering directory '/magus/work/usr/mports/net/ushare/work/ushare-1.1a/src'
cc -I.. -MM -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing 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
cc -c -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -D_THREAD_SAFE -I/usr/local/include/upnp -o cds.o cds.c
cc -c -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -D_THREAD_SAFE -I/usr/local/include/upnp -o cms.o cms.c
cc -c -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -D_THREAD_SAFE -I/usr/local/include/upnp -o msr.o msr.c
cc -c -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -D_THREAD_SAFE -I/usr/local/include/upnp -o http.o http.c
cc -c -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -D_THREAD_SAFE -I/usr/local/include/upnp -o presentation.o presentation.c
cc -c -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -D_THREAD_SAFE -I/usr/local/include/upnp -o metadata.o metadata.c
cc -c -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -D_THREAD_SAFE -I/usr/local/include/upnp -o mime.o mime.c
mime.c:147:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  sprintf (protocol, mime->mime_protocol);
                     ^~~~~~~~~~~~~~~~~~~
http.c:273:20: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'long' [-Wsign-compare]
    len = (size_t) MIN (buflen, file->detail.memory.len - file->pos);
                   ^    ~~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/param.h:276:23: note: expanded from macro 'MIN'
#define MIN(a,b) (((a)<(b))?(a):(b))
                      ^
http.c:314:17: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat]
                offset, file->pos, file->fullpath);
                ^~~~~~
./trace.h:52:35: note: expanded from macro 'log_verbose'
  print_log (ULOG_VERBOSE, (s), ##str); \
                                  ^
http.c:314:25: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat]
                offset, file->pos, file->fullpath);
                        ^~~~~~~~~
./trace.h:52:35: note: expanded from macro 'log_verbose'
  print_log (ULOG_VERBOSE, (s), ##str); \
                                  ^
http.c:319:17: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat]
                offset, file->pos, file->fullpath);
                ^~~~~~
./trace.h:52:35: note: expanded from macro 'log_verbose'
  print_log (ULOG_VERBOSE, (s), ##str); \
                                  ^
http.c:319:25: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat]
                offset, file->pos, file->fullpath);
                        ^~~~~~~~~
./trace.h:52:35: note: expanded from macro 'log_verbose'
  print_log (ULOG_VERBOSE, (s), ##str); \
                                  ^
http.c:324:17: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat]
                offset, file->pos, file->fullpath);
                ^~~~~~
./trace.h:52:35: note: expanded from macro 'log_verbose'
  print_log (ULOG_VERBOSE, (s), ##str); \
                                  ^
http.c:324:25: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat]
                offset, file->pos, file->fullpath);
                        ^~~~~~~~~
./trace.h:52:35: note: expanded from macro 'log_verbose'
  print_log (ULOG_VERBOSE, (s), ##str); \
                                  ^
1 warning generated.
cc -c -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -D_THREAD_SAFE -I/usr/local/include/upnp -o services.o services.c
cc -c -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -D_THREAD_SAFE -I/usr/local/include/upnp -o buffer.o buffer.c
cc -c -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -D_THREAD_SAFE -I/usr/local/include/upnp -o util_iconv.o util_iconv.c
cds.c:269:47: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat]
  buffer_appendf (out, " %s=\"%lld\"", param, value);
                              ~~~~            ^~~~~
                              %ld
cc -c -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -D_THREAD_SAFE -I/usr/local/include/upnp -o content.o content.c
cc -c -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -D_THREAD_SAFE -I/usr/local/include/upnp -o cfgparser.o cfgparser.c
cc -c -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -D_THREAD_SAFE -I/usr/local/include/upnp -o trace.o trace.c
7 warnings generated.
cc -c -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -D_THREAD_SAFE -I/usr/local/include/upnp -o redblack.o redblack.c
cc -c -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -D_THREAD_SAFE -I/usr/local/include/upnp -o osdep.o osdep.c
cc -c -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -D_THREAD_SAFE -I/usr/local/include/upnp -o ctrl_telnet.o ctrl_telnet.c
In file included from cfgparser.c:30:
In file included from ./cfgparser.h:24:
./ushare.h:135:13: warning: inline function 'display_headers' is not defined [-Wundefined-inline]
inline void display_headers (void);
            ^
cfgparser.c:316:3: note: used here
  display_headers ();
  ^
cc -c -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -O2 -pipe -I/usr/local/include -I/magus/work/usr/mports/net/ushare/work/ushare-1.1a -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -D_THREAD_SAFE -I/usr/local/include/upnp -o ushare.o ushare.c
1 warning generated.
1 warning generated.
ushare.c:207:6: warning: incompatible pointer to integer conversion assigning to 'uint32_t' (aka 'unsigned int') from 'void *' [-Wint-conversion]
  ip = get_ip_addr((struct sockaddr *)&request->CtrlPtIPAddr) ;
     ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ushare.c:72:
./trace.h:32:13: warning: inline function 'start_log' is not defined [-Wundefined-inline]
inline void start_log (void);
            ^
ushare.c:872:5: note: used here
    start_log ();
    ^
2 warnings generated.
cc 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 -L/usr/local/lib -lintl -lixml -lthreadutil -lpthread -lupnp -D_THREAD_SAFE -L/usr/local/lib -llwres -lcompat -o ushare
cfgparser.o: In function `parse_command_line':
cfgparser.c:(.text+0x55c): undefined reference to `display_headers'
cfgparser.c:(.text+0x56b): undefined reference to `display_headers'
ushare.o: In function `main':
ushare.c:(.text+0x129): undefined reference to `start_log'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:59: recipe for target 'ushare' failed
gmake[1]: *** [ushare] Error 1
gmake[1]: Leaving directory '/magus/work/usr/mports/net/ushare/work/ushare-1.1a/src'
Makefile:22: recipe for target 'all' failed
gmake: *** [all] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/mports/net/ushare.

Links

Depends On

Depend Of

Nothing

Categories