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: alfs-log@…
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 xry111, 11 days ago

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 "~".

comment:2 by Pierre Labastie, 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>...

comment:3 by Pierre Labastie, 10 days ago

note that it is possible to have also 1.2.3rc5 (case of AAlib).

comment:4 by Pierre Labastie, 10 days ago

Resolution: fixed
Status: newclosed

Fixed at 4129cc2

Note: See TracTickets for help on using tickets.