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 101480 - cvs head won't build with jhbuild
cvs head won't build with jhbuild
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
2.2.x
Other Linux
: High major
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
: 104990 105193 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-12-17 18:52 UTC by Jeroen Zwartepoorte
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build patch (509 bytes, patch)
2002-12-17 18:52 UTC, Jeroen Zwartepoorte
none Details | Review
Fix for automake issues! (4.81 KB, patch)
2003-02-04 07:59 UTC, Ali Akcaagac
none Details | Review

Description Jeroen Zwartepoorte 2002-12-17 18:52:25 UTC
I had to apply this patch in order to get file-roller to build with jhbuild.
Comment 1 Jeroen Zwartepoorte 2002-12-17 18:52:59 UTC
Created attachment 13079 [details] [review]
build patch
Comment 2 Paolo Bacchilega 2002-12-27 19:53:38 UTC
Building file roller works for me, I don't use jhbuild and don't know
why it does not work. 

You should try to download file roller by hand and see if it compiles.
Comment 3 Jeroen Zwartepoorte 2003-01-06 17:59:25 UTC
What automake version are you using? I'm using 1.7.2 (that's installed
by jhbuild).
Comment 4 Paolo Bacchilega 2003-01-06 18:11:02 UTC
automake 1.6.3
Comment 5 Jeroen Zwartepoorte 2003-01-06 18:25:00 UTC
It's probably automake 1.7.2 that has more strict rules then. What
happens when you remove the line in src/Makefile.am with automake
1.6.3? Will it still build? If so, you could probably remove it
safely. If that's ok with the release team etc.
Comment 6 Paolo Maggi 2003-01-09 17:32:16 UTC
<paolo> Is someone of you able to build file-roller from current CVS HEAD?
<paolo> I get:
<paolo> src/Makefile.am:104: @LIBOBJS@ seen but never set in
`configure.in'
<paolo>  
<paolo> **Error**: `automake' failed. Please fix the warnings
<paolo> (probably missing development files) and try again.
<chema> paolo: looks like you didn't autogened
<paolo> chema: I get it running autogen
<xan> paolo: same here
<xan> paolo: since yesterday or so<danielk> paolo: I think @LIBOBJS@
is deprecated.  Others and me get that too with file-roller.
<danielk> s/deprecated/was deprecated and has been killed/
<paolo> danielk:: any idea on how to fix it?
<jeroen> paolo: removing it?
<danielk> paolo: Depends on what it's used for -- I haven't looked
yet.  For generic info see the automake or autoconf manual, I think it
elaborates specifically on the LIBOBJS issue.


Removing @LIBOBJS@ seems to work for me.
Comment 7 Paolo Bacchilega 2003-01-10 13:19:58 UTC
with automake 1.7.2 and autoconf 2.57 it only gives a warning that
acconfig.h is obsolete but bilding works good, please test.
Comment 8 James Henstridge 2003-02-04 06:16:39 UTC
*** Bug 104990 has been marked as a duplicate of this bug. ***
Comment 9 James Henstridge 2003-02-04 06:18:47 UTC
Here is a possible solution I posted on another bug report:

  Removing @LIBOBJS@ from the makefile is wrong, and will break the
  build on other systems.

  The problem is that older automakes aren't picking up that newer
  autoconf's are actually defining LIBOJBS.  The correct fix to get it
  working with older automakes is to add the following line to
  configure.in:
     AC_SUBST(LIBOBJS)

  Strictly speaking this is redundant, but it is not harmful (and will
  stop old automakes complaining).

If anyone is still having issues, try making the above change to the
configure.in and add comments on your successes or failures.
Comment 10 Ali Akcaagac 2003-02-04 07:59:07 UTC
Created attachment 14085 [details] [review]
Fix for automake issues!
Comment 11 Ali Akcaagac 2003-02-04 08:03:21 UTC
I have tracked the issues down and yes James is right so far. But the
problem is differently.

Assumption:

To build todays GNOME we require automake 1.4-p6, automake 1.6 and
automake 1.7.

The gnome-common package ships a default autogen.sh file which first
searches for automake-1.4 regardless if you have a newer version of
automake installed or not. A lot of GNOME modules that require a newer
version of automake don't use the default gnome-common autogen.sh file
and provide their individual one. Here an attachment of a fixed
autogen.sh that makes sure to use the correct version of automake 1.7

Alternative solution, someone needs to adjust gnome-common autogen.sh
and make the 1.4 version inside optional and export it outside so
every individual module has to provide it's own version number

e.g. autogen.sh for gnome-common is set without automake version and
the individual module such as fileroller exports VERSION=1.7 in the
autogen.sh so nothing can go wrong.

Greets.
Comment 12 Murray Cumming 2003-04-22 07:49:00 UTC
gnome-common will die (probably, and probably slowly), so gnome-common
should not be part of the solution. A versioned autogen.sh might be
fine. My autogen.sh in gnome-hello is meant to be a fairly canonical
example.
Comment 13 Jens Bech Madsen 2003-05-26 12:16:35 UTC
*** Bug 105193 has been marked as a duplicate of this bug. ***
Comment 14 Elijah Newren 2003-06-16 20:15:30 UTC
I also experienced this same bug.  Ali Akcaagac's patch allowed me
pass this stage, though I ran into other build problems (which I've
reported in bug 115311).  Can Ali's patch be committed?  I'm adding
myself to the cc...
Comment 15 Paolo Bacchilega 2003-06-17 17:01:50 UTC
2003-06-17  Paolo Bacchilega  <paolo.bacch@tin.it>

	* src/Makefile.am (file_roller_LDADD): removed LIBOBJS, no more
	needed because fnmatch is gone now.