Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Feb 2014 19:31:35 -0600
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Albert Shih <Albert.Shih@obspm.fr>, freebsd-ports@freebsd.org, Thierry Thomas <thierry@FreeBSD.org>
Subject:   Re: mutt port broken with SLANG option [was mutt ports broke portupgrade]
Message-ID:  <52F19477.6050306@FreeBSD.org>
In-Reply-To: <20140204232420.GA76864@pcjas.obspm.fr>
References:  <20140204232420.GA76864@pcjas.obspm.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--dXVQleCoEUp4nKGOtJa4Uu7SO6KENSonN
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 2/4/2014 5:24 PM, Albert Shih wrote:
> hi all,
>=20
> mutt ports broke portuprade in the last update
>=20
> [root@ /root]# portupgrade --all
> [Reading data from pkg(8) ... - 886 packages found - done]
> [Updating the portsdb <format:dbm_hash> in /usr/ports ... - 24579 port
> entries found
> .........1000.........2000.........3000.........4000.........5000......=
=2E..6000.........7000.........8000.........9000.........10000.........11=
000.........12000.........13000.........14000.........15000.........16000=
=2E........17000.........18000.........19000.........20000.........21000.=
=2E.......22000.........23000.........24000.....
> ..... done]
> "Makefile", line 441: Unassociated shell command "@${ECHO} "=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=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=3D=3D=3D"=
 > ${PKGMESSAGE}"
> "Makefile", line 442: Unassociated shell command "@${ECHO} "You have in=
stalled ${PORTNAME} with SLANG support." >> ${PKGMESSAGE}"
> "Makefile", line 443: Unassociated shell command "@${ECHO} "This may wo=
rk for a color terminal only when defining" >> ${PKGMESSAGE}"
> "Makefile", line 444: Unassociated shell command "@${ECHO} "COLORTERM=3D=
yes and COLORFGBG=3D\"color1;color2\" in your" >> ${PKGMESSAGE}"
> "Makefile", line 445: Unassociated shell command "@${ECHO} "environment=
=2E" >> ${PKGMESSAGE}"
> "Makefile", line 446: Unassociated shell command "@${ECHO} "=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=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=3D=3D=3D"=
 >> ${PKGMESSAGE}"
> make: fatal errors encountered -- cannot continue
> ** Makefile possibly broken: mail/mutt:
> ** Please report this to the maintainer for mail/mutt
> /usr/local/sbin/portupgrade:1580:in `get_pkgname': Makefile broken (Mak=
efileBrokenError)
>         from /usr/local/sbin/portupgrade:642:in `block (4 levels) in ma=
in'
>         from /usr/local/sbin/portupgrade:626:in `each'
>         from /usr/local/sbin/portupgrade:626:in `block (3 levels) in ma=
in'
>         from /usr/local/sbin/portupgrade:599:in `catch'
>         from /usr/local/sbin/portupgrade:599:in `block (2 levels) in ma=
in'
>         from /usr/local/lib/ruby/2.0/optparse.rb:1408:in `call'
>         from /usr/local/lib/ruby/2.0/optparse.rb:1408:in `block (2 leve=
ls) in parse_in_order'
>         from /usr/local/lib/ruby/2.0/optparse.rb:1403:in `catch'
>         from /usr/local/lib/ruby/2.0/optparse.rb:1403:in `block in pars=
e_in_order'
>         from /usr/local/lib/ruby/2.0/optparse.rb:1351:in `catch'
>         from /usr/local/lib/ruby/2.0/optparse.rb:1351:in `parse_in_orde=
r'
>         from /usr/local/lib/ruby/2.0/optparse.rb:1345:in `order!'
>         from /usr/local/lib/ruby/2.0/optparse.rb:1337:in `order'
>         from /usr/local/sbin/portupgrade:576:in `block in main'
>         from /usr/local/lib/ruby/2.0/optparse.rb:885:in `initialize'
>         from /usr/local/sbin/portupgrade:237:in `new'
>         from /usr/local/sbin/portupgrade:237:in `main'
>         from /usr/local/sbin/portupgrade:2371:in `<main>'
>=20
> Regards.
>=20
> JAS
>=20

It's more than just portupgrade, the port is broken when you select the
SLANG option.

This block of code needs some help. The ECHO lines used to be in
post-install but are now orphaned, and the PKGMESSAGE seems orphaned
too, I can't find the actual file.

> .if ${PORT_OPTIONS:MSLANG}
> PKGMESSAGE=3D     ${WRKDIR}/pkg-message
>         @${ECHO} "=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=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=3D=3D=3D" > ${PKGMESSAGE}
>         @${ECHO} "You have installed ${PORTNAME} with SLANG support." >=
> ${PKGMESSAGE}
>         @${ECHO} "This may work for a color terminal only when defining=
" >> ${PKGMESSAGE}
>         @${ECHO} "COLORTERM=3Dyes and COLORFGBG=3D\"color1;color2\" in =
your" >> ${PKGMESSAGE}
>         @${ECHO} "environment." >> ${PKGMESSAGE}
>         @${ECHO} "=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=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=3D=3D=3D" >> ${PKGMESSAGE}
> .endif




--=20
Regards,
Bryan Drewery


--dXVQleCoEUp4nKGOtJa4Uu7SO6KENSonN
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS8ZR7AAoJEDXXcbtuRpfP29AIAI6YD0V9LNkDAsIJiPbcOpgD
f74bUgy0uu7AkgR+guhj1tx5mLLOkwss2UaYWuNZnDuBvHsh3lMjWj8Qvti7ZY3U
v+5Y9J9kh8tUetV8kIiwLFRhNYsvdhcxNuGiKTY3Ac+EmAgRi0TvCUfhAoAh5QfO
c9PZOOaP/Bc8vME3xrAbzajMlNIAPc1BJe2QWzVyCg14K2poegOS0JwGbgcWvUO7
ab0AGC3BTPgguJXHxIH0hDAvUAKpxEixXzO/X9QFbDEYS3jxcUrhp3ZZ9TMCeBGW
kcLPYuafBEpSCBkgMibAOftE8gH8goYmWzUDfZWEH+qFw32SoJKuAVmmxIMffd0=
=Vuae
-----END PGP SIGNATURE-----

--dXVQleCoEUp4nKGOtJa4Uu7SO6KENSonN--



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