You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Swarup Anand <sw...@gmail.com> on 2010/01/22 07:17:33 UTC

Building SVN 1.6.5

I am facing the following errors when building the SVN project. I was
building SVN 1.6.5

+ echo '*** Finished regression tests on RA_SVN (SVN method) layer ***'
+ echo '*** Running regression tests on RA_DAV (HTTP method) layer ***'
+ make davautocheck CLEANUP=true FS_TYPE=bdb
Adding password for user jrandom
Adding password for user jconstant
Syntax error on line 14 of /root/rpms/build/subversion-1.
6.5/subversion/tests/cmdline/httpd-20100122-123335/cfg:
Error:\tApache has not been designed to serve pages while\n\trunning as
root.  There are known race conditions that\n\twill allow any local user to
read any file on the system.\n\tIf you still desire to serve pages as root
then\n\tadd -DBIG_SECURITY_HOLE to the CFLAGS env variable\n\tand then
rebuild the server.\n\tIt is strongly suggested that you instead modify the
User\n\tdirective in your httpd.conf file to list a non-root\n\tuser.\n
make[1]: *** [davautocheck] Error 1
error: Bad exit status from /root/rpms/tmp/rpm-tmp.55381 (%build)
    Bad exit status from /root/rpms/tmp/rpm-tmp.55381 (%build)
make: *** [build_rpm_files] Error 1


I would be really glad If I get any help.


-- 
with regards
Swarup Anand
+91-9819554708

You utter a vow or forge a signature and you may find yourself bound for
life to a monastery, a woman or prison

Re: Building SVN 1.6.5

Posted by Jeremy Whitlock <jc...@gmail.com>.
> + echo '*** Finished regression tests on RA_SVN (SVN method) layer ***'
> + echo '*** Running regression tests on RA_DAV (HTTP method) layer ***'
> + make davautocheck CLEANUP=true FS_TYPE=bdb
> Adding password for user jrandom
> Adding password for user jconstant
> Syntax error on line 14 of /root/rpms/build/subversion-1.
> 6.5/subversion/tests/cmdline/httpd-20100122-123335/cfg:
> Error:\tApache has not been designed to serve pages while\n\trunning as
> root.  There are known race conditions that\n\twill allow any local user to
> read any file on the system.\n\tIf you still desire to serve pages as root
> then\n\tadd -DBIG_SECURITY_HOLE to the CFLAGS env variable\n\tand then
> rebuild the server.\n\tIt is strongly suggested that you instead modify the
> User\n\tdirective in your httpd.conf file to list a non-root\n\tuser.\n
> make[1]: *** [davautocheck] Error 1
> error: Bad exit status from /root/rpms/tmp/rpm-tmp.55381 (%build)
>    Bad exit status from /root/rpms/tmp/rpm-tmp.55381 (%build)
> make: *** [build_rpm_files] Error 1

The error pretty much tells you the problem.  You're running this as root and Apache won't run as root.

Jeremy Whitlock <jc...@gmail.com>
http://www.thoughtspark.org




Fwd: Building SVN 1.6.5

Posted by Swarup Anand <sw...@gmail.com>.
I am facing the following errors when building the SVN project. I was
building SVN 1.6.5

+ echo '*** Finished regression tests on RA_SVN (SVN method) layer ***'
+ echo '*** Running regression tests on RA_DAV (HTTP method) layer ***'
+ make davautocheck CLEANUP=true FS_TYPE=bdb
Adding password for user jrandom
Adding password for user jconstant
Syntax error on line 14 of /root/rpms/build/subversion-1.
6.5/subversion/tests/cmdline/httpd-20100122-123335/cfg:
Error:\tApache has not been designed to serve pages while\n\trunning as
root.  There are known race conditions that\n\twill allow any local user to
read any file on the system.\n\tIf you still desire to serve pages as root
then\n\tadd -DBIG_SECURITY_HOLE to the CFLAGS env variable\n\tand then
rebuild the server.\n\tIt is strongly suggested that you instead modify the
User\n\tdirective in your httpd.conf file to list a non-root\n\tuser.\n
make[1]: *** [davautocheck] Error 1
error: Bad exit status from /root/rpms/tmp/rpm-tmp.55381 (%build)
    Bad exit status from /root/rpms/tmp/rpm-tmp.55381 (%build)
make: *** [build_rpm_files] Error 1


I would be really glad If I get any help.


-- 
with regards
Swarup Anand
+91-9819554708

You utter a vow or forge a signature and you may find yourself bound for
life to a monastery, a woman or prison

Re: Building SVN 1.6.5

Posted by Swarup Anand <sw...@gmail.com>.
Yes that is correct  but what about this issue .

> I have completed with the building of SVN but and the respective rpms have
> > been cretaed successfully.
> >
> > But I found this message also displayed.
> >
> > + exit 0
> > + umask 022
> > + cd /var/www/rpms/build
> > + cd subversion-1.6.5
> > + rm -rf /var/www/rpms/tmp/subversion-1.6.5-1
> > + exit 0
> >
> > rpm/-1.6.5-1.rhel5.i686.rpm/"`; echo Moving ${oldfile} to ${newfile}; mv
> -f
> > ${oldfile} ${newfile}; done
> > Moving *-1.6.5-1* to *-1.6.5-1*
> >
> > mv: cannot stat `*-1.6.5-1*': No such file or directory
> > make: *** [brand_files] Error 1
>

This happened during the building of SVN. Is this a major issue if yes then
what should I do


-- 
with regards
Swarup Anand
+91-9819554708

You utter a vow or forge a signature and you may find yourself bound for
life to a monastery, a woman or prison

Re: Building SVN 1.6.5

Posted by "Hyrum K. Wright" <hy...@mail.utexas.edu>.
On Jan 22, 2010, at 6:24 AM, Swarup Anand wrote:

> I have completed with the building of SVN but and the respective rpms have
> been cretaed successfully.
> 
> But I found this message also displayed.
> 
> + exit 0
> + umask 022
> + cd /var/www/rpms/build
> + cd subversion-1.6.5
> + rm -rf /var/www/rpms/tmp/subversion-1.6.5-1
> + exit 0
> 
> rpm/-1.6.5-1.rhel5.i686.rpm/"`; echo Moving ${oldfile} to ${newfile}; mv -f
> ${oldfile} ${newfile}; done
> Moving *-1.6.5-1* to *-1.6.5-1*
> 
> mv: cannot stat `*-1.6.5-1*': No such file or directory
> make: *** [brand_files] Error 1
> 
> 
> Is this critical and what I should do to solve this.
> 
> The rpm that have been created have been installed by me in a RHEL5 machine.
> but during the installation of the
> 
> subversion-tools-1.6.5-1.i386.rpm
> 
> The following error was met.
> 
> error: Failed dependencies:
>        perl(File::Path) >= 1.0404 is needed by
> subversion-tools-1.6.5-1.i386
> 
> How do I solve this error .

Since this question is about the usage of Subversion, not its development, please direct it to the appropriate list: users@subversion.apache.org.

Thanks,
-Hyrum

Re: Building SVN 1.6.5

Posted by Swarup Anand <sw...@gmail.com>.
I have completed with the building of SVN but and the respective rpms have
been cretaed successfully.

But I found this message also displayed.

+ exit 0
+ umask 022
+ cd /var/www/rpms/build
+ cd subversion-1.6.5
+ rm -rf /var/www/rpms/tmp/subversion-1.6.5-1
+ exit 0

rpm/-1.6.5-1.rhel5.i686.rpm/"`; echo Moving ${oldfile} to ${newfile}; mv -f
${oldfile} ${newfile}; done
Moving *-1.6.5-1* to *-1.6.5-1*

mv: cannot stat `*-1.6.5-1*': No such file or directory
make: *** [brand_files] Error 1


Is this critical and what I should do to solve this.

The rpm that have been created have been installed by me in a RHEL5 machine.
but during the installation of the

subversion-tools-1.6.5-1.i386.rpm

The following error was met.

error: Failed dependencies:
        perl(File::Path) >= 1.0404 is needed by
subversion-tools-1.6.5-1.i386

How do I solve this error .

Thanking you in advance.


-- 
with regards
Swarup Anand
+91-9819554708

You utter a vow or forge a signature and you may find yourself bound for
life to a monastery, a woman or prison

Re: Building SVN 1.6.5

Posted by Jeremy Whitlock <jc...@gmail.com>.
> + echo '*** Finished regression tests on RA_SVN (SVN method) layer ***'
> + echo '*** Running regression tests on RA_DAV (HTTP method) layer ***'
> + make davautocheck CLEANUP=true FS_TYPE=bdb
> Adding password for user jrandom
> Adding password for user jconstant
> Syntax error on line 14 of /root/rpms/build/subversion-1.
> 6.5/subversion/tests/cmdline/httpd-20100122-123335/cfg:
> Error:\tApache has not been designed to serve pages while\n\trunning as root.  There are known race conditions that\n\twill allow any local user to read any file on the system.\n\tIf you still desire to serve pages as root then\n\tadd -DBIG_SECURITY_HOLE to the CFLAGS env variable\n\tand then rebuild the server.\n\tIt is strongly suggested that you instead modify the User\n\tdirective in your httpd.conf file to list a non-root\n\tuser.\n
> make[1]: *** [davautocheck] Error 1
> error: Bad exit status from /root/rpms/tmp/rpm-tmp.55381 (%build)
>     Bad exit status from /root/rpms/tmp/rpm-tmp.55381 (%build)
> make: *** [build_rpm_files] Error 1

There is no need to double post.  I already answered this exact same email on the dev list.  Just in case you didn't get it, the error tells you the problem.  You shouldn't run this as root.

Jeremy Whitlock <jc...@gmail.com>
http://www.thoughtspark.org