Mailing List Archive

Re: Bug of rpm build xapi-1.9.19-2.src.rpm
Hi,

Somebody knows what version of pam_devel i have to use to make this work ???


File "quicktest_ocamltest.ml", line 44, characters 15-38:                                                                                                                                                                                                                    
Error: Unbound value Backtrace.get_backtrace
- scan ocaml/auth scan-ocaml-authx.ml
+ ocamlfind ocamldep -package stdext,uuid,gzip -native -I ../../ocaml/idl -I +ocamldoc -I ../autogen -I ../idl/ocaml_backend -I ../idl -I ../xapi -I .. authx.ml
*** omake: 883/2424 targets are up to date                                                                                                                                                                                                                                   
*** omake: failed (1.10 sec, 6/180 scans, 7/349 rules, 16/1438 digests)
*** omake: targets were not rebuilt because of errors:                                                                                                                                                                                                                       
   ocaml/xapi/quicktest_ocamltest.cmx
      depends on: ocaml/xapi/quicktest_ocamltest.ml
   ocaml/xapi/quicktest_ocamltest.o
      depends on: ocaml/xapi/quicktest_ocamltest.ml
make: *** [all] Error 2



Atentamente,
Juan Carlos Alonso Holmstron
 LinkedIn  about.me
Contact me:  jc_alonso

From: David Scott <dave@recoil.org>
Reply: David Scott <dave@recoil.org>>
Date: January 30, 2015 at 07:13:33
To: Juan Carlos Alonso Holmstron <j.carlos.alonso.h@gmail.com>>
Subject:  Re: Bug of rpm build xapi-1.9.19-2.src.rpm


Feel free to send this type of email to xen-api@lists.xen.org[1] and/or xs-devel@xenserver.org[2] — other people can probably also give you advice.

In this case your version of OCaml is too new, and we accidentally tagged a release with “-warn-error” switched on. I recommend trying to build a more recent version using this repo:

https://github.com/xenserver/buildroot

Good luck!

Dave

[1] http://lists.xenproject.org/mailman/listinfo/xen-api
[2] https://lists.xenserver.org/sympa/subscribe/xs-devel

> On 30 Jan 2015, at 00:41, Juan Carlos Alonso Holmstron <j.carlos.alonso.h@gmail.com> wrote:
>
> Hi, am sending you the error form
>
>
>
> + ocamlfind ocamlopt -package stdext,uuid,log,gzip,xcp-inventory -g -dtypes -thread -warn-error +a-4-6-9-27-28-29 -ccopt -fPIC -I ../../ocaml/idl -I +ocamldoc -I ../autogen -I ../idl/ocaml_backend -I ../idl -I ../xapi -I .. -c authx.ml
> File "authx.ml", line 184, characters 4-6:
> Warning 3: deprecated feature: operator (or); you should use (||) instead
> File "authx.ml", line 1:======================================================== ] 01122 / 01792
> Error: Some fatal warnings were triggered (1 occurrences)
> *** omake: 1122/1792 targets are up to date
> *** omake: failed (15.41 sec, 299/347 scans, 87/308 rules, 509/1778 digests)
> *** omake: targets were not rebuilt because of errors:
> ocaml/auth/authx.cmi
> depends on: ocaml/auth/authx.ml
> ocaml/auth/authx.cmx
> depends on: ocaml/auth/authx.ml
> ocaml/auth/authx.o
> depends on: ocaml/auth/authx.ml
> error: Bad exit status from /var/tmp/rpm-tmp.3n2ccW (%build)
>
>
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.3n2ccW (%build)
>
> Atentamente,
> Juan Carlos Alonso Holmstron
> LinkedIn about.me
> Contact me: jc_alonso
Re: Bug of rpm build xapi-1.9.19-2.src.rpm [ In reply to ]
> On 30 Jan 2015, at 13:11, Juan Carlos Alonso Holmstron <j.carlos.alonso.h@gmail.com> wrote:
>
> Guys…
>
> at ocplib-endian
>
> i had to change main repo to https://github.com/whitequark/ocplib-endian, actual repo doesn’t have tag version, it wasn’t available for downloading

Hi,

I think Euan just noticed this as well and made this pull request:

https://github.com/xenserver/buildroot/pull/612

Cheers,
Dave


>
> Atentamente,
> Juan Carlos Alonso Holmstron
> LinkedIn about.me
> Contact me: jc_alonso
>
> From: David Scott <dave@recoil.org>
> Reply: David Scott <dave@recoil.org>>
> Date: January 30, 2015 at 07:13:33
> To: Juan Carlos Alonso Holmstron <j.carlos.alonso.h@gmail.com>>
> Subject: Re: Bug of rpm build xapi-1.9.19-2.src.rpm
>
>>
>> Feel free to send this type of email to xen-api@lists.xen.org[1] and/or xs-devel@xenserver.org[2] — other people can probably also give you advice.
>>
>> In this case your version of OCaml is too new, and we accidentally tagged a release with “-warn-error” switched on. I recommend trying to build a more recent version using this repo:
>>
>> https://github.com/xenserver/buildroot
>>
>> Good luck!
>>
>> Dave
>>
>> [1] http://lists.xenproject.org/mailman/listinfo/xen-api
>> [2] https://lists.xenserver.org/sympa/subscribe/xs-devel
>>
>> > On 30 Jan 2015, at 00:41, Juan Carlos Alonso Holmstron <j.carlos.alonso.h@gmail.com> wrote:
>> >
>> > Hi, am sending you the error form
>> >
>> >
>> >
>> > + ocamlfind ocamlopt -package stdext,uuid,log,gzip,xcp-inventory -g -dtypes -thread -warn-error +a-4-6-9-27-28-29 -ccopt -fPIC -I ../../ocaml/idl -I +ocamldoc -I ../autogen -I ../idl/ocaml_backend -I ../idl -I ../xapi -I .. -c authx.ml
>> > File "authx.ml", line 184, characters 4-6:
>> > Warning 3: deprecated feature: operator (or); you should use (||) instead
>> > File "authx.ml", line 1:======================================================== ] 01122 / 01792
>> > Error: Some fatal warnings were triggered (1 occurrences)
>> > *** omake: 1122/1792 targets are up to date
>> > *** omake: failed (15.41 sec, 299/347 scans, 87/308 rules, 509/1778 digests)
>> > *** omake: targets were not rebuilt because of errors:
>> > ocaml/auth/authx.cmi
>> > depends on: ocaml/auth/authx.ml
>> > ocaml/auth/authx.cmx
>> > depends on: ocaml/auth/authx.ml
>> > ocaml/auth/authx.o
>> > depends on: ocaml/auth/authx.ml
>> > error: Bad exit status from /var/tmp/rpm-tmp.3n2ccW (%build)
>> >
>> >
>> > RPM build errors:
>> > Bad exit status from /var/tmp/rpm-tmp.3n2ccW (%build)
>> >
>> > Atentamente,
>> > Juan Carlos Alonso Holmstron
>> > LinkedIn about.me
>> > Contact me: jc_alonso


_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
Re: Bug of rpm build xapi-1.9.19-2.src.rpm [ In reply to ]
Hi i had to downgrade on you buildroot repo 
ocaml-xen-lowlevel-libs

from 0.9.28 to 0.9.8 compilable version.. =)

this version gave this error

RPM build errors:
    File not found: /root/rpmbuild/BUILDROOT/ocaml-xen-lowlevel-libs-0.9.28-1.el6.x86_64/usr/lib64/ocaml/xenlight
    File not found by glob: /root/rpmbuild/BUILDROOT/ocaml-xen-lowlevel-libs-0.9.28-1.el6.x86_64/usr/lib64/ocaml/xenlight/*.a
    File not found by glob: /root/rpmbuild/BUILDROOT/ocaml-xen-lowlevel-libs-0.9.28-1.el6.x86_64/usr/lib64/ocaml/xenlight/*.cmxa
    File not found by glob: /root/rpmbuild/BUILDROOT/ocaml-xen-lowlevel-libs-0.9.28-1.el6.x86_64/usr/lib64/ocaml/xenlight/*.cmx
    File not found by glob: /root/rpmbuild/BUILDROOT/ocaml-xen-lowlevel-libs-0.9.28-1.el6.x86_64/usr/lib64/ocaml/xenlight/*.mli
    File not found: /root/rpmbuild/BUILDROOT/ocaml-xen-lowlevel-libs-0.9.28-1.el6.x86_64/usr/lib64/ocaml/xentoollog
    File not found by glob: /root/rpmbuild/BUILDROOT/ocaml-xen-lowlevel-libs-0.9.28-1.el6.x86_64/usr/lib64/ocaml/xentoollog/*.a
    File not found by glob: /root/rpmbuild/BUILDROOT/ocaml-xen-lowlevel-libs-0.9.28-1.el6.x86_64/usr/lib64/ocaml/xentoollog/*.cmxa
    File not found by glob: /root/rpmbuild/BUILDROOT/ocaml-xen-lowlevel-libs-0.9.28-1.el6.x86_64/usr/lib64/ocaml/xentoollog/*.cmx
    File not found by glob: /root/rpmbuild/BUILDROOT/ocaml-xen-lowlevel-libs-0.9.28-1.el6.x86_64/usr/lib64/ocaml/xentoollog/*.mli
    File not found: /root/rpmbuild/BUILDROOT/ocaml-xen-lowlevel-libs-0.9.28-1.el6.x86_64/usr/lib64/ocaml/stublibs/dllxenlight_stubs.so
    File not found: /root/rpmbuild/BUILDROOT/ocaml-xen-lowlevel-libs-0.9.28-1.el6.x86_64/usr/lib64/ocaml/stublibs/dllxenlight_stubs.so.owner
    File not found: /root/rpmbuild/BUILDROOT/ocaml-xen-lowlevel-libs-0.9.28-1.el6.x86_64/usr/lib64/ocaml/stublibs/dllxentoollog_stubs.so
    File not found: /root/rpmbuild/BUILDROOT/ocaml-xen-lowlevel-libs-0.9.28-1.el6.x86_64/usr/lib64/ocaml/stublibs/dllxentoollog_stubs.so.owner

Atentamente,
Juan Carlos Alonso Holmstron
 LinkedIn  about.me
Contact me:  jc_alonso

From: David Scott <dave@recoil.org>
Reply: David Scott <dave@recoil.org>>
Date: January 30, 2015 at 11:05:05
To: Juan Carlos Alonso Holmstron <j.carlos.alonso.h@gmail.com>>
Cc: xen-api@lists.xen.org <xen-api@lists.xen.org>>, xs-devel@xenserver.org <xs-devel@xenserver.org>>
Subject:  Re: Bug of rpm build xapi-1.9.19-2.src.rpm


> On 30 Jan 2015, at 13:11, Juan Carlos Alonso Holmstron <j.carlos.alonso.h@gmail.com> wrote:
>
> Guys…
>
> at ocplib-endian
>
> i had to change main repo to https://github.com/whitequark/ocplib-endian, actual repo doesn’t have tag version, it wasn’t available for downloading

Hi,

I think Euan just noticed this as well and made this pull request:

https://github.com/xenserver/buildroot/pull/612

Cheers,
Dave


>
> Atentamente,
> Juan Carlos Alonso Holmstron
> LinkedIn about.me
> Contact me: jc_alonso
>
> From: David Scott <dave@recoil.org>
> Reply: David Scott <dave@recoil.org>>
> Date: January 30, 2015 at 07:13:33
> To: Juan Carlos Alonso Holmstron <j.carlos.alonso.h@gmail.com>>
> Subject: Re: Bug of rpm build xapi-1.9.19-2.src.rpm
>
>>
>> Feel free to send this type of email to xen-api@lists.xen.org[1] and/or xs-devel@xenserver.org[2] — other people can probably also give you advice.
>>
>> In this case your version of OCaml is too new, and we accidentally tagged a release with “-warn-error” switched on. I recommend trying to build a more recent version using this repo:
>>
>> https://github.com/xenserver/buildroot
>>
>> Good luck!
>>
>> Dave
>>
>> [1] http://lists.xenproject.org/mailman/listinfo/xen-api
>> [2] https://lists.xenserver.org/sympa/subscribe/xs-devel
>>
>> > On 30 Jan 2015, at 00:41, Juan Carlos Alonso Holmstron <j.carlos.alonso.h@gmail.com> wrote:
>> >
>> > Hi, am sending you the error form
>> >
>> >
>> >
>> > + ocamlfind ocamlopt -package stdext,uuid,log,gzip,xcp-inventory -g -dtypes -thread -warn-error +a-4-6-9-27-28-29 -ccopt -fPIC -I ../../ocaml/idl -I +ocamldoc -I ../autogen -I ../idl/ocaml_backend -I ../idl -I ../xapi -I .. -c authx.ml
>> > File "authx.ml", line 184, characters 4-6:
>> > Warning 3: deprecated feature: operator (or); you should use (||) instead
>> > File "authx.ml", line 1:======================================================== ] 01122 / 01792
>> > Error: Some fatal warnings were triggered (1 occurrences)
>> > *** omake: 1122/1792 targets are up to date
>> > *** omake: failed (15.41 sec, 299/347 scans, 87/308 rules, 509/1778 digests)
>> > *** omake: targets were not rebuilt because of errors:
>> > ocaml/auth/authx.cmi
>> > depends on: ocaml/auth/authx.ml
>> > ocaml/auth/authx.cmx
>> > depends on: ocaml/auth/authx.ml
>> > ocaml/auth/authx.o
>> > depends on: ocaml/auth/authx.ml
>> > error: Bad exit status from /var/tmp/rpm-tmp.3n2ccW (%build)
>> >
>> >
>> > RPM build errors:
>> > Bad exit status from /var/tmp/rpm-tmp.3n2ccW (%build)
>> >
>> > Atentamente,
>> > Juan Carlos Alonso Holmstron
>> > LinkedIn about.me
>> > Contact me: jc_alonso