php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40338 php-gtk CVS wont build
Submitted: 2007-02-03 01:29 UTC Modified: 2007-02-22 17:21 UTC
From: judas dot iscariote at gmail dot com Assigned:
Status: Closed Package: PHP-GTK related
PHP Version: 5CVS-2007-02-03 (CVS) OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: judas dot iscariote at gmail dot com
New email:
PHP Version: OS:

 

 [2007-02-03 01:29 UTC] judas dot iscariote at gmail dot com
Description:
------------
Current php-gtk CVS does not build properly also, ther eis a tiny bug in config.m4 that makes build to fail, for other reason in chrooted build enviroments.

patch (for the config.m4 problem only):

Index: config.m4
===================================================================
RCS file: /repository/php-gtk/config.m4,v
retrieving revision 1.18
diff -u -r1.18 config.m4
--- config.m4   10 Jun 2006 19:53:12 -0000      1.18
+++ config.m4   3 Feb 2007 01:25:07 -0000
@@ -79,4 +79,4 @@
 PHP_HELP_SEPARATOR([Libtool options:])

 echo "creating main/php_gtk_ext.c"
-sh $srcdir/build2/genext.sh $srcdir/main/php_gtk_ext.c.in $srcdir "" $AWK $PHP_GTK_EXTENSIONS > main/php_gtk_ext.c
+sh $srcdir/build2/genext.sh $srcdir/main/php_gtk_ext.c.in $srcdir "" $AWK $PHP_GTK_EXTENSIONS > $srcdir/main/php_gtk_ext.c



Reproduce code:
---------------
none.

Expected result:
----------------
build cleanly as a few days ago

Actual result:
--------------
/ext/gtk+/.libs/php_gtk+.o: In function `php_gtk_xshutdown_gtk_plus':
php_gtk+.c:(.text+0x0): multiple definition of `php_gtk_xshutdown_gtk_plus'
./ext/gtk+/.libs/php_gtk+.o:php_gtk+.c:(.text+0x0): first defined here
./ext/gtk+/.libs/php_gtk+.o: In function `php_gtk_xinit_gtk_plus':
php_gtk+.c:(.text+0x10): multiple definition of `php_gtk_xinit_gtk_plus'
./ext/gtk+/.libs/php_gtk+.o:php_gtk+.c:(.text+0x10): first defined here
./ext/gtk+/.libs/php_gtk+.o:(.data.rel+0x0): multiple definition of `gtk_plus_ext_entry'
./ext/gtk+/.libs/php_gtk+.o:(.data.rel+0x0): first defined here
ext/gtk+/.libs/gen_atk.o: In function `phpg_atk_register_constants':
gen_atk.c:(.text+0x0): multiple definition of `phpg_atk_register_constants'
ext/gtk+/.libs/gen_atk.o:gen_atk.c:(.text+0x0): first defined here
ext/gtk+/.libs/gen_atk.o: In function `phpg_atk_register_classes':
gen_atk.c:(.text+0x230): multiple definition of `phpg_atk_register_classes'
ext/gtk+/.libs/gen_atk.o:gen_atk.c:(.text+0x230): first defined here
ext/gtk+/.libs/gen_pango.o: In function `phpg_pango_register_constants':
gen_pango.c:(.text+0x90): multiple definition of `phpg_pango_register_constants'
ext/gtk+/.libs/gen_pango.o:gen_pango.c:(.text+0x90): first defined here
ext/gtk+/.libs/gen_pango.o: In function `phpg_pango_register_classes':
gen_pango.c:(.text+0x400): multiple definition of `phpg_pango_register_classes'
ext/gtk+/.libs/gen_pango.o:gen_pango.c:(.text+0x400): first defined here
ext/gtk+/.libs/gen_gdk.o: In function `phpg_gdk_register_constants':
gen_gdk.c:(.text+0x160): multiple definition of `phpg_gdk_register_constants'
ext/gtk+/.libs/gen_gdk.o:gen_gdk.c:(.text+0x160): first defined here
ext/gtk+/.libs/gen_gdk.o: In function `phpg_gdk_register_classes':
gen_gdk.c:(.text+0x820): multiple definition of `phpg_gdk_register_classes'
ext/gtk+/.libs/gen_gdk.o:gen_gdk.c:(.text+0x820): first defined here
ext/gtk+/.libs/gen_gdk.o: In function `phpg_gdkevent_get_properties_handler':
gen_gdk.c:(.text+0x5d80): multiple definition of `phpg_gdkevent_get_properties_handler'
ext/gtk+/.libs/gen_gdk.o:gen_gdk.c:(.text+0x5d80): first defined here
ext/gtk+/.libs/gen_gdk.o: In function `phpg_gdkcolor_write_property_handler':
gen_gdk.c:(.text+0x4760): multiple definition of `phpg_gdkcolor_write_property_handler'
ext/gtk+/.libs/gen_gdk.o:gen_gdk.c:(.text+0x4760): first defined here
ext/gtk+/.libs/gen_gdk.o: In function `phpg_gdkcolor_get_properties_handler':
gen_gdk.c:(.text+0x3ec0): multiple definition of `phpg_gdkcolor_get_properties_handler'
ext/gtk+/.libs/gen_gdk.o:gen_gdk.c:(.text+0x3ec0): first defined here
ext/gtk+/.libs/gen_gdk.o: In function `phpg_free_pixbuf_data':
gen_gdk.c:(.text+0x1fa0): multiple definition of `phpg_free_pixbuf_data'
ext/gtk+/.libs/gen_gdk.o:gen_gdk.c:(.text+0x1fa0): first defined here
ext/gtk+/.libs/gen_gtk.o: In function `phpg_gtk_register_constants':
gen_gtk.c:(.text+0x330): multiple definition of `phpg_gtk_register_constants'
ext/gtk+/.libs/gen_gtk.o:gen_gtk.c:(.text+0x330): first defined here
ext/gtk+/.libs/gen_gtk.o: In function `phpg_gtk_register_classes':
gen_gtk.c:(.text+0x2310): multiple definition of `phpg_gtk_register_classes'
ext/gtk+/.libs/gen_gtk.o:gen_gtk.c:(.text+0x2310): first defined here
ext/gtk+/.libs/gen_gtk.o: In function `phpg_tree_model_foreach_marshal':
gen_gtk.c:(.text+0xc760): multiple definition of `phpg_tree_model_foreach_marshal'
ext/gtk+/.libs/gen_gtk.o:gen_gtk.c:(.text+0xc760): first defined here
ext/gtk+/.libs/php_gdk.o: In function `phpg_gdk_register_keysyms':
php_gdk.c:(.text+0x0): multiple definition of `phpg_gdk_register_keysyms'
ext/gtk+/.libs/php_gdk.o:php_gdk.c:(.text+0x0): first defined here
ext/gtk+/.libs/php_gtk+_types.o: In function `style_helper_destroy_object':
php_gtk+_types.c:(.text+0x10): multiple definition of `style_helper_destroy_object'
ext/gtk+/.libs/php_gtk+_types.o:php_gtk+_types.c:(.text+0x10): first defined here
ext/gtk+/.libs/php_gtk+_types.o: In function `php_gtk_plus_register_types':
php_gtk+_types.c:(.text+0x30): multiple definition of `php_gtk_plus_register_types'
ext/gtk+/.libs/php_gtk+_types.o:php_gtk+_types.c:(.text+0x30): first defined here
ext/gtk+/.libs/php_gtk+_types.o:(.bss+0x0): multiple definition of `gtktreemodelrow_ce'
ext/gtk+/.libs/php_gtk+_types.o:(.bss+0x0): first defined here
ext/gtk+/.libs/php_gtk+_types.o:(.bss+0x8): multiple definition of `gtktreemodelrowiter_ce'
ext/gtk+/.libs/php_gtk+_types.o:(.bss+0x8): first defined here
ext/gtk+/.libs/php_gtk+_types.o: In function `phpg_modelrowiter_get_iterator':
php_gtk+_types.c:(.text+0x200): multiple definition of `phpg_modelrowiter_get_iterator'
ext/gtk+/.libs/php_gtk+_types.o:php_gtk+_types.c:(.text+0x200): first defined here
ext/gtk+/.libs/php_gtk+_types.o: In function `phpg_modelrow_new':
php_gtk+_types.c:(.text+0x260): multiple definition of `phpg_modelrow_new'
ext/gtk+/.libs/php_gtk+_types.o:php_gtk+_types.c:(.text+0x260): first defined here
ext/gtk+/.libs/php_gtk+_types.o: In function `phpg_model_remove_row':
php_gtk+_types.c:(.text+0xaa0): multiple definition of `phpg_model_remove_row'
ext/gtk+/.libs/php_gtk+_types.o:php_gtk+_types.c:(.text+0xaa0): first defined here
ext/gtk+/.libs/php_gtk+_types.o: In function `phpg_model_set_row':
php_gtk+_types.c:(.text+0xc60): multiple definition of `phpg_model_set_row'
ext/gtk+/.libs/php_gtk+_types.o:php_gtk+_types.c:(.text+0xc60): first defined here
ext/gtk+/.libs/php_gtk+_types.o: In function `phpg_create_style_helper':
php_gtk+_types.c:(.text+0x1030): multiple definition of `phpg_create_style_helper'
ext/gtk+/.libs/php_gtk+_types.o:php_gtk+_types.c:(.text+0x1030): first defined here
ext/gtk+/.libs/php_gtk+_types.o: In function `style_helper_get_class_name':
php_gtk+_types.c:(.text+0x1200): multiple definition of `style_helper_get_class_name'
ext/gtk+/.libs/php_gtk+_types.o:php_gtk+_types.c:(.text+0x1200): first defined here
ext/gtk+/.libs/php_gtk+_types.o: In function `phpg_tree_path_to_zval':
php_gtk+_types.c:(.text+0x1230): multiple definition of `phpg_tree_path_to_zval'
ext/gtk+/.libs/php_gtk+_types.o:php_gtk+_types.c:(.text+0x1230): first defined here
ext/gtk+/.libs/php_gtk+_types.o: In function `phpg_tree_path_from_zval':
php_gtk+_types.c:(.text+0x1340): multiple definition of `phpg_tree_path_from_zval'
ext/gtk+/.libs/php_gtk+_types.o:php_gtk+_types.c:(.text+0x1340): first defined here
ext/gtk+/.libs/php_gtk+_types.o: In function `phpg_rectangle_from_zval':
php_gtk+_types.c:(.text+0x1630): multiple definition of `phpg_rectangle_from_zval'
ext/gtk+/.libs/php_gtk+_types.o:php_gtk+_types.c:(.text+0x1630): first defined here
ext/gtk+/.libs/php_gtk+_types.o: In function `phpg_treemodel_get_iterator':
php_gtk+_types.c:(.text+0x1770): multiple definition of `phpg_treemodel_get_iterator'
ext/gtk+/.libs/php_gtk+_types.o:php_gtk+_types.c:(.text+0x1770): first defined here
ext/gtk+/.libs/php_gtk+_types.o: In function `phpg_gtktreemodel_read_dimension_handler':
php_gtk+_types.c:(.text+0x1820): multiple definition of `phpg_gtktreemodel_read_dimension_handler'
ext/gtk+/.libs/php_gtk+_types.o:php_gtk+_types.c:(.text+0x1820): first defined here
ext/gtk+/.libs/php_gtk+_types.o: In function `phpg_gtktreemodel_count_elements_handler':
php_gtk+_types.c:(.text+0x1dd0): multiple definition of `phpg_gtktreemodel_count_elements_handler'
ext/gtk+/.libs/php_gtk+_types.o:php_gtk+_types.c:(.text+0x1dd0): first defined here
ext/gtk+/.libs/php_gtk+_types.o: In function `phpg_gtktreemodel_has_dimension_handler':
php_gtk+_types.c:(.text+0x1e60): multiple definition of `phpg_gtktreemodel_has_dimension_handler'
ext/gtk+/.libs/php_gtk+_types.o:php_gtk+_types.c:(.text+0x1e60): first defined here
ext/gtk+/.libs/php_gtk+_types.o: In function `phpg_gtktreemodel_write_dimension_handler':
php_gtk+_types.c:(.text+0x1f90): multiple definition of `phpg_gtktreemodel_write_dimension_handler'
ext/gtk+/.libs/php_gtk+_types.o:php_gtk+_types.c:(.text+0x1f90): first defined here
ext/gtk+/.libs/phpg_custom_tree_model.o: In function `phpg_custom_tree_model_get_type':
phpg_custom_tree_model.c:(.text+0xb0): multiple definition of `phpg_custom_tree_model_get_type'
ext/gtk+/.libs/phpg_custom_tree_model.o:phpg_custom_tree_model.c:(.text+0xb0): first defined here
ext/gtk+/.libs/phpg_custom_tree_model.o: In function `phpg_custom_tree_model_new':
phpg_custom_tree_model.c:(.text+0x100): multiple definition of `phpg_custom_tree_model_new'
ext/gtk+/.libs/phpg_custom_tree_model.o:phpg_custom_tree_model.c:(.text+0x100): first defined here
collect2: ld returned 1 exit status
make: *** [php_gtk2.la] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.51716 (%build)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-22 17:21 UTC] andrei@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC