Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2008-03

Problem opening inc files without Archive set

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Dave Parsons

Hi,

I've just rebuilt the compiler on OS/2 and ran into a new problem.

The build stops with the error below if the file it is trying to include does not have the archive bit set. It had been cleared by a recent backup.
If I set the bit manually again, then it is able to read it and compiles ok.

Tested with snapshot 'Free Pascal Compiler version 2.2.1 [2007/11/03]' and svn 'Free Pascal Compiler version 2.3.1 [2008/01/03]'

--------------------------------------------------------------------------- make -C os2 all
make[8]: Entering directory `F:/fpc/fpcbuild/fpcsrc/rtl/os2' F:/EMX/BIN/mkdir.exe -p ../../rtl/units/os2
as -o ../../rtl/units/os2/prt0.o prt0.as
F:/PP231DEV/BIN/OS2/ppc386.exe -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -FE. -FU../../rtl/units/os2 -di386 -dRELEASE -Us -Sg system.pas system.inc(231,2) Fatal: Can't open include file "genset.inc" Fatal: Compilation aborted
make[8]: Leaving directory `F:/fpc/fpcbuild/fpcsrc/rtl/os2' ---------------------------------------------------------------------------

Has anyone seen this before?

Cheers,
Dave

Reply by email

Tomas Hajny
to Dave Parsons

On Mon, March 10, 2008 08:58, Dave Parsons wrote:

Hi,

Show quoted text 7 lines
I've just rebuilt the compiler on OS/2 and ran into a new problem. The build stops with the error below if the file it is trying to include does not have the archive bit set. It had been cleared by a recent backup. If I set the bit manually again, then it is able to read it and compiles ok.

.
.

Has anyone seen this before?

Not really, but it looks like a bug in file searching routines within OS/2 RTL (either those in unit System or those in SysUtils) or something like that. :-( Unfortunately, I won't be able to play with it within the next two weeks (my OS/2 machine is on a different continent than me right now).

Tomas

Reply by email

Dave Parsons
to Tomas Hajny: . . Not really, but it looks like a bug in file searching routines within OS/2 RTL…
Tomas Hajny wrote 20 lines
On Mon, March 10, 2008 08:58, Dave Parsons wrote: Hi, > I've just rebuilt the compiler on OS/2 and ran into a new problem. > > The build stops with the error below if the file it is trying > to include does not have the archive bit set. It had been cleared > by a recent backup. > If I set the bit manually again, then it is able to read it and > compiles ok. . . > Has anyone seen this before? Not really, but it looks like a bug in file searching routines within OS/2 RTL (either those in unit System or those in SysUtils) or something like that. :-( Unfortunately, I won't be able to play with it within the next two weeks (my OS/2 machine is on a different continent than me right now).

Yes, probably an incorrect mask to DosFindFirst somewhere.

It's not urgent since there is an easy workaround for now.

I've got another problem also which I will report in a separate mail later.

Cheers,
Dave

Reply by email