darcs

Issue 1022 spurious "R binary file" in whatsnew

Title spurious "R binary file" in whatsnew
Priority bug Status given-up
Milestone Resolved in
Superseder Nosy List Serware, darcs-devel, dmitry.kurochkin, kowey, simonpj, thorkilnaur
Assigned To
Topics ThePendingPatch

Created on 2008-08-19.12:32:43 by simonpj, last changed 2009-10-23.23:30:21 by admin.

Messages
msg5598 (view) Author: simonpj Date: 2008-08-19.12:32:41
I untarred a recent GHC repo tar-ball, and pulled from the HEAD.

Then I modified docs/users_guide/bugs.xml.

But darcs what says there's a second file that is modified (see below)

I did 'darcs revert' to fix this, but it's unsettling, so I'm reporting it.  I've seen it before quite often.

This is darcs 2.0 on Linux

Simon

bash-3.2$ darcs what -s
R ./distrib/MacOS/installer-docs/lambda-logo.png
M ./docs/users_guide/bugs.xml -1 +15
bash-3.2$
msg5599 (view) Author: kowey Date: 2008-08-19.12:39:31
Hi Simon,

Is this one of the tarballs that's available on darcs.haskell.org ?

Thanks!
msg5600 (view) Author: simonpj Date: 2008-08-19.12:46:07
Yes. I believe it's
ghc-HEAD-2007-08-29-ghc-corelibs-testsuite.tar

SImon

| -----Original Message-----
| From: Eric Kow [mailto:bugs@darcs.net]
| Sent: 19 August 2008 13:40
| To: beschmi@cloaked.de; dagit@codersbase.com; eric.kow@gmail.com; Simon Peyton-Jones
| Subject: [issue1022] Un-needed revert
|
|
| Eric Kow <eric.kow@gmail.com> added the comment:
|
| Hi Simon,
|
| Is this one of the tarballs that's available on darcs.haskell.org ?
|
| Thanks!
|
| ----------
| priority:  -> bug
| status: unread -> chatting
|
| __________________________________
| Darcs bug tracker <bugs@darcs.net>
| <http://bugs.darcs.net/issue1022>
| __________________________________
msg5665 (view) Author: kowey Date: 2008-08-23.08:21:10
I couldn't find the 2007-08-29 tarball.  There is one for 2008-08-17 and 2007-09-11.

I tried the 2008-08 one this morning on my Mac, managed to pull from head
without any local changes reported.

I need a volunteer to do the following

wget http://darcs.haskell.org/ghc-HEAD-2007-09-11-ghc-corelibs-testsuite.tar.bz2
tar xjf ${tarball}
cd ${untarred}
darcs pull
darcs whatsnew

Please report back with your findings.
msg5672 (view) Author: thorkilnaur Date: 2008-08-23.18:32:51
I tried and got:

> Thorkil-Naurs-Computer:~/tn/test/darcs/Issue/1022/work thorkilnaur$ wget 
http://darcs.haskell.org/ghc-HEAD-2007-09-11-ghc-corelibs-testsuite.tar.bz2
> --16:59:55--  http://darcs.haskell.org/ghc-HEAD-2007-09-11-ghc-corelibs-
testsuite.tar.bz2
>            => `ghc-HEAD-2007-09-11-ghc-corelibs-testsuite.tar.bz2'
> Resolving darcs.haskell.org... 69.30.63.197
> Connecting to darcs.haskell.org|69.30.63.197|:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 16:59:57 ERROR 404: Not Found.
>
> Thorkil-Naurs-Computer:~/tn/test/darcs/Issue/1022/work thorkilnaur$

There is a http://darcs.haskell.org/ghc-STABLE-2007-09-11-ghc-corelibs-
testsuite.tar.bz2 (STABLE rather than HEAD), is that the one you would like some 
findings for?

Best regards
Thorkil
msg5673 (view) Author: kowey Date: 2008-08-23.18:40:30
> There is a http://darcs.haskell.org/ghc-STABLE-2007-09-11-ghc-corelibs-
> testsuite.tar.bz2 (STABLE rather than HEAD), is that the one you would like some 
> findings for?

I'm not sure; Simon mentioned HEAD 2007-08-29 which does not seem to be
available.

That said, yes, that is the one I meant.  Note that you'll probably want
to pull from a local copy of GHC instead of from the site.

Thanks!
msg5676 (view) Author: thorkilnaur Date: 2008-08-24.09:43:01
Trying this on an Intel Mac OSX with

> thorkil-naurs-intel-mac-mini:~ thorkilnaur$ darcs --exact-version
> darcs compiled on Aug  7 2008, at 21:50:40
> # configured Mon Jun 23 18:19:52 PDT 2008
> ./configure /usr/local/share/config.site /usr/local/etc/config.site
> 
> Context:
> 
> [TAG 2.0.2
> David Roundy <droundy@darcs.net>**20080624012041] 

I downloaded and unpacked http://darcs.haskell.org/ghc-STABLE-2007-09-11-ghc-corelibs-testsuite.tar.bz2. 
After the darcs pull (Pulling from "http://darcs.haskell.org/ghc-6.8/ghc"...  This is the GHC darcs 
repository (ghc-6.8 branch)):

> thorkil-naurs-intel-mac-mini:~/tn/test/darcs/Issue/1022/work/unpack/ghc thorkilnaur$ darcs whatsnew
> No changes!

I tried to pull the GHC HEAD into this STABLE repository, both from http://darcs.haskell.org/ghc and from a 
local repository. In both cases, I interrupted the pull after it's having spent 100% CPU for more than an 
hour without apparent progress.

So this seems to be a dead end.

Right from the start, however, I had recognized the name of the file concerned (lambda-logo.png) and it 
turned out that I had run into a similar problem a while back, attempting to build the GHC HEAD on this 
FreeBSD machine:

> tn@tn21$ uname -a
> FreeBSD tn21.thorkilnaur.dk 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005     
root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

Getting back to this (so far incomplete) attempt, I found:

> tn@tn21$ darcs --exact-version
> darcs compiled on May  3 2008, at 02:08:49
> # configured Sun Jun  3 18:53:47 EDT 2007
> ./configure 
> 
> Context:
> 
> [TAG 1.0.9
> Tommy Pettersson <ptp@lysator.liu.se>**20070603213706] 
> tn@tn21$ darcs whatsnew
> {
> move ./distrib/MacOS/installer-docs/lambda-logo.png ./distrib/MacOS/lambda-logo.png
> addfile ./distrib/MacOS/installer-docs/lambda-logo.png
> binary ./distrib/MacOS/installer-docs/lambda-logo.png
> binary ./distrib/MacOS/lambda-logo.png
> rmfile ./distrib/MacOS/lambda-logo.png
> }
> tn@tn21$ 

which is a bit like the problem reported by Simon PJ. I also found these patches, related to the concerned 
file:

> Tue Feb  5 06:20:17 CET 2008  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
>   * Lambda logo for packages
>   - This image is in the public domain, cf
>      http://en.wikipedia.org/wiki/Image:Greek_lc_lamda_thin.svg
>     addfile ./distrib/MacOS/lambda-logo.png
>     binary ./distrib/MacOS/lambda-logo.png

And:

> Mon Feb 11 07:14:50 CET 2008  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
>   * Mac installer: add comprehensive licencing information
>
>     adddir ./distrib/MacOS/installer-docs
>     move ./distrib/MacOS/lambda-logo.png ./distrib/MacOS/installer-docs/lambda-logo.png
>     addfile ./distrib/MacOS/installer-docs/license.html
>     hunk ./distrib/MacOS/GHC-system.pmdoc/index.xml 1
>     ...

I am unfortunately not 100% sure, but this repository was most likely created by starting with an archive 
ghc-HEAD-2007-12-16-ghc.tar.bz2 and pulling the GHC HEAD (as of 2008-May-03) into it.

I have tried to pull the present GHC HEAD into the repository created from this archive, but darcs whatsnew 
reports 'No changes'.

So: I have an existing repository with a problem similar to the one that Simon PJ had, but I have not been 
able to find a way to create such a repository.

Best regards
Thorkil
msg5701 (view) Author: simonpj Date: 2008-08-26.08:18:54
Sorry.  This is it
        http://darcs.haskell.org/ghc-HEAD-2007-08-29-ghc-corelibs-testsuite.tar.bz2

Simon

| -----Original Message-----
| From: Eric Kow [mailto:bugs@darcs.net]
| Sent: 23 August 2008 09:21
| To: beschmi@gmail.com; dagit@codersbase.com; darcs-devel@darcs.net; eric.kow@gmail.com; Simon Peyton-
| Jones
| Subject: [issue1022] Un-needed revert
|
|
| Eric Kow <eric.kow@gmail.com> added the comment:
|
| I couldn't find the 2007-08-29 tarball.  There is one for 2008-08-17 and 2007-09-11.
|
| I tried the 2008-08 one this morning on my Mac, managed to pull from head
| without any local changes reported.
|
| I need a volunteer to do the following
|
| wget http://darcs.haskell.org/ghc-HEAD-2007-09-11-ghc-corelibs-testsuite.tar.bz2
| tar xjf ${tarball}
| cd ${untarred}
| darcs pull
| darcs whatsnew
|
| Please report back with your findings.
|
| ----------
| nosy: +darcs-devel
| status: chatting -> need-volunteer
|
| __________________________________
| Darcs bug tracker <bugs@darcs.net>
| <http://bugs.darcs.net/issue1022>
| __________________________________
msg5703 (view) Author: simonpj Date: 2008-08-26.09:22:03
| I tried to pull the GHC HEAD into this STABLE repository, both from http://darcs.haskell.org/ghc and
| from a
| local repository. In both cases, I interrupted the pull after it's having spent 100% CPU for more than
| an
| hour without apparent progress.
|
| So this seems to be a dead end.

Not a dead end at all!  It's another darcs bug!  Having pull take 100% of the CPU for an hour is an absolute disaster when it comes to user confidence.  If you have a reproducible test case, I urge you to examine it.

Simon
msg5740 (view) Author: thorkilnaur Date: 2008-08-27.20:34:53
> I need a volunteer to do the following
>
> wget http://darcs.haskell.org/ghc-HEAD-2007-09-11-ghc-corelibs-testsuite.tar.bz2
> tar xjf ${tarball}
> cd ${untarred}
> darcs pull
> darcs whatsnew
> 
> Please report back with your findings.

> Sorry.  This is it
>         http://darcs.haskell.org/ghc-HEAD-2007-08-29-ghc-corelibs-testsuite.tar.bz2

Following unpack of ghc-HEAD-2007-08-29-ghc-corelibs-testsuite.tar.bz2 and darcs pull, darcs whatsnew
reported "No changes!"

Best regards
Thorkil
msg5810 (view) Author: kowey Date: 2008-08-30.08:26:25
Just summing up things so far: on a darcs 1 repository with darcs 2

we have been unable to reproduce the bug but Thorkil does have a repository
somewhere with similar behaviour.  There seems to be a common theme of binary
files in here somewhere.

This sounds like another pending bug, possibly one that has been fixed between
darcs 2.0 and now.

So I still need a volunteer to
 - obtain a copy of darcs 2.0.0
 - unpack
http://darcs.haskell.org/ghc-HEAD-2007-08-29-ghc-corelibs-testsuite.tar.bz2
 - obtain a copy of the real GHC head
 - darcs pull from the real HEAD into the tarball one using the old darcs 2

We've established that darcs 2.0.2 does not exhibit this behaviour, and if we
can reproduce it with darcs 2.0.0, I think it will be safe to assume that it has
since been fixed.
msg5832 (view) Author: thorkilnaur Date: 2008-08-31.08:38:38
The earlier attempt (http://bugs.darcs.net/msg5740) used:

> thorkil-naurs-intel-mac-mini:~ thorkilnaur$ darcs --version
> 2.0.2 (release)

So i tried again, this time using:

> thorkil-naurs-mac-mini:~ thorkilnaur$ darcs --version
> 2.0.0 (unknown)

Unfortunately, after unpacking ghc-HEAD-2007-08-29-ghc-corelibs-testsuite.tar.bz2  and darcs pull, darcs whatsnew 
still reported "No changes!".

Best regards
Thorkil
msg5833 (view) Author: kowey Date: 2008-08-31.08:42:36
Well, I guess this means we're stumped!  Thanks again for the testing.  I don't
know how to move forward anymore.

We need somebody to either
- find a way to reproduce this (is there something we're missing?)
- procure a minimal test case
- develop a theory explaining where this spurious whatsnew comes from
msg8209 (view) Author: kowey Date: 2009-08-17.17:21:06
So we haven't been able to reproduce this, but we also know that since David has
fixed some pending patch bugs since Simon's report.

I think it's time to move on.  Thanks for the report, Simon!  Please get in
touch if something like this happens again.
History
Date User Action Args
2008-08-19 12:32:43simonpjcreate
2008-08-19 12:39:33koweysetpriority: bug
nosy: beschmi, kowey, dagit, simonpj
status: unread -> unknown
messages: + msg5599
2008-08-19 12:46:08simonpjsetnosy: beschmi, kowey, dagit, simonpj
messages: + msg5600
2008-08-23 08:21:12koweysetstatus: unknown -> needs-reproduction
nosy: + darcs-devel
messages: + msg5665
2008-08-23 18:32:53thorkilnaursetnosy: + thorkilnaur
messages: + msg5672
2008-08-23 18:40:32koweysetnosy: beschmi, kowey, darcs-devel, dagit, simonpj, thorkilnaur
messages: + msg5673
2008-08-24 09:43:06thorkilnaursetnosy: beschmi, kowey, darcs-devel, dagit, simonpj, thorkilnaur
messages: + msg5676
2008-08-25 15:17:10droundysetnosy: - darcs-devel
2008-08-26 08:18:55simonpjsetnosy: + darcs-devel
messages: + msg5701
2008-08-26 09:22:05simonpjsetnosy: beschmi, kowey, darcs-devel, dagit, simonpj, thorkilnaur
messages: + msg5703
2008-08-27 20:34:55thorkilnaursetnosy: beschmi, kowey, darcs-devel, dagit, simonpj, thorkilnaur
messages: + msg5740
2008-08-30 08:26:31koweysettopic: + Darcs2, ThePendingPatch
nosy: + Serware
messages: + msg5810
title: Un-needed revert -> spurious "R binary file" in whatsnew
2008-08-31 08:38:40thorkilnaursetstatus: needs-reproduction -> unknown
nosy: beschmi, kowey, darcs-devel, dagit, simonpj, thorkilnaur, Serware
messages: + msg5832
2008-08-31 08:42:38koweysetnosy: beschmi, kowey, darcs-devel, dagit, simonpj, thorkilnaur, Serware
messages: + msg5833
2009-08-06 21:11:50adminsetnosy: + dmitry.kurochkin, simon, - beschmi
2009-08-10 23:43:23adminsetnosy: - dagit
2009-08-17 17:21:13koweysetstatus: unknown -> given-up
nosy: kowey, darcs-devel, simonpj, simon, thorkilnaur, dmitry.kurochkin, Serware
topic: - Darcs2
messages: + msg8209
2009-08-25 18:14:12adminsetnosy: - simon
2009-08-27 14:25:29adminsetnosy: kowey, darcs-devel, simonpj, thorkilnaur, dmitry.kurochkin, Serware
2009-10-23 22:44:37adminsetnosy: + serware, - Serware
2009-10-23 23:30:21adminsetnosy: + Serware, - serware