Bug 25212 - Apache 1.3.28 depends on 'head -1' and 'tail -1'
Bug#: 25212 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: woodchip@gentoo.org Reported By: gentoo@jagerman.com
Component: Ebuilds
URL: 
Summary: Apache 1.3.28 depends on 'head -1' and 'tail -1'
Keywords:  
Status Whiteboard: 
Opened: 2003-07-24 16:28 0000
Description:   Opened: 2003-07-24 16:28 0000
head -1 and tail -1 no longer work with the latest coreutils with
glibc-2.3.2-r2
or above, but Apache depends on these.  Emerging apache appears to be
successful, but after emerging /usr/sbin/apache does not exist.

The head/tail/uniq -1 deprecation only comes about with glibc-2.3.2-r2 or later
as it updates _POSIX2_VERSION in /usr/include/unistd.h - however, as this is
bound to change sooner or later for stable Gentoo systems, it's something that
needs to be addressed.

The fix is to change everything containing head -1 or tail -1 to head -n 1 or
tail -n 1, respectively.

------- Comment #1 From Donny Davies (RETIRED) 2003-07-26 17:20:38 0000 -------
yeah.