Bug 46964

Summary: Failure when running "make install" on expect port
Product: Ports & Packages Reporter: Peter Acord <freebsd>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Peter Acord 2003-01-10 23:10:02 UTC
  When attempting to install the latest port of the expect package, received the following error when
  running "make install":

ld -shared -x -o libexpect538.so.1 shared/exp_command.o shared/expect.o shared/pty_termios.o  shared/exp_inter.o 
shared/exp_regexp.o shared/exp_tty.o  shared/exp_log.o shared/exp_main_sub.o shared/exp_pty.o  shared/exp_trap.o  
shared/exp_console.o shared/exp_strf.o shared/exp_glob.o  shared/exp_win.o shared/exp_clib.o  shared/exp_closetcl.o 
shared/exp_memmove.o shared/exp_tty_comm.o  shared/exp_select.o shared/exp_event.o  shared/exp_chan.o shared/Dbg.o 
-Wl,-rpath,/usr/local/lib -L/usr/local/lib -ltcl83   -lm -lutil -lc
/usr/libexec/elf/ld: unrecognized option '-Wl,-rpath,/usr/local/lib'
/usr/libexec/elf/ld: use the --help option for usage information
*** Error code 1

Stop in /usr/ports/lang/expect/work/expect-5.38.
*** Error code 1

Stop in /usr/ports/lang/expect.

Fix: 

No known fix. Resorted to installing from package as opposed to ports.
How-To-Repeat:   Run "make install" on the latest port of the expect package.
Comment 1 Pete Fritchman freebsd_committer freebsd_triage 2003-04-19 14:59:50 UTC
State Changed
From-To: open->feedback

I can't reproduce the problem on a 4.8-R machine with expect 
5.38.0_1.  Is this still a problem for you?
Comment 2 danny 2003-04-27 20:32:44 UTC
I can also reproduce this problem..  
make -DWITHOUT_X11 install

It fails during the linking..
I tried the NO_X=yes switch in make.conf and it did not help.
I have no urgent need for expect so I can run any diags you need.

My ports tree is about 1 week old.
Comment 3 Tilman Keskinoz freebsd_committer freebsd_triage 2003-05-19 20:56:02 UTC
State Changed
From-To: feedback->open

new followup
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2004-03-14 00:32:50 UTC
State Changed
From-To: open->feedback

Is this problem still current?  Bento is not reporting any 
build failures.
Comment 5 Sergey A. Osokin freebsd_committer freebsd_triage 2004-03-29 20:35:05 UTC
State Changed
From-To: feedback->closed

I can't reproduce this error with fresh ports system. 
Please provide more infomation, build and install logs 
in next time. 
Thanks for report!