[Bug 241659] databases/rrdtool: fails to build/stage with non-default PREFIX

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 2 02:01:57 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241659

            Bug ID: 241659
           Summary: databases/rrdtool: fails to build/stage with
                    non-default PREFIX
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: zeising at FreeBSD.org
          Reporter: jcfyecrayz at liamekaens.com
             Flags: maintainer-feedback?(zeising at FreeBSD.org)
          Assignee: zeising at FreeBSD.org

Created attachment 208783
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=208783&action=edit
[patch] fix build failures for non-default PREFIX

If one builds with a non-default PREFIX (e.g., make PREFIX=/opt stage stage-qa
check-plist WITH="PERL NLS"), the build fails.

First failure shows up due to wrong location for perl module (if PERL is on).

=========================
 .
 .
/usr/bin/strip
/wrkdirs/usr/ports/databases/rrdtool/work-py36/stage/opt/rrdtool-1.7.2/lib/perl5/site_perl/mach/5.30/auto/RRDs/RRDs.so
strip: open
/wrkdirs/usr/ports/databases/rrdtool/work-py36/stage/opt/rrdtool-1.7.2/lib/perl5/site_perl/mach/5.30/auto/RRDs/RRDs.so
failed: No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/rrdtool
========================


After fixing that (see PERL_MAKE_ARGS in patch), the next failure shows up if
NLS is on:

========================
 .
 .
checking for GNU gettext in libc... no
checking for iconv... no, consider installing GNU libiconv
checking for GNU gettext in libintl... no
checking whether to use NLS... no
 .
 .
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: share/locale/fr/LC_MESSAGES/rrdtool.mo
Error: Missing: share/locale/hu/LC_MESSAGES/rrdtool.mo
===> Error: Plist issues found.
===> Warning: Test was done with PREFIX != LOCALBASE
===> Warning: The port may not be properly installing into PREFIX
*** Error code 1

========================



Attached patch fixes those failures.

QA:

 - poudriere testport (ok)

 - portlint (ok, no new warnings)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list