mutt port broken with SLANG option [was mutt ports broke portupgrade]
Bryan Drewery
bdrewery at FreeBSD.org
Wed Feb 5 01:31:49 UTC 2014
On 2/4/2014 5:24 PM, Albert Shih wrote:
> hi all,
>
> mutt ports broke portuprade in the last update
>
> [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.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000.........19000.........20000.........21000.........22000.........23000.........24000.....
> ..... done]
> "Makefile", line 441: Unassociated shell command "@${ECHO} "=====================================================" > ${PKGMESSAGE}"
> "Makefile", line 442: Unassociated shell command "@${ECHO} "You have installed ${PORTNAME} with SLANG support." >> ${PKGMESSAGE}"
> "Makefile", line 443: Unassociated shell command "@${ECHO} "This may work for a color terminal only when defining" >> ${PKGMESSAGE}"
> "Makefile", line 444: Unassociated shell command "@${ECHO} "COLORTERM=yes and COLORFGBG=\"color1;color2\" in your" >> ${PKGMESSAGE}"
> "Makefile", line 445: Unassociated shell command "@${ECHO} "environment." >> ${PKGMESSAGE}"
> "Makefile", line 446: Unassociated shell command "@${ECHO} "=====================================================" >> ${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 (MakefileBrokenError)
> from /usr/local/sbin/portupgrade:642:in `block (4 levels) in main'
> from /usr/local/sbin/portupgrade:626:in `each'
> from /usr/local/sbin/portupgrade:626:in `block (3 levels) in main'
> from /usr/local/sbin/portupgrade:599:in `catch'
> from /usr/local/sbin/portupgrade:599:in `block (2 levels) in main'
> 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 levels) 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 parse_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_order'
> 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>'
>
> Regards.
>
> JAS
>
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= ${WRKDIR}/pkg-message
> @${ECHO} "=====================================================" > ${PKGMESSAGE}
> @${ECHO} "You have installed ${PORTNAME} with SLANG support." >> ${PKGMESSAGE}
> @${ECHO} "This may work for a color terminal only when defining" >> ${PKGMESSAGE}
> @${ECHO} "COLORTERM=yes and COLORFGBG=\"color1;color2\" in your" >> ${PKGMESSAGE}
> @${ECHO} "environment." >> ${PKGMESSAGE}
> @${ECHO} "=====================================================" >> ${PKGMESSAGE}
> .endif
--
Regards,
Bryan Drewery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140204/441cf459/attachment.sig>
More information about the freebsd-ports
mailing list