Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1270574
| From | Clint Adams <clint@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1120778: "cabal unpack foo" adds MSDOS/Windows carriage returns (^M) |
| Date | 2025-11-17 23:30 +0100 |
| Message-ID | <LSfTr-dJA2-13@gated-at.bofh.it> (permalink) |
| References | <LRAZX-diu3-1@gated-at.bofh.it> <LRAZX-diu3-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
reassign 1120778 cabal-install quit >package-plan/README.txt says one should use "cabal unpack foo" to get >the source that is used to create the package-plan's copy of quilt >patches for foo. Unfortunately, these patches cannot be applied to >the Debian upstream source, because "cabal unpack foo" corrupts the >upstream source by adding MSDOS/Windows carriage returns (^M). I >encountered this issue when I tried to apply the package-plan >hledger-ui quilt series to haskell-hledger-ui. The patch does not >apply. I think what `cabal unpack` is doing is downloading https://hackage.haskell.org/package/hledger-ui-1.50.2/hledger-ui-1.50.2.tar.gz and then overwriting hledger-ui.cabal from the tarball (which has proper line endings) with https://hackage.haskell.org/package/hledger-ui-1.50.2/hledger-ui.cabal (which does not).
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#1120778: "cabal unpack foo" adds MSDOS/Windows carriage returns (^M) Nicholas D Steeves <sten@debian.org> - 2025-11-16 03:50 +0100
Bug#1120778: "cabal unpack foo" adds MSDOS/Windows carriage returns (^M) Clint Adams <clint@debian.org> - 2025-11-17 23:30 +0100
Bug#1120778: "cabal unpack foo" adds MSDOS/Windows carriage returns (^M) Nicholas D Steeves <sten@debian.org> - 2025-11-18 19:40 +0100
csiph-web