Send Netdot-devel mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-devel
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-devel digest..."


Today's Topics:

   1. long standing problem with var/Makefile (still in Netdot
      v1.0.7) (William Bulley)
   2. Re: long standing problem with var/Makefile (still        in Netdot
      v1.0.7) (William Bulley)


----------------------------------------------------------------------

Message: 1
Date: Sun, 25 Jan 2015 15:47:16 -0500
From: William Bulley <[email protected]>
Subject: [Netdot-devel] long standing problem with var/Makefile (still
        in      Netdot v1.0.7)
To: [email protected]
Cc: Carlos Vicente <[email protected]>, [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

On a whim, seeing that now Netdot v1.0.7 is in the FreeBSD ports tree,
I decided to "give it a go" on a freshly updated FreeBSD 9.3-STABLE
system.  I used this command after "# svn update /usr/ports":

   # portmaster -K -B -D net-mgmt/netdot

(interestingly this reported 135 (!) dependent ports -- must be a record!)

After running for a minute or two, it bombed out in error:

   It could not find "rrdtool" on root's path (since the rrdtool port
   had not yet been built), but mostly because the var/Makefile has:

   all: 
        if ! test -r $(STAGEDIR)/$(DIR)/$(POLLSTATSRRD); then \
          rrdtool create $(POLLSTATSRRD) -s 3600 \
          DS:ips:GAUGE:7200:0:4294967296 \
          ...
          ...

Which has long bothered me.  The "bare" reference to "rrdtool" in
the line following the "if" command assumes the invoking user of
the makefile (nominally "root") will have "rrdtool" on his path.
This may not be the case.

Note, in the top level Netdot Makefile we have something like this:

   # Netdot Makefile
   #
   PERL        ?= /usr/bin/perl
   PREFIX      ?= /usr/local/www/netdot

I would like to see this solved somehow using something like this:

   # Netdot Makefile
   #
   LOCALBASE   ?= /usr/local
   BIN         ?= $(LOCALBASE)/bin
   PERL        ?= /usr/bin/perl
   PREFIX      ?= $(LOCALBASE)/www/netdot

and then in the subordinate var/Makefile there could be something
like this:

   all: 
        if ! test -r $(STAGEDIR)/$(DIR)/$(POLLSTATSRRD); then \
          $(BIN)/rrdtool create $(POLLSTATSRRD) -s 3600 \
          DS:ips:GAUGE:7200:0:4294967296 \
          ...
          ...

Anyway, after I replaced the bare "rrdtool" in the var/Makefile
under the "work" directory with "/usr/local/bin/rrdtool" (after
first building databases/rrdtool !!) the build of net-mgmt/netdot
proceeded apace and completed successfully.  Thanks in advance.

Regards,

web...

-- 

 /"\   ASCII RIBBON          / William Bulley
 \ /   CAMPAIGN AGAINST     / 
  X    HTML E-MAIL AND     / E-MAIL: [email protected]
 / \   LISTSERV POSTINGS  /

72 characters width template ----------------------------------------->|


------------------------------

Message: 2
Date: Sun, 25 Jan 2015 17:58:11 -0500
From: William Bulley <[email protected]>
Subject: Re: [Netdot-devel] long standing problem with var/Makefile
        (still  in Netdot v1.0.7)
To: Nick Hilliard <[email protected]>
Cc: Carlos Vicente <[email protected]>,
        [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

According to Nick Hilliard <[email protected]> on Sun, 01/25/15 at 17:38:
> 
> mmm, this is really a freebsd port problem.  Could you stick this into
> freebsd bugzilla and I'll take a look at it from there?
> 
> yes, it does pull in a lot of dependencies.  My poudriere build has ~240
> dependencies on a bare-bones system.  pkgng creates serious win here.

Technically you are correct, but if I can get Carlos (!) to "fix" the
var/Makefile (somehow, and in the way he feels correct), then it will
go away when next v1.0.8 appears in the ports tree.

I don't know about bugzilla.  Maybe you could point me to the details.

The number of 135 dependencies was quite amazing to me!  I've just
finished a marathon, two day, effort building 960+ ports from a bare
system.  I try not to do that too often, obviously!  ;-)

I've just embraced portmaster and I am in love with it!  I don't know
anyting about pkgng.  I am happy with the tools I have.  Being a real
dinosaur (started with FreeBSD 2.15 in 1996 or 1997) I am fairly set
in my ways and slow to adopt the cutting edge stuff.  Thanks!

Regards,

web...

-- 

 /"\   ASCII RIBBON          / William Bulley
 \ /   CAMPAIGN AGAINST     / 
  X    HTML E-MAIL AND     / E-MAIL: [email protected]
 / \   LISTSERV POSTINGS  /

72 characters width template ----------------------------------------->|


------------------------------

_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel


End of Netdot-devel Digest, Vol 94, Issue 10
********************************************

Reply via email to