Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#1455 - Coreutils does not accept old syntax

Attached to Project: Arch Linux
Opened by Jan de Groot (JGC) - Thursday, 16 September 2004, 06:55 GMT
Last edited by Judd Vinet (judd) - Thursday, 16 September 2004, 20:02 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

When I was compiling LFS from archlinux, I found an error in coreutils:
[jan@lappie ~]$ head -1
head: `-1' option is obsolete; use `-n 1'
Try `head --help' for more information.

This is caused by the new glibc 2.3.3, which makes coreutils not to accept the old syntax anymore. Setting DEFAULT_POSIX2_VERSION=199209 during configure should fix the problem.
This task depends upon

Closed by  Judd Vinet (judd)
Tuesday, 28 September 2004, 06:17 GMT
Reason for closing:  Fixed
Comment by Vinay S Shastry (shastry) - Tuesday, 21 September 2004, 03:26 GMT
actually, just setting an environment variable will do

export _POSIX2_VERSION=199209

will do the job.


(got that from: http://www.javadesktop.org/forums/thread.jspa?threadID=3264&tstart=150 )

Loading...