Re: [bsdgrep] -w option matches part of words (Was: Apache 2.2 port and missing modules on current.)

2010-08-23 Thread Bartosz Stec

 On 2010-08-10 23:39, Bartosz Stec wrote:

 On 2010-08-10 23:12, Gabor Kovesdan wrote:

Em 2010.08.10. 19:45, Anonymous escreveu:

Seems like APACHE_MODULES is incorrectly populated.

   $ make -V APACHE_MODULES BATCH= 
GREP=${LOCALBASE-/usr/local}/bin/grep | fgrep cache

   ...cache disk_cache file_cache...
   $ make -V APACHE_MODULES BATCH= | fgrep cache
   ...disk_cache file_cache...

I guess the failing line is below in bsd.apache.mk

   ${ECHO_CMD} ${WITHOUT_MODULES} | ${GREP} -wq $${module} 2>  
/dev/null || \


It can be reduced to

   $ echo mem_cache | grep --color -w cache
I'm sorry for this issue, it didn't come up in the exp-run because it 
didn't make the port actually fail. I have a fix in my queue, which I 
sent to my mentor and I'll commit it soon.


Gabor


Thanks for your help with investigating this. I guess that in that 
case submitting PR is unnecesary.

regards!

Here's quick confirmation that with sources builded yesterday, apache22 
port compilation was succesful and all modules were populated as 
expected. Thanks Gabor! :)


--
Bartosz Stec

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: [bsdgrep] -w option matches part of words (Was: Apache 2.2 port and missing modules on current.)

2010-08-10 Thread Philip M. Gollucci

On 8/10/2010 5:12 PM, Gabor Kovesdan wrote:

Em 2010.08.10. 19:45, Anonymous escreveu:

Seems like APACHE_MODULES is incorrectly populated.

$ make -V APACHE_MODULES BATCH= GREP=${LOCALBASE-/usr/local}/bin/grep
| fgrep cache
...cache disk_cache file_cache...
$ make -V APACHE_MODULES BATCH= | fgrep cache
...disk_cache file_cache...

I guess the failing line is below in bsd.apache.mk

${ECHO_CMD} ${WITHOUT_MODULES} | ${GREP} -wq $${module} 2> /dev/null || \

It can be reduced to

$ echo mem_cache | grep --color -w cache

I'm sorry for this issue, it didn't come up in the exp-run because it
didn't make the port actually fail. I have a fix in my queue, which I
sent to my mentor and I'll commit it soon.
Oh thank god, I thought I was going crazy trying to fix the ldap 
www/apache22 pr.


I completely forgot about grep over the weekend.


--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: [bsdgrep] -w option matches part of words (Was: Apache 2.2 port and missing modules on current.)

2010-08-10 Thread Bartosz Stec

 On 2010-08-10 23:12, Gabor Kovesdan wrote:

Em 2010.08.10. 19:45, Anonymous escreveu:

Seems like APACHE_MODULES is incorrectly populated.

   $ make -V APACHE_MODULES BATCH= 
GREP=${LOCALBASE-/usr/local}/bin/grep | fgrep cache

   ...cache disk_cache file_cache...
   $ make -V APACHE_MODULES BATCH= | fgrep cache
   ...disk_cache file_cache...

I guess the failing line is below in bsd.apache.mk

   ${ECHO_CMD} ${WITHOUT_MODULES} | ${GREP} -wq $${module} 2>  
/dev/null || \


It can be reduced to

   $ echo mem_cache | grep --color -w cache
I'm sorry for this issue, it didn't come up in the exp-run because it 
didn't make the port actually fail. I have a fix in my queue, which I 
sent to my mentor and I'll commit it soon.


Gabor


Thanks for your help with investigating this. I guess that in that case 
submitting PR is unnecesary.

regards!

--
Bartosz Stec


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: [bsdgrep] -w option matches part of words (Was: Apache 2.2 port and missing modules on current.)

2010-08-10 Thread Gabor Kovesdan

Em 2010.08.10. 19:45, Anonymous escreveu:

Seems like APACHE_MODULES is incorrectly populated.

   $ make -V APACHE_MODULES BATCH= GREP=${LOCALBASE-/usr/local}/bin/grep | 
fgrep cache
   ...cache disk_cache file_cache...
   $ make -V APACHE_MODULES BATCH= | fgrep cache
   ...disk_cache file_cache...

I guess the failing line is below in bsd.apache.mk

   ${ECHO_CMD} ${WITHOUT_MODULES} | ${GREP} -wq $${module} 2>  /dev/null || \

It can be reduced to

   $ echo mem_cache | grep --color -w cache
   
I'm sorry for this issue, it didn't come up in the exp-run because it 
didn't make the port actually fail. I have a fix in my queue, which I 
sent to my mentor and I'll commit it soon.


Gabor
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[bsdgrep] -w option matches part of words (Was: Apache 2.2 port and missing modules on current.)

2010-08-10 Thread Anonymous
Bartosz Stec  writes:

># /usr/local/etc/rc.d/apache22 start
>Performing sanity check on apache22 configuration:
>httpd: Syntax error on line 68 of
>/usr/local/etc/apache22/httpd.conf: Cannot load
>/usr/local/libexec/apache22/mod_cache.so into server: Cannot open
>"/usr/local/libexec/apache22/mod_cache.so"
[...]
> Problem seems to be connected with ./configure script:
>
># make configure &> build.log
># grep -i cache build.log
>(...)
>checking whether to enable mod_file_cache... shared
>checking whether to enable mod_cache... no
>checking whether to enable mod_disk_cache... shared
>checking whether to enable mod_mem_cache... no
>(...)

Seems like APACHE_MODULES is incorrectly populated.

  $ make -V APACHE_MODULES BATCH= GREP=${LOCALBASE-/usr/local}/bin/grep | fgrep 
cache
  ...cache disk_cache file_cache...
  $ make -V APACHE_MODULES BATCH= | fgrep cache
  ...disk_cache file_cache...

I guess the failing line is below in bsd.apache.mk

  ${ECHO_CMD} ${WITHOUT_MODULES} | ${GREP} -wq $${module} 2> /dev/null || \

It can be reduced to

  $ echo mem_cache | grep --color -w cache
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"