----- Original Message -----
From: Patrick Ale <[email protected]>
Date: Friday, January 11, 2008 7:50 pm
Subject: Re: [jds-review] [BUG] SUNWgnome-libs fails to build
To: laca at sun.com
Cc: JDS-Review <jds-review at opensolaris.org>


> On Jan 11, 2008 4:28 PM, Patrick Ale <patrick.ale at gmail.com> wrote:
> > > > > Try to find in your build log or in config.log how libglib.so
> > > > > makes it into your build.
> >
> > The package builds succesfully with --without gtk-doc. If someone can
> > shed a light on this I'd be very happy.
> > I can upload the log to my webserver when required.
> 
> 
> Hi!
> 
> So, I can confirm specifying both -glib and -glib-2.0 in the Makefiles
> is the problem. I proved this by applying a little patch to every
> single spec file used in base-specs, by SUNWgnome-libs.spec.
> (rarian.spec , libbonobo.spec, libgnome.spec , libgnomeui.spec,
> libgtkhtml.spec).
> 
> Please note, I didn't commit this patch since it's really really a
> dirty hack, I just wanted to find the problem. Once applied I can
> build SUNWgnome-libs without adding the --without gtk-docs option. I
> tried to grep Makefile.am Makefile.in but can't see no refferences to
> -glib , so I have no idea what to do to make my changes permanent,
> other than this ugly hack.
> 
> Your suggestions are more than welcome ;-)
> 
> The patch in question:
> --- base-specs/rarian.spec      (revision 12760)
> +++ base-specs/rarian.spec      (working copy)
> @@ -55,6 +55,12 @@
>      --datadir=%{_datadir}       \
>      --libexecdir=%{_libexecdir} \
>      --localstatedir=/var
> +for x in `find . -name Makefile`
> +do
> +sed s/-lglib\ //g $x > $x.new
> +mv $x.new $x
> +done
> +
>  make -j $CPUS
> 
>  %install
> 
As the issue is only on your machine you should definitely *not* commit a patch.

I searched my rarian build directory for 'lglib' but did not find any 
occurances.

Reply via email to