Checkout Tools
  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* tools/dev/unix-build/Makefile.svn: Run htpasswd with LD_LIBRARY_PATH set.

This fixes a problem on my system where htpasswd could not find the db lib

built by this makefile and therefore failed to load, preventing httpd setup

and serf tests. See dev@ mail thread "Late night unix-build weirdness" on

2020/03/27 archived at:

https://lists.apache.org/thread.html/rcf296d047a9711fc99c7534487d79a6cbaaca47efbc9c962d2d7fce5%40%3Cdev.subversion.apache.org%3E

Reviewed by: stsp

Another follow-up to r1875129:

* tools/dev/unix-build/Makefile.svn: Drop a ruby patch which isn't useful.

Follow up to r1875122: Actually fix (some of?) the crashes in Ruby.

* tools/dev/unix-build/Makefile.svn: Add more fixes I came up with while

debugging Ruby crashes. Patches still relevant to current versions of

Ruby (we're still on 2.4) have been submitted upstream.

Also, re-create the ruby patch properly instead of appending to an

existing patch file if already present.

* tools/dev/unix-build/Makefile.svn: Add patch for Ruby which will hopefully

fix the bus errors we have been seeing on the svn-bb-openbsd buildbot.

I haven't yet confirmed that this really fixes the issue but since the

crash happens sporadically there is only one way to find out.

I have also found out that OpenBSD's port of Ruby disables the crashing

code path on sparc64. Which is a bandaid, not a real fix since the problem

could affect other platforms as well.

* tools/dev/unix-build/Makefile.svn: Pass THREADED to svn's Makefile

causing svnserveautocheck.sh to invoke svnserve with -T for threaded

mode. See dev@ email thread "Makefile.svn: a dumb question" started

by me on 2019/12/24, archived at:

https://lists.apache.org/thread.html/87a4facdf92d1e260a1b9cdfdc0a266dcfaa3ee071dcdcae5f34eacd%40%3Cdev.subversion.apache.org%3E

Patch by: danielsh

* tools/dev/unix-build/Makefile.svn: Switch to Python 3

* tools/dev/unix-build/Makefile.svn: Use a working URL for junit jar file.

* tools/dev/unix-build/Makefile.svn: Use working URL to fetch bzip2-1.0.6.

* tools/dev/unix-build/Makefile.svn: URL to Cyrus SASL distfile has moved.

* tools/dev/unix-build/Makefile.svn: Provide a way to override repository

backends tested during 'make svn-check'.

* tools/dev/unix-build/Makefile.svn: Stop compiling httpd in maintainer mode

for now. APR gets some _FMT_T constants for 64 bit types wrong on OpenBSD,

and this leads to many format string warnings which make httpd 2.4's build

fail due to -Werror. Non-maintainer mode builds don't force -Werror, so this

works around the problem until the underlying APR issue has been addressed.

* tools/dev/unix-build/Makefile.svn: Remove mod-proxy diff during httpd-clean.

* tools/dev/unix-build/Makefile.svn: Apply a patch to make mod_proxy build

without APR threads in httpd 2.4.

* tools/dev/unix-build/Makefile.svn: OpenBSD's JDK no longer supports dlopen()

of shared objects which do not end in '.so' because a local patch to load

objects with versioned names was dropped from OpenBSD's ports tree during an

update of the JDK. Work around this by manually symlinking libsvnjavahl.so.

* tools/dev/unix-build/Makefile.svn: Undo the APR configure script hack

introduced in r1849589. This hack should not be needed anymore.

* tools/dev/unix-build/Makefile.svn: Patch httpd 2.4.37 so that it will

compile with non-threaded APR (see r1663375).

* tools/dev/unix-build/Makefile.svn: Pull mod_deflate -Werror compile fix

from svn.apache.org's r1849590 instead of generating a diff locally.

* tools/dev/unix-build/Makefile.svn: Fix a config error which made

mod_authz_svn_tests.py's "test authenticated only access via group"

trigger a segfault in httpd cause authz_owner_get_file_group in

mod_authz_groupfile.c somehow ended up being a NULL pointer...?!?

* tools/dev/unix-build/Makefile.svn: Load mod_access_compat into httpd 2.4.

Otherwise, "mod_authz_svn_tests.py 2: test mixed anonymous and authenticated

access" will fail and I haven't found any other way to make it work.

* tools/dev/unix-build/Makefile.svn: Fix typo which resulted in a bad httpd

configuration for 'make check'.

* tools/dev/unix/build/Makefile.svn: Switch to HTTP 2.4. Some authz tests

are still failing because my new HTTPD 2.4 configuration files don't give

exactly the behaviour which these tests expect.

It looks like davautocheck relies on mod_access_compat -- I haven't yet

figured out how to get authz tests to pass without loading that module.

* tools/dev/unix-build/Makefile.svn: Update ruby to 2.4.4; I am secretly

hoping that this will fix ruby SIGBUS problems on the openbsd buildbot.

* tools/dev/unix/build/Makefile.svn: Honour override of CC for GNU iconv, too.

* tools/dev/unix-build/Makefile.svn: bzip.org seems to be down and

distfiles can no longer be downloaded there; switch URL to a mirror

* tools/dev/unix/build/Makefile.svn: Use the correct compiler on OpenBSD.

* tools/dev/unix-build/Makefile.svn: Ruby build patches needed on OpenBSD 6.3.

* tools/dev/unix/build/Makefile.svn: Turns out the JavaHL bindings build

is not make -jN safe. Disable parallel build of JavaHL for now.

Revert r1823787. For an unknown reason it caused segfaults and

bus errors in httpd worker processes on the svn-bb-openbsd bot.

* tools/dev/unix-build/Makefile.svn: Move stale HTTPD error log file out

of the way. Otherwise, this file keeps growing with every test run, and

eventually available disk space fills up on the svn-bb-openbsd buildbot.

* tools/dev/unix-build/Makefile.svn: Ensure that pkg-config uses information

from our self-built dependencies in favour of system-wide ones.