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/19 07:53:55 UTC

DO NOT REPLY [Bug 45232] New: Empty APU_MODULES makes sh syntax error

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

           Summary: Empty APU_MODULES makes sh syntax error
           Product: Apache httpd-2
           Version: 2.2.9
          Platform: Sun
        OS/Version: SunOS
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: y-iida@secom.co.jp


In srclib/apr-util/Makefile, it reads:
  for m in $(APU_MODULES);
and empty value of APU_MODULES macro makes it
  for m in ;
which causes shell to barf:
  /bin/sh: syntax error at line 1: `;' unexpected


-- 
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 45232] Empty APU_MODULES makes sh syntax error

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


Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
         AssignedTo|bugs@httpd.apache.org       |bugs@apr.apache.org




--- Comment #10 from Mark Thomas <ma...@apache.org>  2009-06-10 13:34:06 PST ---
Reset assignee so email goes to list.

-- 
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 45232] Empty APU_MODULES makes sh syntax error

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





--- Comment #9 from Ruediger Pluem <rp...@apache.org>  2008-07-24 08:48:16 PST ---
*** Bug 45361 has been marked as a duplicate of this bug. ***


-- 
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 45232] Empty APU_MODULES makes sh syntax error

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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |znbasheerahmed@statestreet.c
                   |                            |om




--- Comment #8 from Ruediger Pluem <rp...@apache.org>  2008-07-23 13:16:36 PST ---
*** Bug 45471 has been marked as a duplicate of this bug. ***


-- 
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 45232] Empty APU_MODULES makes sh syntax error

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


SomeHobo <ps...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pstoica@gmail.com




--- Comment #5 from SomeHobo <ps...@gmail.com>  2008-06-24 19:02:46 PST ---
Hi, I'm a total noob so please be kind :)

I'm trying to install subversion, installing in apr seems to have worked fine
but I get a similar message when installing in apr-util-1.3.2. Here's what I
gent in the console. (Please let me know if this is a bug or if it's my fault
or since this is subversion maybe it has nothing to do with this forum..)

------ making install in apr-util
make[1]: Entering directory `/home/anncoult/src/subversion-1.5.0/apr-util'
/bin/sh /home/anncoult/src/subversion-1.5.0/apr/libtool --silent --mode=link 
gcc -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE  
-I/home/anncoult/src/subversion-1.5.0/apr-util/include
-I/home/anncoult/src/subversion-1.5.0/apr-util/include/private 
-I/home/anncoult/src/subversion-1.5.0/apr/include    -version-info 2:12:2    -o
libaprutil-1.la -rpath /home/anncoult/lib buckets/apr_buckets_pipe.lo
buckets/apr_buckets_flush.lo buckets/apr_buckets_alloc.lo
buckets/apr_buckets_pool.lo buckets/apr_buckets_socket.lo
buckets/apr_buckets_heap.lo buckets/apr_buckets_simple.lo
buckets/apr_buckets_file.lo buckets/apr_buckets.lo buckets/apr_buckets_mmap.lo
buckets/apr_buckets_eos.lo buckets/apr_brigade.lo
buckets/apr_buckets_refcount.lo crypto/apr_sha1.lo crypto/uuid.lo
crypto/getuuid.lo crypto/apr_md5.lo crypto/apr_md4.lo dbm/apr_dbm.lo
dbm/apr_dbm_berkeleydb.lo dbm/apr_dbm_gdbm.lo dbm/apr_dbm_ndbm.lo
dbm/apr_dbm_sdbm.lo dbm/sdbm/sdbm_pair.lo dbm/sdbm/sdbm.lo
dbm/sdbm/sdbm_hash.lo dbm/sdbm/sdbm_lock.lo encoding/apr_base64.lo
hooks/apr_hooks.lo ldap/apr_ldap_url.lo ldap/apr_ldap_option.lo
ldap/apr_ldap_init.lo misc/apr_reslist.lo misc/apu_version.lo misc/apr_date.lo
misc/apr_rmm.lo misc/apr_queue.lo uri/apr_uri.lo xml/apr_xml.lo
strmatch/apr_strmatch.lo xlate/xlate.lo dbd/apr_dbd.lo dbd/apr_dbd_mysql.lo
dbd/apr_dbd_sqlite2.lo dbd/apr_dbd_sqlite3.lo dbd/apr_dbd_pgsql.lo   -luuid
-lrt -lcrypt  -lpthread -ldl  -lpq -lsqlite3 -lexpat
/home/anncoult/src/subversion-1.5.0/apr/libapr-1.la -luuid -lrt -lcrypt
-lpthread -ldl
/usr/lib/libexpat.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [libaprutil-1.la] Error 1
make[1]: Leaving directory `/home/anncoult/src/subversion-1.5.0/apr-util'
make: *** [external-install] Error 1


-- 
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 45232] Empty APU_MODULES makes sh syntax error

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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |strube@physik3.gwdg.de




--- Comment #6 from Ruediger Pluem <rp...@apache.org>  2008-07-08 06:11:06 PST ---
*** Bug 45361 has been marked as a duplicate of this bug. ***


-- 
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 45232] Empty APU_MODULES makes sh syntax error

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


Bojan Smojver <bo...@rexursive.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bojan@rexursive.com




--- Comment #7 from Bojan Smojver <bo...@rexursive.com>  2008-07-09 15:15:09 PST ---
Regarding comment #5, are you doing this on a dual-arch machine (e.g. x86_64
Linux)? If so, you may be picking up the wrong arch of the expat library (i.e.
32-bit where you need 64-bit).


-- 
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 45232] Empty APU_MODULES makes sh syntax error

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


Landon Thomas <lt...@cs.umn.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lthomas@cs.umn.edu
             Status|NEEDINFO                    |NEW




--- Comment #3 from Landon Thomas <lt...@cs.umn.edu>  2008-06-19 09:59:56 PST ---
I'm getting the same problem during 'make install':

[snip]
/opt/gnu/bin/install -c -m 644 build/apr_rules.out
/export/web/software/apache/2.2.9-www/build/apr_rules.mk
/opt/gnu/bin/install -c -m 755 apr-config.out
/export/web/software/apache/2.2.9-www/bin/apr-1-config
make[2]: Leaving directory `/export/web/software/src/httpd-2.2.9/srclib/apr'
Making install in apr-util
make[2]: Entering directory
`/export/web/software/src/httpd-2.2.9/srclib/apr-util'
/export/web/software/src/httpd-2.2.9/srclib/apr/build/mkdir.sh
/export/web/software/apache/2.2.9-www/lib/apr-util-1
mkdir /export/web/software/apache/2.2.9-www/lib/apr-util-1
/bin/bash: -c: line 1: syntax error near unexpected token `;'
/bin/bash: -c: line 1: `for m in ; do /bin/bash
/export/web/software/src/httpd-2.2.9/srclib/apr/libtool  --silent
--mode=install /opt/gnu/bin/install -c -m 755 $m
/export/web/software/apache/2.2.9-www/lib/apr-util-1; done'
make[2]: *** [install-modules-yes] Error 2
make[2]: Leaving directory
`/export/web/software/src/httpd-2.2.9/srclib/apr-util'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/export/web/software/src/httpd-2.2.9/srclib'
make: *** [install-recursive] Error 1
---

But I can only reproduce it on one of our three SunOS 5.8 Apache servers when
installing 2.2.9.  It's baffling since the OS and environment are close to
identical.  2.2.8 does not have the same problem on any server.


-- 
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 45232] Empty APU_MODULES makes sh syntax error

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





--- Comment #2 from Landon Thomas <lt...@cs.umn.edu>  2008-06-19 09:54:55 PST ---
Created an attachment (id=22145)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22145)
httpd-2.2.9/srclib/apr-util/config.log

The config.log file from httpd-2.2.9/srclib/apr-util/config.log with the
hostname changed.


-- 
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 45232] Empty APU_MODULES makes sh syntax error

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


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

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




--- Comment #1 from Ruediger Pluem <rp...@apache.org>  2008-06-19 06:16:26 PST ---
Sorry, but I cannot reproduce this. Please supply srclib/apr-util/config.log as
an attachment.


-- 
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 45232] Empty APU_MODULES makes sh syntax error

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


Will Rowe <wr...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #4 from Will Rowe <wr...@apache.org>  2008-06-19 11:29:27 PST ---
This is resolved in apr-1.3.2, hopefully soon to be released.


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