Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25212 - Apache 1.3.28 depends on 'head -1' and 'tail -1'
Summary: Apache 1.3.28 depends on 'head -1' and 'tail -1'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-24 16:28 UTC by Jason Rhinelander
Modified: 2003-07-26 17:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Rhinelander 2003-07-24 16:28:29 UTC
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 Donny Davies (RETIRED) gentoo-dev 2003-07-26 17:20:38 UTC
yeah.