Re: Ports Update: Failed to Generate INDEX
On Wed, Sep 06, 2006 at 12:44:42AM -0400, Ron Tarrant wrote: Ricardo Nabinger Sanchez wrote: IIRC, you must have all the ports (ports-all in your config file) in order to generate an INDEX, as it will fail otherwise. Yeah, when I realized that I interrupted the cvsup command, edited ports-supfile to change it to ports-all, then reran cvsup. Perhaps interrupting it the first time is what caused the problem. No, that's fine. You need to a) confirm you are really getting the error you posted, b) if so, check why the file it mentions cannot be read. Kris pgpRryPBXVbaQ.pgp Description: PGP signature
Re: Ports Update: Failed to Generate INDEX
Hi again, Kris, Kris Kennaway wrote: No, that's fine. You need to a) confirm you are really getting the error you posted, b) if so, check why the file it mentions cannot be read. So, I should re-run cvsup and portsdb using the same arguments as before: cvsup -g -L 2 /root/ports-supfile portsdb -Uu Or am I missing misreading what you're saying? -Ron T. -- Ron Tarrant Blog:A HREF=http://www.writingup.com/blog/phpgtk2;PHP-Gtk2/A ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports Update: Failed to Generate INDEX
On Wed, Sep 06, 2006 at 11:49:35AM -0400, Ron Tarrant wrote: Hi again, Kris, Kris Kennaway wrote: No, that's fine. You need to a) confirm you are really getting the error you posted, b) if so, check why the file it mentions cannot be read. So, I should re-run cvsup and portsdb using the same arguments as before: cvsup -g -L 2 /root/ports-supfile portsdb -Uu Or am I missing misreading what you're saying? Yes please. Let's also move this to ports@ where it is not off-topic. Kris pgpdp6wfoR85A.pgp Description: PGP signature
Ports Update: Failed to Generate INDEX
Hi all, While trying to update ports for FreeBSD 6.1-STABLE using this command: /usr/local/sbin/portsdb -Uu I got the following error (please see below for the process leading up to this): Updating the ports index ... Generating INDEX.tmp - please wait..Makefile, lin e 33: Could not find /usr/ports/japanese/gnomelibs/../../x11/gnomelibs/Makefile /usr/ports/Mk/bsd.port.mk, line 1886: Malformed conditional (${X_WINDOW_SYSTEM :L} == xfree86-3) /usr/ports/Mk/bsd.port.mk, line 1951: Malformed conditional (${PERL_LEVEL} = 500600) /usr/ports/Mk/bsd.port.mk, line 1960: if-less endif /usr/ports/Mk/bsd.port.mk, line 2200: Malformed conditional (${PREFIX} == ${X1 1BASE_REL} || defined(USE_X_PREFIX)) /usr/ports/Mk/bsd.port.mk, line 2203: Malformed conditional (${X_WINDOW_SYSTEM :L} == xfree86-3) /usr/ports/Mk/bsd.port.mk, line 2208: if-less elif /usr/ports/Mk/bsd.port.mk, line 2210: if-less else /usr/ports/Mk/bsd.port.mk, line 2212: if-less endif /usr/ports/Mk/bsd.port.mk, line 2213: if-less endif /usr/ports/Mk/bsd.port.mk, line 2864: Malformed conditional (${PREFIX} == /usr ) /usr/ports/Mk/bsd.port.mk, line 2866: if-less else /usr/ports/Mk/bsd.port.mk, line 2868: if-less endif /usr/ports/Mk/bsd.port.mk, line 2956: Malformed conditional (${PREFIX} == /usr ) /usr/ports/Mk/bsd.port.mk, line 2958: if-less else /usr/ports/Mk/bsd.port.mk, line 2960: if-less endif /usr/ports/Mk/bsd.port.mk, line 5503: Malformed conditional ((${PREFIX} != ${L OCALBASE_REL} ${PREFIX} != ${X11BASE_REL} ${PREFIX} != ${LINUXBASE_REL} ${PREFIX} != /usr)) /usr/ports/Mk/bsd.port.mk, line 5508: if-less endif /usr/ports/Mk/bsd.port.mk, line 5992: if-less endif make: fatal errors encountered -- cannot continue === japanese/gnomelibs failed *** Error code 1 1 error Before reporting this error, verify that you are running a supported version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you have a complete and up-to-date ports collection. (INDEX builds are not supported with partial or out-of-date ports collections -- in particular, if you are using cvsup, you must cvsup the ports-all collection, and have no refuse files.) If that is the case, then report the failure to [EMAIL PROTECTED] together with relevant details of your ports configuration (including FreeBSD version, your architecture, your environment, and your /etc/make.conf settings, especially compiler flags and WITH/WITHOUT settings). Note: the latest pre-generated version of INDEX may be fetched automatically with make fetchindex. *** Error code 1 Stop in /usr/ports. *** Error code 1 Stop in /usr/ports. failed to generate INDEX! portsdb: index generation error Process: cd /usr/ports/net/cvsup make install clean (reboot) cp /usr/share/examples/cvsup/ports-supfile /root/ I then edited /root/ports-supfile and added the host: *default host=cvsup12.FreeBSD.org At first, I commented out all the ports for languages I don't understand such as Russian, Japanese, etc. But I got a similar error, so I commented out all the individual ports and uncommented ports-all to do a complete job of it. That's when I ran portsdb -Uu and got the above error. This is my first time doing this, so I'm sure I've missed something somewhere. -Ron T. -- Ron Tarrant Blog:A HREF=http://www.writingup.com/blog/phpgtk2;PHP-Gtk2/A ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports Update: Failed to Generate INDEX
Ron Tarrant wrote: Hi all, While trying to update ports for FreeBSD 6.1-STABLE using this command: /usr/local/sbin/portsdb -Uu I got the following error (please see below for the process leading up to this): Updating the ports index ... Generating INDEX.tmp - please wait..Makefile, lin e 33: Could not find /usr/ports/japanese/gnomelibs/../../x11/gnomelibs/Makefile /usr/ports/Mk/bsd.port.mk, line 1886: Malformed conditional (${X_WINDOW_SYSTEM :L} == xfree86-3) /usr/ports/Mk/bsd.port.mk, line 1951: Malformed conditional (${PERL_LEVEL} = 500600) /usr/ports/Mk/bsd.port.mk, line 1960: if-less endif /usr/ports/Mk/bsd.port.mk, line 2200: Malformed conditional (${PREFIX} == ${X1 1BASE_REL} || defined(USE_X_PREFIX)) /usr/ports/Mk/bsd.port.mk, line 2203: Malformed conditional (${X_WINDOW_SYSTEM :L} == xfree86-3) /usr/ports/Mk/bsd.port.mk, line 2208: if-less elif /usr/ports/Mk/bsd.port.mk, line 2210: if-less else /usr/ports/Mk/bsd.port.mk, line 2212: if-less endif /usr/ports/Mk/bsd.port.mk, line 2213: if-less endif /usr/ports/Mk/bsd.port.mk, line 2864: Malformed conditional (${PREFIX} == /usr ) /usr/ports/Mk/bsd.port.mk, line 2866: if-less else /usr/ports/Mk/bsd.port.mk, line 2868: if-less endif /usr/ports/Mk/bsd.port.mk, line 2956: Malformed conditional (${PREFIX} == /usr ) /usr/ports/Mk/bsd.port.mk, line 2958: if-less else /usr/ports/Mk/bsd.port.mk, line 2960: if-less endif /usr/ports/Mk/bsd.port.mk, line 5503: Malformed conditional ((${PREFIX} != ${L OCALBASE_REL} ${PREFIX} != ${X11BASE_REL} ${PREFIX} != ${LINUXBASE_REL} ${PREFIX} != /usr)) /usr/ports/Mk/bsd.port.mk, line 5508: if-less endif /usr/ports/Mk/bsd.port.mk, line 5992: if-less endif make: fatal errors encountered -- cannot continue === japanese/gnomelibs failed *** Error code 1 1 error Before reporting this error, verify that you are running a supported version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you have a complete and up-to-date ports collection. (INDEX builds are not supported with partial or out-of-date ports collections -- in particular, if you are using cvsup, you must cvsup the ports-all collection, and have no refuse files.) If that is the case, then report the failure to [EMAIL PROTECTED] together with relevant details of your ports configuration (including FreeBSD version, your architecture, your environment, and your /etc/make.conf settings, especially compiler flags and WITH/WITHOUT settings). Note: the latest pre-generated version of INDEX may be fetched automatically with make fetchindex. *** Error code 1 Stop in /usr/ports. *** Error code 1 Stop in /usr/ports. failed to generate INDEX! portsdb: index generation error Process: cd /usr/ports/net/cvsup make install clean (reboot) cp /usr/share/examples/cvsup/ports-supfile /root/ I then edited /root/ports-supfile and added the host: *default host=cvsup12.FreeBSD.org At first, I commented out all the ports for languages I don't understand such as Russian, Japanese, etc. But I got a similar error, so I commented out all the individual ports and uncommented ports-all to do a complete job of it. That's when I ran portsdb -Uu and got the above error. This is my first time doing this, so I'm sure I've missed something somewhere. -Ron T. Instead of regenerating the INDEX, why not just download it? # cd /usr/ports # make fetchindex Regards, Chris Jones -- Chris Jones [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports Update: Failed to Generate INDEX
On Tue, 05 Sep 2006 09:25:38 -0400, Ron Tarrant [EMAIL PROTECTED] wrote: At first, I commented out all the ports for languages I don't understand such as Russian, Japanese, etc. But I got a similar error, so I commented out all the individual ports and uncommented ports-all to do a complete job of it. That's when I ran portsdb -Uu and got the above error. This is my first time doing this, so I'm sure I've missed something somewhere. IIRC, you must have all the ports (ports-all in your config file) in order to generate an INDEX, as it will fail otherwise. -- Ricardo Nabinger Sanchez [EMAIL PROTECTED],wait4.org} Powered by FreeBSD Left to themselves, things tend to go from bad to worse. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports Update: Failed to Generate INDEX
On Tue, 5 Sep 2006 11:01:39 -0300, Ricardo Nabinger Sanchez [EMAIL PROTECTED] wrote: On Tue, 05 Sep 2006 09:25:38 -0400, Ron Tarrant [EMAIL PROTECTED] wrote: At first, I commented out all the ports for languages I don't understand such as Russian, Japanese, etc. But I got a similar error, so I commented out all the individual ports and uncommented ports-all to do a complete job of it. That's when I ran portsdb -Uu and got the above error. This is my first time doing this, so I'm sure I've missed something somewhere. IIRC, you must have all the ports (ports-all in your config file) in order to generate an INDEX, as it will fail otherwise. After sending, I saw your comment about having already done that (ports-all). Don't know what's wrong, then -- sorry for the noise. -- Ricardo Nabinger Sanchez [EMAIL PROTECTED],wait4.org} Powered by FreeBSD Left to themselves, things tend to go from bad to worse. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports Update: Failed to Generate INDEX
Ricardo Nabinger Sanchez wrote: On Tue, 5 Sep 2006 11:01:39 -0300, Ricardo Nabinger Sanchez [EMAIL PROTECTED] wrote: On Tue, 05 Sep 2006 09:25:38 -0400, Ron Tarrant [EMAIL PROTECTED] wrote: At first, I commented out all the ports for languages I don't understand such as Russian, Japanese, etc. But I got a similar error, so I commented out all the individual ports and uncommented ports-all to do a complete job of it. That's when I ran portsdb -Uu and got the above error. This is my first time doing this, so I'm sure I've missed something somewhere. IIRC, you must have all the ports (ports-all in your config file) in order to generate an INDEX, as it will fail otherwise. After sending, I saw your comment about having already done that (ports-all). Don't know what's wrong, then -- sorry for the noise. No problem, Ricardo. Thanks for the reply anyway. -Ron T. -- Ron Tarrant Blog:A HREF=http://www.writingup.com/blog/phpgtk2;PHP-Gtk2/A ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports Update: Failed to Generate INDEX
Chris Jones wrote: Instead of regenerating the INDEX, why not just download it? # cd /usr/ports # make fetchindex Regards, Chris Jones Thanks for the reply, Chris. Yup, good idea. I did this and found out that INDEX-6 was already up-to-date. Could this be why index generation failed? -Ron T. -- Ron Tarrant Blog:A HREF=http://www.writingup.com/blog/phpgtk2;PHP-Gtk2/A ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports Update: Failed to Generate INDEX
Hi, [..] At first, I commented out all the ports for languages I don't understand such as Russian, Japanese, etc. But I got a similar error, so I commented out all the individual ports and uncommented ports-all to do a complete job of it. That's when I ran portsdb -Uu and got the above error. just to make sure: You did run cvsup after uncommenting ports-all and before running portsdb -Uu, right? Wolfgang ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports Update: Failed to Generate INDEX
Ron Tarrant wrote: Chris Jones wrote: Instead of regenerating the INDEX, why not just download it? # cd /usr/ports # make fetchindex Regards, Chris Jones Thanks for the reply, Chris. Yup, good idea. I did this and found out that INDEX-6 was already up-to-date. Could this be why index generation failed? -Ron T. Shouldn't have mattered... all that would happen is the generated INDEX would've overwritten the downloaded one. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports Update: Failed to Generate INDEX
On Tue, Sep 05, 2006 at 09:25:38AM -0400, Ron Tarrant wrote: Updating the ports index ... Generating INDEX.tmp - please wait..Makefile, lin e 33: Could not find /usr/ports/japanese/gnomelibs/../../x11/gnomelibs/Makefile Why not? have a complete and up-to-date ports collection. (INDEX builds are not supported with partial or out-of-date ports collections -- in particular, if you are using cvsup, you must cvsup the ports-all collection, and have no refuse files.) If that is the case, then At first, I commented out all the ports for languages I don't understand such as Russian, Japanese, etc. But I got a similar error, so I commented out all the individual ports and uncommented ports-all to do a complete job of it. That's when I ran portsdb -Uu and got the above error. This makes me think that you didn't re-run cvsup since your similar error is precisely what you'd expect if you didn't have anything in japanese/. Kris pgpZtnGmckzZt.pgp Description: PGP signature
Re: Ports Update: Failed to Generate INDEX
Wolfgang Zenker wrote: just to make sure: You did run cvsup after uncommenting ports-all and before running portsdb -Uu, right? Thanks for the reply, Wolfgang. I'm pretty sure I did. That was last night and I have a vague memory of doing it. That tty is tied up right now, so I can't check command history until it's done. I'll repost with the answer once I can double-check. Thanks. -Ron T. -- Ron Tarrant Blog:A HREF=http://www.writingup.com/blog/phpgtk2;PHP-Gtk2/A ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports Update: Failed to Generate INDEX
Chris Jones wrote: Yup, good idea. I did this and found out that INDEX-6 was already up-to-date. Could this be why index generation failed? Shouldn't have mattered... all that would happen is the generated INDEX would've overwritten the downloaded one. Hmm... Very curious. Thanks. -Ron T. -- Ron Tarrant Blog:A HREF=http://www.writingup.com/blog/phpgtk2;PHP-Gtk2/A ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports Update: Failed to Generate INDEX
On Tue, 5 Sep 2006, Ron Tarrant wrote: Hi all, While trying to update ports for FreeBSD 6.1-STABLE using this command: /usr/local/sbin/portsdb -Uu I've seen errors similar to yours when your Mk files are out of date with the rest of your ports tree. As root: # cd /usr/ports/Mk # cvs -R update -P -d I'm assuming that the rest of your ports tree has also been updated accordingly ('cd /usr/ports; cvs -R update -P -d'). -- DE ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports Update: Failed to Generate INDEX
Hi Kris, Thanks for the reply... Kris Kennaway wrote: On Tue, Sep 05, 2006 at 09:25:38AM -0400, Ron Tarrant wrote: Updating the ports index ... Generating INDEX.tmp - please wait..Makefile, lin e 33: Could not find /usr/ports/japanese/gnomelibs/../../x11/gnomelibs/Makefile Why not? Good question. I checked the paths and they all make sense. The Makefile is in place. This makes me think that you didn't re-run cvsup since your similar error is precisely what you'd expect if you didn't have anything in japanese/. I'll have to recheck to make sure once that tty is free. Thanks. -Ron T. -- Ron Tarrant Blog:A HREF=http://www.writingup.com/blog/phpgtk2;PHP-Gtk2/A ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports Update: Failed to Generate INDEX
Ricardo Nabinger Sanchez wrote: IIRC, you must have all the ports (ports-all in your config file) in order to generate an INDEX, as it will fail otherwise. Yeah, when I realized that I interrupted the cvsup command, edited ports-supfile to change it to ports-all, then reran cvsup. Perhaps interrupting it the first time is what caused the problem. -Ron T. -- Ron Tarrant Blog:A HREF=http://www.writingup.com/blog/phpgtk2;PHP-Gtk2/A ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports Update: Failed to Generate INDEX
Wolfgang Zenker wrote: just to make sure: You did run cvsup after uncommenting ports-all and before running portsdb -Uu, right? Yes. I double-checked the command history and I definitely did. -Ron T. -- Ron Tarrant Blog:A HREF=http://www.writingup.com/blog/phpgtk2;PHP-Gtk2/A ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports Update: Failed to Generate INDEX
Kris Kennaway wrote: This makes me think that you didn't re-run cvsup since your similar error is precisely what you'd expect if you didn't have anything in japanese/. It's there in my command history twice with an ee ports-supfile between the two occurances of cvsup. BTW, this is the exact command with arguments: cvsup -g -L 2 ports-supfile Also, I ran this while pwd was /root/ Perhaps I should have been in /usr/ports? -Ron T. -- Ron Tarrant Blog:A HREF=http://www.writingup.com/blog/phpgtk2;PHP-Gtk2/A ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports Update: Failed to Generate INDEX
Hi Daniel, Welcome to the discussion. Daniel Eischen wrote: I've seen errors similar to yours when your Mk files are out of date with the rest of your ports tree. As root: # cd /usr/ports/Mk # cvs -R update -P -d I'm assuming that the rest of your ports tree has also been updated accordingly ('cd /usr/ports; cvs -R update -P -d'). Okay, now I'm confused. I thought updating the ports tree was done with: cvsup -g -L 2 ports-supfile -Ron T. -- Ron Tarrant Blog:A HREF=http://www.writingup.com/blog/phpgtk2;PHP-Gtk2/A ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]