bugGNUstep - Bugs: bug #21388, SSL bundle fails to compile if...

Group
 
 

bug #21388: SSL bundle fails to compile if libgnustep-gui isn't already installed

Submitter:  Quentin Mathé <qmathe>
Submitted:  Mon 22 Oct 2007 04:40:25 PM UTC
   
 
Category:  Base/Foundation Severity:  4 - Important
Item Group:  None Status:  Works For Me
Privacy:  Public Assigned to:  None
Open/Closed:  Declined
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Tue 23 Oct 2007 02:03:11 PM UTC, comment #7: 

Thanks for your help and all the details.

As Nicola suggests it, to always link SSL bundle with the same libraries would be better.


Quentin Mathé <qmathe>
Group Member
Tue 23 Oct 2007 09:43:10 AM UTC, comment #6: 

Yes, Richard is absolutely right.

But of course it's kind of strange, if you think about it, that
we link the SSL bundle to different libraries depending on the
fact that gui is installed or not.  It would be nice to be able
to tell gnustep-make not to include .../Additional/gui.make -
or even all of the Additional/*.make.

At the moment there is no "public API" way of doing that.  Maybe
we'd like to add it ?

Thanks

Nicola Pero <nico>
Group Member
Tue 23 Oct 2007 08:13:52 AM UTC, comment #5: 


> make uninstall' forks

of course I meant to say 'works', not 'forks'

Richard Frith-Macdonald <CaS>
Group Member
Tue 23 Oct 2007 08:12:14 AM UTC, comment #4: 

'make uninstall' forks for anything built with gnustep-make, though obviously if you write custom install rules rather than (or in addition to) using the standard installation mechanisms, you must write corresponding uninstall rules.

I don't think there has been a change of behavior with respect to linking ... more likely the use of 'rm' has worked before because you also removed gnustep-make, not just gui and/or base.  If you remove the gnustep-make installation then you are obviously removing thegui and base make files too.

Richard Frith-Macdonald <CaS>
Group Member
Tue 23 Oct 2007 07:18:25 AM UTC, comment #3: 

You guess right, I deleted my previous install by removing libraries, headers and resources without using 'make uninstall'. However until recently, my 'rm' based solution has always worked flawlessly without such linking issue, so I'm a bit surprised by this change in behavior. May be it's related to gnustep-make 2? In fact, I didn't know 'make uninstall' was officially supported. Is 'make uninstall' supported for both core libraries and third-party applications or libraries?

Thanks,
Quentin.

Quentin Mathé <qmathe>
Group Member
Mon 22 Oct 2007 05:33:15 PM UTC, comment #2: 

I suspect that this is not really a gnustep install from scratch ... the only way that the SSL bundle would try to link with gui is if the make package tells it to, and afaik the only way the meake package would tell it to is if gui has been installed.

My guess is that the sequence of events is:
intall make
install base
install gui
delete base but fail to remove base.make from $GNUSTEP_MAKEFILES/Additional
delete gui but fail to remove gui.make from $GNUSTEP_MAKEFILES/Additional
install base ... failure because make tells ssl bundle to link with gui

Using 'make uninstall' uninstalls gui cleanly (removing the gui.make file), so I guess gui was deleted using 'rm' instead.

Richard Frith-Macdonald <CaS>
Group Member
Mon 22 Oct 2007 04:59:28 PM UTC, comment #1: 

As reported for bug #20304, I'm unable to attach any files to bug reports. Should I submit a bug report about this issue?

I can send config.log file by mail if you want it. Here is make messages=yes result:

Making all for bundle SSL...
gcc -shared         -o ./SSL.bundle/./SSL ./obj/GSSSLHandle.o   -L../Source/./obj -L./obj  -L/home/qmathe/GNUstep/Library/Libraries -L/Local/Library/Libraries -L/System/Library/Libraries   -L/System/Library/Libraries -L/System/Library/Libraries/gnu-gnu-gnu -L/System/Library/Libraries -lssl -lcrypto  -lgnustep-base -lobjc    -lgnustep-gui   -lgnustep-base   -lpthread -lobjc   -lxslt  -lxml2 -lffi -ldl  -lz -lm
/usr/bin/ld: cannot find -lgnustep-gui
collect2: ld returned 1 exit status
make[2]: * [SSL.bundle/./SSL] Error 1
make[1]: * [SSL.all.bundle.variables] Error 2

Quentin Mathé <qmathe>
Group Member
Mon 22 Oct 2007 04:40:25 PM UTC, original submission:  

Linux Ubuntu 6.10
GCC 4.1.2
gnustep-base r25525 (observed with r25480 previously and before too iirc)
gnustep-make r25480

When I compile gnustep-base after configuring it, SSL bundle compilation fails by trying to link libgnustep-gui which cannot be found when I do a GNUstep install from scratch.

Quentin.

Quentin Mathé <qmathe>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nico (Posted a comment)
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by qmathe (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-10-23 CaS Open/ClosedOpen Declined
    2007-10-22 CaS StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code