[racket-dev] Duplicate tag warnings building docs?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Dec 17 21:51:45 EST 2013

I think this is probably a leftover from the broken period starting
with commit 6ff7359212 and ending with commit 4fc71002e8 --- and a case
of things being just broken enough that the current version doesn't
detect that things need to be refreshed.

You might try deleting

 /Users/greg/src/plt/racket/doc/docindex.sqlite

before the next `raco setup`.

At Tue, 17 Dec 2013 17:00:11 -0500, Greg Hendershott wrote:
> Building HEAD (97ee349) today I noticed the following:
> 
> raco setup: WARNING: duplicate tag: (def ((lib "pkg/db.rkt")
> current-pkg-catalog-file))
> raco setup:  in:
> /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
> l
> raco setup:  in:
> /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
> l
> raco setup: WARNING: duplicate tag: (def ((lib "pkg/db.rkt") get-catalogs))
> raco setup:  in:
> /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
> l
> raco setup:  in:
> /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
> l
> raco setup: WARNING: duplicate tag: (def ((lib "pkg/db.rkt") get-module-pkgs))
> raco setup:  in:
> /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
> l
> raco setup:  in:
> /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
> l
> raco setup: WARNING: duplicate tag: (def ((lib "pkg/db.rkt")
> get-pkg-dependencies))
> raco setup:  in:
> /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
> l
> raco setup:  in:
> /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
> l
> raco setup: WARNING: duplicate tag: (def ((lib "pkg/db.rkt") get-pkg-modules))
> raco setup:  in:
> /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
> l
> raco setup:  in:
> /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
> l
> raco setup: WARNING: duplicate tag: (def ((lib "pkg/db.rkt") get-pkg-tags))
> raco setup:  in:
> /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
> l
> raco setup:  in:
> /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
> l
> raco setup: WARNING: duplicate tag: (def ((lib "pkg/db.rkt") get-pkgs))
> raco setup:  in:
> /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
> l
> raco setup:  in:
> /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
> l
> ...
> 
> 
> and quite a few more (not all are "pkg/db.rkt") -- full output here:
> https://gist.github.com/greghendershott/8013323
> 
> This may have been happening for quite awhile but I haven't noticed.
> These is in the middle of the doc section, wouldn't be on-screen at
> the end of the build.
> 
> Not sure if it matters but wanted to mention just in case.
> _________________________
>   Racket Developers list:
>   http://lists.racket-lang.org/dev

Posted on the dev mailing list.