A package does not install in Windows, but it should

Hello everyone. Firstly, my apologies if this is not the right place to report this problem, but my guess is that is a cabal related problem. I wrote a package and is now uploaded in Hackage [1]. I do not have any problems installing it (cabal install) in my usual computer (debian). I tried other computer running windows, and it does not build reporting the following error: hatex-guide-1.0.1.3 failed while unpacking the package. The exception was: user error (Invalid file name in tar archive: "hatex-guide-1.0.1.3\\Text\\LaTeX\\Guide\\Aux.hs") I am using a custom script and this module here (Text.LaTeX.Guide.Aux) is generated by the Setup.hs code. Suspecting that it may fail in other computers as well, I have tried to install it in yet another maching (ubuntu). It installed just fine. Therefore, I am seeing different behaviors depending on the system, when the library really does not use any platform specific feature. It should be portable if I am not missing anything. Anyway, note that the error is "while unpacking the package". Mysterious to me. I would gladly look through the Cabal code and look in which step is the error thrown, but I am not familiarized with the code of the library and it may be a big task for such a simple (in appearance) error. However, I can tell that I didn't try (yet). Any help is appreciated. Thanks, Daniel Díaz. -- [1] http://hackage.haskell.org/package/hatex-guide

Windows doesn't allow files called "Aux" (it's a vestige of the DOS days).
G
On Wed, Jul 3, 2013 at 6:57 PM, Daniel Díaz Casanueva wrote: Hello everyone. Firstly, my apologies if this is not the right place to report this
problem, but my guess is that is a cabal related problem. I wrote a package and is now uploaded in Hackage [1]. I do not have any
problems installing it (cabal install) in my usual computer (debian). I
tried other computer running windows, and it does not build reporting the
following error: hatex-guide-1.0.1.3 failed while unpacking the package. The exception was:
user error (Invalid file name in tar archive:
"hatex-guide-1.0.1.3\\Text\\LaTeX\\Guide\\Aux.hs") I am using a custom script and this module here (Text.LaTeX.Guide.Aux) is
generated by the Setup.hs code. Suspecting that it may fail in other computers as well, I have tried to
install it in yet another maching (ubuntu). It installed just fine. Therefore, I am seeing different behaviors depending on the system, when
the library really does not use any platform specific feature. It should be
portable if I am not missing anything. Anyway, note that the error is
"while unpacking the package". Mysterious to me. I would gladly look through the Cabal code and look in which step is the
error thrown, but I am not familiarized with the code of the library and it
may be a big task for such a simple (in appearance) error. However, I can
tell that I didn't try (yet). Any help is appreciated. Thanks,
Daniel Díaz. -- [1] http://hackage.haskell.org/package/hatex-guide _______________________________________________
cabal-devel mailing list
cabal-devel@haskell.org
http://www.haskell.org/mailman/listinfo/cabal-devel --
Gregory Collins

Does that apply to "Aux.hs" files?
On Thu, Jul 4, 2013 at 3:20 AM, Gregory Collins
Windows doesn't allow files called "Aux" (it's a vestige of the DOS days).
G
On Wed, Jul 3, 2013 at 6:57 PM, Daniel Díaz Casanueva < dhelta.diaz@gmail.com> wrote:
Hello everyone.
Firstly, my apologies if this is not the right place to report this problem, but my guess is that is a cabal related problem.
I wrote a package and is now uploaded in Hackage [1]. I do not have any problems installing it (cabal install) in my usual computer (debian). I tried other computer running windows, and it does not build reporting the following error:
hatex-guide-1.0.1.3 failed while unpacking the package. The exception was: user error (Invalid file name in tar archive: "hatex-guide-1.0.1.3\\Text\\LaTeX\\Guide\\Aux.hs")
I am using a custom script and this module here (Text.LaTeX.Guide.Aux) is generated by the Setup.hs code.
Suspecting that it may fail in other computers as well, I have tried to install it in yet another maching (ubuntu). It installed just fine.
Therefore, I am seeing different behaviors depending on the system, when the library really does not use any platform specific feature. It should be portable if I am not missing anything. Anyway, note that the error is "while unpacking the package". Mysterious to me.
I would gladly look through the Cabal code and look in which step is the error thrown, but I am not familiarized with the code of the library and it may be a big task for such a simple (in appearance) error. However, I can tell that I didn't try (yet).
Any help is appreciated.
Thanks, Daniel Díaz.
--
[1] http://hackage.haskell.org/package/hatex-guide
_______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel
-- Gregory Collins

OK, thank you for your respense, Gregory. That was the whole problem and now it is fixed. Just for the sake of curiosity, why is that name (with any extension) not allowed in Windows? Thank you, Daniel Díaz. On Thu, Jul 4, 2013 at 11:25 AM, Daniel Díaz Casanueva < dhelta.diaz@gmail.com> wrote:
Does that apply to "Aux.hs" files?
On Thu, Jul 4, 2013 at 3:20 AM, Gregory Collins
wrote: Windows doesn't allow files called "Aux" (it's a vestige of the DOS days).
G
On Wed, Jul 3, 2013 at 6:57 PM, Daniel Díaz Casanueva < dhelta.diaz@gmail.com> wrote:
Hello everyone.
Firstly, my apologies if this is not the right place to report this problem, but my guess is that is a cabal related problem.
I wrote a package and is now uploaded in Hackage [1]. I do not have any problems installing it (cabal install) in my usual computer (debian). I tried other computer running windows, and it does not build reporting the following error:
hatex-guide-1.0.1.3 failed while unpacking the package. The exception was: user error (Invalid file name in tar archive: "hatex-guide-1.0.1.3\\Text\\LaTeX\\Guide\\Aux.hs")
I am using a custom script and this module here (Text.LaTeX.Guide.Aux) is generated by the Setup.hs code.
Suspecting that it may fail in other computers as well, I have tried to install it in yet another maching (ubuntu). It installed just fine.
Therefore, I am seeing different behaviors depending on the system, when the library really does not use any platform specific feature. It should be portable if I am not missing anything. Anyway, note that the error is "while unpacking the package". Mysterious to me.
I would gladly look through the Cabal code and look in which step is the error thrown, but I am not familiarized with the code of the library and it may be a big task for such a simple (in appearance) error. However, I can tell that I didn't try (yet).
Any help is appreciated.
Thanks, Daniel Díaz.
--
[1] http://hackage.haskell.org/package/hatex-guide
_______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel
-- Gregory Collins

On 04/07/13 11:27, Daniel Díaz Casanueva wrote:
OK, thank you for your respense, Gregory. That was the whole problem and now it is fixed. Just for the sake of curiosity, why is that name (with any extension) not allowed in Windows?
It was used to refer to serial ports under DOS, and Microsoft have a particularly paranoid approach to preserving backwards compatibility: http://en.wikipedia.org/wiki/AUX:#Reserved_device_names Miles [who is now trying to remember when he last owned a computer with a serial port!]

On Thu, Jul 4, 2013 at 7:17 AM, Miles Gould
[who is now trying to remember when he last owned a computer with a serial port!]
I'm sitting about a foot from one, as my employer repurposed old machines as VPN gateways. It's not *quite* old enough to have 25-pin serial though :) -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
participants (4)
-
Brandon Allbery
-
Daniel Díaz Casanueva
-
Gregory Collins
-
Miles Gould