chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #1373: .egg-info's installed-files doesn't honor .egg


From: Chicken Trac
Subject: [Chicken-janitors] #1373: .egg-info's installed-files doesn't honor .egg's install-name
Date: Thu, 25 May 2017 12:50:09 -0000

#1373: .egg-info's installed-files doesn't honor .egg's install-name
------------------------+--------------------------------
 Reporter:  mario       |                 Owner:
     Type:  defect      |                Status:  new
 Priority:  major       |             Milestone:  someday
Component:  core tools  |               Version:  5.0
 Keywords:              |  Estimated difficulty:
------------------------+--------------------------------
 A .egg file that specifies {{{(components (program foo (install-name
 bar)))}}} will end up having {{{(installed-files "<prefix>/bin/foo")}}} in
 the deployed .egg-info file.

 Example:

 {{{
 $ ls -l
 total 8
 -rw-r--r-- 1 mario mario 172 May 25 14:40 foo.egg
 -rw-r--r-- 1 mario mario  20 May 25 14:39 foo.scm

 $ cat foo.egg
 ((synopsis "foo egg")
  (author "Mario Domenech Goulart")
  (license "BSD")
  (category egg-tools)
  (components (program foo (install-name bar))))

 $ cat foo.scm
 (display "Hello\n")

 $ ~/local/chicken-5/bin/chicken-install
 building foo
    /home/mario/local/chicken-5/bin/csc -setup-mode -host -I
 /home/mario/tmp/foo -C -I/home/mario/tmp/foo -O2 -d1
 /home/mario/tmp/foo/foo.scm -o /home/mario/tmp/foo/foo
   installing foo

 $ cat ~/local/chicken-5/lib/chicken/9/foo.egg-info
 ((installed-files "/home/mario/local/chicken-5/bin/foo")
  (synopsis "foo egg")
  (author "Mario Domenech Goulart")
  (license "BSD")
  (category egg-tools)
  (components (program foo (install-name bar))))

 $ ls -l /home/mario/local/chicken-5/bin/foo
 ls: cannot access /home/mario/local/chicken-5/bin/foo: No such file or
 directory

 $ ls -l /home/mario/local/chicken-5/bin/bar
 -rwxr-xr-x 1 mario mario 11768 May 25 14:47
 /home/mario/local/chicken-5/bin/bar
 }}}

--
Ticket URL: <https://bugs.call-cc.org/ticket/1373>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]