Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 1996 21:47:14 -0500 (EST)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        pgiffuni@fps.biblos.unal.edu.co, ports@freebsd.org
Subject:   Re: Are broken ports useful?
Message-ID:  <Pine.OSF.3.95.961118214054.14204E-100000@professor.eng.umd.edu>
In-Reply-To: <199611190057.BAA03940@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 19 Nov 1996, J Wunsch wrote:

> As pgiffuni@fps.biblos.unal.edu.co wrote:
> 
> > I have a port for cim, a simula compiler, it compiles great and the test
> > script runs OK, but when I try to install it the script fails when it is
> > going to strip it due to "wrong format".
> > I am using fbsd 2.1.5, with the old gcc, should I leave it like this to
> > see if it works under 2.2, or should I remove the strip portion from the
> > makefile?
> 
> The latter.  It has been decided (back in time) that using -s when
> trying to install a script executable is considered a usage error,
> hence install fails in this situation.

You're right, Joerg, but I am not sure it's completely valid, because I've
hit this error before (albeit not in the cim compiler, so it would bear
doublechecking).  The problem has been, in the past, that the gnu-written
install script is using INSTALL_BINARY to install scripts.  INSTALL_BINARY
(as I'm sure you'll agree) should be -s, but in a lot of gnu stuff, the
authors misuse the install variables.  If you look in the generated
Makefiles, it's there real clearly.  The right fix has been, for me, to
patch the Makefile.in file so that the right macros are used to install
scripts.  I really wouldn't want to muff error checking in install for
this reason.

I have one glaring example in mind, but I can't remember the name right
now.


----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@eng.umd.edu          | communications topic, C programming, and Unix.
9120 Edmonston Ct #302      |
Greenbelt, MD 20770         | I run Journey2 and picnic, both FreeBSD
(301) 220-2114              | version 3.0 current -- and great FUN!
----------------------------+-----------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.95.961118214054.14204E-100000>