scilab 6.1.1+dfsg2-3 fail to build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
scilab (Ubuntu) |
Fix Released
|
Undecided
|
Graham Inggs |
Bug Description
scilab 6.1.1+dfsg2-3 was uploaded on Nov 11 2021 and has failed to build ever since
https:/
Here is the build error
../../modules/
18 | CORE_IMPEXP void pause(void);
| ^~~~~
In file included from /usr/include/
/usr/include/
489 | extern int pause (void);
| ^~~~~
src/cpp/
22 | void pause(void)
| ^~~~~
In file included from /usr/include/
/usr/include/
489 | extern int pause (void);
| ^~~~~
It appears scilab core module has a function called pause that conflicts with the standard unistd pause function.
I made a patch that allow scilab to build and I tested from my ppa.
This patch simply rename the function to scipause. This doesn't feel very elegant and there might be a better solution. I'll leave it up to more experience folks to decide if this needs rework :)
Changed in scilab (Ubuntu): | |
assignee: | nobody → Graham Inggs (ginggs) |
status: | New → In Progress |
Changed in scilab (Ubuntu): | |
status: | In Progress → Fix Committed |
Successful build log from ppa can be found here https:/ /launchpad. net/~mclemencea u/+archive/ ubuntu/ distro- work/+build/ 23548209