First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 133824
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WONTFIX
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thomas S. Howard <thoward1120@comcast.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gnome-libs-1.4.2-as-needed.patch gnome-libs-1.4.2 --as-needed fix patch Thomas S. Howard 2006-05-19 16:39 0000 7.70 KB Details | Diff
gnome-libs-1.4.2.ebuild.patch gnome-libs-1.4.2.ebuild.patch for --as-needed patch Thomas S. Howard 2006-05-19 16:39 0000 364 bytes Details | Diff
gnome-libs-1.4.2.ebuild.patch gnome-libs-1.4.2.ebuild.patch for --as-needed,uses eautoreconf patch Thomas S. Howard 2006-05-26 20:06 0000 451 bytes Details | Diff
gnome-libs-1.4.2-as-needed.patch gnome-libs-1.4.2 --as-needed fix, works with eautoreconf patch Thomas S. Howard 2006-05-26 20:10 0000 42.69 KB Details | Diff
gnome-libs-1.4.2.ebuild.patch updated ebuild patch as the one in portage has changed patch Thomas S. Howard 2006-11-14 02:42 0000 1.28 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 133824 depends on: 133818 133819 133820 133823 Show dependency tree
Bug 133824 blocks: 129413 133826 154102
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-05-19 16:36 0000
This one is the bastard S.O.B of the lot. It first dies on configure, because
it isn't satisfied to just call glib-config to find out if gmodule is
available. Instead it compiles a little test for gmodule, which, logically,
doesn't actually link to gmodule. It dies, and gnome-libs concludes that your
system is incapable of dynamic linking. As if this is a realistic possibility,
given that before it does this little test, it does this:

LDFLAGS="$LDFLAGS `glib-config --libs gmodule`"

Stupid. Don't put libs in LDFLAGS. Since LDFLAGS includes --as-needed, it
chucks -lgmodule out since it comes before the object.

After that, it's not so bad. It's just that there are so many interdependencies
among the various libs, plus it relies on a lot of other packages, which all
had to be fixed. I realized after I did this that the later version of libzvt
has basically the same fix as the one included in gnome-libs.

------- Comment #1 From Thomas S. Howard 2006-05-19 16:39:06 0000 -------
Created an attachment (id=87087) [details]
gnome-libs-1.4.2 --as-needed fix

------- Comment #2 From Thomas S. Howard 2006-05-19 16:39:36 0000 -------
Created an attachment (id=87088) [details]
gnome-libs-1.4.2.ebuild.patch for --as-needed

------- Comment #3 From Diego E. 'Flameeyes' Pettenò 2006-05-19 17:49:52 0000 -------
See again notes on bug #133820 about patches to configure and Makefile.in, also
don't add LDFLAGS when they are not present originally (the -version-info
stuff).

Regard

+libgnome_la_LIBADD = $(GLIB_LIBS) -lm -lesd /usr/lib64/libaudiofile.la -lpopt
-ldb1


you should not hardcode .la paths, in particular /usr/lib64 is amd64-multilib
specific, you should just use -laudiofile.

------- Comment #4 From Thomas S. Howard 2006-05-19 18:08:12 0000 -------
(In reply to comment #3)
> See again notes on bug #133820 about patches to configure and Makefile.in, also
> don't add LDFLAGS when they are not present originally (the -version-info
> stuff).
> 
> Regard
> 
> +libgnome_la_LIBADD = $(GLIB_LIBS) -lm -lesd /usr/lib64/libaudiofile.la -lpopt
> -ldb1

Oops, I forgot to take that out. I was doing a copy and paste real quick while
testing and never replaced it.
> 
> you should not hardcode .la paths, in particular /usr/lib64 is amd64-multilib
> specific, you should just use -laudiofile.
> 

------- Comment #5 From Thomas S. Howard 2006-05-26 20:06:53 0000 -------
Created an attachment (id=87612) [details]
gnome-libs-1.4.2 --as-needed fix, works with eautoreconf

I would have just done eautomake, but again, it triggers on a version mismatch
btwn. 1.4-p5 and 1.4-p6, so I had to revise some macros and configure.in to
make it work with eautoreconf. The size is only partly from reformatting, as
telling diff to look for a smaller set of changes and to ignore whitespace
didn't actually reduce it much, so I just kept the formatting in.

------- Comment #6 From Thomas S. Howard 2006-05-26 20:10:27 0000 -------
Created an attachment (id=87613) [details]
gnome-libs-1.4.2 --as-needed fix, works with eautoreconf

Move the previous comment to here.

------- Comment #7 From Anielkis Herrera 2006-10-11 13:10:25 0000 -------
I aplied those patchs, but still have this error:

checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... no

and it disappears only with:

LDFLAGS="" emerge gnome-libs

------- Comment #8 From Thomas S. Howard 2006-11-05 19:10:33 0000 -------
(In reply to comment #7)
> I aplied those patchs, but still have this error:
> 
> checking for gtk-config... /usr/bin/gtk-config
> checking for GTK - version >= 1.2.0... no
> 
> and it disappears only with:
> 
> LDFLAGS="" emerge gnome-libs
> 
Are you using a gtk patched for --as-needed?  That's the only thing I can think
of.  Could you post the output of /usr/bin/gtk-config?

------- Comment #9 From Anielkis Herrera 2006-11-06 13:25:09 0000 -------
I'm not using a gtk patched for --as-needed.. 
/usr/bin/gtk-config gtk    doesn'y report anything, an empty output
               and 
# eix -I gtk+
Installed:           1.2.10-r11 2.8.19

------- Comment #10 From Thomas S. Howard 2006-11-07 16:00:44 0000 -------
(In reply to comment #9)
> I'm not using a gtk patched for --as-needed.. 
> /usr/bin/gtk-config gtk    doesn'y report anything, an empty output
>                and 
> # eix -I gtk+
> Installed:           1.2.10-r11 2.8.19
> 

OK, try gtk+-1.2.10-r12. That has the --as-needed patch. gnome-libs only cares
about gtk+-1.2, but the configure script uses gtk-config to check for the lib's
presence as well as to get the correct compiler flags.  I don't know why it's
empty, but that's the source of the problem.  I'll play around with gtk+ and
see if I can reproduce that.

------- Comment #11 From Thomas S. Howard 2006-11-07 18:10:26 0000 -------
(In reply to comment #10)
> (In reply to comment #9)
> > I'm not using a gtk patched for --as-needed.. 
> > /usr/bin/gtk-config gtk    doesn'y report anything, an empty output
> >                and 
> > # eix -I gtk+
> > Installed:           1.2.10-r11 2.8.19
> > 
> 
> OK, try gtk+-1.2.10-r12. That has the --as-needed patch. gnome-libs only cares
> about gtk+-1.2, but the configure script uses gtk-config to check for the lib's
> presence as well as to get the correct compiler flags.  I don't know why it's
> empty, but that's the source of the problem.  I'll play around with gtk+ and
> see if I can reproduce that.
> 

Well, I still don't know how gtk-config ended up empty: what were the
command-line options you gave it? Also, when gnome-libs dies on the gtk test,
it should print out: "*** Could not run GTK test program, checking why..." and
then a bunch of other stuff. So, what was the other stuff?

Still, gnome-libs should build with the patched gtk. But, unless you have also
built glib-1.2.10-r5 with the --as-needed patch, it will still fail, only later
in the configure process.

------- Comment #12 From Thomas S. Howard 2006-11-14 02:42:40 0000 -------
Created an attachment (id=101903) [details]
updated ebuild patch as the one in portage has changed

The ebuild changed in portage, so the old patch was actually reverting some
stuff,
like IUSE, etc.

------- Comment #13 From Saleem Abdulrasool (RETIRED) 2006-11-27 20:31:03 0000 -------
Marked for removal.  Please migrate to gnome-2.x

First Last Prev Next    No search results available      Search page      Enter new bug