Package Details: apache-tools 2.4.58-2

Git Clone URL: https://aur.archlinux.org/apache-tools.git (read-only, click to copy)
Package Base: apache-tools
Description: Useful Apache tools - htdigest, htpasswd, ab (Apache Benchmark), htdbm
Upstream URL: http://httpd.apache.org/
Licenses: Apache
Conflicts: apache
Submitter: None
Maintainer: fordprefect (sowieso)
Last Packager: fordprefect
Votes: 134
Popularity: 0.181104
First Submitted: 2008-06-17 12:49 (UTC)
Last Updated: 2024-01-15 12:36 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

fordprefect commented on 2024-01-15 12:24 (UTC)

Source link fixed, pkgrel bump omitted (no need for rebuilds in existing installs).

jkl commented on 2024-01-15 12:15 (UTC)

The link to the source is broken.

vcalv commented on 2023-12-12 04:52 (UTC)

Please don't install anything under /usr/manual

SpotlightKid commented on 2023-08-10 21:50 (UTC)

I just noticed that this package installs its man pages under /usr/man/ instead of /usr/share/man, where they belong.

carsme commented on 2023-03-24 11:10 (UTC) (edited on 2023-03-24 11:10 (UTC) by carsme)

@fordperfect, @mortzu I've managed to build in a clean chroot and when comparing the configure output I noticed this:

When working in a clean chroot:

configure:
  setting INCLUDES to "-I."
  adding "-I$(top_srcdir)/os/$(OS_DIR)" to INCLUDES
  adding "-I$(top_srcdir)/include" to INCLUDES
  adding "-I/usr/include/apr-1" to INCLUDES
  adding "-I/usr/include" to INCLUDES

When failing on my system:

configure:
  setting INCLUDES to "-I."
  adding "-I$(top_srcdir)/os/$(OS_DIR)" to INCLUDES
  adding "-I$(top_srcdir)/include" to INCLUDES
  adding "-I/bin/apr-1-config//usr/include/apr-1" to INCLUDES
  adding "-I/usr/include/apr-1" to INCLUDES
  adding "-I/usr/include" to INCLUDES

Notice the added line with the junk include -I/bin/apr-1-config//usr/include/apr-1. This is taken directly from

$ apr-1-config --includes
 -I/bin/apr-1-config//usr/include/apr-1

So it seems the problem we're experiencing is with apr-1-config and in turn the https://archlinux.org/packages/extra/x86_64/apr/ package rather than this.

fordprefect commented on 2023-03-24 09:55 (UTC)

@gc1: Try building with makepkg in a clean chroot and report back if the error persists. I can't reproduce the error, so you'd need to provide a bit more info.

g360 commented on 2023-03-23 22:59 (UTC)

I get a different error in the build stage:

==> Starting build()...
checking for chosen layout... Apache
checking for working mkdir -p... yes

[...]

config.status: executing default commands
configure: summary of build options:

    Server Version: 2.4.56
    Install prefix: /usr
    C compiler:     gcc
    CFLAGS:         -march=x86-64 -mtune=generic -O2 -pipe -fno-plt
    CPPFLAGS:       -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE
    LDFLAGS:        -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -L/usr/lib
    LIBS:
    C preprocessor: gcc -E

: invalid option -- '6'
Usage: make [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  -E STRING, --eval=STRING    Evaluate STRING as a makefile statement.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from recipes.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
  --jobserver-style=STYLE     Select the style of jobserver to use.
  -k, --keep-going            Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any recipe; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -O[TYPE], --output-sync[=TYPE]
                              Synchronize output of parallel jobs by TYPE.
  -p, --print-data-base       Print make's internal database.
  -q, --question              Run no recipe; exit status says if up to date.
  -r, --no-builtin-rules      Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  --shuffle[={SEED|random|reverse|none}]
                              Perform shuffle of prerequisites and goals.
  -s, --silent, --quiet       Don't echo recipes.
  --no-silent                 Echo recipes (disable --silent mode).
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch                 Touch targets instead of remaking them.
  --trace                     Print tracing information.
  -v, --version               Print the version number of make and exit.
  -w, --print-directory       Print the current directory.
  --no-print-directory        Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

This program built for x86_64-pc-linux-gnu
Report bugs to <bug-make@gnu.org>
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'apache-tools-2.4.56-1':

fordprefect commented on 2023-03-23 12:13 (UTC)

@mortzu: I'm happy to put it there but I'd like to understand why it might be necessary. Works with apr-1-config without specifying, and I fail to find any differing occurrence in the sources. Why do you believe /usr/bin/apr-config is being called anywhere?

mortzu commented on 2023-03-22 17:29 (UTC)

It worked after I replaced the configure line in PKGBUILD:

-    ./configure --prefix=/usr --sbindir=/usr/bin --with-pcre=/usr
+    ./configure --prefix=/usr --sbindir=/usr/bin --with-pcre=/usr --with-apr=/usr/bin/apr-1-config

On my system is no /usr/bin/apr-config

fordprefect commented on 2023-03-21 15:08 (UTC)

@mortzu: carsme reported the same issue before, but did not get back if solved. I can't reproduce the issue, so presumably the error is in your system. Try building in a clear chroot.