This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Fwd: GDB writes into its source tree during the build]


FYI,

Andrew
--- Begin Message ---
I checked out a current GDB source tree from
:pserver:anoncvs@sources.redhat.com:/cvs/src and tried to build it.
I got this during the build:

  make[3]: Entering directory `/d/scratch/jik/cygwin-gdb/bfd/po'
  file=/u/jik/cygwin-cvs/src/bfd/po/`echo fr | sed 's,.*/,,'`.gmo \
    && rm -f $file && PATH=../src:$PATH /bin/msgfmt -o $file /u/jik/cygwin-cvs/src/bfd/po/fr.po
  error while opening "/u/jik/cygwin-cvs/src/bfd/po/fr.gmo" for writing: Permission denied
  make[3]: *** [fr.gmo] Error 1

The process doing the build does not have write access to my source
tree.  It shouldn't need it -- "make all" builds should never write to
the source tree.  If there needs to be code that writes to the source
tree, it needs to be a separate, special-purpose target.

_______________________________________________
Bug-gdb mailing list
Bug-gdb@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gdb

--- End Message ---

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]