Processed: Re: Bug#777984: lives: ftbfs with GCC-5

2015-07-03 Thread Debian Bug Tracking System
Processing control commands:

 tags -1 patch fixed-upstream
Bug #777984 [src:lives] lives: ftbfs with GCC-5
Added tag(s) fixed-upstream and patch.

-- 
777984: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777984
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Bug#777984: lives: ftbfs with GCC-5

2015-07-03 Thread James Cowgill
Control: tags -1 patch fixed-upstream

On Thu, 2015-02-12 at 10:34 +, Matthias Klose wrote:
 The package fails to build in a test rebuild on at least amd64 with
 gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
 severity of this report may be raised before the stretch release.
[...]
 saveplay.o: In function `save_file':
 /«PKGBUILDDIR»/src/saveplay.c:1498: undefined reference to 
 `count_virtual_frames'
 /«PKGBUILDDIR»/src/saveplay.c:1663: undefined reference to 
 `count_virtual_frames'
 /«PKGBUILDDIR»/src/saveplay.c:1743: undefined reference to 
 `count_virtual_frames'
 saveplay.o: In function `backup_file':
 /«PKGBUILDDIR»/src/saveplay.c:3979: undefined reference to 
 `count_virtual_frames'
 callbacks.o: In function `on_paste_as_new_activate':
 /«PKGBUILDDIR»/src/callbacks.c:2639: undefined reference to 
 `count_virtual_frames'
 callbacks.o:/«PKGBUILDDIR»/src/callbacks.c:5534: more undefined references to 
 `count_virtual_frames' follow
 collect2: error: ld returned 1 exit status

This was fixed upstream here:
http://sourceforge.net/p/lives/code/2241/

Thanks,
JamesDescription: Add patch to fix FTBFS with GCC 5
Author: G. Finch salsa...@gmail.com
Bug-Debian: http://bugs.debian.org/777984
Applied-Upstream: http://sourceforge.net/p/lives/code/2241/
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/cvirtual.c
+++ b/src/cvirtual.c
@@ -19,7 +19,7 @@
 
 
 /** count virtual frames between start and end (inclusive) */
-LIVES_INLINE int count_virtual_frames(int *findex, int start, int end) {
+int count_virtual_frames(int *findex, int start, int end) {
   register int i;
   int count=0;
   for (i=start-1; iend; i++) if (findex[i]!=-1) count++;


signature.asc
Description: This is a digitally signed message part
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#777984: lives: ftbfs with GCC-5

2015-02-12 Thread Matthias Klose
Package: src:lives
Version: 2.2.6~ds0-1
Severity: normal
Tags: sid stretch
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/lives_2.2.6~ds0-1_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
   dvgrabw-stop = lives_button_new_from_stock (GTK_STOCK_MEDIA_STOP);
   ^
ldvinterface.c:124:3: warning: 'GtkStock' is deprecated 
[-Wdeprecated-declarations]
   dvgrabw-play = lives_button_new_from_stock (GTK_STOCK_MEDIA_PLAY);
   ^
ldvinterface.c:130:3: warning: 'gtk_button_set_use_stock' is deprecated 
[-Wdeprecated-declarations]
   gtk_button_set_use_stock(GTK_BUTTON(dvgrabw-play),TRUE);
   ^
In file included from /usr/include/gtk-3.0/gtk/gtk.h:54:0,
 from main.h:59,
 from ldvinterface.c:7:
/usr/include/gtk-3.0/gtk/gtkbutton.h:133:23: note: declared here
 void  gtk_button_set_use_stock  (GtkButton  *button,
   ^
ldvinterface.c:133:3: warning: 'GtkStock' is deprecated 
[-Wdeprecated-declarations]
   dvgrabw-grab = lives_button_new_from_stock (GTK_STOCK_MEDIA_RECORD);
   ^
ldvinterface.c:155:3: warning: 'GtkStock' is deprecated 
[-Wdeprecated-declarations]
   dvgrabw-quit = lives_button_new_from_stock (GTK_STOCK_CLOSE);
   ^
gcc -DPACKAGE_NAME=\LiVES\ -DPACKAGE_TARNAME=\lives\ 
-DPACKAGE_VERSION=\2.2.6\ -DPACKAGE_STRING=\LiVES\ 2.2.6\ 
-DPACKAGE_BUGREPORT=\https://sourceforge.net/p/lives/bugs/\; 
-DPACKAGE_URL=\\ -DPACKAGE=\lives\ -DVERSION=\2.2.6\ -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 
-DLT_OBJDIR=\.libs/\ -DSTDC_HEADERS=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 
-DGETTEXT_PACKAGE=\lives\ -DLOCALEDIR=\\$\{datarootdir\}/locale\ 
-DPREFIX=\/usr\ -DLiVES_VERSION=\2.2.6\ -DHAVE_VISIBILITY=1 
-DHAVE_STDINT_H_WITH_UINTMAX=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 
-DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -D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VE_WCSLEN=1 
-DHAVE_DECL__SNPRINTF=0 -DHAVE_DEC
 L__SNWPRINTF=0 -DHAVE_DECL_GETC_UNLOCKED=1 -DHAVE_LANGINFO_CODESET=1 
-DHAVE_LC_MESSAGES=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 
-DHAVE_LIBDL=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_LINUX_JOYSTICK_H=1 
-DHAVE_JACK_JACK_H=1 -DHAVE_JACK_TRANSPORT_H=1 -DHAVE_GLEE_H=1 
-DHAVE_GL_GLEE_H=1 -DHAVE_LIBV4L1_VIDEODEV_H=1 -DHAVE_LINUX_VIDEODEV2_H=1 
-DHAVE_FREI0R_H=1 -DHAVE_LIBRAW1394_RAW1394_H=1 -DHAVE_LIBAVC1394_AVC1394_H=1 
-DHAVE_LIBAVC1394_ROM1394_H=1 -I.  -DPACKAGE_DATA_DIR=\/usr/share\ 
-DLIVES_DIR=\\ -DPACKAGE_LOCALE_DIR=\/usr/share/locale\ -I .. -I 
../libOSC -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc 
-I/usr/include/mjpegtools/mplex -I/usr/include/unicap -pthread