[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Issue with binaries generated(subversion 1.10.2) after compilation on AiX 7.2

From: Prannoy K.v <k.vprannoy_at_yahoo.com>
Date: Fri, 28 Dec 2018 05:53:25 +0000 (UTC)

 
Hi Daniel,
Thank you for your help. I wanted to know if I am doing any mistake during compilation or is it an Issue with AiX or Subversion ? If it is an issue with AiX and Subversion is it resolved in 1.10.3 or any other versions ? 

Thanks and Regards,Prannoy K V On Thursday, 27 December 2018, 8:34:11 pm GMT+5:30, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
 
 Prannoy K.v wrote on Thu, 27 Dec 2018 13:35 +0000:
> Hi Team, 
> I tried compiling subversion 1.10.2 on AiX 7.2 machine .

Note that 1.10.3 has been released.

> After "make" command generated binaries work well in the folder where it
> is generated, whereas if we move binaries to a different location I get
> the error :- 
>
> svnadmin: E000009: Can't write '/temp1110/home/Repo_test/db/current' atomically 
>
> svnadmin: E000009: Can't flush file '/temp1110/home/Repo_test/db' to
> disk: Bad file number  

In subversion/libsvn_subr/io.c, in svn_io_file_flush_to_disk(), there's
an APR_STATUS_IS_EINVAL() check.  Try making it check
APR_STATUS_IS_EBADF() as well and handle it the same way (assuming "Bad
file number" is strerror(3) of EBADF) --- read the comment there while
you're at it.  For context, creating new revisions relies on being able
to flush the revision files to disk.

Cheers,

Daniel
Received on 2018-12-28 13:56:14 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.