Re: 'make -DNO_DEPENDS install' causing error
On Wed, 31 Oct 2007, Peter Pentchev wrote: Errr... maybe I should actually take a careful look at portmaster first, but after a cursory look at portmaster.sh.in... how do you handle the case of a port installation that executes commands from a runtime dependency? That is, a runtime dependency that is actually used at install time, too? That should be a build dependency then. I'll take a look at the example you cited, but my gut feeling is that what you're describing shouldn't happen. 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: 'make -DNO_DEPENDS install' causing error
On Tue, Oct 30, 2007 at 01:24:13PM -0700, Doug Barton wrote: I'm really stumped on this one, and I'm wondering if someone can come up with something clever here. In the last revision of portmaster I changed the order of how things are installed (parent port first, then any run-depends) and added -DNO_DEPENDS to the make install line so that portmaster could handle installation of the run-depends. Errr... maybe I should actually take a careful look at portmaster first, but after a cursory look at portmaster.sh.in... how do you handle the case of a port installation that executes commands from a runtime dependency? That is, a runtime dependency that is actually used at install time, too? The first example that comes to mind is net/dictd-database, which uses the 'dictzip' utility from net/dictd in the install target, but surely there are lots of other similar examples :) G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence no verb. pgpEeSnOC3Kei.pgp Description: PGP signature
Re: 'make -DNO_DEPENDS install' causing error
On Wed, 31 Oct 2007, Peter Pentchev wrote: On Wed, Oct 31, 2007 at 09:21:54AM -0700, Doug Barton wrote: On Wed, 31 Oct 2007, Peter Pentchev wrote: Errr... maybe I should actually take a careful look at portmaster first, but after a cursory look at portmaster.sh.in... how do you handle the case of a port installation that executes commands from a runtime dependency? That is, a runtime dependency that is actually used at install time, too? That should be a build dependency then. I'll take a look at the example you cited, but my gut feeling is that what you're describing shouldn't happen. Erm, nope... A build dependency is not meant to modify anything on the user's system, Except building the new port of course. :) but the installation process may need to, say, rebuild indexes or otherwise update some kind of configuration. Think add-on packages - some of them might need some kind of registration in the main package's configuration. At least that's the way I see it, and ICBW, but I think that there are various legitimate cases when a run-time dependency ought to be installed before the package installation itself. I guess what I'm getting at is that (as far as I can see) that's not what happens now. The parent port is installed first, then run depends are checked. But like I said, I'll take a look at your original example, and those below. Thanks, Doug For more examples, take a look at the plist of most X11 fonts (@exec fc-cache), most JDK implementations (@exec registervm), most docbook-* ports (@exec xmlcatmgr), some GNOME ports like gnomevfs (@exec gconftool-2), and many others. -- 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: 'make -DNO_DEPENDS install' causing error
On Wed, Oct 31, 2007 at 09:21:54AM -0700, Doug Barton wrote: On Wed, 31 Oct 2007, Peter Pentchev wrote: Errr... maybe I should actually take a careful look at portmaster first, but after a cursory look at portmaster.sh.in... how do you handle the case of a port installation that executes commands from a runtime dependency? That is, a runtime dependency that is actually used at install time, too? That should be a build dependency then. I'll take a look at the example you cited, but my gut feeling is that what you're describing shouldn't happen. Erm, nope... A build dependency is not meant to modify anything on the user's system, but the installation process may need to, say, rebuild indexes or otherwise update some kind of configuration. Think add-on packages - some of them might need some kind of registration in the main package's configuration. At least that's the way I see it, and ICBW, but I think that there are various legitimate cases when a run-time dependency ought to be installed before the package installation itself. For more examples, take a look at the plist of most X11 fonts (@exec fc-cache), most JDK implementations (@exec registervm), most docbook-* ports (@exec xmlcatmgr), some GNOME ports like gnomevfs (@exec gconftool-2), and many others. G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 I am the thought you are now thinking. pgpeTCkSXF0M5.pgp Description: PGP signature
'make -DNO_DEPENDS install' causing error
I'm really stumped on this one, and I'm wondering if someone can come up with something clever here. In the last revision of portmaster I changed the order of how things are installed (parent port first, then any run-depends) and added -DNO_DEPENDS to the make install line so that portmaster could handle installation of the run-depends. This works fine on my 6-stable and 8-current boxes, but I've had two users this morning report that this causes the following error: make: don't know how to make install. Stop I can't reproduce this at all (obviously, or I wouldn't have committed the update) and so far no attempts by the users to debug it has produced even a hint of what's happening. There is nothing unusual in their make.conf or ports.conf. One user is using 6.2-p8, I'm waiting for the other user to respond on what version they are using. Help? 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: 'make -DNO_DEPENDS install' causing error
*sigh* Never mind. I found the problem. I missed a copy and paste of one crucial line and didn't see it locally because of my .portmasterrc file. 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]