pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52457: audio/rplay does not compile on NetBSD 7.1



>Number:         52457
>Category:       pkg
>Synopsis:       audio/rplay does not compile on NetBSD 7.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 02 21:05:00 +0000 2017
>Originator:     Joern Clausen
>Release:        7.1
>Organization:
>Environment:
>Description:
Compiling audio/rplay fails on NetBSD 7.1/amd64 with

gcc -c -I/usr/pkg/include -I/usr/include -I. -I../include -I. -I./../include  -I./../lib -I./../adpcm   -DHAVE_CONFIG_H  -DRPLAY_CONF=\"/usr/pkg/etc/rplay.conf\"  -DRPLAY_HOSTS=\"/usr/pkg/etc/rplay.hosts\"  -DRPLAY_SERVERS=\"/usr/pkg/etc/rplay.servers\"  -DRPLAY_HELPERS=\"/usr/pkg/etc/rplay.helpers\"  -DRPLAY_CACHE=\"/tmp/.rplay-cache\"  -DRPLAY_LOG=\"/tmp/rplay.log\"  -DRPLAYDRC=\"\~/.rplaydrc\" -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include cache.c
cache.c: In function 'cache_next':
cache.c:131:88: error: macro "__ssp_bos" passed 2 arguments, but takes just 1
     SNPRINTF(SIZE(cache_path, sizeof(cache_path)), "%s/%s", cache_directory, dp->d_name);
                                                                                        ^
In file included from /usr/include/stdio.h:593:0,
                 from cache.c:40:
../include/config.h:291:18: error: '__ssp_bos' undeclared (first use in this function)
 #define SNPRINTF snprintf
                  ^
cache.c:131:5: note: in expansion of macro 'SNPRINTF'
     SNPRINTF(SIZE(cache_path, sizeof(cache_path)), "%s/%s", cache_directory, dp->d_name);
     ^
../include/config.h:291:18: note: each undeclared identifier is reported only once for each function it appears in
 #define SNPRINTF snprintf
                  ^
cache.c:131:5: note: in expansion of macro 'SNPRINTF'


and some more failures.
>How-To-Repeat:

>Fix:
Instead of fixing rplay, removing it as a dependency for wm/vtwm is also okay for me :)



Home | Main Index | Thread Index | Old Index