Re: make search cannot find anything

2002-09-03 Thread Kent Stewart



Eugene Grosbein wrote:

 On Tue, Sep 03, 2002 at 01:04:59AM -0500, Joseph wrote:
 
 
Recently I noted that 'cd /usr/ports; make search ...' cannot find anything.

 ^name=...
Give that a shot :)

 
 Of course, I tried both variants, with 'name=...' and 'key=...', 
 neither works for me.


After you cvsuped ports-all, did you rebuild the /usr/ports/INDEX* 
files? I use portupgrade and so I have to portsdb -uU everytime I cvsup.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: make search cannot find anything

2002-09-03 Thread Vadim Ostranitsyn

   Hi!

On Tue, Sep 03, 2002 at 01:59:49PM +0800, Eugene Grosbein wrote:
 Recently I noted that 'cd /usr/ports; make search ...' cannot find anything.
 Is it just me or that's really broken?

   May I guess? Your /usr/ports dir is a soft-link? Right? Something has
changed in behavior of /bin/sh. Or in behavior of /usr/bin/make.
Let's try to do:

/bin/sh
cd /usr/ports
pwd

/bin/csh
cd /usr/ports
pwd

   Feel the difference :)

-- 
Vadim Ostranitsyn
Evil's flowers, VO45-RIPE, VO15-RIPN
Tomsk State University, Russia

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: sys/modules/aic7xxx/aicasm breaks buildworld with MODULES_WITH_WORLD=true

2002-09-03 Thread Andre Albsmeier

On Tue, 03-Sep-2002 at 11:56:42 +0900, Yoshihiko SARUMARU wrote:
 Hi all,
 
 Today, I buildworld with RELENG_4 branch (4.7-PRERELEASE) as
 usual, but it failed with sys/modules/aic7xxx/aicasm:
 
 (snip)
 cd /usr/src/sys; make buildincludes; make installincludes
 (snip)
 === sys/modules/aic7xxx
 === sys/modules/aic7xxx/aicasm
 make: don't know how to make buildincludes. Stop
 *** Error code 2
 
 Stop in /usr/src/sys/modules/aic7xxx.
 *** Error code 1
 (snip)
 
 
 I repeated buildworld with some situation and I found disabling
 MODULES_WITH_WORLD=true in my /etc/make.conf lead buildworld and
 buildkernel to be succeeded.
 
 But I see no one has trouble with this so far. Does
 MODULES_WITH_WORLD is obsoleted or my /usr/src is something wrong?

I have the same problem here. I hope it gets fixed since I like to use
MODULES_WITH_WORLD=true.

-Andre

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: make search cannot find anything

2002-09-03 Thread Eugene Grosbein

On Tue, Sep 03, 2002 at 01:32:18PM +0700, Vadim Ostranitsyn wrote:

  Recently I noted that 'cd /usr/ports; make search ...' cannot find anything.
  Is it just me or that's really broken? 
May I guess? Your /usr/ports dir is a soft-link? Right?

Yes, you are absolutely right. It's lymlink.

 Something has
 changed in behavior of /bin/sh. Or in behavior of /usr/bin/make.
 Let's try to do:
 
 /bin/sh
 cd /usr/ports
 pwd
 
 /bin/csh
 cd /usr/ports
 pwd
 
Feel the difference :)

Yeah, /bin/sh shows /usr/ports and /bin/csh shows realpath.

And what should I do?

Eugene Grosbein

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



RE: make search cannot find anything

2002-09-03 Thread Chris Knight

Howdy,

If /usr/ports is a symlink to another directory and your shell is either csh
or tcsh, then try the patch in PR ports/42060 - it worked for me.

Regards,
Chris Knight
Systems Administrator
AIMS Independent Computer Professionals
Tel: +61 3 6334 6664  Fax: +61 3 6331 7032  Mob: +61 419 528 795
Web: http://www.aims.com.au


 -Original Message-
 From: Eugene Grosbein
 Sent: Tuesday, 3 September 2002 16:00
 To: [EMAIL PROTECTED]
 Subject: make search cannot find anything


 Hi!

 Recently I noted that 'cd /usr/ports; make search ...' cannot
 find anything.
 Is it just me or that's really broken?

 Eugene Grosbein



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: make search cannot find anything

2002-09-03 Thread Nickolay Dudorov

In article [EMAIL PROTECTED]
Eugene Grosbein [EMAIL PROTECTED] wrote:
 On Tue, Sep 03, 2002 at 01:32:18PM +0700, Vadim Ostranitsyn wrote:
 
  Recently I noted that 'cd /usr/ports; make search ...' cannot find anything.
  Is it just me or that's really broken? 
May I guess? Your /usr/ports dir is a soft-link? Right?
 
 Yes, you are absolutely right. It's lymlink.
 
 Something has
 changed in behavior of /bin/sh. Or in behavior of /usr/bin/make.
 Let's try to do:
 
 /bin/sh
 cd /usr/ports
 pwd
 
 /bin/csh
 cd /usr/ports
 pwd
 
Feel the difference :)
 
 Yeah, /bin/sh shows /usr/ports and /bin/csh shows realpath.
 
 And what should I do?

You can applay the next patch in the /usr/ports/Mk
directory:

Index: bsd.port.subdir.mk
===
RCS file: /home/CVS/ports/Mk/bsd.port.subdir.mk,v
retrieving revision 1.43
diff -b -u -r1.43 bsd.port.subdir.mk
--- bsd.port.subdir.mk  5 Jul 2002 09:14:53 -   1.43
+++ bsd.port.subdir.mk  27 Aug 2002 07:42:15 -
@@ -252,7 +252,7 @@
 search: ${PORTSDIR}/INDEX
@here=`pwd`; \
cd ${PORTSDIR}; \
-   top=`pwd`; \
+   top=`pwd -P`; \
there=`echo $$here/ | sed s%$$top%${PORTSDIR}%`; \
if [ -n $$key ]; then \
  grep $$there ${PORTSDIR}/INDEX | grep -i ${key} | awk -F\| '{ 
printf(Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\n\n,
 $$1, $$2, $$4, $$6, $$7, $$8, $$9); }'; \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message