Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#24319 - [scala] won't compile files with upper case letters
Attached to Project:
Community Packages
Opened by James Pike (jpike) - Tuesday, 17 May 2011, 11:56 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 31 August 2011, 13:02 GMT
Opened by James Pike (jpike) - Tuesday, 17 May 2011, 11:56 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 31 August 2011, 13:02 GMT
|
DetailsDescription:
fsc provided with scala 2.9.0 won't compile source files with capital letters in them. Package version * scala-2.9.0 Steps to reproduce: % touch nocaps.scala Caps.scala % fsc nocaps.scala % fsc Caps.scala error: source file 'Caps.scala' could not be found one error found |
This task depends upon
Closed by Sergej Pupykin (sergej)
Wednesday, 31 August 2011, 13:02 GMT
Reason for closing: Fixed
Additional comments about closing: in 2.9.1
Wednesday, 31 August 2011, 13:02 GMT
Reason for closing: Fixed
Additional comments about closing: in 2.9.1
this bug doesn't really seem like a packaging bug at first glance
funnily enough I was working on my project with scala 2.8, then noticed 2.9 had hit Arch. So I upgraded and immediately it said it couldn't find my files.
So then I managed to cut it down to the case of capital letters.
Sometimes I suspect a phantom haunts my computer, I can count on a slaughterhouse worth of toes how many times I've got crazy obvious bugs that only affect me.
1. fsc File.scala
2. cd ..
3. fsc File.scala (still works)
4. mv $OLDPWD/File.scala .
5. fsc File.scala (missing file)
Seems fsc inherits the PWD the first time it is run then never updates it. So in the case of capitals.. the file without caps existed in my $OLDPWD.
[jelle@P8][~]% fsc -verbose -d /tmp hello.scala
Fast Scala compiler version 2.9.0.r0-b20110516165642 -- Copyright 2002-2011, LAMP/EPFL
[Given arguments: -verbose -d /tmp hello.scala]
[Transformed arguments: -verbose -d /tmp hello.scala -current-dir /home/jelle]
[VM arguments: ]
[Temp directory: /tmp/scala-devel/jelle]
[Port number: 60457]
[Connected to compilation daemon at port 60457]
error: source file 'hello.scala' could not be found
one error found
btw here is the bugtracker, i couldn't find anyhting relevant https://lampsvn.epfl.ch/trac/scala/query
> When running fsc, if there is no scala compiler daemon running
> it is run with the current working directory of fsc, but keeps
> this PWD for all subsequent runs until the daemon exits, even
> when subsequent fsc invocations are from different directories.