You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/06/25 17:51:56 UTC

DO NOT REPLY [Bug 45276] New: Little issue with srclib/apr-util/Makefile

https://issues.apache.org/bugzilla/show_bug.cgi?id=45276

           Summary: Little issue with srclib/apr-util/Makefile
           Product: Apache httpd-2
           Version: 2.2.9
          Platform: Other
        OS/Version: AIX
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: jeremy.jacque@maximo.fr


When running "gmake install", i get this:

gmake[2]: Entering directory `/rpm/BUILD/httpd-2.2.9/srclib/apr-util'
/rpm/BUILD/httpd-2.2.9/srclib/apr/build/mkdir.sh
/rpm/apache-build/apache/lib/apr-util-1
/bin/sh: 0403-057 Syntax error at line 1 : `;' is not expected.
gmake[2]: *** [install-modules-yes] Error 2
gmake[2]: Leaving directory `/rpm/BUILD/httpd-2.2.9/srclib/apr-util'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/rpm/BUILD/httpd-2.2.9/srclib'
gmake: *** [install-recursive] Error 1



I'm building under AIX5.3 (TL7) and using make-3.80-1  .

The error is due to the fact that APU_MODULES may be an empty string in a for
statement.

(If it could help ) I solved the issue by changing the install-modules-yes
section like this :


@for m in $(APU_MODULES); do $(LIBTOOL) $(LT_LTFLAGS) $(LTFLAGS) --mode=install
$(INSTALL) -m 755 $$m $(DESTDIR)$(APU_DSO_LIBDIR); done

became :


mod='$(APU_MODULES)'
@for m in $$mod; do $(LIBTOOL) $(LT_LTFLAGS) $(LTFLAGS) --mode=install
$(INSTALL) -m 755 $$m $(DESTDIR)$(APU_DSO_LIBDIR); done


-- 
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


DO NOT REPLY [Bug 45276] Little issue with srclib/apr-util/Makefile

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45276





--- Comment #5 from Tim Cartwright <ca...@cs.wisc.edu>  2008-08-28 12:30:58 PST ---
Created an attachment (id=22498)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22498)
patch for 2.2.9

This may not add much to the thread, but here is the precise patch that I used
to compile Apache httpd 2.2.9 source on AIX and a dozen other (mostly Linux)
platforms.  It consists of the dso.m4 patch that is already attached to this
ticket, plus a minor variant on the original poster's suggested fix.  In any
case, it worked for me.


-- 
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


DO NOT REPLY [Bug 45276] Little issue with srclib/apr-util/Makefile

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45276


rahul <ra...@sun.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |




--- Comment #3 from rahul <ra...@sun.com>  2008-08-28 08:01:23 PST ---
I think you wanted to reopen the bug? WONTFIX has a different meaning.


-- 
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


DO NOT REPLY [Bug 45276] Little issue with srclib/apr-util/Makefile

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45276


Tim Cartwright <ca...@cs.wisc.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |WONTFIX




--- Comment #2 from Tim Cartwright <ca...@cs.wisc.edu>  2008-08-28 07:55:48 PST ---
I applied the attached patch to the Apache 2.2.9 source code, and it did not
fix this bug. If APU_MODULES is the empty string before the affected code is
run, it remains empty afterward, which triggers the shell syntax error.


-- 
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


DO NOT REPLY [Bug 45276] Little issue with srclib/apr-util/Makefile

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45276

Tim Cartwright <ca...@cs.wisc.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #7 from Tim Cartwright <ca...@cs.wisc.edu> 2010-10-01 10:21:59 EDT ---
Wow, I had completely forgotten about this ticket!  Anyway, I just tried a
new build of Apache 2.2.16 and it worked without the patch.  It turns out,
we had dropped half of the patch quite a while ago (the part that changed
dso.m4), but still had the part that modified apr-util/Makefile.in.  That
remaining patch was no longer needed, as the new build worked on AIX 5.3,
Mac OS X 10.4 (don't ask), and a variety of Linux flavors.  Thanks for
getting back to this ticket!  I think it can be closed now.

-- 
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


DO NOT REPLY [Bug 45276] Little issue with srclib/apr-util/Makefile

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45276

Jeff Trawick <tr...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEEDINFO

--- Comment #6 from Jeff Trawick <tr...@apache.org> 2010-09-28 07:02:26 EDT ---
Please retry with the next apr-util or httpd 2.2.x release and report back.  We
can't duplicate the problem with the latest code.

-- 
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


DO NOT REPLY [Bug 45276] Little issue with srclib/apr-util/Makefile

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45276


Tim Cartwright <ca...@cs.wisc.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cat@cs.wisc.edu




--- Comment #4 from Tim Cartwright <ca...@cs.wisc.edu>  2008-08-28 09:19:57 PST ---
Oops, sorry, I should have read the docs first! Yes, correct, I meant to reopen
the bug. And in fact, I am testing a new patch right now, which I will submit
later today if it works.


-- 
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


DO NOT REPLY [Bug 45276] Little issue with srclib/apr-util/Makefile

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45276

Jeff Trawick <tr...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #8 from Jeff Trawick <tr...@apache.org> 2010-10-01 10:30:07 EDT ---
fixed
apparently with the revs listed earlier in this pr

-- 
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


DO NOT REPLY [Bug 45276] Little issue with srclib/apr-util/Makefile

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45276


Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
          Component|Build                       |APR-util
            Product|Apache httpd-2              |APR
         Resolution|                            |FIXED
            Version|2.2.9                       |HEAD




--- Comment #1 from Ruediger Pluem <rp...@apache.org>  2008-06-25 12:56:30 PST ---
Already fixed in apr-util trunk and 1.3.x branch
(http://svn.apache.org/viewvc?rev=667438&view=rev,
http://svn.apache.org/viewvc?rev=663499&view=rev)


-- 
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