Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Nov 2019 02:01:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 241659] databases/rrdtool: fails to build/stage with non-default PREFIX
Message-ID:  <bug-241659-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241659

            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@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
             Flags: maintainer-feedback?(zeising@FreeBSD.org)
          Assignee: zeising@FreeBSD.org

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

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

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

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 .
 .
/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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


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

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 .
 .
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
 .
 .
=3D=3D=3D> 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
=3D=3D=3D> Error: Plist issues found.
=3D=3D=3D> Warning: Test was done with PREFIX !=3D LOCALBASE
=3D=3D=3D> Warning: The port may not be properly installing into PREFIX
*** Error code 1

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D



Attached patch fixes those failures.

QA:

 - poudriere testport (ok)

 - portlint (ok, no new warnings)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241659-7788>