Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2016 23:54:15 +0000
From:      "Montgomery-Smith, Stephen" <stephen@missouri.edu>
To:        "ctm-users@freebsd.org" <ctm-users@freebsd.org>
Subject:   Re: current ctm reports: Fatal error: Probably not a CTM-patch at all.
Message-ID:  <d12d62ac-ff7c-d043-71c4-b9034050b485@missouri.edu>
In-Reply-To: <201611051539.uA5FdbMK005641@fire.js.berklix.net>
References:  <201611051539.uA5FdbMK005641@fire.js.berklix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/05/2016 10:39 AM, Julian H. Stacey wrote:
> Hi ctm-users@freebsd.org
> Anyone else seeing similar strangeness ? ...
> No problem running on 9.2-RELEASE, but on today's current :
> 	( /usr/src .svn_revision 308280 .ctm_status src-cur 12727 )
> 	after an installworld & kernel )
>=20
> cd /usr/svn; cat .ctm_status
> 	svn-cur 5081
> ctm -q /pub/FreeBSD/development/CTM/svn-cur/svn-cur.05[0-9][0-9][0-9].xz
> 	/pub/FreeBSD/development/CTM/svn-cur/svn-cur.05000.xz \
> 	Fatal error: Probably not a CTM-patch at all.
> 	# Yes I know I dont need earlier deltas, but its a cut & paste
> 	# suggestion from my standard script
> 	# The point is, ctm always used to just skip past deltas it didnt need,
> 	# including those it now doesnt recognise as deltas.
> 	# ctm also fails on delta it does need, see below:
> 	# Both these fail:
> ctm    /pub/FreeBSD/development/CTM/svn-cur/svn-cur.05082.xz
> ctm -v /pub/FreeBSD/development/CTM/svn-cur/svn-cur.05082.xz
> 	Fatal error: Probably not a CTM-patch at all.
> 	ctm: exit(65)
>=20
> Delta is not corrupt:
>=20
> cd /pub/FreeBSD/development/CTM/svn-cur
> sha256 svn-cur.05082.xz
> 	SHA256 (svn-cur.05082.xz) =3D d2b20f44265cca77a811eb074abdbe58466bf72d8f=
5f3a39113a7b82a5a0b1b8
>=20
> ssh ctm.berklix.org	(or as no public login, ftp & sha256 localy)
> cd /pub/FreeBSD/development/CTM/svn-cur
> sha256  svn-cur.05082.xz
> 	SHA256 (svn-cur.05082.xz) =3D d2b20f44265cca77a811eb074abdbe58466bf72d8f=
5f3a39113a7b82a5a0b1b8
>=20
> Proof that its not delta at fault, but ctm command:
>=20
> cd /pub/FreeBSD/development/CTM/svn-cur; pwd
> 	/.amd_mnt/fire/0s4/ftp/pub/FreeBSD/development/CTM/svn-cur
> cd /usr/svn;pwd
> 	/data/usr/ftp/pri/FreeBSD/development/FreeBSD-SVN
>=20
> ssh fire	# 9.2 host
> cd /host/lapr/data/usr/ftp/pri/FreeBSD/development/FreeBSD-SVN
> ctm /0s4/ftp/pub/FreeBSD/development/CTM/svn-cur/svn-cur.05082.xz
> 	ctm: .ctm_status: Permission denied
> 	# OK, i just auto apply deltas from /etc/aliases, hence
> 	# it complaining about ownerships, but not about delta content.
>=20
> ssh -l mailnull-csh localhost	# still on 9.2 host
> cd /host/lapr/data/usr/ftp/pri/FreeBSD/development/FreeBSD-SVN
> ctm /0s4/ftp/pub/FreeBSD/development/CTM/svn-cur/svn-cur.05082.xz
> 	> FS .ctm_status
> 	> SV
> 	svnadmin: E000045: Can't get exclusive lock on file 'base/db/txn-current=
-lock': Operation not supported
> 	Broken pipe
> 	# OK that's some NFS problem applying delta, but at least old
> 	# 9.2 ctm command accepts delta to apply, unlike current ctm
>=20
> Curiously I am not seeing same problem running on 12 current file system
> & 12 current bin/ctm, applying deltas to src-cur/
> cat .ctm_status
> 	src-cur 12727
> ctm -q /pub/FreeBSD/development/CTM/src-cur/src-*.1[0-9][0-9][0-9][0-9].g=
z
> cat .ctm_status
> 	src-cur 12729
>=20
> Cheers,
> Julian
>=20

Let me look into this.  I did accidentally reboot the delta creating
server a few days ago at an inopportune time.  That might be the cause
of the error.

Sorry.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d12d62ac-ff7c-d043-71c4-b9034050b485>