unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#69882: ghc-profunctors-5.6.2 substitute is a 0 byte so file
@ 2024-03-18 22:30 SkeletonAdventure via Bug reports for GNU Guix
  2024-03-18 23:37 ` bug#69882: More Information SkeletonAdventure via Bug reports for GNU Guix
  0 siblings, 1 reply; 2+ messages in thread
From: SkeletonAdventure via Bug reports for GNU Guix @ 2024-03-18 22:30 UTC (permalink / raw)
  To: 69882

[-- Attachment #1: Type: text/plain, Size: 1399 bytes --]

When attempting to build a package dependent on ghc-profunctors, I get this message:

/gnu/store/3x7nzknpil5zrq13pnswvn5c4yl1cwj4-ghc-profunctors-5.6.2/lib/x86_64-linux-ghc-9.2.5/libHSprofunctors-5.6.2-FoCtSorI5di3GxmpY9TPlQ-ghc9.2.5.so: file too short

I get the following doing ls on the file

$ ls -l /gnu/store/3x7nzknpil5zrq13pnswvn5c4yl1cwj4-ghc-profunctors-5.6.2/lib/x86_64-linux-ghc-9.2.5/libHSprofunctors-5.6.2-FoCtSorI5di3GxmpY9TPlQ-ghc9.2.5.so
-r-xr-xr-x 1 root root 0 Dec 31 1969 /gnu/store/3x7nzknpil5zrq13pnswvn5c4yl1cwj4-ghc-profunctors-5.6.2/lib/x86_64-linux-ghc-9.2.5/libHSprofunctors-5.6.2-FoCtSorI5di3GxmpY9TPlQ-ghc9.2.5.so

I have fixed this problem in the past by using guix gc to delete everything dependent on ghc-profunctors, then ghc-profunctors itself. After that I reinstalled the deleted items with substitutes off and it was no longer a 0 byte file. Following a system and home reconfigure using substitutes the ghc-profunctors .so is a 0 byte file again. It took me awhile to notice this time around so now it would be too difficult to perform my initial fix again since I've gone through several generations with this bad file.

If there is a way to force this one package to rebuild without substitutes, or other work-arounds I would love to hear them, but more than that I'd be interested in a fix if this is a problem I think originates with the substitute. Thanks.

[-- Attachment #2: Type: text/html, Size: 2704 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-18 23:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-18 22:30 bug#69882: ghc-profunctors-5.6.2 substitute is a 0 byte so file SkeletonAdventure via Bug reports for GNU Guix
2024-03-18 23:37 ` bug#69882: More Information SkeletonAdventure via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).