-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SUSE Linux/Tumbleweed build doese not work #1339
Comments
please check build/binbuild/bootx.log for messages. |
here the content of the bootx.log
according to the manual c99 is a shell wrapper script to cc - which is also version 14.2 |
It looks like change or bug in c99 for your installation.
|
i have ask on the gcc mailing list |
I tried it with gcc 12 and no problem with -O2 option. |
|
on Ubuntu on Tumbleweed its some (c compiler related) binary with no link to gcc - even the manual looks different to Ubuntu/Debian |
It doesn't matter, c99 command line is defined by POSIX standard.
that optlevel value can be toolchain specific. |
its a bug in Tumbleweed: https://bugzilla.opensuse.org/show_bug.cgi?id=1156949 try building with my Fedora 40 (gcc 14.2.1) seems to work - so i need to get some pressure on the Tumbleweed guys or patch your make files to use gcc -std=c99 instead of c99 (or something fitting) |
It is not possible because we relate on POSIX c99 not on gcc in pre-boot phase for *NIX systems (by example it uses c99 on OSX etc. |
on Fedora 40: c99 is some small binary - seems to exec gcc
|
the build fails on Fedora 40 gcc 14.2.1 and clang 18.1.8 this way (both builds giving same error messages)
|
It will need to modify bld/wmake/posmake (POSIX make file) to use gcc command instead of c99 if gcc toolchain is used. |
|
It suppose you have setup OW build environment and have run OW build up to break. Anyway I did workaround fix for you, modify your build.sh to be as following code to fix issue with c99 and gcc 14.
|
i try that
compilations starts and seems to work |
i got a compilation error on Ubuntu 24.10 (also with gcc 14.2.x) --> #1340
|
don't be confused: im currently building openwatcom on recent Tumbleweed/Ubuntu 24.10 and Fedora 40 in parallel :) |
i did run my ./setvar.sh and ./build.sh up to break but the builder command don't get found afterwards? |
Run |
May be a problem that you use template script |
both available |
for sure run |
i will fresh re-clone, copy the setvars.sh into my own, apply your c99 patch and retry |
did that - work with just ./clean.sh |
i changed that for the freshly started Tumbleweed and Fedora build - Ubuntu seems to get further without doing that... but i'll give it a try |
the freshly started Tumbleweed build fails as before - fresh git clone/build.sh c99 patch at the same location
im sitting right there
but builder seems not findable due to my path environment - how should that work?
Tumbleweed and Fedora got same error and behave the same with it fails also the same on Ubuntu when i (sensless) try to do the same on Ubuntu when the compilation error (#1341) happens |
it looks like you have incorrectly setup OW build environment. |
where is this setup-script? im calling my copy of setvars.sh ./my_setvars.sh (with correctly set OWROOT,dosbox) and then ./build.sh |
no, only this one but you must run it by |
If you removed OWGUINOBUILD=1 then it will be build all GUI tools that this issue cannot happen. |
still problems - because Tumblewee (also Fedora) uses dosbox-staging as default - dosbox aborts somewhere in between - need first ask the dosbox-staging guys to fix that - will test it later then again |
OK. If it needs some special setup we can do it similar for OSX which need the changes. |
Issue on dosbox-staging: dosbox-staging/dosbox-staging#3984 |
Anyway you can try it with OWNOWGML=1 and all remaining setup as default. |
i'll try that and give feedback so open bugs: Tumbleweed: the c99 bug and the problem with the problem default dosbox-staging nothing you can fix |
We have temporary workaround for both. |
regarding the dosbox-staging fail is it possible to just build that part so the dosbox-staging devs can only build that for testing? both at bld/browser/nt386 i tried
but that fails with
|
OWNOWGML=1 works on Tumbleweed - not dosbox gets called - not build error |
Yes, it is possible. Build minimal build system from scratch on Linux
reproduce call to DOSBOX by
if need repeat then cleanup docs/ps by
then you can repeat call to DOSBOX by wmake command above |
works! any idea how to see exactly the call to dosbox - to get a minimal example |
setup OWWGMLDEBUG=1 it should show DOSBOX Window and wait for EXIT command to continue anyway I found out simpler example Build minimal build system from scratch on Linux
reproduce call to DOSBOX by
if need repeat then cleanup docs/ps by
then you can repeat call to DOSBOX by wmake command above |
i have found it you set in that don't like stagings SDL2 - i'll try |
Sorry I forgot how to see commands. Change command by adding verbose value
|
SDL_VIDEODRIVER=dummy |
i know - maybe its due to dosbox staging switch to SDL2 instead of SDL1 with dosbox vanilla running dosbox-staging from console with
gives the same error
works but not when i change that in the build/mif/wgmlcmd.mif |
offscreen is not driver, but init attribute |
be careful there are 2 definitions you need to change both |
found "both" works with SDL_VIDEODRIVER=offscreen and commenting them out |
|
SDL_VIDEODRIVER=offscreen doesn't work for "pure" old DOSBOX
DOSBox version 0.74-3
|
it depends on the SDL1 or system ability i try to find out what is compatible with SDL1 and SDL2 - dummy or none would be best offscreen also does not work with WSL |
I submit change fe858df to try to use default video setup instead of dummy |
that works - with poping up windows - but ok so far |
I am sorry but I must return DOSBOX setup back because we need to run DOSBOX on background without terminal. If you want to use DOSBOX staging then you need to ask to fix it to work properly without terminal with SDL_VIDEODRIVER=dummy. It looks like they destroy this functionality. |
no problem - having poping up windows all the while is stressy or even not possible when not gfx is availabe |
thanks for all the help - i will add another Tumbleweed part and Windows builds part to the wiki - with all the infos i got now |
latest Tumbleweed with all build essentials + gcc 14.2 + dosbox installed
(didn't copied the setvars.sh)
returns
The text was updated successfully, but these errors were encountered: