Ticket #4461 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

make binary-dist tries to tar non-existing files

Reported by: maeder Owned by:
Priority: normal Milestone:
Component: Build System Version: 7.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

I only notice now that at the end of "make binary-dist" I get non-fatal messages like:

 cd bindistprep && "/opt/csw/bin/gtar" hcf - -T ../bindist-list | bzip2 -c > ../bindistprep/ghc-7.0
.0.20100924-i386-unknown-solaris2.tar.bz2
/opt/csw/bin/gtar: ghc-7.0.0.20100924/libraries/dph/LICENSE: Kann stat nicht ausführen: Datei oder
 Verzeichnis nicht gefunden
/opt/csw/bin/gtar: ghc-7.0.0.20100924/libraries/dph/ghc-packages: Kann stat nicht ausführen: Datei
 oder Verzeichnis nicht gefunden
/opt/csw/bin/gtar: ghc-7.0.0.20100924/libraries/dph/ghc-packages2: Kann stat nicht ausführen: Date
i oder Verzeichnis nicht gefunden
/opt/csw/bin/gtar: ghc-7.0.0.20100924/libraries/dph/ghc-stage2-package: Kann stat nicht ausführen:
 Datei oder Verzeichnis nicht gefunden
/opt/csw/bin/gtar: Beende mit Fehlerstatus aufgrund vorheriger Fehler

under solaris and

cd bindistprep && "/usr/bin/gnutar" hcf - -T ../bindist-list | bzip2 -c > ../bindistprep/ghc-7.0.0
.20101028-i386-apple-darwin.tar.bz2
/usr/bin/gnutar: ghc-7.0.0.20101028/rts/dist/build/libHSrts_debug.a: file changed as we read it
/usr/bin/gnutar: ghc-7.0.0.20101028/libraries/dph/LICENSE: Cannot stat: No such file or directory
/usr/bin/gnutar: ghc-7.0.0.20101028/libraries/dph/ghc-packages: Cannot stat: No such file or direc
tory
/usr/bin/gnutar: ghc-7.0.0.20101028/libraries/dph/ghc-packages2: Cannot stat: No such file or dire
ctory
/usr/bin/gnutar: ghc-7.0.0.20101028/libraries/dph/ghc-stage2-package: Cannot stat: No such file or
 directory
/usr/bin/gnutar: Error exit delayed from previous errors

under MacOS.

This applies to both ghc-7 release candidates. The created tar-files seem to work, though. So it is only confusing output during building.

Change History

Changed 3 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

Thanks for the report; fixed in HEAD and 7.0 by:

Wed Nov  3 21:33:54 GMT 2010  Ian Lynagh <igloo@earth.li>
  * Avoid scary message from tar if dph isn't in the tree
Note: See TracTickets for help on using tickets.