Distfiles with conflicting size/sha256 distinfo

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Jan 28 18:13:31 UTC 2012


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.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120128/fed90662/signature.pgp


More information about the freebsd-ports mailing list