Bug#885200: Package gwave needs to be upgraded

2019-03-29 Thread أحمد المحمودي
Hello,

On Sat, Jan 26, 2019 at 03:19:08AM +0100, أحمد المحمودي wrote:
> On Tue, Jan 15, 2019 at 11:39:18PM -0500, Steve Tell wrote:
> > I just got a version working with guile-2.2, although its off on a side
> > development branch in my sourceforge tree at the moment:
> > https://sourceforge.net/p/gwave/code/HEAD/tree/branches/no-ggp-branch/
> > [...]
> > Anyway, I expect to make some kind of a release shortly.  I'll probably
> > integrate the no-ggp branch onto the head, since that's my plan going
> > forward.
> ---end quoted text---
> 
> I tried to build gwave 20190116, but I got this error on during 
> configure phase:
> 
> configure: checking for guile 2.2
> configure: found guile 2.2
> checking for guile-2.2... /usr/bin/guile-2.2
> checking for Guile version >= 2.2... 2.2.4
> checking for guild-2.2... no
> checking for guile-config-2.2... no
> checking for guile-tools-2.2... no
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking for ld used by gcc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for shared library run path origin... done
> checking for GUILE... yes
> configure: error: 'guild' binary not found; please check your guile-2.x 
> installation.
> 
> although guile-2.2-dev does have /usr/bin/guild !
> 
> anyways I have pushed my work to salsa:
> https://salsa.debian.org/electronics-team/gwave.git
---end quoted text---

I found that this problem happens if I run dh_autoreconf. The problem is 
because after autoreconf, the configure script searches for guild with 
the -2.2 suffix, yet the guile-2.2-dev package installs guild without 
that suffix, although guile binary has the -2.2 suffix in guile-2.2 
package. Yet in /usr/share/aclocal/guile.m4 it says:

# @code{guile} is still not found, signal an error. The suffix, if any,
# that was required to find @code{guile} will be used for @code{guild}
# as well.

So I beleive that that there is an issue with guile-2.2 package

Otherwise if autoreconf isn't used, the configure script does find guild 
(since it doesn't use the -2.2 suffix) to search for guild, but the 
build fails with the following error:

gcc -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/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/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid 
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 
-I/usr/include/fribidi -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid 
-I/usr/include/freetype2 -I/usr/include/libpng16 -pthread 
-I/usr/include/guile/2.2 -DDATADIR=\"/usr/share\" -DBINGWAVE=\"/usr/bin/gwave\" 
-g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -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 -lm -lX11
/usr/bin/ld: wavepanel.o: in function `set_wavepanel_minheight_x':
./src/wavepanel.c:651: undefined reference to `scm_to_int64'
/usr/bin/ld: ./src/wavepanel.c:650: undefined reference to `scm_wrong_type_arg'
/usr/bin/ld: ./src/wavepanel.c:651: undefined reference to `scm_wrong_type_arg'
/usr/bin/ld: ./src/wavepanel.c:651: undefined reference to `scm_from_int64'
/usr/bin/ld: ./src/wavepanel.c:651: undefined reference to `scm_from_int64'
/usr/bin/ld: ./src/wavepanel.c:651: undefined reference to `scm_from_int64'
/usr/bin/ld: ./src/wavepanel.c:651: undefined reference to `scm_list_n'
/usr/bin/ld: ./src/wavepanel.c:651: undefined reference to `scm_misc_error'
/usr/bin/ld: wavepanel.o: in function `visiblewave_button3_connect':
./src/wavepanel.c:743: undefined reference to `scm_procedure_p'
/usr/bin/ld: ./src/wavepanel.c:748: undefined reference to 
`scm_gc_protect_object'
/usr/bin/ld: ./src/wavepanel.c:742: undefined reference to `scm_wrong_type_arg'
/usr/bin/ld: ./src/wavepanel.c:743: undefined reference to `scm_wrong_type_arg'
/usr/bin/ld: wavepanel.o: in function `wavepanel_bind_mouse':
./src/wavepanel.c:547: undefined reference to `scm_to_int64'
/usr/bin/ld: ./src/wavepanel.c:548: undefined reference to `scm_procedure_p'
/usr/bin/ld: ./src/wavepanel.c:556: undefined reference to 
`scm_gc_protect_object'
/usr/bin/ld: ./src/wavepanel.c:547: undefined reference to `scm_wrong_type_arg'
/usr/bin/ld: ./src/wavepanel.c:548: undefined reference to `scm_wrong_type_arg'
/usr/bin/ld: ./src/wavepanel.c:547: undefined reference to `scm_from_int64'
/usr/bin/ld: ./src/wavepanel.c:547: undefined reference to `scm_

Bug#885200: Package gwave needs to be upgraded

2019-01-25 Thread أحمد المحمودي
Hello,

On Tue, Jan 15, 2019 at 11:39:18PM -0500, Steve Tell wrote:
> I just got a version working with guile-2.2, although its off on a side
> development branch in my sourceforge tree at the moment:
> https://sourceforge.net/p/gwave/code/HEAD/tree/branches/no-ggp-branch/
> [...]
> Anyway, I expect to make some kind of a release shortly.  I'll probably
> integrate the no-ggp branch onto the head, since that's my plan going
> forward.
---end quoted text---

I tried to build gwave 20190116, but I got this error on during 
configure phase:

configure: checking for guile 2.2
configure: found guile 2.2
checking for guile-2.2... /usr/bin/guile-2.2
checking for Guile version >= 2.2... 2.2.4
checking for guild-2.2... no
checking for guile-config-2.2... no
checking for guile-tools-2.2... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for GUILE... yes
configure: error: 'guild' binary not found; please check your guile-2.x 
installation.

although guile-2.2-dev does have /usr/bin/guild !

anyways I have pushed my work to salsa:
https://salsa.debian.org/electronics-team/gwave.git


-- 
‎أحمد المحمودي (Ahmed El-Mahmoudy)
 Digital design engineer
GPG KeyIDs: 4096R/A7EF5671 2048R/EDDDA1B7
GPG Fingerprints:
 6E2E E4BB 72E2 F417 D066  6ABF 7B30 B496 A7EF 5761
 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7


signature.asc
Description: PGP signature