Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

ports DESTDIR not finding dependent ports

 
   FreeBSD Hosting (Home) -> FreeBSD Ports RSS
Next:  postgresql80-server: can't compile with hier patc..  
Author Message
Erik Cederstrand

External


Since: Oct 27, 2007
Posts: 2



(Msg. 1) Posted: Sat Oct 27, 2007 12:01 am
Post subject: ports DESTDIR not finding dependent ports
Archived from groups: mailing>freebsd>ports (more info?)

Hi!

I'm trying to install some ports into a chroot environment. For this, I
use the DESTDIR support in ports. Some ports with dependencies are
failing to install. Below are some details i have gathered. I really
need this to work, so I'm willing to help debug this over the next days,
if someone wants to look into this. Pointers to where I can begin
debugging myself would also be appreciated.

I have chosen postgresql82-client as an example:

# chroot /path/to/chroot
# pkg_info
[...]
gmake-3.81_2 GNU version of 'make' utility
portupgrade-2.3.1,2 FreeBSD ports/packages administration and management
[...]
pcbsd# ls /usr/local/bin/gmake
/usr/local/bin/gmake
# exit
# cd /usr/ports/databases/postgresql82-client
# make install clean DESTDIR=/path/to/chroot
[...]
===> postgresql-client-8.2.5_1 depends on executable: gmake - not found
[...]
===> Installing for gmake-3.81_2
===> Generating temporary packing list
===> Checking if devel/gmake already installed
===> gmake-3.81_2 is already installed
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of devel/gmake
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
#

Some additional data:
1) This works on the host (7.0-BETA1 #6, i386). That is, gmake is found
and left alone, and postgresql installs.
2) The chroot is 8.0-CURRENT
3) I've had a look at bsd.destdir.mk but it's mostly black magic. From
what I can read, after mount_nullfs-mounting /usr/ports to the chroot,
it basically issues this command:

# chroot /path/to/chroot sh -c "cd
/usr/ports/databases/postgresql82-client; make install clean; "

If I issue this command from the command-line, gmake is found and the
port is installed:
[...]
===> postgresql-client-8.2.5_1 depends on executable: gmake - found
[...]

So something else must be going wrong.

Thanks!

Erik Cederstrand
_______________________________________________
freebsd-ports.DeleteThis@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

 >> Stay informed about: ports DESTDIR not finding dependent ports 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
ports and DESTDIR (was: Second "RFC" on pkg-data idea for .. - On Tue, Apr 13, 2004 at 11:16:22AM -0400, Brian F. Feldman wrote: # [...] I just feel there are more fun, pressing problems in the ports # tree to solve than space savings, and time is better spent there [...] For starters: one real BIG problem (at..

Dependent ports get "does not exist" errors - A user desktop system had a solid, reliable install of 6.3 on it. Did an upgrade via source to 7-stable as of this morning. Deleted all installed ports, updated the ports tree, then started installing them from scratch. Here's the problem: ports tha...

HEADS UP: GSL update has broken dependent ports (was: port.. - Jon Drews <jon.drews@gmail.com> writes: > The new GSL-1.5 tarball is available and I wanted to port it using the > port-authoring-tools-1.0. Is there any information on how I can use it > or the associated software, porttools, to generat...

portsearch: approach to finding ports that provide a given.. - --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable History: -------- Some time ago I decided that $ find /usr/ports -name pkg-plist |xargs grep something is not the best...

help re: stale dependies? some ports not finding cpan-inst.. - hi, i started to use portupgrade to manage ports on a freebsd 62-RELEASE, p7 install. i've installed perl58 from ports, and manage perl module installs with an up-to-date (v1.9102) CPAN. i'm building www/mod_perl2 port on freebsd 62rp7. perl 588 is..
   FreeBSD Hosting (Home) -> FreeBSD Ports All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]