Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P6M Merging GLOBAL symbols failed: duplicate definition of symbol HTML #85

Open
JJ opened this issue Oct 26, 2020 · 2 comments
Open

P6M Merging GLOBAL symbols failed: duplicate definition of symbol HTML #85

JJ opened this issue Oct 26, 2020 · 2 comments

Comments

@JJ
Copy link

JJ commented Oct 26, 2020

Following instructions in the README,

 P6DOC_DEBUG=1 raku --doc=HTML lib/Pod/To/HTML.pm6                       
===SORRY!=== Error while compiling /home/jmerelo/Code/forks/raku/Pod-To-Html/lib/Pod/To/HTML.pm6
P6M Merging GLOBAL symbols failed: duplicate definition of symbol HTML
at /home/jmerelo/Code/forks/raku/Pod-To-Html/lib/Pod/To/HTML.pm6:676

Does not have anything to do with DEBUG, anyway. Same error. And I'm going to bet on this being caused by finanalyst/raku-pod-render#9

@dwarring
Copy link

I've noticed Pod::To::PDF does the same when run on itself:

$ raku -I . --doc=PDF lib/Pod/To/PDF.rakumod 
===SORRY!=== Error while compiling /home/david/git/Pod-To-PDF-raku/lib/Pod/To/PDF.rakumod
P6M Merging GLOBAL symbols failed: duplicate definition of symbol PDF
at /home/david/git/Pod-To-PDF-raku/lib/Pod/To/PDF.rakumod:298

I suspect that there could be underlying Rakudo restriction

@MARTIMM
Copy link

MARTIMM commented Apr 9, 2022

I got this error when using both modules Pod::To::HTML and Pod::To::Markdown. Luckily I only used one of them and after removing the import, the error went away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants