`cond-expand` pasted by siiky on Tue Apr 13 20:40:58 2021

(module cond-expand-mvp (parse-ids)
  (import scheme)
  (define (parse-ids str)
    (cond-expand
      (no-parse-ids (error 'parse-ids "The egg was compiled with the `no-parse-ids` feature."))
      (else
        (import comparse)
        'ok))))

cond-expand-mvp.egg pasted by siiky on Tue Apr 13 20:41:45 2021

((cond-expand
   (no-parse-ids (dependencies))
   (else (dependencies comparse)))
 (components (extension cond-expand-mvp
                        (modules cond-expand-mvp)
                        (source cond-expand-mvp.scm))))

chicken-install output added by siiky on Tue Apr 13 20:43:04 2021

$ chicken-install -n
building cond-expand-mvp
   /home/siiky/.local/bin/csc -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I /home/siiky/projects/cond-expand-mvp -C -I/home/siiky/projects/cond-expand-mvp -O2 -d1 cond-expand-mvp.scm -o /home/siiky/projects/cond-expand-mvp/cond-expand-mvp.so

Syntax error (import): cannot import from undefined module

	comparse

	Expansion history:

	<syntax>	  (##core#begin (module cond-expand-mvp (parse-ids) (import scheme) (define (parse-ids str) (cond-expa...
	<syntax>	  (module cond-expand-mvp (parse-ids) (import scheme) (define (parse-ids str) (cond-expand (no-parse-i...
	<syntax>	  (##core#module cond-expand-mvp (parse-ids) (import scheme) (define (parse-ids str) (cond-expand (no-...
	<syntax>	  (import scheme)
	<syntax>	  (##core#begin (##core#require library scheme))
	<syntax>	  (##core#require library scheme)
	<syntax>	  (##core#callunit library)
	<syntax>	  (define (parse-ids str) (cond-expand (no-parse-ids (error (quote parse-ids) "The egg was compiled wi...
	<syntax>	  (##core#begin (##core#ensure-toplevel-definition parse-ids) (##core#set! parse-ids (##core#lambda (s...
	<syntax>	  (##core#ensure-toplevel-definition parse-ids)
	<syntax>	  (##core#set! parse-ids (##core#lambda (str) (cond-expand (no-parse-ids (error (quote parse-ids) "The...
	<syntax>	  (##core#lambda (str) (cond-expand (no-parse-ids (error (quote parse-ids) "The egg was compiled with ...	<--

Error: shell command terminated with non-zero exit status 17920: '/home/siiky/.local/bin/chicken' 'cond-expand-mvp.scm' -output-file '/home/siiky/projects/cond-expand-mvp/cond-expand-mvp.c' -dynamic -feature chicken-compile-shared -feature compiling-extension -emit-all-import-libraries -regenerate-import-libraries -setup-mode -include-path /home/siiky/projects/cond-expand-mvp -optimize-level 2 -debug-level 1

Error: shell command terminated with nonzero exit code
256
"sh /home/siiky/projects/cond-expand-mvp/cond-expand-mvp.build.sh"

$ chicken-install -n -D no-parse-ids
building cond-expand-mvp
   /home/siiky/.local/bin/csc -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I /home/siiky/projects/cond-expand-mvp -C -I/home/siiky/projects/cond-expand-mvp -O2 -d1 cond-expand-mvp.scm -o /home/siiky/projects/cond-expand-mvp/cond-expand-mvp.so

Syntax error (import): cannot import from undefined module

	comparse

	Expansion history:

	<syntax>	  (##core#begin (module cond-expand-mvp (parse-ids) (import scheme) (define (parse-ids str) (cond-expa...
	<syntax>	  (module cond-expand-mvp (parse-ids) (import scheme) (define (parse-ids str) (cond-expand (no-parse-i...
	<syntax>	  (##core#module cond-expand-mvp (parse-ids) (import scheme) (define (parse-ids str) (cond-expand (no-...
	<syntax>	  (import scheme)
	<syntax>	  (##core#begin (##core#require library scheme))
	<syntax>	  (##core#require library scheme)
	<syntax>	  (##core#callunit library)
	<syntax>	  (define (parse-ids str) (cond-expand (no-parse-ids (error (quote parse-ids) "The egg was compiled wi...
	<syntax>	  (##core#begin (##core#ensure-toplevel-definition parse-ids) (##core#set! parse-ids (##core#lambda (s...
	<syntax>	  (##core#ensure-toplevel-definition parse-ids)
	<syntax>	  (##core#set! parse-ids (##core#lambda (str) (cond-expand (no-parse-ids (error (quote parse-ids) "The...
	<syntax>	  (##core#lambda (str) (cond-expand (no-parse-ids (error (quote parse-ids) "The egg was compiled with ...	<--

Error: shell command terminated with non-zero exit status 17920: '/home/siiky/.local/bin/chicken' 'cond-expand-mvp.scm' -output-file '/home/siiky/projects/cond-expand-mvp/cond-expand-mvp.c' -dynamic -feature chicken-compile-shared -feature compiling-extension -emit-all-import-libraries -regenerate-import-libraries -setup-mode -include-path /home/siiky/projects/cond-expand-mvp -optimize-level 2 -debug-level 1

Error: shell command terminated with nonzero exit code
256
"sh /home/siiky/projects/cond-expand-mvp/cond-expand-mvp.build.sh"