Opened 11 days ago
Closed 10 days ago
#1748 closed defect (fixed)
BLFS tools may fail to generate a script for some updated packages
Reported by: | Pierre Labastie | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | ablfs | Version: | GIT |
Severity: | minor | Keywords: | |
Cc: |
Description ¶
When treating dependencies, the tool does the full dependency graph, reduces it to a DAG, generates list of packages in build order and finally decides which packages must be built by comparing installed version and available version in the book. This comparison is made with sort -V, which does not make any difference between for example 3.0.0 and 3.0.0-RC, so that update from -RC to non-RC is not generated.
Severity and priority set to low because we normally don't have RC in BLFS (but this occurred for gimp recently)
Change History (4)
comment:1 by , 11 days ago
comment:2 by , 11 days ago
Reading the algorithm for sort -V (which is actually in filevercmp of gnulib), I guess I should replace -rc with ~rc before doing the comparison, but not -<anything else>...
FYI ideally RC's should be named "1.2.3~rc2" instead of "1.2.3-rc2", then sort -V will do the correct thing. Unfortunately most upstreams just use "-" instead of "~".