httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45343] apxs filters out ':' chars from environment variables
Date Fri, 07 May 2010 19:11:20 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45343

Bill Cole <apachebugz-20090909@billmail.scconsult.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |apachebugz-20090909@billmai
                   |                            |l.scconsult.com
           Platform|Other                       |All
            Version|2.0.63                      |2.2.15
         OS/Version|AIX                         |All

--- Comment #1 from Bill Cole <apachebugz-20090909@billmail.scconsult.com> 2010-05-07
15:11:17 EDT ---
This bug is fully cross-platform, and persists in 2.2.15.  It also causes
builds that use apxs (including mod_jk) to fail on FreeBSD whenever the LDFLAGS
include a multi-element rpath argument, because those elements are
colon-delimited. 

As originally reported, the cause of this breakage is one undocumented line in
apxs substituting space for colon with no obvious justification. The value
being mangled is ultimately read from config_vars.mk, which is entirely 
variable assignments in 'make' syntax. I see nowhere in apxs that a colon would
be added to the string parsed out of that file, and such a substitution does
not make any sense from the perspective of make's assignment syntax. 

The bug can be fixed with this patch:

 --- support/apxs.in.orig    2006-07-11 20:38:44.000000000 -0700
+++ support/apxs.in.fixed    2010-05-07 11:39:18.768583424 -0700
@@ -253,7 +253,6 @@
         }
     }
     $result =~ s|;;$||;
-    $result =~ s|:| |;
     return $result;
 }

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message