Distfiles with conflicting size/sha256 distinfo
Chris Rees
utisoft at gmail.com
Sat Jan 28 21:04:35 UTC 2012
On 28 Jan 2012 18:13, "Matthew Seaman" <m.seaman at infracaninophile.co.uk>
wrote:
>
>
> Hmmm... Something is definitely wrong here. Ports are either referring
> to the same distfile, but the sha256 and size data are not the same in
> both distinfo files, or they are downloading distinct files with an
> unfortunate conflict of names and not using DIST_SUBDIR to prevent
> themselves stomping on the other port's distfile.
>
> distfile_path here is the path relative to /usr/ports/distfiles that the
> file would be downloaded to.
>
> distfile_path | distfile_size |
> distfile_sha256
>
-----------------------------------------------------+---------------+------------------------------------------------------------------
> android-9-arm.tar.bz2 | 1924233 |
> 682cee5219f171a8bf4d0b35a33bc00d265a8c5a0b1d81ddd04389b402783190
> android-9-arm.tar.bz2 | 1923856 |
> c27063b829b4b49ea604c1b524399c7672ecb0f869478b18d37b9d4d32841a6b
> eclipse/org.hamcrest.core_1.1.0.v20090501071000.jar | 27828 |
> db7f2cd14b9e263d791631960a0cd5a9ff4c8257939b551a5b86dd2ac6d23345
> eclipse/org.hamcrest.core_1.1.0.v20090501071000.jar | 27827 |
> 3990293a31c98e079be5c24410fcaefb06f2770547879b27796651f8df092a0e
> pfpro_freebsd.tar.gz | 322411 |
> 1afeedc6b67be35b372ccedc717516eabe8a4850ab7ecc5e605a44d14d721036
> pfpro_freebsd.tar.gz | 322410 |
> 396943299424066d23ef1307d02a044b2d7b45758a16e1dca5f47c907caa5606
> (6 rows)
>
> port | distfile_path
>
>
-------------------------+-----------------------------------------------------
> lang/gnatdroid-binutils | android-9-arm.tar.bz2
> lang/gnatdroid-sysroot | android-9-arm.tar.bz2
> java/eclipse |
> eclipse/org.hamcrest.core_1.1.0.v20090501071000.jar
> java/eclipse-devel |
> eclipse/org.hamcrest.core_1.1.0.v20090501071000.jar
> finance/p5-PFProAPI | pfpro_freebsd.tar.gz
> finance/pfpro | pfpro_freebsd.tar.gz
> (6 rows)
>
> After checking the ports in question, it looks like the first case:
> incorrect size and sha256 data in at least one of those distfiles.
>
Hm. It'd be awesome if you were to make a list of the offending ports, and
email the maintainers.
I'll work with you if needed, just CC me where necessary.
Chris
More information about the freebsd-ports
mailing list