fix(strfry): flatbuffers-compiler manquant + chemin relatif cassé dans install_strfry.sh - #1
Open
Bulmananabelle wants to merge 1 commit into
Open
Conversation
… relatif cassé
- flatbuffers-compiler (binaire flatc) n'était pas dans la liste de dépendances
Debian, alors qu'il est requis par golpe/rasgueadb-generate pour générer
defaultDb.h. Sans lui, `make` échoue et le service strfry ne démarre jamais
("strfry is missing").
- install_strfry() copiait start_strfry-relay.sh avec un chemin relatif, alors
que compile_strfry() vient de faire un `cd` vers $STRFRY_SRC_DIR juste avant
— la copie échouait silencieusement (non fatale car en fin de fonction) et
laissait $STRFRY_INSTALL_DIR/start.sh absent après --install/--update.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contexte
Rencontré lors d'une installation Astroport.ONE réelle sur Debian 12 : le service
strfry.serviceéchouait au démarrage avecstrfry is missing !!.Problèmes
flatbuffers-compiler(binaireflatc) absent de la liste de dépendancesDebian dans
install_dependencies().libflatbuffers-devfournit lesen-têtes/lib mais pas le compilateur. Sans
flatc,golpe/external/rasgueadb/ rasgueadb-generateéchoue à générerbuild/defaultDb.h, etmakes'arrête :Chemin relatif cassé dans
install_strfry()— la fonction faitcp start_strfry-relay.sh "$STRFRY_INSTALL_DIR/start.sh"avec un cheminrelatif, mais
compile_strfry()(appelée juste avant dans les branches--install/--update) a fait uncdvers$STRFRY_SRC_DIRsans revenir.La copie échouait silencieusement (erreur non fatale, en fin de fonction),
laissant
$STRFRY_INSTALL_DIR/start.shabsent après une install via ces flags.Correctifs
flatbuffers-compilerà la liste de paquets Debian."$NIP101_DIR/start_strfry-relay.sh"pour la copie du script dedémarrage.
Test
Rebuild complet validé sur la machine concernée après application des deux
correctifs :
flatcdisponible, compilation aboutie,strfry.servicedémarre etrépond en HTTP 200 sur le port 7777.