Bug#317490: FTBFS: invalid lvalues in assignments
Matt Kraai
Matt Kraai <kraai@ftbfs.org>, 317490@bugs.debian.org
Fri Jul 8 20:42:55 UTC 2005
--KFztAG8eRSV9hGtP
Content-Type: multipart/mixed; boundary="UlVJffcvxoiEqYs2"
Content-Disposition: inline
--UlVJffcvxoiEqYs2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Package: alleyoop
Version: 0.8.2-3.1
Severity: serious
Tags: patch
alleyoop fails to build:
if cc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=3D\""/usr/share"\" -D=
PACKAGE_LOCALE_DIR=3D\""/usr/share/locale"\" -DPACKAGE_GLADE_DIR=3D\"""\" -=
DXTHREADS -DORBIT2=3D1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0=
/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/inc=
lude -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetyp=
e2 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/libgno=
meui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/u=
sr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0=
-I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome=
-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-=
2.0 -g -Wall -O2 -MT vgrule-editor.o -MD -MP -MF ".deps/vgrule-editor.=
Tpo" \
-c -o vgrule-editor.o `test -f 'vgrule-editor.c' || echo './'`vgrule-edit=
or.c; \
then mv -f ".deps/vgrule-editor.Tpo" ".deps/vgrule-editor.Po"; \
else rm -f ".deps/vgrule-editor.Tpo"; exit 1; \
fi
vgrule-editor.c: In function 'vg_rule_editor_init':
vgrule-editor.c:230: error: invalid lvalue in assignment
vgrule-editor.c:240: error: invalid lvalue in assignment
vgrule-editor.c:250: error: invalid lvalue in assignment
vgrule-editor.c:253: error: invalid lvalue in assignment
vgrule-editor.c:264: error: invalid lvalue in assignment
vgrule-editor.c:279: error: invalid lvalue in assignment
vgrule-editor.c: In function 'vg_rule_editor_new_from_summary':
vgrule-editor.c:365: warning: unused variable 'inptr'
vgrule-editor.c: In function 'vg_rule_editor_save':
vgrule-editor.c:542: warning: implicit declaration of function 'vg_suppress=
ions_file_append_rule'
make[4]: *** [vgrule-editor.o] Error 1
make[4]: Leaving directory `/tmp/buildd/alleyoop-0.8.2/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/buildd/alleyoop-0.8.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/alleyoop-0.8.2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/alleyoop-0.8.2'
make: *** [debian/stamp-makefile-build] Error 2
It fails because it casts the lvalues of some assignments. The
attached patch fixes the problem.
--=20
Matt
--UlVJffcvxoiEqYs2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch
Content-Transfer-Encoding: quoted-printable
diff -u alleyoop-0.8.2/config.guess alleyoop-0.8.2/config.guess
--- alleyoop-0.8.2/config.guess
+++ alleyoop-0.8.2/config.guess
@@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
=20
-timestamp=3D'2005-03-24'
+timestamp=3D'2005-04-22'
=20
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -1140,6 +1140,10 @@
# From seanf@swdc.stratus.com.
echo i860-stratus-sysv4
exit 0 ;;
+ i*86:VOS:*:*)
+ # From Paul.Green@stratus.com.
+ echo ${UNAME_MACHINE}-stratus-vos
+ exit 0 ;;
*:VOS:*:*)
# From Paul.Green@stratus.com.
echo hppa1.1-stratus-vos
diff -u alleyoop-0.8.2/config.sub alleyoop-0.8.2/config.sub
--- alleyoop-0.8.2/config.sub
+++ alleyoop-0.8.2/config.sub
@@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
=20
-timestamp=3D'2005-02-10'
+timestamp=3D'2005-04-22'
=20
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
@@ -231,6 +231,7 @@
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[6=
7] \
| am33_2.0 \
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
+ | bfin \
| c4x | clipper \
| d10v | d30v | dlx | dsp16xx \
| fr30 | frv \
@@ -262,7 +263,8 @@
| pyramid \
| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
| sh64 | sh64le \
- | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 |=
sparcv9b \
+ | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
+ | sparcv8 | sparcv9 | sparcv9b \
| strongarm \
| tahoe | thumb | tic4x | tic80 | tron \
| v850 | v850e \
@@ -298,7 +300,7 @@
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
| avr-* \
- | bs2000-* \
+ | bfin-* | bs2000-* \
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
| clipper-* | craynv-* | cydra-* \
| d10v-* | d30v-* | dlx-* \
@@ -336,7 +338,8 @@
| romp-* | rs6000-* \
| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
- | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
+ | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
+ | sparclite-* \
| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
| tahoe-* | thumb-* \
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
only in patch2:
unchanged:
--- alleyoop-0.8.2.orig/src/vgrule-editor.c
+++ alleyoop-0.8.2/src/vgrule-editor.c
@@ -227,7 +227,8 @@
label =3D gtk_label_new (_("Rule name:"));
gtk_widget_show (label);
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
- editor->name =3D (GtkEntry *) widget =3D gtk_entry_new ();
+ widget =3D gtk_entry_new ();
+ editor->name =3D (GtkEntry *) widget;
gtk_widget_show (widget);
gtk_box_pack_start (GTK_BOX (hbox), widget, TRUE, TRUE, 0);
gtk_widget_show (hbox);
@@ -237,7 +238,8 @@
label =3D gtk_label_new (_("Suppress messages of type:"));
gtk_widget_show (label);
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
- editor->type =3D (GtkOptionMenu *) widget =3D rule_type_menu_new (editor);
+ widget =3D rule_type_menu_new (editor);
+ editor->type =3D (GtkOptionMenu *) widget;
gtk_widget_show (widget);
gtk_box_pack_start (GTK_BOX (hbox), widget, TRUE, TRUE, 0);
gtk_widget_show (hbox);
@@ -247,10 +249,12 @@
label =3D gtk_label_new (_("Suppress when using:"));
gtk_widget_show (label);
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
- editor->addrcheck =3D (GtkToggleButton *) widget =3D gtk_check_button_new=
_with_label ("Addrcheck");
+ widget =3D gtk_check_button_new_with_label ("Addrcheck");
+ editor->addrcheck =3D (GtkToggleButton *) widget;
gtk_widget_show (widget);
gtk_box_pack_start (GTK_BOX (hbox), widget, FALSE, FALSE, 0);
- editor->memcheck =3D (GtkToggleButton *) widget =3D gtk_check_button_new_=
with_label ("Memcheck");
+ widget =3D gtk_check_button_new_with_label ("Memcheck");
+ editor->memcheck =3D (GtkToggleButton *) widget;
gtk_widget_show (widget);
gtk_box_pack_start (GTK_BOX (hbox), widget, FALSE, FALSE, 0);
gtk_widget_show (hbox);
@@ -261,7 +265,8 @@
gtk_misc_set_alignment ((GtkMisc *) label, 1.0, 0.5);
gtk_widget_show (label);
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
- editor->syscall =3D (GtkEntry *) widget =3D gtk_entry_new ();
+ widget =3D gtk_entry_new ();
+ editor->syscall =3D (GtkEntry *) widget;
gtk_widget_show (widget);
gtk_widget_set_sensitive (widget, FALSE);
gtk_box_pack_start (GTK_BOX (hbox), widget, TRUE, TRUE, 0);
@@ -276,7 +281,8 @@
/*editor->callers =3D g_ptr_array_new ();
g_ptr_array_add (editor->callers, call_stack_frame_new (0, NULL));*/
=09
- editor->call_stack =3D (GtkBox *) widget =3D call_stack_new (editor);
+ widget =3D call_stack_new (editor);
+ editor->call_stack =3D (GtkBox *) widget;
gtk_widget_show (widget);
gtk_box_pack_start (GTK_BOX (vbox), widget, TRUE, TRUE, 0);
}
only in patch2:
unchanged:
--- alleyoop-0.8.2.orig/src/vgsearchbar.c
+++ alleyoop-0.8.2/src/vgsearchbar.c
@@ -132,11 +132,13 @@
=09
bar->item_id =3D -1;
=09
- bar->menu =3D (GtkOptionMenu *) widget =3D gtk_option_menu_new ();
+ widget =3D gtk_option_menu_new ();
+ bar->menu =3D (GtkOptionMenu *) widget;
gtk_widget_show (widget);
gtk_box_pack_start ((GtkBox *) bar, widget, FALSE, FALSE, 0);
=09
- bar->entry =3D (GtkEntry *) widget =3D gtk_entry_new ();
+ widget =3D gtk_entry_new ();
+ bar->entry =3D (GtkEntry *) widget;
gtk_widget_show (widget);
gtk_box_pack_start ((GtkBox *) bar, widget, TRUE, TRUE, 0);
g_signal_connect (bar->entry, "activate", G_CALLBACK (entry_activate), ba=
r);
--UlVJffcvxoiEqYs2--
--KFztAG8eRSV9hGtP
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCzuVOfNdgYxVXvBARAnX+AJwJrfb6gmcp11x6n3nnnqjyiKTXrgCgpJ7m
lFs3oxAQWAAZQk+asb9dk7A=
=A36F
-----END PGP SIGNATURE-----
--KFztAG8eRSV9hGtP--
More information about the Pkg-gnome-maintainers
mailing list