Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Hardcoded out of date version number suffix in library filenames

Aperta
#20 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Ambito
build-system

Direzione di ricerca

Inspect configure and configure.in, then reproduce the issue with ./configure && make all install and alr get xmlada. Trace where the 18.0w suffix is selected; done means manually built library filenames use the intended version rather than an outdated hardcoded value, with an overridable version if supported by the project.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

When xmlada is built with the usual method of ./configure && make all install, all produced xmlada library files are suffixed with 18.0w - due to that version being hardcoded into configure script (& configure.in)

lrwxrwxrwx   1 cpigott domain users   53 Oct  7 15:42 libxmlada_dom.so -> ../lib/xmlada/xmlada_dom.relocatable/libxmlada_dom.so
lrwxrwxrwx   1 cpigott domain users   59 Oct  7 15:42 libxmlada_dom.so.18.0w -> ../lib/xmlada/xmlada_dom.relocatable/libxmlada_dom.so.18.0w
lrwxrwxrwx   1 cpigott domain users   65 Oct  7 15:42 libxmlada_input_sources.so -> ../lib/xmlada/xmlada_input.relocatable/libxmlada_input_sources.so
lrwxrwxrwx   1 cpigott domain users   71 Oct  7 15:42 libxmlada_input_sources.so.18.0w -> ../lib/xmlada/xmlada_input.relocatable/libxmlada_input_sources.so.18.0w
lrwxrwxrwx   1 cpigott domain users   53 Oct  7 15:42 libxmlada_sax.so -> ../lib/xmlada/xmlada_sax.relocatable/libxmlada_sax.so
lrwxrwxrwx   1 cpigott domain users   59 Oct  7 15:42 libxmlada_sax.so.18.0w -> ../lib/xmlada/xmlada_sax.relocatable/libxmlada_sax.so.18.0w
lrwxrwxrwx   1 cpigott domain users   59 Oct  7 15:42 libxmlada_schema.so -> ../lib/xmlada/xmlada_schema.relocatable/libxmlada_schema.so
lrwxrwxrwx   1 cpigott domain users   65 Oct  7 15:42 libxmlada_schema.so.18.0w -> ../lib/xmlada/xmlada_schema.relocatable/libxmlada_schema.so.18.0w
lrwxrwxrwx   1 cpigott domain users   61 Oct  7 15:42 libxmlada_unicode.so -> ../lib/xmlada/xmlada_unicode.relocatable/libxmlada_unicode.so
lrwxrwxrwx   1 cpigott domain users   67 Oct  7 15:42 libxmlada_unicode.so.18.0w -> ../lib/xmlada/xmlada_unicode.relocatable/libxmlada_unicode.so.18.0w

This is an issue when building xmlada manually, i.e. getting the release archive via alr alr get xmlada (my particular usecase is using it as a dependency of libadalang)

At the very least the version should be overridable, which it isn't as far as I can see (I might be missing something)

(This doesn't appear to be an issue with GNAT Pro distributions of xmlada, so they are presumably being built via other methods)

Lingua principale
Ada
Stelle
30
Fork
17
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di AdaCore/xmlada

Tutte le issue di AdaCore/xmlada

Issue simili

Altre issue su Build System

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.