Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 2013 11:55:06 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        clutton <clutton@zoho.com>
Cc:        freebsd-ports@freebsd.org, Doug Barton <dougb@dougbarton.us>, ehaupt@FreeBSD.org
Subject:   Re: shells/bash-static fails to package/deinstall cleanly
Message-ID:  <20131226105506.GG40122@ithaqua.etoilebsd.net>
In-Reply-To: <1388054443.3771.66.camel@eva02.mbsd>
References:  <52BBC768.6010702@dougbarton.us> <1388043634.3771.31.camel@eva02.mbsd> <52BBE04D.4060708@dougbarton.us> <1388046987.3771.36.camel@eva02.mbsd> <1388051565.3771.59.camel@eva02.mbsd> <1388054443.3771.66.camel@eva02.mbsd>

next in thread | previous in thread | raw e-mail | index | archive | help

--1giRMj6yz/+FOIRq
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Dec 26, 2013 at 12:40:43PM +0200, clutton wrote:
> On Thu, 2013-12-26 at 11:52 +0200, clutton wrote:
> > On Thu, 2013-12-26 at 10:36 +0200, clutton wrote:
> > > On Wed, 2013-12-25 at 23:52 -0800, Doug Barton wrote:
> > > > Please don't remove people from the CC line. I copied the maintaine=
r on=20
> > > > purpose.
> > > >=20
> > > > On 12/25/2013 11:40 PM, clutton wrote:
> > > > > On Wed, 2013-12-25 at 22:06 -0800, Doug Barton wrote:
> > > > >> The problem is that the bash.1 and bashbugs.1 man pages do not g=
et
> > > > >> compressed, and therefore the package fails. If I add a MAN1 var=
iable to
> > > > >> the Makefile with those pages listed, it works.
> > > > >>
> > > > >> Doug
> > > > >
> > > > >  From https://wiki.freebsd.org/ports/StageDir
> > > > >
> > > > > MAN*/MANLANG/MLINKS now useless
> > > > > manpage compression/uncompression is now automatically handled by=
 the
> > > > > framework if you use stagedir.
> > > >=20
> > > > ... and yet, that's not what happened here. Hence the problem repor=
t.
> > > >=20
> > > > > Take a look at my port: multimedia/ffmpegthumbnailer
> > > > > I believe I did it right :)
> > > >=20
> > > > It's not my port, which is why I CCed the maintainer.
> > > >=20
> > > > Doug
> > >=20
> > > It is the case, the bash port uses STAGE, bash-static doesn't and bash
> > > static is slave port of bash. Try to remove NO_STAGE from
> > > bash-static/Makefile.
> >=20
> > Yeap, my guess was right. After removing NO_STAGE, I have man pages
> > installed correctly.
> >=20
> > =3D=3D=3D=3D> Compressing man pages (compress-man)
> > =3D=3D=3D>  Installing for bash-static-4.2.45_1
> > =3D=3D=3D>  Checking if shells/bash-static already installed
> > =3D=3D=3D>   Registering installation for bash-static-4.2.45_1
> > Installing bash-static-4.2.45_1... done
> >=20
> >=20
> > Do you still think that backward compatibility is a good thing for such
> > a project like FreeBSD ports? I'd like to spend time doing real porting
> > instead of dealing with something like that bug.
> >=20
> > Many projects which were good from the beginning now are pieces of sheet
> > because of backward compatibility, firefox jetpack sdk and xul show this
> > clearly. I don't want to see FreeBSD ports in this list.
> >=20
> > Please fill the pr.
> > diff --git a/shells/bash-static/Makefile b/shells/bash-static/Makefile
> > index f5063a0..363a823 100644
> > --- a/shells/bash-static/Makefile
> > +++ b/shells/bash-static/Makefile
> > @@ -5,5 +5,4 @@ MASTERDIR=3D      ${.CURDIR}/../../shells/bash
> >=20
> >  OPTIONS_SLAVE=3D STATIC
> >=20
> > -NO_STAGE=3D      yes
> >  .include "${MASTERDIR}/Makefile"
>=20
> Actually don't. Do not fill the pr.
>=20
> =CE=9E ~ =E2=86=92 cat /usr/ports/shells/bash-static/Makefile=20
> # Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
> # $FreeBSD$
>=20
> MASTERDIR=3D	${.CURDIR}/../../shells/bash
>=20
> OPTIONS_SLAVE=3D	STATIC
>=20
> .include "${MASTERDIR}/Makefile"
>=20
> The whole port because of STATIC option?
> It'll be better to move this thing to bash port and make it as an
> option. Like zsh maintainer did.
>=20

I have fixed bash-static port.

regards,
Bapt

--1giRMj6yz/+FOIRq
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (FreeBSD)

iEYEARECAAYFAlK8CwoACgkQ8kTtMUmk6EzAfQCfS3c9vsMZ2qq6odUlihYpeEEx
vocAn2Q651p0K2KXfKMIdHQ8r5pKAwm1
=DRnP
-----END PGP SIGNATURE-----

--1giRMj6yz/+FOIRq--



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