Summary
qt egg installation issue (installation-prefix)
Metadata
- Id: 93a305a02267032d93103225813810a5280449ba
- Trac id: 283
- Type: defect
- Reporter: mario
- Owner: mario
- Cc:
- Status: closed
- Component: extensions
- Estimated difficulty:
- Resolution: fixed
- Priority: major
- Milestone:
- Version: 4.5.x
- Changetime: 2010-08-11 16:30:52 UTC
- Created: 2010-07-13 16:04:59 UTC
- Keywords: qt
Description
The qt egg installation fails when run by salmonella: http://tests.call-cc.org/2010/07/13/salmonella-report/qt.html
It seems that the qt egg use (installation-prefix) from setup-api and gets /root/salmonella/salmonella-repo, which is the value passed to chicken-install via the -prefix option. However, the chicken tools (csc, csi) are not under /root/salmonella/salmonella-repo/bin.
I don't know if it is a salmonella bug or a qt setup bug.
Changes and comments
[2010-07-16 08:17:49 UTC] felix wrote:
mario, can you try out r18846 (trunk of qt egg) in your salmonella setup? I'm not sure how to reproduce this properly.
[2010-07-20 01:58:12 UTC] felix changed status from new to assigned
[2010-07-20 01:58:12 UTC] felix changed owner from felix to mario
[2010-07-20 01:58:12 UTC] felix wrote:
(just to annoy you)
[2010-07-20 02:12:30 UTC] mario changed status from assigned to accepted
[2010-07-20 02:12:30 UTC] mario wrote:
(just to annoy myself)
[2010-07-26 16:13:39 UTC] mario wrote:
I couldn't make the qt trunk code build either.
Running chicken-install qt.setup from the qt trunk dir gives me:
$ chicken-install qt.setup
retrieving ...
checking platform for `qt' ...
checking dependencies for `qt' ...
install order:
("qt")
installing qt: ...
changing current directory to /home/mario/src/chicken-eggs/release/4/qt/trunk
/usr/local/chicken-4.5.0/bin/csi -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e "(extension-name-and-version '(\"qt\" \"\"))" /home/mario/src/chicken-eggs/release/4/qt/trunk/qt.setup
Warning: reference to possibly unbound identifier: c-string
Warning: reference to possibly unbound identifier: foreign-value
Error: module unresolved: main
Call history:
setup-api.scm: 726 ->string
setup-api.scm: 727 ensure-string
setup-api.scm: 726 ->string
setup-api.scm: 798 user-install-setup
setup-api.scm: 727 ensure-string
setup-api.scm: 726 ->string
setup-api.scm: 727 ensure-string
setup-api.scm: 726 ->string <--
Error: shell command terminated with nonzero exit code
17920
"/usr/local/chicken-4.5.0/bin/csi -bnq -setup-mode -e \"(require-library setup-a...
I get the same result when using salmonella. Here's the salmonella configuration file I'm using:
(dont-ask #t) (verbose #t) (eggs (lambda () (list "qt"))) (env-vars "CHICKEN_REPOSITORY=/home/mario/salmonella-repo/lib/chicken/5 QTDIR=/usr") (chicken-eggs-dir "/home/mario/src/chicken-eggs/release/4")
I run salmonella salmonella.conf. The code above is the salmonella.conf contents.
I'm using chicken 4.5.0. I have the following easyffi versions:
$ chicken-status easyffi easyffi ...................................................... version: 1.99.1 easyffi-base ................................................. version: 1.99.1
Any hint?
[2010-07-26 16:31:58 UTC] mario wrote:
Forgot to mention that, to test the qt code from trunk with salmonella, I copied the trunk files to tags/0.91 by hand, so I can fool salmonella this way.
[2010-08-02 14:40:35 UTC] felix removed milestone 4.6.0
[2010-08-07 20:08:07 UTC] mario wrote:
Testing trac after migration. Ignore this message.
[2010-08-10 23:03:41 UTC] felix wrote:
I fixed several errors in the setup and support script, please give it another try (a new version has been tagged, which is 0.93).
[2010-08-11 16:30:52 UTC] mario changed status from accepted to closed
[2010-08-11 16:30:52 UTC] mario set resolution to fixed
[2010-08-11 16:30:52 UTC] mario wrote:
Salmonella could install it: http://tests.call-cc.org/2010/08/11/salmonella-report/qt.html
I've installed it on my machine too and it seems to work fine (could run the egg-browser example)
Nice work. Thank you.
I'm closing this ticket.