After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 394481 - Build Error in SVN
Build Error in SVN
Status: RESOLVED FIXED
Product: beagle
Classification: Other
Component: General
0.2.14
Other Linux
: Normal critical
: ---
Assigned To: Kevin Kubasik
Beagle Bugs
Depends on:
Blocks:
 
 
Reported: 2007-01-09 01:30 UTC by Kevin Kubasik
Modified: 2007-01-18 20:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix build (927 bytes, patch)
2007-01-09 01:33 UTC, Kevin Kubasik
rejected Details | Review
log of autogen.sh run (11.12 KB, text/plain)
2007-01-09 04:34 UTC, Kevin Kubasik
  Details

Description Kevin Kubasik 2007-01-09 01:30:05 UTC
I get the following build error from a fresh SVN checkout

error CS0006: cannot find metadata file `../Util/Util.dll'
Compilation failed: 1 error(s), 0 warnings
make[2]: *** [Images.dll] Error 1
make[2]: Leaving directory `/home/kjk38/mysrc/beagle/images'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kjk38/mysrc/beagle'
make: *** [all] Error 2
Comment 1 Kevin Kubasik 2007-01-09 01:33:51 UTC
Created attachment 79811 [details] [review]
Fix build

Ok, I committed this patch to fix the two build errors I was getting from a fresh SVN checkout, I hope this doesn't break for anyone else, if it does, please revert and we will work on the problem here. The second error I experianced (once Util.dll and BeagleClient/Beagle.dll were built manualy) was this:

/usr/bin/install -c beagle-build-index.tmp /usr/sbin/beagle-build-index
/bin/sh: line 1: beagle-dump-index: No such file or directory
/usr/bin/install -c beagle-dump-index.tmp /usr/sbin/beagle-dump-index
/usr/bin/install: cannot stat `beagle-dump-index.tmp': No such file or directory
make[2]: *** [install-data-local] Error 1
make[2]: Leaving directory `/home/kjk38/mysrc/beagle/beagled'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/kjk38/mysrc/beagle/beagled'
make: *** [install-recursive] Error 1
Comment 2 Joe Shaw 2007-01-09 03:50:46 UTC
What version of automake are you using?
Comment 3 Joe Shaw 2007-01-09 03:51:40 UTC
If all these things are failing, it looks like there is a bigger issue during at autogen-time.  Can you attach the output of an autogen run?  (With the Makefile.am as it originally was)
Comment 4 Joe Shaw 2007-01-09 04:01:30 UTC
The changes to beagled/Makefile.am need to be backed out, the dump index tool stuff is already in CLEANFILES.
Comment 5 Kevin Kubasik 2007-01-09 04:32:05 UTC
kjk38@kjk38-laptop:~/bin$ automake --version
automake (GNU automake) 1.9.6
Written by Tom Tromey <tromey@redhat.com>.

Copyright 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


and I backed out of the changes made to beagled/Makefile.am, I'll attach the autogen output in a moment.
Comment 6 Kevin Kubasik 2007-01-09 04:34:53 UTC
Created attachment 79819 [details]
log of autogen.sh run

The following output did no get dumped to the file, but here it is:

acinclude.m4:124: warning: underquoted definition of AM_CHECK_PYMOD
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
/usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG
/usr/share/aclocal/progsreiserfs.m4:13: warning: underquoted definition of AC_CHECK_LIBREISERFS
cat: /etc/ld.so.conf.d/*.conf: No such file or directory
cat: /etc/ld.so.conf.d/*.conf: No such file or directory
Comment 7 Kevin Kubasik 2007-01-09 04:40:37 UTC
Ok, this seems to be a case of the outdated/misdated/wrong gnome-common. I checked out the current svn of gnome-common and installed, then re-autogened and everything was fine, I'll revert the other changes as well.
Comment 8 Debajyoti Bera 2007-01-13 20:09:43 UTC
Since its a case of "outdated/misdated/wrong gnome-common", its notabug - right :) ?
Comment 9 Max Wiehle 2007-01-18 13:00:22 UTC
I am seeing something similar related to the Makefile.am in beagled.

Building from a fresh svn works but when trying to make install beagled/beagle-dump-index seems to be missing.

I think this is due to 
$(DUMP_INDEX_WRAPPER) missing in ALL_TARGETS
or 
$(DUMP_INDEX_WRAPPER) being included in SBIN_WRAPPERS for they will be installed - but if D_I_W is not in ALL_T it has not been created at that point. 

This will only happen if you use a clean svn (thus no preexisting wrapper in beagled) and try to make install.

I will commit a change to svn that adds DUMP_INDEX_WRAPPER to ALL_TARGETS since this is where BUILD_INDEX_WRAPPER and MANAGE_INDEX_WRAPPER from the SBIN_WRAPPERS are as well.

The other solution would be to remove D_I_W from SBIN_W. But since Joes comment on svn, r3212 states:
"Do a bunch of big changes to beagle-dump-index, and now install it by
default.  We'll use it as a diagnostic tool in future releases.  It
makes use of the new GetHitsForUris() method."

I think it should be created and installed.
Comment 10 Max Wiehle 2007-01-18 13:04:58 UTC
Commited the changes described above in svn, r3275