zsh-workers
 help / color / mirror / code / Atom feed
* Zsh on Precise Pangolin; META-FAQ does not build properly under recent yodl
@ 2012-09-06 18:14 Bart Schaefer
  2012-09-06 20:47 ` Axel Beckert
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Bart Schaefer @ 2012-09-06 18:14 UTC (permalink / raw)
  To: Zsh hackers list

I've just set up a Ubuntu 12.04 desktop.  Zsh is not a default package
on Ubuntu, apt-get installs 4.3.17 (the zsh-beta package is actually
older, only 4.3.12-dev-something).  So I decided to build zsh 5.0.0.

After installing build-essential, yodl, and some other miscellaneous
packages that Ubuntu makes it unnecessarily difficult to discover that
you need (Software Center may look like the Apple Store, but it's
nowhere near as helpful as Synaptic) I was able to configure and build
zsh from the sourceforge repository.

However, by chance I noticed that META-FAQ comes out like this:

The latest version of this META-FAQ can be found at any of the FTP sites
listed below.
SECTHEADAuthor
Zsh was originally written by Paul Falstad <pf@zsh.org>.
Zsh is now maintained by the members of the zsh-workers mailing
list <zsh-workers@zsh.org>.  The development is currently
coordinated by Peter Stephenson <pws@zsh.org>.  The coordinator
can be contacted at <coordinator@zsh.org>, but matters relating to
the code should generally go to the mailing list.
SECTHEADAvailability
Zsh is available from the following anonymous FTP sites.  [...]


The version of yodl available via apt-get for this distribution is
3.00.0.  The newline in the definition of sect() from META-FAQ.yo is
being lost for some reason.  I just checked my build on MacOS Lion
(which is even more of a pain to set up, because Xcode no longer
includes any of the GNU toolchain) where yodl is 2.13.2 [*] and
actually it comes out the same way there, so this may have been broken
for a while.  It's correct in the zsh tarball so PWS must have a
different version of yodl on his build host (?).


[*] This Mac started out Lion with users restored at setup time from
TimeMachine of an older SnowLeopard Mac where MacPorts had been
installed, then had Xcode installed, then was updated to Mountain Lion
and had Xcode installed again, and then had MacPorts reinstalled; so
yodl may have come from anywhere.  But yodl otherwise works, so I
haven't tried re-installing it.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Zsh on Precise Pangolin; META-FAQ does not build properly under recent yodl
  2012-09-06 18:14 Zsh on Precise Pangolin; META-FAQ does not build properly under recent yodl Bart Schaefer
@ 2012-09-06 20:47 ` Axel Beckert
  2012-09-07  8:52 ` Peter Stephenson
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Axel Beckert @ 2012-09-06 20:47 UTC (permalink / raw)
  To: zsh-workers

Hi,

On Thu, Sep 06, 2012 at 11:14:45AM -0700, Bart Schaefer wrote:
> I've just set up a Ubuntu 12.04 desktop.  Zsh is not a default package
> on Ubuntu, apt-get installs 4.3.17 (the zsh-beta package is actually
> older, only 4.3.12-dev-something).  So I decided to build zsh 5.0.0.
> 
> After installing build-essential, yodl, and some other miscellaneous
> packages that Ubuntu makes it unnecessarily difficult to discover that
> you need (Software Center may look like the Apple Store, but it's
> nowhere near as helpful as Synaptic) I was able to configure and build
> zsh from the sourceforge repository.
> 
> However, by chance I noticed that META-FAQ comes out like this:
> 
> The latest version of this META-FAQ can be found at any of the FTP sites
> listed below.
> SECTHEADAuthor
> Zsh was originally written by Paul Falstad <pf@zsh.org>.
> Zsh is now maintained by the members of the zsh-workers mailing
> list <zsh-workers@zsh.org>.  The development is currently
> coordinated by Peter Stephenson <pws@zsh.org>.  The coordinator
> can be contacted at <coordinator@zsh.org>, but matters relating to
> the code should generally go to the mailing list.
> SECTHEADAvailability
> Zsh is available from the following anonymous FTP sites.  [...]

I can confirm that this problem also exists in Debian's 4.3.17 (Wheezy
aka Testing; Unstable) and 5.0.0 (Experimental) packages.

> The version of yodl available via apt-get for this distribution is
> 3.00.0.

Same for Debian Testing and Unstable.

> The newline in the definition of sect() from META-FAQ.yo is
> being lost for some reason.  I just checked my build on MacOS Lion
> (which is even more of a pain to set up, because Xcode no longer
> includes any of the GNU toolchain) where yodl is 2.13.2 [*] and
> actually it comes out the same way there, so this may have been broken
> for a while.

Debian Stable aka Squeeze seems to be fine: zsh 4.3.10 and yodl
2.15.2. But IIRC back then, the Debian zsh package took the
pre-compiled docs from the official tarball...

> It's correct in the zsh tarball so PWS must have a
> different version of yodl on his build host (?).

... while we build the docs with adapted paths at build time for a
year or such.

		Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe@deuxchevaux.org  (Mail)
 X   See http://www.asciiribbon.org/              | abe@noone.org (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Zsh on Precise Pangolin; META-FAQ does not build properly under recent yodl
  2012-09-06 18:14 Zsh on Precise Pangolin; META-FAQ does not build properly under recent yodl Bart Schaefer
  2012-09-06 20:47 ` Axel Beckert
@ 2012-09-07  8:52 ` Peter Stephenson
  2012-09-09 14:02 ` 滝本 淳一
  2012-09-09 15:06 ` Jun T.
  3 siblings, 0 replies; 5+ messages in thread
From: Peter Stephenson @ 2012-09-07  8:52 UTC (permalink / raw)
  To: Zsh hackers list

On Thu, 6 Sep 2012 11:14:45 -0700
Bart Schaefer <schaefer@brasslantern.com> wrote:
> The version of yodl available via apt-get for this distribution is
> 3.00.0.  The newline in the definition of sect() from META-FAQ.yo is
> being lost for some reason.  I just checked my build on MacOS Lion
> (which is even more of a pain to set up, because Xcode no longer
> includes any of the GNU toolchain) where yodl is 2.13.2 [*] and
> actually it comes out the same way there, so this may have been broken
> for a while.  It's correct in the zsh tarball so PWS must have a
> different version of yodl on his build host (?).

I've got 1.31.18 here, but I may have a different version at home where
I built it; it won't be 3 though it's conceivable it's some version of
2.  I don't track versions of yodl; it was unmaintained for some time
and although I had a go at Yodl 2 at some point I've mostly kept to what
I know works.

It would be helpful if someone using a more recent version could
investigate.  Is this the only thing showing up?

-- 
Peter Stephenson <pws@csr.com>            Software Engineer
Tel: +44 (0)1223 692070                   Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK


Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Zsh on Precise Pangolin; META-FAQ does not build properly under recent yodl
  2012-09-06 18:14 Zsh on Precise Pangolin; META-FAQ does not build properly under recent yodl Bart Schaefer
  2012-09-06 20:47 ` Axel Beckert
  2012-09-07  8:52 ` Peter Stephenson
@ 2012-09-09 14:02 ` 滝本 淳一
  2012-09-09 15:06 ` Jun T.
  3 siblings, 0 replies; 5+ messages in thread
From: 滝本 淳一 @ 2012-09-09 14:02 UTC (permalink / raw)
  To: zsh-workers

>The newline in the definition of sect() from META-FAQ.yo is
>being lost for some reason.

Passing an option '-k' to yodl seems to work (tested with
yodl 2.13.2 and 3.00.0).

zsh manpages generated by with and without -k seem to be identical.

man yodl suggests that the option -k is new to yodl-2 to make
it compatible with yodl-1. If this is the case, then the
following patch may work:


Index: configure.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.ac,v
retrieving revision 1.141
diff -u -r1.141 configure.ac
--- configure.ac	17 Aug 2012 11:12:34 -0000	1.141
+++ configure.ac	9 Sep 2012 13:47:49 -0000
@@ -565,7 +565,8 @@
 YODL_OPTIONS=''
 if test "x$ac_cv_prog_YODL" = xyodl; then
     case `yodl --version` in
-      *"version 3."*) YODL_OPTIONS='-L' ;;
+      *"version 2."*) YODL_OPTIONS='-k' ;;
+      *"version 3."*) YODL_OPTIONS='-k -L' ;;
     esac
 fi
 AC_SUBST(YODL_OPTIONS)



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Zsh on Precise Pangolin; META-FAQ does not build properly under recent yodl
  2012-09-06 18:14 Zsh on Precise Pangolin; META-FAQ does not build properly under recent yodl Bart Schaefer
                   ` (2 preceding siblings ...)
  2012-09-09 14:02 ` 滝本 淳一
@ 2012-09-09 15:06 ` Jun T.
  3 siblings, 0 replies; 5+ messages in thread
From: Jun T. @ 2012-09-09 15:06 UTC (permalink / raw)
  To: zsh-workers

Sorry, the patch was broken.

Index: configure.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.ac,v
retrieving revision 1.141
diff -u -r1.141 configure.ac
--- configure.ac	17 Aug 2012 11:12:34 -0000	1.141
+++ configure.ac	9 Sep 2012 13:47:49 -0000
@@ -565,7 +565,8 @@
 YODL_OPTIONS=''
 if test "x$ac_cv_prog_YODL" = xyodl; then
     case `yodl --version` in
-      *"version 3."*) YODL_OPTIONS='-L' ;;
+      *"version 2."*) YODL_OPTIONS='-k' ;;
+      *"version 3."*) YODL_OPTIONS='-k -L' ;;
     esac
 fi
 AC_SUBST(YODL_OPTIONS)




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-09-09 15:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-06 18:14 Zsh on Precise Pangolin; META-FAQ does not build properly under recent yodl Bart Schaefer
2012-09-06 20:47 ` Axel Beckert
2012-09-07  8:52 ` Peter Stephenson
2012-09-09 14:02 ` 滝本 淳一
2012-09-09 15:06 ` Jun T.

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).