On 3 August 2011 18:03, Jesse Reynolds <[email protected]> wrote: > > > 2011/8/3 Maciej Bliziński <[email protected]> > >> 2011/8/3 Jesse Reynolds <[email protected]>: >> > CHECKPKG_OVERRIDES_CSWgperf += >> > bad-rpath-entry|/opt/SUNWspro/lib/v8|opt/csw/bin/gperf >> > CHECKPKG_OVERRIDES_CSWgperf += bad-rpath-entry|/lib|opt/csw/bin/gperf >> > CHECKPKG_OVERRIDES_CSWgperf += >> > bad-rpath-entry|/opt/SUNWspro/lib|opt/csw/bin/gperf >> > CHECKPKG_OVERRIDES_CSWgperf += >> > bad-rpath-entry|/opt/SUNWspro/lib/rw7|opt/csw/bin/gperf >> >> This check deals with the RPATH setting in the resulting binaries. >> Sun Studio by default adds extra RPATH entries, e.g. >> "/opt/SUNWspro/lib/v8". To fix this, you need to tell Sun Studio to >> stop doing that: >> >> EXTRA_CFLAGS = -xnorunpath >> >> The EXTRA_CFLAGS variable value will be put by GAR into the right >> places for autotools to pick up. >> > > 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): > > CHECKPKG_OVERRIDES_CSWgperf += > bad-rpath-entry|/opt/SUNWspro/lib|opt/csw/bin/gperf > CHECKPKG_OVERRIDES_CSWgperf += > bad-rpath-entry|/opt/SUNWspro/lib/rw7|opt/csw/bin/gperf > CHECKPKG_OVERRIDES_CSWgperf += > bad-rpath-entry|/opt/SUNWspro/lib/v8|opt/csw/bin/gperf > CHECKPKG_OVERRIDES_CSWgperf += bad-rpath-entry|/lib|opt/csw/bin/gperf > > This is on unstable9s, I think I ran it last time on one of the other sparc > machines in the build farm. >
My Makefile is currently looking like this: unstable9s:~/test/gperf $ cat Makefile NAME = gperf VERSION = 3.0.3 CATEGORIES = devel DESCRIPTION = A perfect hash function generator define BLURB GNU gperf is a perfect hash function generator. For a given list of strings, it produces a hash function and hash table, in form of C or C++ code, for looking up a value depending on the input string. The hash function is perfect, which means that the hash table has no collisions, and the hash table lookup needs a single string comparison only. endef MASTER_SITES = $(GNU_MIRROR) DISTFILES = $(NAME)-$(VERSION).tar.gz GARTYPE = v2 TEST_TARGET = check EXTRA_CFLAGS = -xnorunpath include gar/category.mk
_______________________________________________ maintainers mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/maintainers .:: This mailing list's archive is public. ::.
