[Bug 212793] Building this port w/o the 'install' target resulted in the binary being installed into the production system instead of the work/staging folder within the ports tree.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 18 12:51:11 UTC 2016


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

            Bug ID: 212793
           Summary: Building this port w/o the 'install' target resulted
                    in the binary being installed into the production
                    system instead of the work/staging folder within the
                    ports tree.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: mrT1188123 at gmail.com

When I built this port for testing purposes, via:
    cd /usr/ports/net/remmina-plugins
    sudo su
    make clean
    make -dxA
.
The build completed w/o error.
However, although it did create a nice empty stage tree:
       /usr/ports/net/remmina-plugins/work/stage
but, it fully installed the binary into the system. Which was not my intention.
The normal standard procedure would be to 
    make
    make install
    or
    make install
but just plain 'make' should be taking the built port and 'installing' into
    the /usr/ports/net/remmina-plugins/work/stage
    not into 
    ls -la /usr/local/lib/remmina/plugins/remmina-plugin-nx.so
          -rwxr-xr-x  1 root  wheel  46192 Sep 18 07:39
/usr/local/lib/remmina/plugins/remmina-plugin-nx.so
.
pkg info -f remmina-plugin-nx
  Version        : 1.0.0_4
  Installed on   : Sun Sep 18 07:39:47 2016 EDT
  ----snip--------------------------
.

uname -a
FreeBSD MT2016 10.3-RELEASE-p5 FreeBSD 10.3-RELEASE-p5 #0: 
Thu Jun 30 03:52:15 UTC 2016     
root at amd64-builder.pcbsd.org:/usr/obj/usr/src/sys/GENERIC  amd64


To recreate this issue:
   1). sudo pkg install remmina-plugins
       FYI:
          Options        :
                  KEYRING        : on
                  NLS            : on
                  NX             : off
                  TELEP          : on
                  VNC            : on
                  XDMCP          : on
          Annotations    :
                  repo_type      : binary
                  repository     : pcbsd-major

   2). cd /usr/ports/net/remmina-plugins

   3). sudo su

   4). make clean

   5). make config
          check NX  option.

   6). make -dxA

Thanks,
Mark T.

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


More information about the freebsd-ports-bugs mailing list