From jwiley.psych at gmail.com  Tue May  8 17:20:20 2012
From: jwiley.psych at gmail.com (Joshua Wiley)
Date: Tue, 8 May 2012 08:20:20 -0700
Subject: [Rd] file 2 is not in sorted order error building unsuffered
	consequences
In-Reply-To: <4FA8F9F1.8090706@gmail.com>
References: <CANz9Z_JT0O52UXm0px1U2=KLxg=QHKLz6_1=xFSFs+Un5odE3w@mail.gmail.com>
	<4FA8F9F1.8090706@gmail.com>
Message-ID: <CANz9Z_KsoyU_ym0xUbRV30Rn-_=h2+--bX6crDZ0hmLXdnCN8w@mail.gmail.com>

On Tue, May 8, 2012 at 3:48 AM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
> On 12-05-08 1:46 AM, Joshua Wiley wrote:
>>
>> Hi All,
>>
>> I just downloaded the source tar ball (Revision: 59324 Last Changed
>> Date: 2012-05-07) and tried to compile on a Win x64 system. ?I am
>> using Rtools version 2.15.0.1919. ?The only change I make is changing
>> MkRules.dist -> ?MkRules.local and setting Multi=64 ?I have previously
>> compiled unsuffered consquences without issue, but on the current
>> version, I get this error
>>
>>
>> windres -F pe-x86-64 ?-I../include -i dllversion.rc -o dllversion.o
>> comm: file 2 is not in sorted order
>> make[3]: *** [R.dll] Error 1
>> make[2]: *** [../../bin/x64/R.dll] Error 2
>> make[1]: *** [rbuild] Error 2
>> make: *** [all] Error 2
>>
>> I did not note any other errors or warnings earlier on, though I may
>> have missed some. ?I can provide the full log if requested. ?Any
>> ideas?
>
>
> I believe that message is about the file src/gnuwin32/Rdll.hide. ?It is
> supposed to be sorted, using ASCII collation order. ?I believe the version
> in the repository is sorted properly; can you check yours?

Thanks for your reply.  It looks sorted correctly and explicitly
sorting prior to running make does not change the error.  here is a
bit of output:

BZ2_bzBuffToBuffCompress at 28
BZ2_bzBuffToBuffDecompress at 24
BZ2_bzCompress at 8
BZ2_bzCompressEnd at 4
BZ2_bzCompressInit at 16
BZ2_bzDecompress at 4
BZ2_bzDecompressEnd at 4
BZ2_bzDecompressInit at 12
BZ2_bzRead at 16
BZ2_bzReadClose at 8
BZ2_bzReadGetUnused at 16
BZ2_bzReadOpen at 24
BZ2_bzWrite at 16
BZ2_bzWriteClose64 at 28
BZ2_bzWriteClose at 20

>
> We've had some problems with recent versions of Cygwin not sorting properly.
> ?The last instance had it put names in the order
>
> ?BZ2_bzWriteClose at 20
> ?BZ2_bzWriteClose64 at 28
>
> but ASCII order should put @ after 6. ?Are you using the comm and Cygwin
> dlls from Rtools, or have you got newer ones?

As far as I know I should only be using the dlls from Rtools.  It is
the first thing on my path environment variable, and although cygwin
is installed, I do not even have it on my path.  Interestingly, there
are no problems if set MULTI=32 instead of 64 in MkRules.

Thanks again,

Josh

>
> Duncan Murdoch



-- 
Joshua Wiley
Ph.D. Student, Health Psychology
Programmer Analyst II, Statistical Consulting Group
University of California, Los Angeles
https://joshuawiley.com/



[Rd] file 2 is not in sorted order error building unsuffered consequences
Joshua Wiley