<br><br><div class="gmail_quote">On 3 August 2011 18:03, Jesse Reynolds <span dir="ltr"><<a href="mailto:jesse@opencsw.org">jesse@opencsw.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><br><div class="gmail_quote"><div class="im">2011/8/3 Maciej Bliziński <span dir="ltr"><<a href="mailto:maciej@opencsw.org" target="_blank">maciej@opencsw.org</a>></span><br></div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>2011/8/3 Jesse Reynolds <<a href="mailto:jesse@opencsw.org" target="_blank">jesse@opencsw.org</a>>:<br>
</div><div>> CHECKPKG_OVERRIDES_CSWgperf +=<br>
> bad-rpath-entry|/opt/SUNWspro/lib/v8|opt/csw/bin/gperf<br>
> CHECKPKG_OVERRIDES_CSWgperf += bad-rpath-entry|/lib|opt/csw/bin/gperf<br>
> CHECKPKG_OVERRIDES_CSWgperf +=<br>
> bad-rpath-entry|/opt/SUNWspro/lib|opt/csw/bin/gperf<br>
> CHECKPKG_OVERRIDES_CSWgperf +=<br>
> bad-rpath-entry|/opt/SUNWspro/lib/rw7|opt/csw/bin/gperf<br>
<br>
</div>This check deals with the RPATH setting in the resulting binaries.<br>
Sun Studio by default adds extra RPATH entries, e.g.<br>
"/opt/SUNWspro/lib/v8".  To fix this, you need to tell Sun Studio to<br>
stop doing that:<br>
<br>
EXTRA_CFLAGS = -xnorunpath<br>
<br>
The EXTRA_CFLAGS variable value will be put by GAR into the right<br>
places for autotools to pick up.<br>
<div><div></div><div></div></div></blockquote></div></div><br><div>Thanks. So I put that line into gperf/Makefile and ran 'mgar clean', 'mgar package' and it ends up with the same errors again (though in a different order):</div>
<div class="im">
<div><br></div><div><div>CHECKPKG_OVERRIDES_CSWgperf += bad-rpath-entry|/opt/SUNWspro/lib|opt/csw/bin/gperf</div><div>CHECKPKG_OVERRIDES_CSWgperf += bad-rpath-entry|/opt/SUNWspro/lib/rw7|opt/csw/bin/gperf</div><div>CHECKPKG_OVERRIDES_CSWgperf += bad-rpath-entry|/opt/SUNWspro/lib/v8|opt/csw/bin/gperf</div>

<div>CHECKPKG_OVERRIDES_CSWgperf += bad-rpath-entry|/lib|opt/csw/bin/gperf</div></div><div><br></div></div><div>This is on unstable9s, I think I ran it last time on one of the other sparc machines in the build farm. </div>

</blockquote></div><br><div>My Makefile is currently looking like this:</div><div><br></div><div><div>unstable9s:~/test/gperf $ cat Makefile</div><div>NAME = gperf</div><div>VERSION = 3.0.3</div><div>CATEGORIES = devel</div>
<div>DESCRIPTION = A perfect hash function generator</div><div>define BLURB</div><div>  GNU gperf is a perfect hash function generator. For a given list of strings,</div><div>  it produces a hash function and hash table, in form of C or C++ code, for</div>
<div>  looking up a value depending on the input string. The hash function is perfect,</div><div>  which means that the hash table has no collisions, and the hash table lookup</div><div>  needs a single string comparison only.</div>
<div>endef</div><div>MASTER_SITES = $(GNU_MIRROR)</div><div>DISTFILES    = $(NAME)-$(VERSION).tar.gz</div><div>GARTYPE       = v2</div><div>TEST_TARGET  = check</div><div>EXTRA_CFLAGS = -xnorunpath</div><div>include gar/<a href="http://category.mk">category.mk</a></div>
</div><div><br></div>