Re: Two questions about upgrade problems with portmaster
Peter Olsson wrote: However, I noticed now that this server has an old bash, bash-2.05b.007_6. I did a portmaster -o shells/bash bash-2.05b.007_6 and now upgrade of tk works fine! Hrrrm, that's weird since portmaster uses only /bin/sh, but I'm glad it is working for you now. :) 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 [EMAIL PROTECTED]
Re: Two questions about upgrade problems with portmaster
Problem seems solved, see last sentence below. On Thu, Mar 20, 2008 at 01:49:46PM -0700, Doug Barton wrote: Peter Olsson wrote: TMPDIR doesn't seem to be set at all, I don't have it in set. Shell is bash. Ok. Here is /etc/make.conf if that is relevant: WITHOUT_X11=yes WITHOUT_GUI=yes I would try commenting these two out and see what happens. Ok, tried but no improvement. I tried upgrade again after a reboot, same problem today. Here is the complete start of the run: $ portmaster -bd tk-8.4.17,2 === Gathering distinfo list for installed ports === Currently installed version: tk-8.4.17,2 === Port directory: /usr/ports/x11-toolkits/tk84 === Launching 'make checksum' for x11-toolkits/tk84 in background Terminated Terminated Ok, that makes me very suspicious (as in, it shouldn't happen there). I don't recall from your first post if you were using portmaster 2.1, but could you update to 2.2 before you try again? Tried but no improvement. Exactly the same sequence, including the two Terminated. === Gathering dependency list for x11-toolkits/tk84 from ports === Starting recursive 'make config' check === Recursive 'make config' check complete for x11-toolkits/tk84 === Starting build for x11-toolkits/tk84 === === The 'make config' check found no dependencies to update === Cleaning for tk-8.4.18,2 === Waiting on fetch checksum for x11-toolkits/tk84 === === Waiting on fetch checksum for x11-toolkits/tk84 === === Found saved configuration for tk-8.4.14_4,2 = MD5 Checksum OK for tk8.4.18-src.tar.gz. = SHA256 Checksum OK for tk8.4.18-src.tar.gz. ... I could not reproduce this, on my system it behaved as expected. Can you try cd'ing to the port directory and typing 'make checksum' and let us know if that does what it should? Here is the output: $ make checksum === Found saved configuration for tk-8.4.14_4,2 = MD5 Checksum OK for tk8.4.18-src.tar.gz. = SHA256 Checksum OK for tk8.4.18-src.tar.gz. If that works, try adding the -G flag to portmaster and see if it completes properly. Immediate failure on that: $ portmaster -G tk-8.4.17,2 === Gathering distinfo list for installed ports === Currently installed version: tk-8.4.17,2 === Port directory: /usr/ports/x11-toolkits/tk84 === Launching 'make checksum' for x11-toolkits/tk84 in background === Starting check for build dependencies === Gathering dependency list for x11-toolkits/tk84 from ports Terminated Terminated === Starting dependency check === Cannot cd to Terminated === Aborting update My main concern though is that those Terminateds up there indicate that somehow the child process for the 'make checksum' got unexpectedly killed, and therefore didn't remove its flag file. It's a longshot, but do you know off hand if you're having problems in your shell with child processes? Try running the attached script and let us know how far you get. You can quit after 10 subshells. Seems to work fine, I even went further than 50 subshells. However, I noticed now that this server has an old bash, bash-2.05b.007_6. I did a portmaster -o shells/bash bash-2.05b.007_6 and now upgrade of tk works fine! Thanks for your help! Peter Olsson ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Two questions about upgrade problems with portmaster
On Mon, Mar 17, 2008 at 04:12:47PM -0700, Doug Barton wrote: Peter Olsson wrote: I just did my first big upgrade with portmaster (version 2.1). Most of the upgrades went well, but I have two problems. 2. For some ports, portmaster seems to get stuck in a loop on Waiting on fetch checksum. Google pointed me to a portmaster loop back in 2006, but I found nothing recent. Here is one example, which I let run for more than ten minutes before hitting ctrl-c. The installed version of tk is tk-8.4.17,2. === Waiting on fetch checksum for x11-toolkits/tk84 === === Found saved configuration for tk-8.4.14_4,2 = MD5 Checksum OK for tk8.4.18-src.tar.gz. = SHA256 Checksum OK for tk8.4.18-src.tar.gz. The only way this could happen is if the flag file that portmaster is looking for never got deleted by the child process for some reason (which shouldn't be possible). I've never seen this happen myself, so I'm not even sure what to suggest here. Do you have the TMPDIR environment variable set to something unusual? TMPDIR doesn't seem to be set at all, I don't have it in set. Shell is bash. Here is /etc/make.conf if that is relevant: WITHOUT_X11=yes WITHOUT_GUI=yes # added by use.perl 2008-01-13 14:50:56 PERL_VER=5.8.8 PERL_VERSION=5.8.8 I tried upgrade again after a reboot, same problem today. Here is the complete start of the run: $ portmaster -bd tk-8.4.17,2 === Gathering distinfo list for installed ports === Currently installed version: tk-8.4.17,2 === Port directory: /usr/ports/x11-toolkits/tk84 === Launching 'make checksum' for x11-toolkits/tk84 in background Terminated Terminated === Gathering dependency list for x11-toolkits/tk84 from ports === Starting recursive 'make config' check === Recursive 'make config' check complete for x11-toolkits/tk84 === Starting build for x11-toolkits/tk84 === === The 'make config' check found no dependencies to update === Cleaning for tk-8.4.18,2 === Waiting on fetch checksum for x11-toolkits/tk84 === === Waiting on fetch checksum for x11-toolkits/tk84 === === Found saved configuration for tk-8.4.14_4,2 = MD5 Checksum OK for tk8.4.18-src.tar.gz. = SHA256 Checksum OK for tk8.4.18-src.tar.gz. === Waiting on fetch checksum for x11-toolkits/tk84 === === Found saved configuration for tk-8.4.14_4,2 = MD5 Checksum OK for tk8.4.18-src.tar.gz. = SHA256 Checksum OK for tk8.4.18-src.tar.gz. === Waiting on fetch checksum for x11-toolkits/tk84 === === Found saved configuration for tk-8.4.14_4,2 = MD5 Checksum OK for tk8.4.18-src.tar.gz. = SHA256 Checksum OK for tk8.4.18-src.tar.gz. Here it looped for 15 minutes before I stopped it with ctrl+c. I also tried portmaster -bdf, which seemed to upgrade all dependencies ok, but eventually got into the same loop on tk. -- Peter Olsson[EMAIL PROTECTED] ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Two questions about upgrade problems with portmaster
I just did my first big upgrade with portmaster (version 2.1). Most of the upgrades went well, but I have two problems. 1. Is it possible to get portmaster to accept a conflicting port instead of the dependency port? Example: === Starting check for runtime dependencies === Gathering dependency list for net/openldap23-client from ports === Starting dependency check === Dependency check complete for net/openldap23-client openh323-1.18.0_6 pwlib-1.10.3_4,1 net/openldap23-client === Installing for openldap-client-2.3.41 === openldap-client-2.3.41 conflicts with installed package(s): openldap-sasl-client-2.3.41 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/net/openldap23-client. 2. For some ports, portmaster seems to get stuck in a loop on Waiting on fetch checksum. Google pointed me to a portmaster loop back in 2006, but I found nothing recent. Here is one example, which I let run for more than ten minutes before hitting ctrl-c. The installed version of tk is tk-8.4.17,2. === Waiting on fetch checksum for x11-toolkits/tk84 === === Found saved configuration for tk-8.4.14_4,2 = MD5 Checksum OK for tk8.4.18-src.tar.gz. = SHA256 Checksum OK for tk8.4.18-src.tar.gz. === Waiting on fetch checksum for x11-toolkits/tk84 === === Found saved configuration for tk-8.4.14_4,2 = MD5 Checksum OK for tk8.4.18-src.tar.gz. = SHA256 Checksum OK for tk8.4.18-src.tar.gz. === Waiting on fetch checksum for x11-toolkits/tk84 === === Found saved configuration for tk-8.4.14_4,2 = MD5 Checksum OK for tk8.4.18-src.tar.gz. = SHA256 Checksum OK for tk8.4.18-src.tar.gz. === Waiting on fetch checksum for x11-toolkits/tk84 === === Found saved configuration for tk-8.4.14_4,2 = MD5 Checksum OK for tk8.4.18-src.tar.gz. = SHA256 Checksum OK for tk8.4.18-src.tar.gz. Thanks! -- Peter Olsson[EMAIL PROTECTED] ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Two questions about upgrade problems with portmaster
On Mon, 17 Mar 2008 23:18:43 +0100 Peter Olsson wrote: I just did my first big upgrade with portmaster (version 2.1). Most of the upgrades went well, but I have two problems. 1. Is it possible to get portmaster to accept a conflicting port instead of the dependency port? Example: === Starting check for runtime dependencies === Gathering dependency list for net/openldap23-client from ports === Starting dependency check === Dependency check complete for net/openldap23-client openh323-1.18.0_6 pwlib-1.10.3_4,1 net/openldap23-client === Installing for openldap-client-2.3.41 === openldap-client-2.3.41 conflicts with installed package(s): openldap-sasl-client-2.3.41 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/net/openldap23-client. I use WANT_OPENLDAP_SASL=yes at /etc/make.conf for that. WBR -- bsam ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Two questions about upgrade problems with portmaster
Peter Olsson wrote: I just did my first big upgrade with portmaster (version 2.1). Most of the upgrades went well, but I have two problems. 1. Is it possible to get portmaster to accept a conflicting port instead of the dependency port? Yes, if both ports have proper CONFLICTS lines. Fortunately someone who is familiar with your specific port(s) gave you a suggestion to try to handle your specific issue. 2. For some ports, portmaster seems to get stuck in a loop on Waiting on fetch checksum. Google pointed me to a portmaster loop back in 2006, but I found nothing recent. Here is one example, which I let run for more than ten minutes before hitting ctrl-c. The installed version of tk is tk-8.4.17,2. === Waiting on fetch checksum for x11-toolkits/tk84 === === Found saved configuration for tk-8.4.14_4,2 = MD5 Checksum OK for tk8.4.18-src.tar.gz. = SHA256 Checksum OK for tk8.4.18-src.tar.gz. The only way this could happen is if the flag file that portmaster is looking for never got deleted by the child process for some reason (which shouldn't be possible). I've never seen this happen myself, so I'm not even sure what to suggest here. Do you have the TMPDIR environment variable set to something unusual? 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 [EMAIL PROTECTED]