Fails to build on Windows #5

Closed
opened 3 years ago by zyga · 1 comments
zyga commented 3 years ago (Migrated from github.com)

Hello. I was curious about pollen and I wanted to see how a real project like pollen-tfl looks like. I was following the docs on my Windows 10 system. It seems there is something wrong with path-names, around tilde expansion: expand-user-path: bad username in path.

I'm attaching a complete login case that helps.

PS C:\Users\me\projects\pollen-tfl> raco pkg install pollen-tfl
Resolving "pollen-tfl" via https://download.racket-lang.org/releases/8.5/catalog/
Resolving "pollen-tfl" via https://pkgs.racket-lang.org
Using cached16537545631653754563634 for https://github.com/mbutterick/pollen-tfl.git
Resolving "hyphenate" via https://download.racket-lang.org/releases/8.5/catalog/
Resolving "hyphenate" via https://pkgs.racket-lang.org
Resolving "txexpr" via https://download.racket-lang.org/releases/8.5/catalog/
Resolving "txexpr" via https://pkgs.racket-lang.org
Resolving "sugar" via https://download.racket-lang.org/releases/8.5/catalog/
Resolving "sugar" via https://pkgs.racket-lang.org
raco setup: version: 8.5
raco setup: platform: win32\x86_64 [cs]
raco setup: target machine: ta6nt
raco setup: installation name: 8.5
raco setup: variants: cs
raco setup: main collects: C:\Program Files\Racket\collects\
raco setup: collects paths:
raco setup:   C:\Users\me\AppData\Roaming\Racket\8.5\collects
raco setup:   C:\Program Files\Racket\collects\
raco setup: main pkgs: C:\Program Files\Racket\share\pkgs
raco setup: pkgs paths:
raco setup:   C:\Program Files\Racket\share\pkgs
raco setup:   C:\Users\me\AppData\Roaming\Racket\8.5\pkgs
raco setup: links files:
raco setup:   C:\Program Files\Racket\share\links.rktd
raco setup:   C:\Users\me\AppData\Roaming\Racket\8.5\links.rktd
raco setup: main docs: C:\Program Files\Racket\doc
raco setup: --- updating info-domain tables ---                    [22:58:41]
raco setup: updating: C:\Users\me\AppData\Roaming\Racket\8.5\share\info-cache.rktd
raco setup: --- pre-installing collections ---                     [22:58:41]
raco setup: --- installing foreign libraries ---                   [22:58:41]
raco setup: --- installing shared files ---                        [22:58:41]
raco setup: --- compiling collections ---                          [22:58:41]
raco setup: --- parallel build using 4 jobs ---                    [22:58:41]
raco setup: 3 making: <pkgs>/pollen-tfl
raco setup: 3 making: <pkgs>/pollen-tfl/fontrec
raco setup: 3 making: <pkgs>/pollen-tfl/fonts
expand-user-path: bad username in path
  path: ~/git/font-releases/woffs/advocate_slab_c43_regular.woff
  system error: unsupported; rkt_err=1
  context...:
   body of (submod 'runtime-wrapper pollen-module)
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:685:0: compile-zo*
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:451:15
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:440:12: build
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:411:0: maybe-compile-zo
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:209:0: compile-root
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:105:4
   C:\Program Files\Racket\collects\setup\parallel-build.rkt:332:9
   C:\Program Files\Racket\collects\setup\parallel-do.rkt:455:25
   C:\Program Files\Racket\collects\setup\parallel-do.rkt:441:20: loop
raco setup: 3 making: <pkgs>/pollen-tfl/images
expand-user-path: bad username in path
  path: ~/git/font-releases/woffs/equity_text_a_regular.woff
  system error: unsupported; rkt_err=1
  context...:
   body of (submod 'runtime-wrapper pollen-module)
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:685:0: compile-zo*
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:451:15
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:440:12: build
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:411:0: maybe-compile-zo
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:209:0: compile-root
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:105:4
   C:\Program Files\Racket\collects\setup\parallel-build.rkt:332:9
   C:\Program Files\Racket\collects\setup\parallel-do.rkt:455:25
   C:\Program Files\Racket\collects\setup\parallel-do.rkt:441:20: loop
expand-user-path: bad username in path
  path: ~/git/font-releases/woffs/equity_text_b_regular.woff
  system error: unsupported; rkt_err=1
  context...:
   body of (submod 'runtime-wrapper pollen-module)
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:685:0: compile-zo*
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:451:15
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:440:12: build
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:411:0: maybe-compile-zo
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:209:0: compile-root
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:105:4
   C:\Program Files\Racket\collects\setup\parallel-build.rkt:332:9
   C:\Program Files\Racket\collects\setup\parallel-do.rkt:455:25
   C:\Program Files\Racket\collects\setup\parallel-do.rkt:441:20: loop
expand-user-path: bad username in path
  path: ~/git/font-releases/woffs/concourse_c6_regular.woff
  system error: unsupported; rkt_err=1
  context...:
   body of (submod 'runtime-wrapper pollen-module)
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:685:0: compile-zo*
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:451:15
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:440:12: build
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:411:0: maybe-compile-zo
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:209:0: compile-root
   C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:105:4
   C:\Program Files\Racket\collects\setup\parallel-build.rkt:332:9
   C:\Program Files\Racket\collects\setup\parallel-do.rkt:455:25
   C:\Program Files\Racket\collects\setup\parallel-do.rkt:441:20: loop
raco setup: --- creating launchers ---                             [22:59:44]
raco setup: --- building documentation ---                         [22:59:44]
raco setup: 2 running: <pkgs>/pollen-tfl/scribblings/pollen-tfl.scrbl
raco setup: 3 rendering: <pkgs>/racket-index/scribblings/main/user/local-redirect.scrbl
raco setup: 2 rendering: <pkgs>/pollen-tfl/scribblings/pollen-tfl.scrbl
raco setup: 1 rendering: <pkgs>/racket-index/scribblings/main/user/release.scrbl
raco setup: 0 rendering: <pkgs>/racket-index/scribblings/main/user/search.scrbl
raco setup: 3 rendering: <pkgs>/racket-index/scribblings/main/user/start.scrbl
raco setup: --- installing collections ---                         [23:00:04]
raco setup: --- post-installing collections ---                    [23:00:04]
raco setup: --- summary of errors ---                              [23:00:04]
raco setup: error: during making for <pkgs>/pollen-tfl/fonts
raco setup:   expand-user-path: bad username in path
raco setup:     path: ~/git/font-releases/woffs/advocate_slab_c43_regular.woff
raco setup:     system error: unsupported; rkt_err=1
raco setup: error: during making for <pkgs>/pollen-tfl/fonts
raco setup:   expand-user-path: bad username in path
raco setup:     path: ~/git/font-releases/woffs/equity_text_a_regular.woff
raco setup:     system error: unsupported; rkt_err=1
raco setup: error: during making for <pkgs>/pollen-tfl/fonts
raco setup:   expand-user-path: bad username in path
raco setup:     path: ~/git/font-releases/woffs/equity_text_b_regular.woff
raco setup:     system error: unsupported; rkt_err=1
raco setup: error: during making for <pkgs>/pollen-tfl/fonts
raco setup:   expand-user-path: bad username in path
raco setup:     path: ~/git/font-releases/woffs/concourse_c6_regular.woff
raco setup:     system error: unsupported; rkt_err=1
raco pkg install: packages installed, although setup reported errors
Hello. I was curious about pollen and I wanted to see how a real project like pollen-tfl looks like. I was following the docs on my Windows 10 system. It seems there is something wrong with path-names, around tilde expansion: `expand-user-path: bad username in path`. I'm attaching a complete login case that helps. ``` PS C:\Users\me\projects\pollen-tfl> raco pkg install pollen-tfl Resolving "pollen-tfl" via https://download.racket-lang.org/releases/8.5/catalog/ Resolving "pollen-tfl" via https://pkgs.racket-lang.org Using cached16537545631653754563634 for https://github.com/mbutterick/pollen-tfl.git Resolving "hyphenate" via https://download.racket-lang.org/releases/8.5/catalog/ Resolving "hyphenate" via https://pkgs.racket-lang.org Resolving "txexpr" via https://download.racket-lang.org/releases/8.5/catalog/ Resolving "txexpr" via https://pkgs.racket-lang.org Resolving "sugar" via https://download.racket-lang.org/releases/8.5/catalog/ Resolving "sugar" via https://pkgs.racket-lang.org raco setup: version: 8.5 raco setup: platform: win32\x86_64 [cs] raco setup: target machine: ta6nt raco setup: installation name: 8.5 raco setup: variants: cs raco setup: main collects: C:\Program Files\Racket\collects\ raco setup: collects paths: raco setup: C:\Users\me\AppData\Roaming\Racket\8.5\collects raco setup: C:\Program Files\Racket\collects\ raco setup: main pkgs: C:\Program Files\Racket\share\pkgs raco setup: pkgs paths: raco setup: C:\Program Files\Racket\share\pkgs raco setup: C:\Users\me\AppData\Roaming\Racket\8.5\pkgs raco setup: links files: raco setup: C:\Program Files\Racket\share\links.rktd raco setup: C:\Users\me\AppData\Roaming\Racket\8.5\links.rktd raco setup: main docs: C:\Program Files\Racket\doc raco setup: --- updating info-domain tables --- [22:58:41] raco setup: updating: C:\Users\me\AppData\Roaming\Racket\8.5\share\info-cache.rktd raco setup: --- pre-installing collections --- [22:58:41] raco setup: --- installing foreign libraries --- [22:58:41] raco setup: --- installing shared files --- [22:58:41] raco setup: --- compiling collections --- [22:58:41] raco setup: --- parallel build using 4 jobs --- [22:58:41] raco setup: 3 making: <pkgs>/pollen-tfl raco setup: 3 making: <pkgs>/pollen-tfl/fontrec raco setup: 3 making: <pkgs>/pollen-tfl/fonts expand-user-path: bad username in path path: ~/git/font-releases/woffs/advocate_slab_c43_regular.woff system error: unsupported; rkt_err=1 context...: body of (submod 'runtime-wrapper pollen-module) C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:685:0: compile-zo* C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:451:15 C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:440:12: build C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:411:0: maybe-compile-zo C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:209:0: compile-root C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:105:4 C:\Program Files\Racket\collects\setup\parallel-build.rkt:332:9 C:\Program Files\Racket\collects\setup\parallel-do.rkt:455:25 C:\Program Files\Racket\collects\setup\parallel-do.rkt:441:20: loop raco setup: 3 making: <pkgs>/pollen-tfl/images expand-user-path: bad username in path path: ~/git/font-releases/woffs/equity_text_a_regular.woff system error: unsupported; rkt_err=1 context...: body of (submod 'runtime-wrapper pollen-module) C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:685:0: compile-zo* C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:451:15 C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:440:12: build C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:411:0: maybe-compile-zo C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:209:0: compile-root C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:105:4 C:\Program Files\Racket\collects\setup\parallel-build.rkt:332:9 C:\Program Files\Racket\collects\setup\parallel-do.rkt:455:25 C:\Program Files\Racket\collects\setup\parallel-do.rkt:441:20: loop expand-user-path: bad username in path path: ~/git/font-releases/woffs/equity_text_b_regular.woff system error: unsupported; rkt_err=1 context...: body of (submod 'runtime-wrapper pollen-module) C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:685:0: compile-zo* C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:451:15 C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:440:12: build C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:411:0: maybe-compile-zo C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:209:0: compile-root C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:105:4 C:\Program Files\Racket\collects\setup\parallel-build.rkt:332:9 C:\Program Files\Racket\collects\setup\parallel-do.rkt:455:25 C:\Program Files\Racket\collects\setup\parallel-do.rkt:441:20: loop expand-user-path: bad username in path path: ~/git/font-releases/woffs/concourse_c6_regular.woff system error: unsupported; rkt_err=1 context...: body of (submod 'runtime-wrapper pollen-module) C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:685:0: compile-zo* C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:451:15 C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:440:12: build C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:411:0: maybe-compile-zo C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:209:0: compile-root C:\Program Files\Racket\collects\compiler\private\cm-minimal.rkt:105:4 C:\Program Files\Racket\collects\setup\parallel-build.rkt:332:9 C:\Program Files\Racket\collects\setup\parallel-do.rkt:455:25 C:\Program Files\Racket\collects\setup\parallel-do.rkt:441:20: loop raco setup: --- creating launchers --- [22:59:44] raco setup: --- building documentation --- [22:59:44] raco setup: 2 running: <pkgs>/pollen-tfl/scribblings/pollen-tfl.scrbl raco setup: 3 rendering: <pkgs>/racket-index/scribblings/main/user/local-redirect.scrbl raco setup: 2 rendering: <pkgs>/pollen-tfl/scribblings/pollen-tfl.scrbl raco setup: 1 rendering: <pkgs>/racket-index/scribblings/main/user/release.scrbl raco setup: 0 rendering: <pkgs>/racket-index/scribblings/main/user/search.scrbl raco setup: 3 rendering: <pkgs>/racket-index/scribblings/main/user/start.scrbl raco setup: --- installing collections --- [23:00:04] raco setup: --- post-installing collections --- [23:00:04] raco setup: --- summary of errors --- [23:00:04] raco setup: error: during making for <pkgs>/pollen-tfl/fonts raco setup: expand-user-path: bad username in path raco setup: path: ~/git/font-releases/woffs/advocate_slab_c43_regular.woff raco setup: system error: unsupported; rkt_err=1 raco setup: error: during making for <pkgs>/pollen-tfl/fonts raco setup: expand-user-path: bad username in path raco setup: path: ~/git/font-releases/woffs/equity_text_a_regular.woff raco setup: system error: unsupported; rkt_err=1 raco setup: error: during making for <pkgs>/pollen-tfl/fonts raco setup: expand-user-path: bad username in path raco setup: path: ~/git/font-releases/woffs/equity_text_b_regular.woff raco setup: system error: unsupported; rkt_err=1 raco setup: error: during making for <pkgs>/pollen-tfl/fonts raco setup: expand-user-path: bad username in path raco setup: path: ~/git/font-releases/woffs/concourse_c6_regular.woff raco setup: system error: unsupported; rkt_err=1 raco pkg install: packages installed, although setup reported errors ```
mbutterick commented 3 years ago (Migrated from github.com)

I have substituted OFL fonts and removed all the references to local file paths. I have not tested it on Windows but I believe this will fix the errors arising from expand-user-path because there are no longer any user paths to expand.

I have substituted OFL fonts and removed all the references to local file paths. I have not tested it on Windows but I believe this will fix the errors arising from `expand-user-path` because there are no longer any user paths to expand.
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/pollen-tfl#5
Loading…
There is no content yet.