jrmarino / synth

Next D/Ports build tool for live systems (Alternative for Portmaster and Portupgrade tools)
ISC License
251 stars 15 forks source link

Fetch Prebuild issue ? #170

Open Antoni0Torres opened 4 years ago

Antoni0Torres commented 4 years ago

I'm using synth from several month to build a small package list, thanks, it's really nice.

I found that fetch prebuild packages are not always respected or maybe I'm missing something.

When there is a version difference between "latest" pkgs and ports, synth try to compile and use last version from ports, this is ok and is only a problem with ports <> pkgs syncronisation.

But I found also that when synth build a port because his version is higher in ports it also build the others ports in which the build port depend on but the version of it is the same in lastes pkg and ports so it could fetch the pkg but don't do it.

Example:

rspamd -> depend on openblas -> depend on gcc9

Thanks.

jrmarino commented 4 years ago

it's working as designed. You may think the depends don't need rebuilding but they do. Synth (and poudriere) rebuild all depends when any predecessor port changes. It's got nothing to do with the version.