Date: Sun, 08 Mar 2009 15:02:38 -0500 From: Robert Noland <rnoland@FreeBSD.org> To: Chuck Robey <chuckr@telenix.org> Cc: freebsd-ports@freebsd.org Subject: Re: portmanager modifying bsd.port.mk Message-ID: <1236542558.1778.27.camel@balrog.2hip.net> In-Reply-To: <49B41108.8060105@telenix.org> References: <49B41108.8060105@telenix.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-DQBW9dDLYOg+8NgZZP6n Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2009-03-08 at 14:40 -0400, Chuck Robey wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > I'm busy trying to use portmanager to get me to kde4.2, but I'm having pr= oblem > in updating my misc/localedata port. Portmanager has decided misc/locale= data > needs to get rebuilt, and for some reason, that it needs to patch my > /usr/ports/Mk/bsd.port/mk file with the patchfile > /usr/local/share/portmanager/patch-bsd.port.mk-0.3.6. I can't figure out= why > portmanager thinks that misc/localedata needs updating, but I much much w= orse, > can't figure out why it needs to patch my /usr/ports/Mk/bsd.port/mk file.= I > checked the patchfile I listed above, the patch seems fine BUT it's off i= n terms > of line number, it wants to patch around the line 2049, but in searching = my > bsd.port.mk, it should really be looking to patch about line 2347. I cou= ld go > about fixing this, but seeing as I don't know why it's patching things to= begin > with, I feel really unsafe in changing the patchfile. This has failed for a really long time... I should fix it someday, but it really doesn't cause any harm that I've seen. I normally always use portmanager -u -p -l -y and it continues to dtrt. > I did make sure that the patchfile was totally up-to-date, and that my > bsd.port.mk is also up-to-date. >=20 > Here's the portmanager listing, maybe someone here can tell me what's cau= sing > portmanager to want to patch my bsd.port.mk, and why the patchfile should= be so > far off, and what might be the CORRECT way to fix this. Oh, BTW, I run c= urrent, > and keep myself that way via cvsup. >=20 > If you tell me I should just fix the patchfile, I know how to do that, I = just > feel uneasy when I have no idea of the context involved. I think this ex= act > same probolme is actually (probably) occurring in several other points in= my > kde4.2 build, so I really need to understand the reason it's trying to pa= tch to > begin with, and why things are out of sync. >=20 > +++++++++++ FROM the portmanager listing +++++++++++++++++++++++++++ > TCSH-april:root:/usr/ports/lang:#44-19:26>portmanager misc/localedata -f = -l > MGPMrController 0.4.1_9 info: running in forced update mode > rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@name" not found in > /var/db/pkg/convertall-0.4.0/+CONTENTS > convertall-0.4.0 installation is corrupt! > recomend running "pkg_delete -f convertall-0.4.0" then ma= nually > reinstalling this port > rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@name" not found in > /var/db/pkg/convertall-0.4.0/+CONTENTS > convertall-0.4.0 installation is corrupt! > recomend running "pkg_delete -f convertall-0.4.0" then ma= nually > reinstalling this port This error seems pretty clear, what did I miss? robert. > - -----------------------------------------------------------------------= - > portmanager 0.4.1_9: Collecting installed port data "forced mode" > - -----------------------------------------------------------------------= - > - -0001 localedata-5.4 /misc/localedata > rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@name" not found in > /var/db/pkg/convertall-0.4.0/+CONTENTS > convertall-0.4.0 installation is corrupt! > recomend running "pkg_delete -f convertall-0.4.0" then ma= nually > reinstalling this port > - -----------------------------------------------------------------------= - > Port Status Report "forced mode" > - -----------------------------------------------------------------------= - > 00001 ----:localedata-5.4 /misc/localedata > MISSING > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > updating localedata-5.4 /misc/localedata options reason: MISSING > localedata-5.4 /misc/localedata > - -----------------------------------------------------------------------= - > percentDone-=3D>0 =3D 100 - ( 100 * ( oldPortsDbQTY-=3D>1 / oldPortsDbTOT= ALIZER-=3D>1 ) ) > patching bsd.port.mk-=3D>cd /usr/ports/Mk; patch < > /usr/local/share/portmanager/patch-bsd.port.mk-0.3.6; > Hmm... Looks like a unified diff to me... > The text leading up to this was: > - -------------------------- > |--- /usr/ports/Mk/bsd.port.mk Tue Nov 8 01:02:51 2005 > |+++ bsd.port.mk Wed Nov 16 02:16:57 2005 > - -------------------------- > Patching file bsd.port.mk using Plan A... > Hunk #1 failed at 2049. > 1 out of 1 hunks failed--saving rejects to bsd.port.mk.rej > done > - -----------------------------------------------------------------------= - > MGPMrUpdate 0.4.1_9 command: #1 of 14 cd /usr/ports/misc/localedata && m= ake -V > OPTIONS > - -----------------------------------------------------------------------= - > - -----------------------------------------------------------------------= - > checking for conflicts before building localedata-5.4 > MGPMrUpdate 0.4.1_9 command: #3 of 14 cd /usr/ports/misc/localedata && m= ake > check-conflicts > - -----------------------------------------------------------------------= - > - -----------------------------------------------------------------------= - > intitial clean of work directories > MGPMrUpdate 0.4.1_9 command: #7 of 14: > - -----------------------------------------------------------------------= - >=20 >=20 > After this point, the stuff above repeats 2 more times, until it announce= s that > it's failed 3 times, and quitting. No additional info, no idea why it's = doing > that patching to begin with. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.9 (FreeBSD) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org >=20 > iEYEARECAAYFAkm0EQgACgkQz62J6PPcoOkJMACglsxdEMIMRuYFCue9hRsJlGOk > 914An2x2+colQTFK6Mxs7Tb8MBFPYoMe > =3DXmcf > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" --=20 Robert Noland <rnoland@FreeBSD.org> FreeBSD --=-DQBW9dDLYOg+8NgZZP6n Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEABECAAYFAkm0JF4ACgkQM4TrQ4qfRONyUACfRXUTSD2yVNxd5EYySZEc5fEa BnUAn2vcWXIXccTFPTQ7PJh8iklfKhOc =ozA1 -----END PGP SIGNATURE----- --=-DQBW9dDLYOg+8NgZZP6n--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1236542558.1778.27.camel>