Bug 74940

Summary: port devel/gnustep-make claims C complier does not work
Product: Ports & Packages Reporter: Tim Hawkins <timh>
Component: Individual Port(s)Assignee: Dirk Meyer <dinoex>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Tim Hawkins 2004-12-11 11:20:13 UTC
timh@godzuki$ cd /usr/ports/devel/gnustep-make
timh@godzuki$ sudo make install
Password:
===>   gnustep-make-1.10.0 depends on file: /usr/local/lib/libcallback.a - found
===>   gnustep-make-1.10.0 depends on file: /usr/local/lib/gcc-lib/i386-portbld-freebsd6.0/3.3.5/libobjc.so - found
===>   gnustep-make-1.10.0 depends on executable: gmake - found
===>  Configuring for gnustep-make-1.10.0
checking for gcc... gcc33
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
===>  Script "configure" failed unexpectedly.
Please report the problem to dinoex@FreeBSD.org [maintainer] and attach the
"/usr/ports/devel/gnustep-make/work/gnustep-make-1.10.0/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/devel/gnustep-make.
timh@godzuki$

How-To-Repeat: make install clean in /usr/ports/devel/gnustep-make
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-12-11 20:52:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

Over to maintainer.
Comment 2 Dirk Meyer freebsd_committer freebsd_triage 2004-12-11 21:23:38 UTC
State Changed
From-To: open->feedback


please verify: 
ldconfig -r | grep libobjc 

if this is empty, please reinstall gcc-objc.
Comment 3 Dirk Meyer freebsd_committer freebsd_triage 2004-12-14 04:21:39 UTC
State Changed
From-To: feedback->closed


when gcc-objc is installed it extends the path of shared libs 
with "${TARGLIB}". This is not preserved on reboot. 

gnustep-base does install /usr/local/etc/rc.d/GNUstep.sh 
which reaneble the use of "${TARGLIB}". 

TARGLIB contains the FreeBSD release number, 
so this is only a problme when the freebsd release number 
is updated without updating the gcc-obj port after this.