Skip to contentSkip to conversation

Unable to start apache with event MPM on raspberry pi 3

Buildroot bugzilla at busybox.net 1 participant 3 messages Dec 26, 2018 – Jan 17, 2019 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

https://bugs.busybox.net/show_bug.cgi?id=11576

kurt <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |buildroot at uclibc.org
            Product|Busybox                     |buildroot
           Assignee|unassigned at busybox.net      |unassigned at buildroot.uclibc
                   |                            |.org
          Component|Networking                  |Other
            Version|unspecified                 |2018.11.1
Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#2 lore raw
In reply to a message not in the archive

https://bugs.busybox.net/show_bug.cgi?id=11576

--- Comment #1 from Peter Seiderer <[email protected]> --- Apache is based on apr and apr has some configure runtime checks for some features, e.g. epoll, failing for the cross compile.

Quick test with the following (buildroot) patch enables successful apache startup again:

package/apr/apr.mk +6 -1
index 58b1d86b28..8f29e57c59 100644
@@ -26,7 +26,12 @@ APR_CONF_ENV = \
        ac_cv_sizeof_pid_t=4 \
        ac_cv_struct_rlimit=yes \
        ac_cv_o_nonblock_inherited=no \
-       apr_cv_mutex_recursive=yes
+       apr_cv_mutex_recursive=yes \
+       apr_cv_epoll=yes \
+       apr_cv_epoll_create1=yes \
+       apr_cv_dup3=yes \
+       apr_cv_sock_cloexec=yes \
+       apr_cv_accept4=yes
 APR_CONFIG_SCRIPTS = apr-1-config
 
 # Doesn't even try to guess when cross compiling

Tested with raspberrypi3_qt5we_defconfig and the following two additional config options:

BR2_PACKAGE_APACHE=y
BR2_PACKAGE_APACHE_MPM_EVENT=y

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#3 lore raw
In reply to a message not in the archive

https://bugs.busybox.net/show_bug.cgi?id=11576

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Peter Korsgaard <[email protected]> --- Fixed by
https://git.buildroot.org/buildroot/commit/?id=7a3b44f445ff82acdc7524e401148b16bfdd24ff
- Thanks

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.