Re: Ceph master RPM build failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13:43 Thu 24 Oct, Liu, Changcheng wrote:
> On 13:38 Thu 24 Oct, kefu chai wrote:
> > On Thu, Oct 24, 2019 at 1:16 PM Liu, Changcheng
> > <changcheng.liu@xxxxxxxxx> wrote:
> > >
> > > Hi all,
> > >    Does anyone meet with below problem when building Ceph master code
> > >    into RPM package? The head commit id is:
> > >        commit bf09a04d2275de2143feeb63f5e125396c7d4a72
> > >        Merge: e190825 7d2bd68
> > >        Author: Sage Weil <sage@xxxxxxxxxx>
> > >        Date:   Wed Oct 23 19:46:06 2019 -0500
> > >
> > >    Build fail problem log:
> > >        extracting debug info from
> > >        /home/rdma/rpmbuild/BUILDROOT/ceph-14.0.0-16421.gf71d2b3.el7.x86_64/usr/bin/ceph-mon
> > >        extracting debug info from
> > >        /home/rdma/rpmbuild/BUILDROOT/ceph-14.0.0-16421.gf71d2b3.el7.x86_64/usr/bin/ceph-osd
> > >        /usr/lib/rpm/find-debuginfo.sh: line 127: 1334864 Bus error
> > >        (core dumped) eu-strip --remove-comment $r $g -f "$1" "$2"
> > >        error: Bad exit status from /var/tmp/rpm-tmp.0sqY3a (%install)
> > 
> > i think it's a bug in eu-strip. so probably you could try to print out
> > the backtrace with the coredump after installing elfutils-debuginfo ?
> > FWIW, please make sure that you are using a update-to-date version of
> > elfutils. as the distro, platform and version of elfutils are missing
> > in your mail.

I've built out the PRM packages after
   1) Keep the left disk space for more than 100G before triggering build
   2) Keep the "free memory" more than 50G before triggering build
   3) Make below change when building SRC on RHEL7.6 OS
      diff --git a/install-deps.sh b/install-deps.sh
      index 7c4732e..d83ecc2 100755
      --- a/install-deps.sh
      +++ b/install-deps.sh
      @@ -398,7 +398,7 @@ else
               esac
               munge_ceph_spec_in $with_seastar $for_make_check $DIR/ceph.spec
               # for python3_pkgversion macro defined by python-srpm-macros, which is required by python3-devel
      -        $SUDO $yumdnf install -y python3-devel
      +        $SUDO $yumdnf install -y python36-devel
               $SUDO $builddepcmd $DIR/ceph.spec 2>&1 | tee $DIR/yum-builddep.out
               [ ${PIPESTATUS[0]} -ne 0 ] && exit 1
              if [ -n "$dts_ver" ]; then

Regards
Changcheng

> 
> > 
> > >
> > > B.R.
> > > Changcheng
> > > _______________________________________________
> > > Dev mailing list -- dev@xxxxxxx
> > > To unsubscribe send an email to dev-leave@xxxxxxx
> > 
> > 
> > 
> > -- 
> > Regards
> > Kefu Chai
> _______________________________________________
> Dev mailing list -- dev@xxxxxxx
> To unsubscribe send an email to dev-leave@xxxxxxx
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx



[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux