Subject: Re: pkg/31064: make package should not depend on the install target
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Quentin Garnier <cube@cubidou.net>
List: pkgsrc-bugs
Date: 08/29/2005 08:54:02
The following reply was made to PR pkg/31064; it has been noted by GNATS.

From: Quentin Garnier <cube@cubidou.net>
To: gnats-bugs@netbsd.org
Cc: huajian.luo@Sun.COM
Subject: Re: pkg/31064: make package should not depend on the install target
Date: Mon, 29 Aug 2005 10:53:04 +0200

 --EIrXVFSPgsocVIgL
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Thu, Aug 25, 2005 at 02:11:00AM +0000, huajian.luo@Sun.COM wrote:
 > >Number:         31064
 > >Category:       pkg
 > >Synopsis:       make package should not depend on the install target
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       high
 > >Responsible:    pkg-manager
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Thu Aug 25 02:11:00 +0000 2005
 > >Originator:     Huajian.Luo
 > >Release:        Soalris 10
 > >Organization:
 > SUN
 > >Environment:
 > SunOS whatluo 5.10 sun4u sparc SUNW,Sun-Blade-2500
 > >Description:
 > each time I want make packages for other guys to install=20
 > I issue the following commands:
 > $sudo  bmake
 > <compile the whole port>
 > then I want install it on my build box
 > $ sudo bmake install
 > then I want build package for other guys
 > $sudo bmake package
 > [hl@whatluo|gmake]$sudo  bmake package
 > =3D=3D=3D> Checking for vulnerabilities in gmake-3.80nb4
 > =3D=3D=3D> Installing for gmake-3.80nb4
 > =3D=3D=3D> gmake-3.80nb4 is already installed - perhaps an older version?
 > *** If so, you may use either of:
 > ***  - "pkg_delete gmake-3.80nb4" and "/usr/pkg/bin/bmake reinstall" to u=
 pgrade properly
 > ***  - "/usr/pkg/bin/bmake update" to rebuild the package and all of its =
 dependencies
 > ***  - "/usr/pkg/bin/bmake replace" to replace only the package without r=
 e-linking
 > ***    dependencies, risking various problems.
 > *** Error code 1
 >=20
 > Stop.
 > bmake: stopped in /usr/pkg/pkgsrc/devel/gmake
 > *** Error code 1
 >=20
 > Stop.
 > bmake: stopped in /usr/pkg/pkgsrc/devel/gmake
 > *** Error code 1
 >=20
 > Stop.
 > bmake: stopped in /usr/pkg/pkgsrc/devel/gmake
 > -------------------------------------------------------------------------=
 ----
 > which is not straightforward like=20
 > make && make install && make pacakge as in FreeBSD or OpenBSD
 
 I don't know how it works on FreeBSD and OpenBSD, but as long as you
 don't clean the package after an install, you'll be able to do 'make
 package' without it being recompiled.
 
 And anyway, you always have the option of using pkgtools/pkg_tarup.
 
 Should this PR reeally stay open?
 
 --=20
 Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
 "When I find the controls, I'll go where I like, I'll know where I want
 to be, but maybe for now I'll stay right here on a silent sea."
 KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
 
 --EIrXVFSPgsocVIgL
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (NetBSD)
 
 iQEVAwUBQxLM79goQloHrPnoAQLd7AgAtMZzah/ipsXEUSMiZhsPEIiEyVEUOwCF
 YkwwUFdDWVznPmv4zkm++7vk0Qy1ESCbSPewGi/FPyy329ECiQs/fChCAVoIH3jw
 847yThFucSY9ZfcOBYf2HHczfGbtxczWq/CPs9GaL/PEhyu1UdP4Kc6sqWOCu5nB
 m79q+6DaofTypv95IDw9Xz2HUH3NFcnnMcufwZh2XIcQ+g7PqNJTaLJeJoivaoWj
 mEhC9pMFNdvZueLX6RsFnKuuBxBsn+y5BtO+tFau1s7nVrahY8otfsyFx7iiyBmO
 G84bSoWlQYCGdt51+PIdff8edUY+NBIKHz1qV8LnUu0Oj8ewtL2hqQ==
 =cbVs
 -----END PGP SIGNATURE-----
 
 --EIrXVFSPgsocVIgL--