bugGnome Chemistry Utils - Bugs: bug #25927, strange build problems with 0.10.4

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #25927: strange build problems with 0.10.4

Submitted by:  Julian Sikorski <belegdol>
Submitted on:  Thu 19 Mar 2009 12:37:44 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Closed

(Jump to the original submission Jump to the original submission)

Tue 22 Sep 2009 08:38:10 AM UTC, comment #8:

Looks like this one can be closed.

Jean Bréfort <jean_brefort>
Project Administrator
Fri 27 Mar 2009 10:02:24 PM UTC, comment #7:

It turns out my distribution's goffice package was missing /usr/lib/libgoffice-0.6.la which is necessary to build gnome-chemistrryutils-0.10.4.

Thanks for the help Jean.

Marios A. <marios>
Fri 27 Mar 2009 08:27:45 PM UTC, comment #6:

I get the following output :

GCONFTOOL = /usr/bin/gconftool-2
GCONF_SCHEMA_CONFIG_SOURCE = xml:merged:/etc/gconf/gconf.xml.defaults
GCONF_SCHEMA_FILE_DIR = $(sysconfdir)/gconf/schemas
gconf_CFLAGS = -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
gconf_LIBS = -lgconf-2 -lglib-2.0
gnome_vfs_CFLAGS = -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/include/gnome-vfs-module-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
gnome_vfs_LIBS = -pthread -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -lrt -lgmodule-2.0 -lgobject-2.0 -lglib-2.0
-DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include \

Marios A. <marios>
Fri 27 Mar 2009 06:28:47 PM UTC, comment #5:

What gives the following command?
grep gconf libs/gcu/Makefile

Jean Bréfort <jean_brefort>
Project Administrator
Fri 27 Mar 2009 05:20:35 PM UTC, comment #4:

There also seem to be errors when running 'make' for 0.10.4 on Archlinux. (libtool version is 2.2.6a-1)
Here is the relevant 'make' output :

[code]
...
Making all in 3d
make[3]: Entering directory `/media/disk/gnome-chemistry-utils-0.10.4/src/gnome-chemistry-utils-0.10.4/programs/3d'
g++ -DHAVE_CONFIG_H -DDATADIR=\"/usr/share\" -I. -I../.. -I../.. -I../../libs -I/usr/include/libgoffice-0.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libart-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/openbabel-2.0 -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/include/gnome-vfs-module-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -march=native -O2 -pipe -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cc
mv -f .deps/main.Tpo .deps/main.Po
/bin/sh ../../libtool --tag=CXX --mode=link g++ -march=native -O2 -pipe -o gchem3d-0.10 application.o document.o main.o view.o window.o ../../libs/gcu/libgcu-0.10.la
g++ -march=native -O2 -pipe -o .libs/gchem3d-0.10 application.o document.o main.o view.o window.o ../../libs/gcu/.libs/libgcu-0.10.so
main.o: In function `main':
main.cc:(.text+0xcf): undefined reference to `gnome_vfs_init'
../../libs/gcu/.libs/libgcu-0.10.so: undefined reference to `gconf_client_get_default'
../../libs/gcu/.libs/libgcu-0.10.so: undefined reference to `gconf_client_notify_add'
../../libs/gcu/.libs/libgcu-0.10.so: undefined reference to `gconf_client_get_string'
../../libs/gcu/.libs/libgcu-0.10.so: undefined reference to `gconf_client_notify_remove'
../../libs/gcu/.libs/libgcu-0.10.so: undefined reference to `gconf_value_get_bool'
../../libs/gcu/.libs/libgcu-0.10.so: undefined reference to `gconf_value_get_float'
../../libs/gcu/.libs/libgcu-0.10.so: undefined reference to `gconf_client_remove_dir'
../../libs/gcu/.libs/libgcu-0.10.so: undefined reference to `gconf_entry_get_key'
../../libs/gcu/.libs/libgcu-0.10.so: undefined reference to `gconf_entry_get_value'
../../libs/gcu/.libs/libgcu-0.10.so: undefined reference to `gconf_client_get_bool'
../../libs/gcu/.libs/libgcu-0.10.so: undefined reference to `gconf_value_get_string'
../../libs/gcu/.libs/libgcu-0.10.so: undefined reference to `gconf_client_get_float'
../../libs/gcu/.libs/libgcu-0.10.so: undefined reference to `gconf_client_add_dir'
collect2: ld returned 1 exit status
make[3]: *** [gchem3d-0.10] Error 1
make[3]: Leaving directory `/media/disk/gnome-chemistry-utils-0.10.4/src/gnome-chemistry-utils-0.10.4/programs/3d'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/media/disk/gnome-chemistry-utils-0.10.4/src/gnome-chemistry-utils-0.10.4/programs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/disk/gnome-chemistry-utils-0.10.4/src/gnome-chemistry-utils-0.10.4'
make: *** [all] Error 2
[/code]

Note : 0.10.3 still builds fine.

Marios A. <marios>
Wed 25 Mar 2009 04:38:45 PM UTC, comment #3:

ltmain.sh (GNU libtool) 1.5.26 Debian 1.5.26-4 (1.1220.2.493 2008/02/01 16:58:18)

Jean Bréfort <jean_brefort>
Project Administrator
Wed 25 Mar 2009 04:25:48 PM UTC, comment #2:

I see. I'd say we leave it as-is for now, since it builds in the buildsys anyway. What libtool version does Debian have?

Julian Sikorski <belegdol>
Project Member
Wed 25 Mar 2009 01:35:56 PM UTC, comment #1:

Looks like a new incompatibility between libtool versions in debian and fedora. Clearly, all necessary libraries should be lsted in libgchempaint-0.10.la and you have only ../../libs/gcp/.libs/libgchempaint-0.10.so, not the other libraries, so not a surprise if it fails.
I might of course put a comprehensive list of libraries, but that would probably bring #20617 back in.

Jean Bréfort <jean_brefort>
Project Administrator
Thu 19 Mar 2009 12:37:44 PM UTC, original submission:

Hi,

I found out that while 0.10.4 Fedora RPM builds fine in mock, it fails with plain rpmbuild with the following error:

Using Fedora's own libtool solves the problem, so does running autoreconf prior to the build (but that's probably the same thing).

Julian Sikorski <belegdol>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by marios (Posted a comment)
  • -unavailable- added by jean_brefort (Posted a comment)
  • -unavailable- added by belegdol (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 22 Sep 2009 08:38:10 AM UTCjean_brefortStatusNeed Info=>Invalid
      Open/ClosedOpen=>Closed
    Tue 07 Apr 2009 12:35:33 PM UTCjean_brefortStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1