Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223331 - dev-lang/smlnj-110.67-r2: relocation issue: /usr/bin/sml contains reference to /var/tmp/portage
Summary: dev-lang/smlnj-110.67-r2: relocation issue: /usr/bin/sml contains reference t...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High trivial (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-23 11:09 UTC by Karsten Schmiedecke
Modified: 2009-03-16 21:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karsten Schmiedecke 2008-05-23 11:09:52 UTC
when the compiled package is merged from sandbox, not all references to sandbox directories seem to be removed.

Reproducible: Always

Steps to Reproduce:
1. emerge smlnj
2. grep portage /usr/bin/sml

Actual Results:  
BIN_DIR="/var/tmp/portage/dev-lang/smlnj-110.67-r2/work/bin"

Expected Results:  
BIN_DIR="/usr/bin"

trying to install a package depending on smlnj failed:
./configure: SMLCM is /usr/bin/sml
./configure: line 120: /var/tmp/portage/dev-lang/smlnj-110.67-r2/work/bin/.arch-n-opsys: No such file or directory

'grep portage /usr/bin/sml' yields
BIN_DIR="/var/tmp/portage/dev-lang/smlnj-110.67-r2/work/bin"

I simply sudoedited /usr/bin/sml to change that to BIN_DIR="/usr/bin" and now it works for me. ;)
Comment 1 Marijn Schouten (RETIRED) gentoo-dev 2008-05-24 20:48:04 UTC
I solved the issue of that wrong path by inserting SMLNJ_HOME=/usr into /usr/bin/sml. Consequently BIN_DIR gets set to ${SMLNJ_HOME}/bin.

It seems to me the bug is in SMLCM...
Comment 2 Marijn Schouten (RETIRED) gentoo-dev 2009-03-16 21:35:01 UTC
I don't know is there is actually an issue here or how to reproduce it.

This
 BIN_DIR="/var/tmp/portage/dev-lang/smlnj-110.67-r2/work/bin"
is never used anymore AFAIK.