Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000433 | mercury | Bug | public | 2017-03-23 15:04 | 2018-03-13 14:38 |
Reporter | pbone | ||||
---|---|---|---|---|---|
Assigned To | pbone | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | acknowledged | Resolution | open | ||
Platform | amd64 | OS | Linux Mint | OS Version | |
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000433: mmc --make calls programs without full path | ||||
Description | if you have multiple installations of Mercury then calling tools like mkinit without the full path can lead to problems. | ||||
Steps To Reproduce | I have two installations of Mercury. In /usr I have 14.01.1 (this is the one I'm filing the bug against). And I have a recent ROTD in /usr/local (linked there by stow, stow is cool, check it out). But /usr/local is earlier in my path than /usr so that I can override my system's tools. $ which mmc /usr/local/bin/mmc If I invoke the version in /usr it breaks. $ /usr/bin/mmc --make hello Making Mercury/int3s/hello.int3 Making Mercury/ints/hello.int Making Mercury/cs/hello.c Making Mercury/os/hello.o ** Error making `hello'. Mercury/cs/hello_init.c: In function ‘mercury_init’: Mercury/cs/hello_init.c:1736:29: error: ‘ML_std_library_init’ undeclared (first use in this function) Mercury/cs/hello_init.c:1736:29: note: each undeclared identifier is reported only once for each function it appears in Mercury/cs/hello_init.c:1737:27: error: ‘ML_std_library_finalize’ undeclared (first use in this function) Mercury/cs/hello_init.c: At top level: Mercury/cs/hello_init.c:1866:1: error: expected identifier or ‘(’ before ‘/’ token It appears to be excuting the first mkinit it finds in my $PATH, which is incompatible. If I override $PATH, then it works without a problem. | ||||
Additional Information | I intend to fix this bug in the immediate future, I'm filing it now so that I can have a URL to point to it. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2017-03-23 15:04 | pbone | New Issue | |||
2017-03-23 15:04 | pbone | Status | new => assigned | ||
2017-03-23 15:04 | pbone | Assigned To | => pbone | ||
2017-04-05 11:02 | pbone | Note Added: 0000946 | |||
2017-04-05 11:24 | wangp | Note Added: 0000947 | |||
2017-04-05 11:40 | pbone | Note Added: 0000948 | |||
2017-04-05 12:01 | wangp | Note Added: 0000949 | |||
2017-04-05 12:03 | juliensf | Note Added: 0000950 | |||
2018-03-13 14:38 | pbone | Status | assigned => acknowledged | ||
2018-03-13 14:38 | pbone | Note Added: 0000977 |