Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2014 15:01:38 GMT
From:      Ferenc Gál <gferenc88@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185848: VLC failed to compile with the new freerdp.
Message-ID:  <201401171501.s0HF1cRk070781@oldred.freebsd.org>
Resent-Message-ID: <201401171510.s0HFA0Os097278@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185848
>Category:       ports
>Synopsis:       VLC failed to compile with the new freerdp.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 17 15:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Ferenc Gál
>Release:        10
>Organization:
-
>Environment:
FreeBSD compbsd.localhost 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260797: Fri Jan 17 00:48:20 CET 2014     fgal@compbsd.localhost:/usr/obj/usr/src/sys/MYKERNEL  amd64
>Description:
The VLC port failed to build on FreeBSD 10 Release using the newest FreeRDP. The error:

./../include/vlc_objects.h:76:38: note: 'vlc_object_alive' declared here
VLC_API VLC_USED VLC_DEPRECATED bool vlc_object_alive (vlc_object_t *);
                                     ^
rdp.c:201:27: error: no member named 'sw_gdi' in dvdnav.c:1481:47: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'unsigned long' [-Wsign-compare]
     || read( fd, iso_dsc, sizeof (iso_dsc) ) < sizeof (iso_dsc)
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
'struct rdp_settings'
    p_instance->settings->sw_gdi = true; /* render in buffer */
    ~~~~~~~~~~~~~~~~~~~~  ^
rdp.c:202:27: error: no member named 'fullscreen' in 'struct rdp_settings'; did you mean 'Fullscreen'?
    p_instance->settings->fullscreen = true;
                          ^~~~~~~~~~
                          Fullscreen
/usr/local/include/freerdp/settings.h:968:15: note: 'Fullscreen' declared here
        ALIGN64 BOOL Fullscreen; /* 1537 */
                     ^
rdp.c:203:27: error: no member named 'hostname' in 'struct rdp_settings'
    p_instance->settings->hostname = strdup( p_sys->psz_hostname );
    ~~~~~~~~~~~~~~~~~~~~  ^
rdp.c:204:27: error: no member named 'username' in 'struct rdp_settings'; did you mean 'Username'?
    p_instance->settings->username =
                          ^~~~~~~~
                          Username
/usr/local/include/freerdp/settings.h:759:16: note: 'Username' declared here
        ALIGN64 char* Username; /* 21 */
                      ^
rdp.c:206:27: error: no member named 'password' in 'struct rdp_settings'; did you mean 'Password'?
    p_instance->settings->password =
                          ^~~~~~~~
                          Password
/usr/local/include/freerdp/settings.h:760:16: note: 'Password' declared here
        ALIGN64 char* Password; /* 22 */
                      ^
  CC       libvcd_plugin_la-cdrom.lo
rdp.c:208:27: error: no member named 'port' in 'struct rdp_settings'
    p_instance->settings->port = p_sys->i_port;
    ~~~~~~~~~~~~~~~~~~~~  ^
rdp.c:209:27: error: no member named 'encryption' in 'struct rdp_settings'
    p_instance->settings->encryption =
    ~~~~~~~~~~~~~~~~~~~~  ^
rdp.c:220:36: error: no member named 'width' in 'struct rdp_settings'
             p_instance->settings->width,
             ~~~~~~~~~~~~~~~~~~~~  ^
./../include/vlc_messages.h:78:63: note: expanded from macro 'msg_Dbg'
    vlc_Log( VLC_OBJECT(p_this), VLC_MSG_DBG,  MODULE_STRING, __VA_ARGS__ )
                                                              ^
rdp.c:413:35: warning: incompatible pointer types assigning to 'pPreConnect' (aka 'BOOL (*)(freerdp *)') from 'bool (freerdp *)' [-Wincompatible-pointer-types]
    p_sys->p_instance->PreConnect = preConnectHandler;
                                  ^ ~~~~~~~~~~~~~~~~~
rdp.c:414:36: warning: incompatible pointer types assigning to 'pPostConnect' (aka 'BOOL (*)(freerdp *)') from 'bool (freerdp *)' [-Wincompatible-pointer-types]
    p_sys->p_instance->PostConnect = postConnectHandler;
                                   ^ ~~~~~~~~~~~~~~~~~~
rdp.c:415:37: warning: incompatible pointer types assigning to 'pAuthenticate' (aka 'BOOL (*)(freerdp *, char **, char **, char **)') from 'bool (freerdp *, char **, char **, char **)' [-Wincompatible-pointer-types]
    p_sys->p_instance->Authenticate = authenticateHandler;
                                    ^ ~~~~~~~~~~~~~~~~~~~
rdp.c:418:24: error: no member named 'context_size' in 'struct rdp_freerdp'; did you mean 'ContextSize'?
    p_sys->p_instance->context_size = sizeof( vlcrdp_context_t );
                       ^~~~~~~~~~~~
                       ContextSize
/usr/local/include/freerdp/freerdp.h:157:17: note: 'ContextSize' declared here
        ALIGN64 size_t ContextSize; /* (offset 32)
                       ^
5 warnings and 9 errors generated.
2 warnings generated.
gmake[7]: *** [librdp_plugin_la-rdp.lo] Error 1
gmake[7]: *** Waiting for unfinished jobs....
1 warning generated.
gmake[7]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.1.2/modules/access'
gmake[6]: *** [all-recursive] Error 1
gmake[6]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.1.2/modules/access'
gmake[5]: *** [all] Error 2
gmake[5]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.1.2/modules/access'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.1.2/modules'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.1.2'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.1.2'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

------------------------------

my make.conf (it has been built before):
CPUTYPE?=bdver1
WITH_PKGNG=yes
QT4_OPTIONS=CUPS QGTKSTYLE
KDE4_PREFIX=/usr/local
WITHOUT_NOUVEAU=yes
WITH_BDB_VER=5
>How-To-Repeat:
Try to build to port again.
>Fix:
Not known yet.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401171501.s0HF1cRk070781>