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 2018/11/20 16:03:12 UTC

[Bug 62930] New: [PATCH] server/Makefile.in: handle separate APR_INCLUDE_DIR/APU_INCLUDE_DIR

https://bz.apache.org/bugzilla/show_bug.cgi?id=62930

            Bug ID: 62930
           Summary: [PATCH] server/Makefile.in: handle separate
                    APR_INCLUDE_DIR/APU_INCLUDE_DIR
           Product: Apache httpd-2
           Version: 2.4.37
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
          Assignee: bugs@httpd.apache.org
          Reporter: thomas.petazzoni@bootlin.com
  Target Milestone: ---

Created attachment 36270
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36270&action=edit
[PATCH] server/Makefile.in: handle separate APR_INCLUDE_DIR/APU_INCLUDE_DIR

If APR_INCLUDEDIR and APU_INCLUDEDIR point to different directories, but for
example APU_INCLUDEDIR contains both the apr headers and apu headers, the
"export_files" file will contain duplicate header files, causing the exports.c
file to contain duplicate definitions, making the build fail.

The attached patche fixes that by making sure we only use the apr headers from
APR_INCLUDEDIR and the apu headers from the APU_INCLUDEDIR.

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


[Bug 62930] [PATCH] server/Makefile.in: handle separate APR_INCLUDE_DIR/APU_INCLUDE_DIR

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

--- Comment #3 from Thomas Petazzoni <th...@bootlin.com> ---
Any further update on this patch ? Thanks!

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


[Bug 62930] [PATCH] server/Makefile.in: handle separate APR_INCLUDE_DIR/APU_INCLUDE_DIR

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

Rich Bowen <rb...@apache.org> changed:

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

--- Comment #4 from Rich Bowen <rb...@apache.org> ---
Thank you for your report. As part of an effort to clean up our issue tracker,
we are closing tickets that have seen no activity for more than 5 years. If
this issue is still relevant to a current version of Apache httpd (2.4.x or
trunk), please reopen this ticket or open a new one with updated information.
We appreciate your contribution to the project.

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


[Bug 62930] [PATCH] server/Makefile.in: handle separate APR_INCLUDE_DIR/APU_INCLUDE_DIR

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

--- Comment #2 from Thomas Petazzoni <th...@bootlin.com> ---
Thanks for calling it "broken" :-)

I am working on the Buildroot project (http://buildroot.org) a tool that builds
a Linux system from source for embedded systems, using cross-compilation. As
part of this, I am currently working on moving from a global compiler sysroot
design (where all libraries/headers are installed in a common location) to a
per-package compiler sysroot design (where the compiler sysroot only contains
the libraries/headers of the dependencies of that package).

With this design, when I build apr, the compiler sysroot initially contains
just the C library and headers. After apr is built, it contains C library +
apr.

Then, we build apr-util, we bring the apr compiler sysroot (C library + apr),
build apr-util and install it.

Then, we build apache, we bring the apr-util compiler sysroot (C library +
apr-util + apr) and build apache.

The thing is that APR_INCLUDEDIR will point to the compiler sysroot of apr
(which contains just the apr headers) and APU_INCLUDEDIR will point to the
compiler sysroot of apr-util (which contains both the apr and apr-util
headers).

This is how we end up in this situation, which I don't think is really
"broken".

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


[Bug 62930] [PATCH] server/Makefile.in: handle separate APR_INCLUDE_DIR/APU_INCLUDE_DIR

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

--- Comment #1 from Joe Orton <jo...@redhat.com> ---
"If APR_INCLUDEDIR and APU_INCLUDEDIR point to different directories, but for
example APU_INCLUDEDIR contains both the apr headers and apu headers"

That's seems like a broken APR/APR-util installation, how did it get in that
state?

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