Bug#765154: [Pkg-electronics-devel] Bug#765154: gwave: FTBFS: build-dependency not installable: libgwrap-runtime-dev
Hello, On Wed, Mar 04, 2015 at 05:17:10PM -0500, Daniel T Chen wrote: > Attached is git commit against current src:gwave master from pkg-electronics > to resolve FTBFS. These changes were test-compiled against Ubuntu Vivid/amd64. > > diff --git a/debian/changelog b/debian/changelog > index 200ef65..f8f0a0f 100644 > --- a/debian/changelog > +++ b/debian/changelog > @@ -1,3 +1,13 @@ > +gwave (20090213-5ubuntu1) vivid-proposed; urgency=low > + > + * Rebased on Debian's git > + * Resolved FTBFS (Closes: #765154): > ++ Completed GH to scm transition > ++ Added missing variable declaration > ++ Added missing library to link > + > + -- Daniel T Chen Wed, 04 Mar 2015 12:15:14 -0500 > + ---end quoted text--- Thanks for submitting this patch. Yet I don't see its relevance to #765154 regarding libgwrap-runtime-dev build-dependency not installable. -- أحمد المحمودي (Ahmed El-Mahmoudy) Digital design engineer GPG KeyID: 0xEDDDA1B7 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 B176 BC19 6A94 EDDD A1B7 signature.asc Description: Digital signature
Bug#765154: gwave: FTBFS: build-dependency not installable: libgwrap-runtime-dev
Package: gwave Version: 20090213-5 Followup-For: Bug #765154 Dear Maintainer, Attached is git commit against current src:gwave master from pkg-electronics to resolve FTBFS. These changes were test-compiled against Ubuntu Vivid/amd64. -- System Information: Debian Release: jessie/sid APT prefers trusty-updates APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty-proposed'), (500, 'trusty'), (100, 'trusty-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-31-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash commit 2b2b5ea0bedbd0b0b23158c297efba715c199656 Author: Dan Date: Wed Mar 4 16:48:35 2015 -0500 Resolved FTBFS diff --git a/debian/changelog b/debian/changelog index 200ef65..f8f0a0f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +gwave (20090213-5ubuntu1) vivid-proposed; urgency=low + + * Rebased on Debian's git + * Resolved FTBFS (Closes: #765154): ++ Completed GH to scm transition ++ Added missing variable declaration ++ Added missing library to link + + -- Daniel T Chen Wed, 04 Mar 2015 12:15:14 -0500 + gwave (20090213-5) unstable; urgency=medium * debian/control: diff --git a/debian/control b/debian/control index 3defcf0..1eb8d48 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,8 @@ Source: gwave Section: electronics Priority: optional -Maintainer: Debian Electronics Team +Maintainer: Ubuntu Developers +Original-Maintainer: Debian Electronics Team Uploaders: Hamish Moffatt , أحمد المحمودي (Ahmed El-Mahmoudy) Standards-Version: 3.9.5 Build-Depends: debhelper (>= 9), libgtk2.0-dev, guile-2.0-dev | libguile-dev, libglib2.0-dev, libreadline-dev, guile-gnome2-dev, guile-cairo-dev, libgwrap-runtime-dev diff --git a/debian/patches/fix_as-needed_linking.diff b/debian/patches/fix_as-needed_linking.diff index 102b59b..87e470c 100644 --- a/debian/patches/fix_as-needed_linking.diff +++ b/debian/patches/fix_as-needed_linking.diff @@ -8,8 +8,10 @@ Bug-Debian: http://bugs.debian.org/641725 Bug-Ubuntu: https://launchpad.net/bugs/770956 Last-Update: 2011-09-15 a/spicefile/Makefile.am -+++ b/spicefile/Makefile.am +Index: gwave-20090213/spicefile/Makefile.am +=== +--- gwave-20090213.orig/spicefile/Makefile.am 2015-03-04 14:53:49.184605415 -0500 gwave-20090213/spicefile/Makefile.am 2015-03-04 14:53:49.180605415 -0500 @@ -10,11 +10,9 @@ noinst_PROGRAMS = test_read @@ -24,8 +26,10 @@ Last-Update: 2011-09-15 -sp2sp_LDADD= libspicefile.a +sp2sp_LDADD= libspicefile.a @GTK_LIBS@ a/src/Makefile.in -+++ b/src/Makefile.in +Index: gwave-20090213/src/Makefile.in +=== +--- gwave-20090213.orig/src/Makefile.in 2015-03-04 14:53:49.184605415 -0500 gwave-20090213/src/Makefile.in 2015-03-04 14:59:00.784607430 -0500 @@ -55,7 +55,7 @@ GtkTable_indel.$(OBJEXT) gwave_OBJECTS = $(am_gwave_OBJECTS) @@ -35,8 +39,19 @@ Last-Update: 2011-09-15 $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp a/spicefile/Makefile.in -+++ b/spicefile/Makefile.in +@@ -189,7 +189,7 @@ + rgeval.c xgserver.c measurebtn.c measurebtn.h \ + GtkTable_indel.c GtkTable_indel.h xsnarf.h + +-gwave_LDADD = ../spicefile/libspicefile.a @GTK_LIBS@ @GUILE_GNOME_LIBS@ -lX11 ++gwave_LDADD = ../spicefile/libspicefile.a @GTK_LIBS@ @GUILE_GNOME_LIBS@ -lX11 -lm + gwave_LDFLAGS = @GUILE_LDFLAGS@ + AM_CFLAGS = @GTK_CFLAGS@ @GUILE_CFLAGS@ @GUILE_GNOME_CFLAGS@ \ + -DDATADIR=\"$(datadir)\" -DBINGWAVE=\"$(bindir)/gwave\" +Index: gwave-20090213/spicefile/Makefile.in +=== +--- gwave-20090213.orig/spicefile/Makefile.in 2015-03-04 14:53:49.184605415 -0500 gwave-20090213/spicefile/Makefile.in 2015-03-04 14:53:49.184605415 -0500 @@ -186,11 +186,9 @@ libspicefile_a_SOURCES = spicestream.c ss_cazm.c ss_hspice.c ss_spice3.c ss_spice2.c ss_nsout.c spicestream.h wavefile.c wavefile.h spice2.h ssintern.h AM_CFLAGS = @GTK_CFLAGS@ diff --git a/debian/patches/guile2.0.diff b/debian/patches/guile2.0.diff index e4a6428..38b76b3 100644 --- a/debian/patches/guile2.0.diff +++ b/debian/patches/guile2.0.diff @@ -6,8 +6,8 @@ Bug-Debian: http://bugs.debian.org/746003 Index: gwave-20090213/src/scwm_guile.h === gwave-20090213.orig/src/scwm_guile.h -+++ gwave-20090213/src/scwm_guile.h +--- gwave-20090213.orig/src/scwm_guile.h 2015-03-04 14:59:23.528607577 -0500 gwave-20090213/src/scwm_guile.h 2015-03-04 14:59:23.524607577 -0500 @@ -12,7 +12,7 @@ #define SCWM_GUILE_H__ @@ -19,8 +19,8 @@ Index: gwave-20090213/src/scwm_guile.h Index: gwave-20090213/src/scwm_guile.c
Bug#765154: gwave: FTBFS: build-dependency not installable: libgwrap-runtime-dev
peter green wrote: Also fun it looks like theres a build-dependency loop between this and guile-gnome-platform, so if this is removed then reintroducing it will be fun :( Seems I was mistaken on this, I think I must have confused gwave and g-wrap -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#765154: gwave: FTBFS: build-dependency not installable: libgwrap-runtime-dev
I just tried to get this building for raspbian (due to our setup I preffer not to remove stuff from raspbian jessie until/unless it is removed from debian sid) but even making some pretty horrible hacks I just hit problem after problem after problem. My final debdiff is attached . It now fails with gcc -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -pthread -I/usr/include/guile/2.0 -std=gnu99 -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/guile-gnome-2 -I/usr/include/guile/2.0 -I/usr/include/guile-cairo -DDATADIR=\"/usr/share\" -DBINGWAVE=\"/usr/bin/gwave\" -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -lm -lm -Wl,--as-needed -o gwave cmd.o wavewin.o draw.o gwave.o event.o gtkmisc.o pixmaps.o wavelist.o dnd.o scwm_guile.o guile-compat.o init_scheme_string.o wavepanel.o rgeval.o xgserver.o measurebtn.o GtkTable_indel.o ../spicefile/libspicefile.a -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lguile-gnome-gobject-2 -lgobject-2.0 -lglib-2.0 -lgwrap-guile-runtime -lgwrap-core-runtime -lguile-2.0 -lgc -lffi -lguile-cairo -lcairo -lX11 /usr/bin/ld: scwm_guile.o: undefined reference to symbol 'gh_lookup' //usr/lib/libguile.so.17: error adding symbols: DSO missing from command line It seems pretty clear to me that bringing this package back to life will require significant effort from someone with a deep understanding of guile. Also fun it looks like theres a build-dependency loop between this and guile-gnome-platform, so if this is removed then reintroducing it will be fun :( diff -Nru gwave-20090213/debian/changelog gwave-20090213/debian/changelog --- gwave-20090213/debian/changelog 2014-09-12 07:02:54.0 + +++ gwave-20090213/debian/changelog 2014-11-22 22:42:48.0 + @@ -1,3 +1,14 @@ +gwave (20090213-5+rpi1) jessie-staging; urgency=medium + + * Add patch from http://anonscm.debian.org/cgit/pkg-electronics/gwave.git/commit/?id=431d303a7b99472fcc5b4281f48e0c4f6c6c817f +to fix include. + * Fix more instances of the same include issue + * Comment out some broken error handling code. + * Force linking with libm to fix missing symbols error + * Fix clean target + + -- Peter Michael Green Sat, 22 Nov 2014 17:05:17 + + gwave (20090213-5) unstable; urgency=medium * debian/control: diff -Nru gwave-20090213/debian/patches/guile2.0.diff gwave-20090213/debian/patches/guile2.0.diff --- gwave-20090213/debian/patches/guile2.0.diff 1970-01-01 00:00:00.0 + +++ gwave-20090213/debian/patches/guile2.0.diff 2014-11-22 17:45:00.0 + @@ -0,0 +1,58 @@ +Description: Update header for Guile 2.0 +Forwarded: https://sourceforge.net/p/gwave/patches/3/attachment/guile2.0.diff +Author: Ø£Ø٠د اÙÙ ØÙ Ùد٠(Ahmed El-Mahmoudy) +Author: Peter Michael Green +Bug: https://sourceforge.net/p/gwave/patches/3/ +Bug-Debian: http://bugs.debian.org/746003 + +Index: gwave-20090213/src/scwm_guile.h +=== +--- gwave-20090213.orig/src/scwm_guile.h gwave-20090213/src/scwm_guile.h +@@ -12,7 +12,7 @@ + #define SCWM_GUILE_H__ + + #include "arg_unused.h" +-#include ++#include + #include "validate.h" + #include + +Index: gwave-20090213/src/scwm_guile.c +=== +--- gwave-20090213.orig/src/scwm_guile.c gwave-20090213/src/scwm_guile.c +@@ -31,7 +31,6 @@ + #include + #include + +-#include + #include + #include + +Index: gwave-20090213/src/guile-compat.c +=== +--- gwave-20090213.orig/src/guile-compat.c gwave-20090213/src/guile-compat.c +@@ -24,7 +24,7 @@ + #include + #endif + #include +-#include ++#include + + #include "guile-compat.h" + +Index: gwave-20090213/src/rgeval.c +=== +--- gwave-20090213.orig/src/rgeval.c gwave-20090213/src/rgeval.c +@@ -8,7 +8,7 @@ + */ + #include + #include +-#include ++#include + + #ifdef HAVE_CONFIG_H + #include "config.h" diff -Nru gwave-20090213/debian/patches/remove-broken-error-handling.diff gwave-20090213/debian/patches/remove-broken-error-handling.diff --- gwave-20090213/debian/patches/remove-broken-error-handling.diff
Bug#765154: gwave: FTBFS: build-dependency not installable: libgwrap-runtime-dev
Source: gwave Version: 20090213-5 Severity: serious Tags: jessie sid User: debian...@lists.debian.org Usertags: qa-ftbfs-20141012 qa-ftbfs Justification: FTBFS on amd64 Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > ┌──┐ > │ Install gwave build dependencies (apt-based resolver) > │ > └──┘ > > Installing build dependencies > Reading package lists... > Building dependency tree... > Reading state information... > Some packages could not be installed. This may mean that you have > requested an impossible situation or if you are using the unstable > distribution that some required packages have not yet been created > or been moved out of Incoming. > The following information may help to resolve the situation: > > The following packages have unmet dependencies: > sbuild-build-depends-gwave-dummy : Depends: libgwrap-runtime-dev but it is > not going to be installed > E: Unable to correct problems, you have held broken packages. > apt-get failed. The full build log is available from: http://aws-logs.debian.net/ftbfs-logs/2014/10/12/gwave_20090213-5_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org