All of lore.kernel.org
 help / color / mirror / Atom feed
* Jewel build for CentOS 6
@ 2016-06-08  0:13 Muminul Islam Russell
  2016-06-13 15:39 ` Ken Dreyer
  0 siblings, 1 reply; 2+ messages in thread
From: Muminul Islam Russell @ 2016-06-08  0:13 UTC (permalink / raw)
  To: ceph-devel

Hello Cephers,

I was trying to build Jewel for Centos 6 for personal purpose. I fixed
couple of things and at the end I got the following error. Please let
me know if anyone have any idea how to fix this issue.

-------
writing... rbd-mirror.8 { } rbdmap.8 { } ceph-detect-init.8 { }
ceph-rest-api.8 { } osdmaptool.8 { } ceph-rbdnamer.8 { }
ceph-create-keys.8 { } ceph-disk.8 { } cephfs.8 { } ceph.8 { }
monmaptool.8 { } ceph-deploy.8 { } ceph-debugpack.8 { }
ceph-dencoder.8 { } rbd-nbd.8 { } mount.ceph.8 { } radosgw-admin.8 { }
ceph-fuse.8 { } ceph-authtool.8 { } ceph-run.8 { } librados-config.8 {
} ceph-clsinfo.8 { } ceph-post-file.8 { } ceph-mds.8 { } ceph-osd.8 {
} ceph-syn.8 { } crushtool.8 { } rbd-fuse.8 { } radosgw.8 { }
ceph-conf.8 { } ceph-mon.8 { } rados.8 { } rbd-replay-many.8 { }
rbd-replay-prep.8 { } rbd.8 { } rbd-replay.8 { }
build succeeded.
make[1]: Leaving directory `/root/rpmbuild/BUILD/ceph-10.2.1/man'
Making all in doc
make[1]: Entering directory `/root/rpmbuild/BUILD/ceph-10.2.1/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/rpmbuild/BUILD/ceph-10.2.1/doc'
Making all in systemd
make[1]: Entering directory `/root/rpmbuild/BUILD/ceph-10.2.1/systemd'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/rpmbuild/BUILD/ceph-10.2.1/systemd'
Making all in selinux
make[1]: Entering directory `/root/rpmbuild/BUILD/ceph-10.2.1/selinux'
make -j1 -f /usr/share/selinux/devel/Makefile ceph.pp
make[2]: Entering directory `/root/rpmbuild/BUILD/ceph-10.2.1/selinux'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
Compiling targeted ceph module
/usr/bin/checkmodule:  loading policy configuration from tmp/ceph.tmp
ceph.te":109:ERROR 'syntax error' at token 'fsadm_manage_pid' on line 15485:

fsadm_manage_pid(ceph_t)
/usr/bin/checkmodule:  error(s) encountered while parsing configuration
make[2]: *** [tmp/ceph.mod] Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/ceph-10.2.1/selinux'
make[1]: *** [ceph.pp] Error 2
make[1]: Leaving directory `/root/rpmbuild/BUILD/ceph-10.2.1/selinux'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.pInRWe (%build

--
Russell

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

* Re: Jewel build for CentOS 6
  2016-06-08  0:13 Jewel build for CentOS 6 Muminul Islam Russell
@ 2016-06-13 15:39 ` Ken Dreyer
  0 siblings, 0 replies; 2+ messages in thread
From: Ken Dreyer @ 2016-06-13 15:39 UTC (permalink / raw)
  To: Muminul Islam Russell; +Cc: ceph-devel

You really should upgrade to CentOS 7, particularly with such a
fast-moving project as Ceph :) The time required to stabilize a 10.2.1
build on el6 probably outweighs the time required to migrate OS
versions.

That said, if you really want to get el6 builds working, you'll
probably want to patch out SELinux support, disable debug package
generation in the RPM, and use a newer GCC.

- Ken


On Tue, Jun 7, 2016 at 6:13 PM, Muminul Islam Russell <misla011@fiu.edu> wrote:
> Hello Cephers,
>
> I was trying to build Jewel for Centos 6 for personal purpose. I fixed
> couple of things and at the end I got the following error. Please let
> me know if anyone have any idea how to fix this issue.
>
> -------
> writing... rbd-mirror.8 { } rbdmap.8 { } ceph-detect-init.8 { }
> ceph-rest-api.8 { } osdmaptool.8 { } ceph-rbdnamer.8 { }
> ceph-create-keys.8 { } ceph-disk.8 { } cephfs.8 { } ceph.8 { }
> monmaptool.8 { } ceph-deploy.8 { } ceph-debugpack.8 { }
> ceph-dencoder.8 { } rbd-nbd.8 { } mount.ceph.8 { } radosgw-admin.8 { }
> ceph-fuse.8 { } ceph-authtool.8 { } ceph-run.8 { } librados-config.8 {
> } ceph-clsinfo.8 { } ceph-post-file.8 { } ceph-mds.8 { } ceph-osd.8 {
> } ceph-syn.8 { } crushtool.8 { } rbd-fuse.8 { } radosgw.8 { }
> ceph-conf.8 { } ceph-mon.8 { } rados.8 { } rbd-replay-many.8 { }
> rbd-replay-prep.8 { } rbd.8 { } rbd-replay.8 { }
> build succeeded.
> make[1]: Leaving directory `/root/rpmbuild/BUILD/ceph-10.2.1/man'
> Making all in doc
> make[1]: Entering directory `/root/rpmbuild/BUILD/ceph-10.2.1/doc'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/root/rpmbuild/BUILD/ceph-10.2.1/doc'
> Making all in systemd
> make[1]: Entering directory `/root/rpmbuild/BUILD/ceph-10.2.1/systemd'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/root/rpmbuild/BUILD/ceph-10.2.1/systemd'
> Making all in selinux
> make[1]: Entering directory `/root/rpmbuild/BUILD/ceph-10.2.1/selinux'
> make -j1 -f /usr/share/selinux/devel/Makefile ceph.pp
> make[2]: Entering directory `/root/rpmbuild/BUILD/ceph-10.2.1/selinux'
> make[2]: warning: -jN forced in submake: disabling jobserver mode.
> Compiling targeted ceph module
> /usr/bin/checkmodule:  loading policy configuration from tmp/ceph.tmp
> ceph.te":109:ERROR 'syntax error' at token 'fsadm_manage_pid' on line 15485:
>
> fsadm_manage_pid(ceph_t)
> /usr/bin/checkmodule:  error(s) encountered while parsing configuration
> make[2]: *** [tmp/ceph.mod] Error 1
> make[2]: Leaving directory `/root/rpmbuild/BUILD/ceph-10.2.1/selinux'
> make[1]: *** [ceph.pp] Error 2
> make[1]: Leaving directory `/root/rpmbuild/BUILD/ceph-10.2.1/selinux'
> make: *** [all-recursive] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.pInRWe (%build
>
> --
> Russell
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2016-06-13 15:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-08  0:13 Jewel build for CentOS 6 Muminul Islam Russell
2016-06-13 15:39 ` Ken Dreyer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.