Where can I get a Recent-Git-Build of FreeBASIC?

For other topics related to the FreeBASIC project or its community.
fxm
Posts: 9993
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby fxm » Oct 14, 2020 5:01

This morning, new build for fbc, but not for the documentation.
coderJeff
Site Admin
Posts: 3343
Joined: Nov 04, 2005 14:23
Location: Ontario, Canada
Contact:

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby coderJeff » Oct 18, 2020 21:12

@St_W, there's a few new build updates merged in with fbc/master now. I also changed the opening post for this thread so you can edit if you want.
srvaldez
Posts: 2545
Joined: Sep 25, 2005 21:54

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby srvaldez » Oct 23, 2020 16:46

@St_W, thank you for the arm64 version
I just installed Ubuntu 64-bit on the PI 4 and installed FB and built the latest from the Git repo without any problems :-)
MrSwiss
Posts: 3635
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby MrSwiss » Nov 11, 2020 17:39

Build system seems to be broken. Last builds (except FreeBSD32) are from: 2020-11-01.
Not certain about the doc build: 2020-11-02 (last).
fxm
Posts: 9993
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby fxm » Nov 11, 2020 17:52

I was going to make the same point regarding Jeff's latest successive updates.
I will see tomorrow if it is the same for the documentation.

[edit]
This morning:
The same frozen state for the documentation (freebasic_manual.chm).
St_W
Posts: 1508
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby St_W » Nov 13, 2020 21:58

Thanks for the hints. Build currently fails with the following error:

Code: Select all

LINK bin/fbc
mkdir -p lib/freebasic/linux-x86
cp lib/fbextra.x lib/freebasic/linux-x86/fbextra.x
CC lib/freebasic/linux-x86/fbrt0.o
In file included from src/rtlib/static/../fb.h:322:0,
                 from src/rtlib/static/fbrt0.c:7:
src/rtlib/static/../fb_math.h: In function ‘hRnd_FillFAST32’:
src/rtlib/static/../fb_math.h:43:2: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
  for( uint32_t i = 1; i < length32; i++ ) {
  ^
compilation terminated due to -Wfatal-errors.
makefile:600: recipe for target 'lib/freebasic/linux-x86/fbrt0.o' failed
make: *** [lib/freebasic/linux-x86/fbrt0.o] Error 1

Looks like a newer C compiler version is required? Maybe coderJeff can give some insights? Last working build is from end of october.
Same issue for Windows/Linux/DOS builds.

Documentation build is a different issue. Updated some Jenkins plugin a while ago which seems to have caused a dependency conflict. Unfortunately cannot fix that right now cause currently no Jenkins downloads are available as they are having some server issues:
https://www.jenkins.io/download/#downloading-jenkins wrote:Disk quota failures on Azure file storage have broken the Jenkins download mirror system. The storage timeout and mounting issues on Microsoft Azure from yesterday have been resolved but the quota failures keep the download mirror system offline. Downloads of Jenkins core and Jenkins plugins are failing with a 503 error. The Jenkins infrastructure team is working with Azure support to resolve the issue.
coderJeff
Site Admin
Posts: 3343
Joined: Nov 04, 2005 14:23
Location: Ontario, Canada
Contact:

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby coderJeff » Nov 14, 2020 20:48

Sorry about that.

Sometime in last months Travis-CI changed the default build environment
- previously Ubuntu 14.04 Trusty which uses gcc 4.8.4.
- currently Ubuntu 16.04 Xenial which uses gcc 5.4.0

I have only been testing on Ubuntu 16.04 x86_64 lately.

An easy fix though and should have it pushed soon.

EDIT: fix pushed to fbc/master now.
Last edited by coderJeff on Nov 14, 2020 21:16, edited 1 time in total.
Reason: fbc/master updated
St_W
Posts: 1508
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Postby St_W » Nov 15, 2020 18:00

Thanks a lot coderJeff for the fix. All platform builds succeed now again.
I saw that it was some convenience feature, declaring a loop variable within the for loop, which makes the code a bit shorter and easier to read. At some point in time we definitely should get rid of supporting older compilers. It's up to you to define that day, I'll update the build systems then :-)
Currently my builds use GCC 4.x (Linux builds on Debian Jessie 8 use GCC 4.9 for example), which is pretty old already. Debian 9 uses GCC 6.3, Debian 10 uses GCC 8.3. Not sure which GCC versions are available from DJGPP (DOS builds), but according to wikipedia more recent GCC versions should be available as well.

Regarding documentation builds: upgraded Jenkins to the latest version and fixed the plugin issues. Builds should be working again (already triggered one build manually)

Return to “Community Discussion”

Who is online

Users browsing this forum: No registered users and 6 guests