Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Feb 2016 15:08:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 207373] sysutils/pbi-manager: fix filesystem violation
Message-ID:  <bug-207373-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 207373
           Summary: sysutils/pbi-manager: fix filesystem violation
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: kmoore@FreeBSD.org
          Reporter: amdmi3@FreeBSD.org
          Assignee: kmoore@FreeBSD.org
             Flags: maintainer-feedback?(kmoore@FreeBSD.org)

Created attachment 167221
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D167221&action=
=3Dedit
Patch

pbi-manager install script runs pbi_add which creates /var/db/pbi during bu=
ild.
This is not allowed and in fact doesn't work if the port is build from
non-root.=20

=3D=3D=3D=3D>> Checking for staging violations... done
=3D=3D=3D=3D>> Error: Filesystem touched during stage (files must install to
${STAGEDIR}):
extra: var/db/pbi

Full log:
http://package21.nyi.freebsd.org/data/102amd64-default-qat/408278/logs/erro=
rs/pbi-manager-1431457960.log

So disable pbi_add and create directory properly from Makefile and register=
 it
in pkg-plist.

--=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-207373-13>