Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #897 (new defect)

Opened 10 years ago

Last modified 9 years ago

dsss.conf problem on Windows with svn Tango

Reported by: baxissimo Assigned to: larsivi
Priority: normal Milestone: External Bugs
Component: Core Functionality Version: trunk
Keywords: dsss install Cc:

Description

The current dsss.conf file uses the dsss "installdir" command. If your tango tree is an SVN checkout then dsss install fails on Windows trying to copy something in the folder std\.svn\. It has no reason to be copying the .svn folders in the first place, but I guess dsss doesn't have a way to specify not to install everything in the dir with installdir.

Anwyay the whole directory only contains 3 real files, so the installdir might as well be replaced with file-by-file install commands:

[+std]
preinstall = install std/intrinsic.di $INCLUDE_PREFIX/std ; \
    install std/stdarg.di $INCLUDE_PREFIX/std ; \
    install std/c/stdarg.di $INCLUDE_PREFIX/std/c

This may or may not be related to having and SVN Tangobos installed via dsss. Tangobos also makes a std folder in the dsss install destination. Anyway changing Tangos dsss.conf to the above will make the problem go away.

Change History

02/13/08 09:45:04 changed by larsivi

  • keywords set to dsss install.
  • owner changed from sean to larsivi.
  • milestone changed from 0.99.6 to External Bugs.

I believe this is a dsss bug. Either it should explicitly avoid all SCM config files, or possibly avoid installing hidden files. Please post this in the DSSS project? I will put this in the External Bugs milestone where it can be closed when DSSS is fixed.

07/19/08 18:03:41 changed by baxissimo

(follow-up: ↓ 5 ) 07/20/08 21:49:43 changed by larsivi

Bill: I see you consider us to ignore the simple workaround, but isn't this a potential issue with all tango directories, not only std? And thanks for creating a DSSS ticket :)

07/20/08 21:55:30 changed by larsivi

(In [3770]) Workaround for dsss bug, refs #897, + removed tango.group

(in reply to: ↑ 3 ) 07/20/08 23:50:02 changed by baxissimo

Replying to larsivi:

Bill: I see you consider us to ignore the simple workaround, but isn't this a potential issue with all tango directories, not only std? And thanks for creating a DSSS ticket :)

It's only a problem with directories installed using "installdir". I think 'std' is the only one installed that way. It seems installdir basically just does the equivalent of blanket "cp -r", at least on Windows. But regular dsss targets only install D related files.