this time it's vim/distfiles

2009-07-29 Thread Scott Bennett
 When portmaster tries to rebuild vim-lite, it tries to verify the
checksums of 239 (?) patches.  (I guess I should take that as a warning.)
Unfortunately, one of them apparently doesn't check out properly.  Here's
an excerpt of the portmaster output.

= MD5 Checksum OK for vim/7.2.040
= SHA256 Checksum OK for vim/7.2.040.
= No MD5 checksum recorded for vim/7.2.041^.
= No SHA256 checksum recorded for vim/7.2.041^.
= No suitable checksum found for vim/7.2.041^.
= MD5 Checksum OK for vim/7.2.042.
= SHA256 Checksum OK for vim/7.2.042.
 .
 .
 .
= MD5 Checksum OK for vim/7.2.239.
= SHA256 Checksum OK for vim/7.2.239.
*** Error code 1

Stop in /usr/ports/editors/vim-lite.

=== make failed for editors/vim-lite
=== Aborting update

=== Update for vim-lite-7.2.209 failed
=== Aborting update

 I looked in distfiles and found that the line in question apparently
had an extraneous character that displays in less and vi as a percent sign.

DISTFILE:vim/7.2.040:SIZE=1836:SHA256=ad320d45c2541a767b351fdb8720c349c468acec8cf54dcfced0a6d1e58e5d8e:MD5=4c493255ae227498016f30a0002ec1cc
DISTFILE:vim/7.2.041%:SIZE=22405:SHA256=2f48e173df3d306edd982f8a3d5a15c65ba19694ca32bdbdaa51f8bcc48a3d06:MD5=107ba5dccb1df727601aead37abf8cd3
DISTFILE:vim/7.2.042:SIZE=4987:SHA256=d5fa884a7c5ee77b60fe512ceccaac640c0dfc00bd435211f4e4597ae3bee2cd:MD5=99baedef8a9c908774b7ed74deacf184

I tried deleting the extra character and rerunning portmaster, but that just
yields the same results.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: this time it's vim/distfiles

2009-07-29 Thread Wesley Shields
On Wed, Jul 29, 2009 at 08:05:20AM -0500, Scott Bennett wrote:
  When portmaster tries to rebuild vim-lite, it tries to verify the
 checksums of 239 (?) patches.  (I guess I should take that as a warning.)
 Unfortunately, one of them apparently doesn't check out properly.  Here's
 an excerpt of the portmaster output.
 
 = MD5 Checksum OK for vim/7.2.040
 = SHA256 Checksum OK for vim/7.2.040.
 = No MD5 checksum recorded for vim/7.2.041^.
 = No SHA256 checksum recorded for vim/7.2.041^.
 = No suitable checksum found for vim/7.2.041^.
 = MD5 Checksum OK for vim/7.2.042.
 = SHA256 Checksum OK for vim/7.2.042.
  .
  .
  .
 = MD5 Checksum OK for vim/7.2.239.
 = SHA256 Checksum OK for vim/7.2.239.
 *** Error code 1
 
 Stop in /usr/ports/editors/vim-lite.
 
 === make failed for editors/vim-lite
 === Aborting update
 
 === Update for vim-lite-7.2.209 failed
 === Aborting update
 
  I looked in distfiles and found that the line in question apparently
 had an extraneous character that displays in less and vi as a percent sign.
 
 DISTFILE:vim/7.2.040:SIZE=1836:SHA256=ad320d45c2541a767b351fdb8720c349c468acec8cf54dcfced0a6d1e58e5d8e:MD5=4c493255ae227498016f30a0002ec1cc
 DISTFILE:vim/7.2.041%:SIZE=22405:SHA256=2f48e173df3d306edd982f8a3d5a15c65ba19694ca32bdbdaa51f8bcc48a3d06:MD5=107ba5dccb1df727601aead37abf8cd3
 DISTFILE:vim/7.2.042:SIZE=4987:SHA256=d5fa884a7c5ee77b60fe512ceccaac640c0dfc00bd435211f4e4597ae3bee2cd:MD5=99baedef8a9c908774b7ed74deacf184
 
 I tried deleting the extra character and rerunning portmaster, but that just
 yields the same results.

Don't just delete it. Change it to a ^ and you should be OK until the
maintainer updates distinfo to reflect the recent change.

-- WXS
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: this time it's vim/distfiles

2009-07-29 Thread N.J. Mann
In message 200907291305.n6td5kst010...@mp.cs.niu.edu,
Scott Bennett (benn...@cs.niu.edu) wrote:
  When portmaster tries to rebuild vim-lite, it tries to verify the
 checksums of 239 (?) patches.  (I guess I should take that as a warning.)
 Unfortunately, one of them apparently doesn't check out properly.  Here's
 an excerpt of the portmaster output.
 
 = MD5 Checksum OK for vim/7.2.040
 = SHA256 Checksum OK for vim/7.2.040.
 = No MD5 checksum recorded for vim/7.2.041^.
 = No SHA256 checksum recorded for vim/7.2.041^.
 = No suitable checksum found for vim/7.2.041^.
 = MD5 Checksum OK for vim/7.2.042.
 = SHA256 Checksum OK for vim/7.2.042.
  .
  .
  .
 = MD5 Checksum OK for vim/7.2.239.
 = SHA256 Checksum OK for vim/7.2.239.
 *** Error code 1
 
 Stop in /usr/ports/editors/vim-lite.
 
 === make failed for editors/vim-lite
 === Aborting update
 
 === Update for vim-lite-7.2.209 failed
 === Aborting update
 
  I looked in distfiles and found that the line in question apparently
 had an extraneous character that displays in less and vi as a percent sign.
 
 DISTFILE:vim/7.2.040:SIZE=1836:SHA256=ad320d45c2541a767b351fdb8720c349c468acec8cf54dcfced0a6d1e58e5d8e:MD5=4c493255ae227498016f30a0002ec1cc
 DISTFILE:vim/7.2.041%:SIZE=22405:SHA256=2f48e173df3d306edd982f8a3d5a15c65ba19694ca32bdbdaa51f8bcc48a3d06:MD5=107ba5dccb1df727601aead37abf8cd3
 DISTFILE:vim/7.2.042:SIZE=4987:SHA256=d5fa884a7c5ee77b60fe512ceccaac640c0dfc00bd435211f4e4597ae3bee2cd:MD5=99baedef8a9c908774b7ed74deacf184

NB: you should be looking in editors/vim since editors/vim-lite is a
slave port.

The Makefile and distinfo files have different names for the patch - the
maintainer appears to have decided to rename the patch file earlier
today and only updated Makefile accordingly.  The old name was 7.2.041%
and the new is to 7.2.041^.  Try changing distinfo accordingly.


Cheers,
   Nick.
-- 

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: this time it's vim/distfiles

2009-07-29 Thread Doug Barton
Scott Bennett wrote:
  When portmaster tries to rebuild vim-lite, it tries to verify the
 checksums of 239 (?) patches. 

To be a little more accurate, the ports infrastructure is doing the
verification. Portmaster just calls 'make checksum'.

  I looked in distfiles and found that the line in question apparently
 had an extraneous character that displays in less and vi as a percent sign.
 
 DISTFILE:vim/7.2.040:SIZE=1836:SHA256=ad320d45c2541a767b351fdb8720c349c468acec8cf54dcfced0a6d1e58e5d8e:MD5=4c493255ae227498016f30a0002ec1cc
 DISTFILE:vim/7.2.041%:SIZE=22405:SHA256=2f48e173df3d306edd982f8a3d5a15c65ba19694ca32bdbdaa51f8bcc48a3d06:MD5=107ba5dccb1df727601aead37abf8cd3
 DISTFILE:vim/7.2.042:SIZE=4987:SHA256=d5fa884a7c5ee77b60fe512ceccaac640c0dfc00bd435211f4e4597ae3bee2cd:MD5=99baedef8a9c908774b7ed74deacf184

The information stored in /var/db/ports/*/distfiles is only used to
make sure all of the distfiles associated with a port are deleted if
the user chooses that option. The checksum information is stored, but
is not used at this time. See also
http://www.freebsd.org/cgi/query-pr.cgi?pr=106483


hth,

Doug

-- 

This .signature sanitized for your protection

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: this time it's vim/distfiles

2009-07-29 Thread Esa Karkkainen
On Wed, Jul 29, 2009 at 02:59:56PM +0100, N.J. Mann wrote:
 Try changing distinfo accordingly.

You can use your favourite editor or run the following commands as root

# cd /usr/ports/editors/vim
# sed -I .orig -e 's/7\.2\.041%/7.2.041^/' distinfo

-- 
In the beginning the Universe was created. This has made a lot of
people very angry and been widely regarded as a bad move.
-- Douglas Adams 1952 - 2001
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: this time it's vim/distfiles

2009-07-29 Thread Glen Barber
On Wed, Jul 29, 2009 at 3:26 PM, Esa Karkkainene...@iki.fi wrote:
 On Wed, Jul 29, 2009 at 02:59:56PM +0100, N.J. Mann wrote:
 Try changing distinfo accordingly.

 You can use your favourite editor or run the following commands as root

 # cd /usr/ports/editors/vim
 # sed -I .orig -e 's/7\.2\.041%/7.2.041^/' distinfo


That shouldn't fix the problem, because according to the OP's error:

= No MD5 checksum recorded for vim/7.2.041^.
= No SHA256 checksum recorded for vim/7.2.041^.
= No suitable checksum found for vim/7.2.041^.

Meaning, there is no checksum for the file with '^' in place of '%'.



-- 
Glen Barber
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: this time it's vim/distfiles

2009-07-29 Thread Wesley Shields
On Wed, Jul 29, 2009 at 04:12:05PM -0400, Glen Barber wrote:
 On Wed, Jul 29, 2009 at 3:26 PM, Esa Karkkainene...@iki.fi wrote:
  On Wed, Jul 29, 2009 at 02:59:56PM +0100, N.J. Mann wrote:
  Try changing distinfo accordingly.
 
  You can use your favourite editor or run the following commands as root
 
  # cd /usr/ports/editors/vim
  # sed -I .orig -e 's/7\.2\.041%/7.2.041^/' distinfo
 
 
 That shouldn't fix the problem, because according to the OP's error:
 
 = No MD5 checksum recorded for vim/7.2.041^.
 = No SHA256 checksum recorded for vim/7.2.041^.
 = No suitable checksum found for vim/7.2.041^.
 
 Meaning, there is no checksum for the file with '^' in place of '%'.

That sed line will replace the % with a ^, but it doesn't matter
anymore.

I just committed a fix for this. Please give it time to mirror out and
you should be fine.

-- WXS
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: this time it's vim/distfiles

2009-07-29 Thread N.J. Mann
In message 4ad871310907291312s6f4e1c1dx7e91e5d61b5c4...@mail.gmail.com,
Glen Barber (glen.j.bar...@gmail.com) wrote:
 On Wed, Jul 29, 2009 at 3:26 PM, Esa Karkkainene...@iki.fi wrote:
  On Wed, Jul 29, 2009 at 02:59:56PM +0100, N.J. Mann wrote:
  Try changing distinfo accordingly.
 
  You can use your favourite editor or run the following commands as root
 
  # cd /usr/ports/editors/vim
  # sed -I .orig -e 's/7\.2\.041%/7.2.041^/' distinfo
 
 
 That shouldn't fix the problem, because according to the OP's error:
 
 = No MD5 checksum recorded for vim/7.2.041^.
 = No SHA256 checksum recorded for vim/7.2.041^.
 = No suitable checksum found for vim/7.2.041^.
 
 Meaning, there is no checksum for the file with '^' in place of '%'.

I think you have missed the point.  The Makefile has been updated to
include the renaming of the patch file from 7.2.041% to 7.2.41^, whereas
the distinfo file _has not_.  So, the distinfo has no checksums for
7.2.041^.  Instead it has them for 7.2.041%.

So I think Esa's idea is correct.

1 minute later
Wesley Shields (wxs@) has just committed a fix to the distfile, so those
affected should re-sync their port trees.


Cheers,
   Nick.

-- 

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org