Date: Tue, 27 Feb 2007 16:45:23 +1100 From: Peter Jeremy <peterjeremy@optushome.com.au> To: freebsd-ports@freebsd.org Subject: Weird "make index" behaviour Message-ID: <20070227054523.GY844@turion.vk2pj.dyndns.org>
next in thread | raw e-mail | index | archive | help
--wTWi5aaYRw9ix9vO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I recently did a 'make index' on my amd64 system, after which 'portsdb -u' complained: /var/db/ports/INDEX-6:6529:lightning-xpi-_2: _2: Not in due form: '<version= >[_<revision>][,<epoch>]'. Looking at deskutils/lightning-xpi/Makefile, it specifies: ONLY_FOR_ARCHS=3D i386 sparc64 and only sets ARCH_PORTVERSION on those architectures. Taken individually, it seems reasonable that: 1) 'portsdb -u' would require valid port names in the INDEX 2) ARCH_PORTVERSION is only defined on architectures where the port can be built 3) The INDEX file is cross-architecture and so 'make index' ignores ONLY_FOR_ARCHS Unfortunately, taken all together, things break. The underlying problem is that lightning-xpi has different versions on i386 and sparc64 - which renders a common INDEX file impossible. My temporary work-around was to define ARCH_PORTVERSION anyway so portsdb is happy. A real fix would be nice. --=20 Peter Jeremy --wTWi5aaYRw9ix9vO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF48Vy/opHv/APuIcRAkAoAJ9xZiwGxDJYhNcelnPdHdQAPHp7lgCfe0yF LMXSRzM7HTDrtEH6ywxHnkM= =SkTY -----END PGP SIGNATURE----- --wTWi5aaYRw9ix9vO--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070227054523.GY844>