Re: ntp-4.2.6p5-11.fc19.src.rpm does not rpmbuild...

2013-11-05 Thread Barry Scott
On Fri 18 Oct 2013 17:59:31 Miroslav Lichvar wrote:
 On Fri, Oct 18, 2013 at 02:14:40PM +0100, Barry Scott wrote:
  On Thu 17 Oct 2013 17:56:57 Barry Scott wrote:
   I need to patch ntp for my uses. But I find that the src rpm will not
   build
   on F19.
   
   cd .  env
   PATH=/home/bscott/rpmbuild/BUILD/ntp-4.2.6p5/ntpd:/home/bscott/bin:/usr
   /loc al/bin:/bin:/usr/bin:/usr/local/sbin:/sbin:/usr/sbin autogen -L
   ../include --writable -Tagman1.tpl -bntpd ntpd-opts.def
   ice-9/psyntax.scm:1259:12: In procedure dobody:
 
   ice-9/psyntax.scm:1259:12: Syntax error:
 That looks like https://bugzilla.redhat.com/show_bug.cgi?id=958908.
 
 It's fixed in autogen-5.18-1.fc20. The F19 ntp spec includes a
 workaround touch ntpd/ntpd.1 util/ntp-keygen.1, which prevents
 autogen from rebuilding the man pages. If you are patching other
 autogen files in the ntp code, you'll need to update the autogen
 package or similarly touch the other man pages.

Thanks for the info.

I found the touch commands in the first F20 ntp SRPM and that got the rpmbuild 
working.

Barry

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: ntp-4.2.6p5-11.fc19.src.rpm does not rpmbuild...

2013-10-18 Thread Barry Scott
On Thu 17 Oct 2013 17:56:57 Barry Scott wrote:
 I need to patch ntp for my uses. But I find that the src rpm will not build
 on F19.
 
 
 cd .  env
 PATH=/home/bscott/rpmbuild/BUILD/ntp-4.2.6p5/ntpd:/home/bscott/bin:/usr/loc
 al/bin:/bin:/usr/bin:/usr/local/sbin:/sbin:/usr/sbin autogen -L ../include
 --writable -Tagman1.tpl -bntpd ntpd-opts.def ice-9/psyntax.scm:1259:12: In
 procedure dobody:
 ice-9/psyntax.scm:1259:12: Syntax error:
 /usr/share/autogen/agman1.tpl:187:6: definition in expression context, where
 definitions are not allowed, in form (define optname-from _^)
 Scheme evaluation error.  AutoGen ABEND-ing in template
 /usr/share/autogen/agman1.tpl on line 179
 Failing Guile command:  = = = = =
 
 (define opt-arg  )
 (define dis-name )
 (define opt-name )
 (define optname-from A-Z_^)
 (define optname-to   a-z--)
 (if (exist? preserve-case)
(begin
   (define optname-from _^)
   (define optname-to   --)
 )  )
 (if (exist? option-info)
 (string-append \n.PP\n (get option-info) \n) )
 
 =
 
 Is this being worked on or should I report a bug? I'd appreciate know what
 needs fixing.
 
 Barry

I see that some work was done for F20 (fixing date issues in %changelog). But 
it still fails the same way when I build the F20 SRPM on F19.

Barry

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: ntp-4.2.6p5-11.fc19.src.rpm does not rpmbuild...

2013-10-18 Thread Miroslav Lichvar
On Fri, Oct 18, 2013 at 02:14:40PM +0100, Barry Scott wrote:
 On Thu 17 Oct 2013 17:56:57 Barry Scott wrote:
  I need to patch ntp for my uses. But I find that the src rpm will not build
  on F19.
  
  cd .  env
  PATH=/home/bscott/rpmbuild/BUILD/ntp-4.2.6p5/ntpd:/home/bscott/bin:/usr/loc
  al/bin:/bin:/usr/bin:/usr/local/sbin:/sbin:/usr/sbin autogen -L ../include
  --writable -Tagman1.tpl -bntpd ntpd-opts.def ice-9/psyntax.scm:1259:12: In
  procedure dobody:
  ice-9/psyntax.scm:1259:12: Syntax error:

That looks like https://bugzilla.redhat.com/show_bug.cgi?id=958908.

It's fixed in autogen-5.18-1.fc20. The F19 ntp spec includes a
workaround touch ntpd/ntpd.1 util/ntp-keygen.1, which prevents
autogen from rebuilding the man pages. If you are patching other
autogen files in the ntp code, you'll need to update the autogen
package or similarly touch the other man pages.

-- 
Miroslav Lichvar
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

ntp-4.2.6p5-11.fc19.src.rpm does not rpmbuild...

2013-10-17 Thread Barry Scott
I need to patch ntp for my uses. But I find that the src rpm will not build on 
F19.


cd .  env 
PATH=/home/bscott/rpmbuild/BUILD/ntp-4.2.6p5/ntpd:/home/bscott/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/sbin:/usr/sbin
 
autogen -L ../include --writable -Tagman1.tpl -bntpd ntpd-opts.def
ice-9/psyntax.scm:1259:12: In procedure dobody:
ice-9/psyntax.scm:1259:12: Syntax error:
/usr/share/autogen/agman1.tpl:187:6: definition in expression context, where 
definitions are not allowed, in form (define optname-from _^)
Scheme evaluation error.  AutoGen ABEND-ing in template
/usr/share/autogen/agman1.tpl on line 179
Failing Guile command:  = = = = =

(define opt-arg  )
(define dis-name )
(define opt-name )
(define optname-from A-Z_^)
(define optname-to   a-z--)
(if (exist? preserve-case)
   (begin
  (define optname-from _^)
  (define optname-to   --)
)  )
(if (exist? option-info)
(string-append \n.PP\n (get option-info) \n) )

=

Is this being worked on or should I report a bug? I'd appreciate know what 
needs fixing.

Barry


-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct