On Mon, Oct 21, 2013 at 6:23 AM, Daniel Holbach
<[email protected]> wrote:
> This unfortunately fails to build on trusty amd64:
>
> [  2%] Building C object CMakeFiles/csound64.dir/Engine/envvar.c.o
> /usr/bin/x86_64-linux-gnu-gcc  
> -DCS_DEFAULT_PLUGINDIR=\"/usr/lib/csound/plugins64-6.0\" -DHAVE_STRTOD_L 
> -DHAVE_STRTOK_R -DLINUX -DPIPES -DUSE_DOUBLE -DUSE_LRINT -D_CSOUND_RELEASE_ 
> -D_GNU_SOURCE -Dcsound64_EXPORTS -g -O2 -fstack-protector 
> --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall 
> -D_FORTIFY_SOURCE=2 -DHAVE_ATOMIC_BUILTIN -fPIC 
> -I"/tmp/buildd/csound-6.00.1~dfsg/./H" 
> -I"/tmp/buildd/csound-6.00.1~dfsg/./include" 
> -I"/tmp/buildd/csound-6.00.1~dfsg/./Engine" 
> -I"/tmp/buildd/csound-6.00.1~dfsg/." 
> -I"/tmp/buildd/csound-6.00.1~dfsg/obj-x86_64-linux-gnu"     -ftree-vectorize 
> -ffast-math -O3  -mtune=generic  -fvisibility=hidden -Wno-format   
> -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT 
> -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H 
> -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H 
> -DHAVE_VALUES_H -o CMakeFiles/csound64.dir/Engine/envvar.c.o   -c 
> "/tmp/buildd/csound-6.00.1~dfsg/Engine/envvar.c"
> /tmp/buildd/csound-6.00.1~dfsg/Engine/envvar.c: In function 'csoundParseEnv':
> /tmp/buildd/csound-6.00.1~dfsg/Engine/envvar.c:383:7: error: format not a 
> string literal and no format arguments [-Werror=format-security]
>        csoundMessage(csound, Str(msg));
>        ^
> /tmp/buildd/csound-6.00.1~dfsg/Engine/envvar.c: In function 
> 'csoundGetDirectoryForPath':
> /tmp/buildd/csound-6.00.1~dfsg/Engine/envvar.c:720:7: error: format not a 
> string literal and no format arguments [-Werror=format-security]
>        csoundDie(csound, Str("Current directory path name too long\n"));
>        ^


Hmm. Str is the csound name for gettext. Is it possible to disable
this -Werror? Or do I need to patch the source to pass "%s" as the
first string everywhere?


--

Saludos,
Felipe Sateler

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1240227

Title:
  Sync csound 1:6.00.1~dfsg-2 (universe) from Debian unstable (main)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/csound/+bug/1240227/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to