* ceph.spec.in problem in unstable ceph
@ 2010-08-04 9:18 Xiaoguang Liu
2010-08-04 16:59 ` Sage Weil
0 siblings, 1 reply; 4+ messages in thread
From: Xiaoguang Liu @ 2010-08-04 9:18 UTC (permalink / raw)
To: ceph-devel
rpmbuild fails at this line:
chmod 0644 $RPM_BUILD_ROOT%{_sysconfdir}/ceph/sample.ceph.conf
I think this is becuase sample.ceph.conf is no longer in /etc/ceph,
but %{_docdir}/, in unstable .
If I remove this line from spec file, rpmbuild fails at:
RPM build errors:
File not found:
/root/src/rpm/BUILDROOT/ceph-0.22rc-4.fc13.x86_64/usr/share/doc/sample.ceph.conf
File not found:
/root/src/rpm/BUILDROOT/ceph-0.22rc-4.fc13.x86_64/usr/share/doc/sample.fetch_config
You may want to fix these two issues.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ceph.spec.in problem in unstable ceph
2010-08-04 9:18 ceph.spec.in problem in unstable ceph Xiaoguang Liu
@ 2010-08-04 16:59 ` Sage Weil
2010-08-05 10:01 ` Thomas Mueller
2010-08-05 10:20 ` Xiaoguang Liu
0 siblings, 2 replies; 4+ messages in thread
From: Sage Weil @ 2010-08-04 16:59 UTC (permalink / raw)
To: Xiaoguang Liu; +Cc: ceph-devel
Hi,
I pushed a fix to the testing branch, but I don't have a Fedora VM handy
to test it. Can you let me know if it resolves the problem?
Thanks-
sage
On Wed, 4 Aug 2010, Xiaoguang Liu wrote:
> rpmbuild fails at this line:
>
> chmod 0644 $RPM_BUILD_ROOT%{_sysconfdir}/ceph/sample.ceph.conf
>
> I think this is becuase sample.ceph.conf is no longer in /etc/ceph,
> but %{_docdir}/, in unstable .
>
> If I remove this line from spec file, rpmbuild fails at:
>
>
> RPM build errors:
> File not found:
> /root/src/rpm/BUILDROOT/ceph-0.22rc-4.fc13.x86_64/usr/share/doc/sample.ceph.conf
> File not found:
> /root/src/rpm/BUILDROOT/ceph-0.22rc-4.fc13.x86_64/usr/share/doc/sample.fetch_config
>
> You may want to fix these two issues.
> --
> 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] 4+ messages in thread
* Re: ceph.spec.in problem in unstable ceph
2010-08-04 16:59 ` Sage Weil
@ 2010-08-05 10:01 ` Thomas Mueller
2010-08-05 10:20 ` Xiaoguang Liu
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Mueller @ 2010-08-05 10:01 UTC (permalink / raw)
To: ceph-devel
> I pushed a fix to the testing branch, but I don't have a Fedora VM handy
> to test it. Can you let me know if it resolves the problem?
>
on centos5 this problem is still there.
it seems that "$(docdir)" in the Makefile expands to "".
mkdir -p /var/tmp/ceph-0.22~rc-4el5-root-mockbuild/etc/ceph
mkdir -p /var/tmp/ceph-0.22~rc-4el5-root-mockbuild
/builddir/build/BUILD/ceph-0.22~rc/install-sh -c -m 0600
sample.ceph.conf /var/tmp/ceph-0.22~rc-4el5-root-mockbuild/
sample.ceph.conf
/builddir/build/BUILD/ceph-0.22~rc/install-sh -c -m 0755 fetch_config /
var/tmp/ceph-0.22~rc-4el5-root-mockbuild/sample.fetch_config
googling for docdir and automake revealed
http://old.nabble.com/%60docdir'-is-undefined-error-message-
td13941700.html
centos5 has automake 1.9.6 and autoconf 2.59.
- Thomas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ceph.spec.in problem in unstable ceph
2010-08-04 16:59 ` Sage Weil
2010-08-05 10:01 ` Thomas Mueller
@ 2010-08-05 10:20 ` Xiaoguang Liu
1 sibling, 0 replies; 4+ messages in thread
From: Xiaoguang Liu @ 2010-08-05 10:20 UTC (permalink / raw)
To: Sage Weil; +Cc: ceph-devel
Just tested. the testing branch is ok, on Fedora 13.
The only problem I found in ceph.spec was that version was 0.21, not 0.22rc
On Thu, Aug 5, 2010 at 12:59 AM, Sage Weil <sage@newdream.net> wrote:
> Hi,
>
> I pushed a fix to the testing branch, but I don't have a Fedora VM handy
> to test it. Can you let me know if it resolves the problem?
>
> Thanks-
> sage
>
>
> On Wed, 4 Aug 2010, Xiaoguang Liu wrote:
>
>> rpmbuild fails at this line:
>>
>> chmod 0644 $RPM_BUILD_ROOT%{_sysconfdir}/ceph/sample.ceph.conf
>>
>> I think this is becuase sample.ceph.conf is no longer in /etc/ceph,
>> but %{_docdir}/, in unstable .
>>
>> If I remove this line from spec file, rpmbuild fails at:
>>
>>
>> RPM build errors:
>> File not found:
>> /root/src/rpm/BUILDROOT/ceph-0.22rc-4.fc13.x86_64/usr/share/doc/sample.ceph.conf
>> File not found:
>> /root/src/rpm/BUILDROOT/ceph-0.22rc-4.fc13.x86_64/usr/share/doc/sample.fetch_config
>>
>> You may want to fix these two issues.
>> --
>> 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
>>
>>
> --
> 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
>
--
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] 4+ messages in thread
end of thread, other threads:[~2010-08-05 10:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-04 9:18 ceph.spec.in problem in unstable ceph Xiaoguang Liu
2010-08-04 16:59 ` Sage Weil
2010-08-05 10:01 ` Thomas Mueller
2010-08-05 10:20 ` Xiaoguang Liu
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.