kburtch / SparForte

Bourne shell, template engine, scripting language reliable, scalable projects. Based a ISO standard proven effective for large, mission-critical projects, SparForte is designed for fast development while, at the same time, providing easier designing, maintenance and bug removal. About 130.000 lines of code.
https://www.sparforte.com
GNU General Public License v2.0
50 stars 6 forks source link

2 issues with release 2.2 (so far) #15

Closed jrmarino closed 5 years ago

jrmarino commented 5 years ago

issue 1: The v2.2 tag refers to a commit "fixing conflict in todo file" (8a4d5f3) that doesn't seem to be in the master branch. Perhaps the tag was pushed but the tree was not?

issue 2: It doesn't build!

(cd /construction/sparforte/SparForte-2.2/src && /usr/bin/env SDL_CONFIG="/raven/bin/sdl-config" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" PREFIX=/raven LOCALBASE=/raven OPSYS="FreeBSD" CC="cc" CFLAGS="-pipe -O2   -I/raven/include -I/raven/include/db5" CPP="cpp" CPPFLAGS="-I/raven/include -I/raven/include/db5" LDFLAGS="-L/raven/lib -Wl,-rpath,/raven/lib -L/raven/lib/db5 -lpthread" LIBS="" CXX="c++" CXXFLAGS="" STD_DOCDIR="/raven/share/doc/sparforte" STD_EXAMPLESDIR="/raven/share/examples/sparforte" MANPREFIX="/raven/share" ADA_PROJECT_PATH="/raven/lib/gnat" F77="gfortran" FC="gfortran" PATH=/raven/libexec/ccache:/bin:/usr/bin:/raven/toolchain/gcc8/bin:/raven/toolchain/bin:/raven/sbin:/raven/bin CCACHE_DIR="/ccache"  gnatprep -DOPENGL=true -DMYSQL=true -DSOUND=true -DPOSTGRES=true -DGCGI=false -DAPQ=true -DREADLINE=true -DBDB=true scanner_res.adb.orig scanner_res.adb)
(cd /construction/sparforte/SparForte-2.2/src && /usr/bin/env SDL_CONFIG="/raven/bin/sdl-config" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" PREFIX=/raven LOCALBASE=/raven OPSYS="FreeBSD" CC="cc" CFLAGS="-pipe -O2   -I/raven/include -I/raven/include/db5" CPP="cpp" CPPFLAGS="-I/raven/include -I/raven/include/db5" LDFLAGS="-L/raven/lib -Wl,-rpath,/raven/lib -L/raven/lib/db5 -lpthread" LIBS="" CXX="c++" CXXFLAGS="" STD_DOCDIR="/raven/share/doc/sparforte" STD_EXAMPLESDIR="/raven/share/examples/sparforte" MANPREFIX="/raven/share" ADA_PROJECT_PATH="/raven/lib/gnat" F77="gfortran" FC="gfortran" PATH=/raven/libexec/ccache:/bin:/usr/bin:/raven/toolchain/gcc8/bin:/raven/toolchain/bin:/raven/sbin:/raven/bin CCACHE_DIR="/ccache"  gnatprep -DOPENGL=true -DMYSQL=true -DSOUND=true -DPOSTGRES=true -DGCGI=false -DAPQ=true -DREADLINE=true -DBDB=true parser.adb.orig parser.adb)
gnatprep: unable to find input file "parser.adb.orig"
*** Error code 4

Stop.
make: stopped in /port

The parser.adb.orig file is indeed not in the src/ directory.

kburtch commented 5 years ago

I cannot replicate these issues. I did a git clone of master/HEAD and it built successfully. I checked out tags/v2.2 from the master branch and it built successfully. The file parser.adb.orig no longer exists in SparForte. The parser.adb file was broken down into several smaller files and none of them are processed by gnatprep anymore.

jrmarino commented 5 years ago

issue 1 is easily to reproduce. 1) go to https://github.com/kburtch/SparForte/commits/master 2) observe "fixing conflict in todo file" is not in the commits list. It seems like a local repository was tagged, the tag was pushed, put the commit itself was not. The commit should be on the commit list, right?

jrmarino commented 5 years ago

for issue 2, I'm using https://github.com/kburtch/SparForte/archive/v2.2.tar.gz I don't know why you wouldn't be able to reproduce. I can build v2.1 fine (with local patches irrelevant to current issue)

kburtch commented 5 years ago

Sir/Madam,

For issue 1, I see the commit on the GitHub page, listed on June 24. The command git log --graph --oneline --all also shows the commit in question as being merged into master.

For issue 2, your output shows a failure occurring in a third-party script which is not included in this project. I assume this script is used to port SparForte to whatever O/S you are using. This script is trying to modify a source file which no longer exists in SparForte.

The line "(cd /construction/sparforte/SparForte-2.2/src && /usr/bin/env SDL_CONFIG="/raven/bin/sdl-config" ... parser.adb.orig parser.adb)" is referencing "parser.adb.orig". This file used to exist but is no longer included. ( ".orig" indicates that it used to be processed by the "gnatprep" command. However, there was nothing in the file for gnatprep so I removed it, then broke the parser.adb file into separate files because it was getting too large.)

I would suggest to address this build problem to the creator of the script and ask them to correct it. Failing that, find the offending line in the script and a comment it out and see if SparForte builds for you. As it's not part of the SparForte project, I don't have access to this script to fix it.

jrmarino commented 5 years ago

you're absolutely correct. I've got this resolved, thanks.