* 2.4.23-pre5 BK: aic7xxx_reg.h: Permission Denied
@ 2003-09-21 9:58 ` Aschwin Marsman
0 siblings, 0 replies; 3+ messages in thread
From: Aschwin Marsman @ 2003-09-21 9:58 UTC (permalink / raw)
To: marcelo.tosatti, linux-scsi; +Cc: Linux-Kernel
Hi,
During the compilation of 2.4.23-pre5 (latest from BK), I get the
following:
aicasm/aicasm -I. -r aic7xxx_reg.h -p aic7xxx_reg_print.c -i aic7xxx_osm.h -o aic7xxx_seq.h aic7xxx.seq
aic7xxx_reg.h: Permission denied
make[3]: *** [aic7xxx_seq.h] Error 73
make[3]: Leaving directory `/home/marsman/src/bk/linux-2.4/drivers/scsi/aic7xxx'
make[2]: *** [_modsubdir_aic7xxx] Error 2
make[2]: Leaving directory `/home/marsman/src/bk/linux-2.4/drivers/scsi'
make[1]: *** [_modsubdir_scsi] Error 2
make[1]: Leaving directory `/home/marsman/src/bk/linux-2.4/drivers'
make: *** [_mod_drivers] Error 2
The reason is that:
aic79xx_reg.h
aic79xx_reg_print.c
aic79xx_seq.h
aic7xxx_reg.h
aic7xxx_reg_print.c
aic7xxx_seq.h
are generated files, but they are under version control and therefor readonly, so they can't
be written. I see two options:
1) Do not put them under version control
2) Remove/make them writable before new versions are generated.
I would prefer option one, but you can argue that it is nice to be able to see the history
of the generated files.
The patch below removes the files before they are written.
--- drivers/scsi/aic7xxx/Makefile.org Sun Sep 21 07:19:34 2003
+++ drivers/scsi/aic7xxx/Makefile Sun Sep 21 11:46:29 2003
@@ -75,6 +75,7 @@
-o aic7xxx_seq.h aic7xxx.seq
endif
$(aic7xxx_gen): aic7xxx.seq aic7xxx.reg aicasm/aicasm
+ $(RM) $(aic7xxx_gen)
$(aic7xxx_asm_cmd)
endif
@@ -90,6 +91,7 @@
-o aic79xx_seq.h aic79xx.seq
endif
$(aic79xx_gen): aic79xx.seq aic79xx.reg aicasm/aicasm
+ $(RM) $(aic79xx_gen)
$(aic79xx_asm_cmd)
endif
Have a nice weekend,
Aschwin Marsman
--
aschwin@marsman.org http://www.marsman.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* 2.4.23-pre5 BK: aic7xxx_reg.h: Permission Denied
@ 2003-09-21 9:58 ` Aschwin Marsman
0 siblings, 0 replies; 3+ messages in thread
From: Aschwin Marsman @ 2003-09-21 9:58 UTC (permalink / raw)
To: marcelo.tosatti, linux-scsi; +Cc: Linux-Kernel
Hi,
During the compilation of 2.4.23-pre5 (latest from BK), I get the
following:
aicasm/aicasm -I. -r aic7xxx_reg.h -p aic7xxx_reg_print.c -i aic7xxx_osm.h -o aic7xxx_seq.h aic7xxx.seq
aic7xxx_reg.h: Permission denied
make[3]: *** [aic7xxx_seq.h] Error 73
make[3]: Leaving directory `/home/marsman/src/bk/linux-2.4/drivers/scsi/aic7xxx'
make[2]: *** [_modsubdir_aic7xxx] Error 2
make[2]: Leaving directory `/home/marsman/src/bk/linux-2.4/drivers/scsi'
make[1]: *** [_modsubdir_scsi] Error 2
make[1]: Leaving directory `/home/marsman/src/bk/linux-2.4/drivers'
make: *** [_mod_drivers] Error 2
The reason is that:
aic79xx_reg.h
aic79xx_reg_print.c
aic79xx_seq.h
aic7xxx_reg.h
aic7xxx_reg_print.c
aic7xxx_seq.h
are generated files, but they are under version control and therefor readonly, so they can't
be written. I see two options:
1) Do not put them under version control
2) Remove/make them writable before new versions are generated.
I would prefer option one, but you can argue that it is nice to be able to see the history
of the generated files.
The patch below removes the files before they are written.
--- drivers/scsi/aic7xxx/Makefile.org Sun Sep 21 07:19:34 2003
+++ drivers/scsi/aic7xxx/Makefile Sun Sep 21 11:46:29 2003
@@ -75,6 +75,7 @@
-o aic7xxx_seq.h aic7xxx.seq
endif
$(aic7xxx_gen): aic7xxx.seq aic7xxx.reg aicasm/aicasm
+ $(RM) $(aic7xxx_gen)
$(aic7xxx_asm_cmd)
endif
@@ -90,6 +91,7 @@
-o aic79xx_seq.h aic79xx.seq
endif
$(aic79xx_gen): aic79xx.seq aic79xx.reg aicasm/aicasm
+ $(RM) $(aic79xx_gen)
$(aic79xx_asm_cmd)
endif
Have a nice weekend,
Aschwin Marsman
--
aschwin@marsman.org http://www.marsman.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Retry: 2.4.23-pre5 BK: aic7xxx_reg.h: Permission Denied
2003-09-21 9:58 ` Aschwin Marsman
(?)
@ 2003-10-20 19:42 ` Aschwin Marsman
-1 siblings, 0 replies; 3+ messages in thread
From: Aschwin Marsman @ 2003-10-20 19:42 UTC (permalink / raw)
To: marcelo.tosatti; +Cc: linux-scsi, Linux-Kernel
On Sun, 21 Sep 2003, Aschwin Marsman wrote:
> Hi,
Hi,
> During the compilation of 2.4.23-pre5 (latest from BK), I get the
> following:
2.4.23-pre7 (latest from BK of today) still gives the same problem for me.
The patch below still applies cleanly. Will this problem be solved? If
not then I will remove the generation of this driver from my automatic
build procedure.
> aicasm/aicasm -I. -r aic7xxx_reg.h -p aic7xxx_reg_print.c -i aic7xxx_osm.h -o aic7xxx_seq.h aic7xxx.seq
> aic7xxx_reg.h: Permission denied
> make[3]: *** [aic7xxx_seq.h] Error 73
> make[3]: Leaving directory `/home/marsman/src/bk/linux-2.4/drivers/scsi/aic7xxx'
> make[2]: *** [_modsubdir_aic7xxx] Error 2
> make[2]: Leaving directory `/home/marsman/src/bk/linux-2.4/drivers/scsi'
> make[1]: *** [_modsubdir_scsi] Error 2
> make[1]: Leaving directory `/home/marsman/src/bk/linux-2.4/drivers'
> make: *** [_mod_drivers] Error 2
>
> The reason is that:
> aic79xx_reg.h
> aic79xx_reg_print.c
> aic79xx_seq.h
> aic7xxx_reg.h
> aic7xxx_reg_print.c
> aic7xxx_seq.h
>
> are generated files, but they are under version control and therefor readonly, so they can't
> be written. I see two options:
> 1) Do not put them under version control
> 2) Remove/make them writable before new versions are generated.
>
> I would prefer option one, but you can argue that it is nice to be able to see the history
> of the generated files.
>
> The patch below removes the files before they are written.
>
> --- drivers/scsi/aic7xxx/Makefile.org Sun Sep 21 07:19:34 2003
> +++ drivers/scsi/aic7xxx/Makefile Sun Sep 21 11:46:29 2003
> @@ -75,6 +75,7 @@
> -o aic7xxx_seq.h aic7xxx.seq
> endif
> $(aic7xxx_gen): aic7xxx.seq aic7xxx.reg aicasm/aicasm
> + $(RM) $(aic7xxx_gen)
> $(aic7xxx_asm_cmd)
> endif
>
> @@ -90,6 +91,7 @@
> -o aic79xx_seq.h aic79xx.seq
> endif
> $(aic79xx_gen): aic79xx.seq aic79xx.reg aicasm/aicasm
> + $(RM) $(aic79xx_gen)
> $(aic79xx_asm_cmd)
> endif
>
Best regards,
Aschwin Marsman
--
aschwin@marsman.org http://www.marsman.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-10-20 19:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-21 9:58 2.4.23-pre5 BK: aic7xxx_reg.h: Permission Denied Aschwin Marsman
2003-09-21 9:58 ` Aschwin Marsman
2003-10-20 19:42 ` Retry: " Aschwin Marsman
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.