[csw-maintainers] Help for newbie creating a new package

Jesse Reynolds jesse at opencsw.org
Wed Aug 3 10:33:04 CEST 2011


2011/8/3 Maciej Bliziński <maciej at opencsw.org>

> 2011/8/3 Jesse Reynolds <jesse at opencsw.org>:
> > 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20110803/fc82936d/attachment.html>


More information about the maintainers mailing list