Subject: pkg/29031: pkgsrc-2004Q4 broke INSTALL_UNSTRIPPED for lang/ocaml
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Darrin B.Jewell <dbj@netbsd.org>
List: pkgsrc-bugs
Date: 01/21/2005 00:49:00
>Number:         29031
>Category:       pkg
>Synopsis:       pkgsrc-2004Q4 broke INSTALL_UNSTRIPPED for lang/ocaml
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 21 00:49:00 +0000 2005
>Originator:     Darrin B. Jewell
>Release:        pkgsrc-2004Q4 updated via cvs ~20050120T1819Z
>Organization:
>Environment:
System: Darwin Quiteria 7.7.0 Darwin Kernel Version 7.7.0: Sun Nov  7 16:06:51 PST 2004; root:xnu/xnu-517.9.5.obj~1/RELEASE_PPC  Power Macintosh powerpc

Architecture: powerpc
Machine: Power Macintosh
>Description:
When attempting to build pkgsrc/lang/ocaml on macos 10.3.7, 
it fails with the following error in the log:

   install -c -s -o root -g wheel -m 555 labltktop /usr/pkg/lib/ocaml/labltk
   strip: the __LINKEDIT segment does not cover the end of the file (can't be processed) in: /usr/pkg/lib/ocaml/labltk/labltktop

This problem did not occur on pkgsrc-2004Q3

If I manually put INSTALL_UNSTRIPPED=yes on the bmake command
line or inside the Makefile before the "../../mk/bsd.prefs.mk" include
then it will complete the install.

I theorize that tv may have broken it when he commited this change:

http://mail-index.netbsd.org/pkgsrc-changes/2004/10/13/0044.html

>How-To-Repeat:
Attempt to install the ocaml package on macos from the pkgsrc-2004Q4 branch

>Fix: