Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84858 - Postfix 2.2.0 Makefile.in relies on non-POSIX tail syntax
Summary: Postfix 2.2.0 Makefile.in relies on non-POSIX tail syntax
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-11 06:24 UTC by Duncan Hill
Modified: 2005-03-11 10:02 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 Duncan Hill 2005-03-11 06:24:17 UTC
Attempting to build 2.2.0 (not yet an ebuild) on Gentoo encounters issues with the tail statements in all of the Makefile.in files.   Gentoo uses the newer version of tail that has deprecated (to the point of no support) the tail +2 syntax in favour of tail -n +2.  Wietse has said the distro will not change because it can and will break non-POSIX capable systems.

Reproducible: Always
Steps to Reproduce:
1. download postfix source
2. execute make
3.

Actual Results:  
Postfix will fail to compile 


Potential fixes:  
1)  
for file in `find . -name 'Makefile.in'` ; do cat $file | sed -e 's/tail \   
+2/tail -n +2/' > $file.t ; mv $file.t $file ; done  
  
2)  
# Cater for GNU coreutils "compatibility"  
_POSIX2_VERSION=199209  
export _POSIX2_VERSION  
  
Edition 2 forces tail to honour the non-POSIX syntax.  
 
I realise 2.2.0 is not yet into the portage tree as a package, but felt that 
it was worth giving someone a heads-up just in case.
Comment 1 Tuan Van (RETIRED) gentoo-dev 2005-03-11 10:02:41 UTC
> Attempting to build 2.2.0 (not yet an ebuild)
$ grep -A 7 "postfix-2.2.0 " /usr/portage/mail-mta/postfix/ChangeLog
*postfix-2.2.0 (09 Mar 2005)

  09 Mar 2005; Tu&#7845;n V&#259;n <langthang@gentoo.org> +postfix-2.2.0.ebuild:
  New postfix-2.2.0 release. This release includes IPV6 and TLS in the
  official release. "vda" has been removed as it isn't available for
  experimetal Postfix release. "vda" will be added as soon as it's available.
  Please review these document for more infomation:
  ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-2.2.0.RELEA
  SE_NOTES http://www.postfix.org/TLS_README.html
  http://www.postfix.org/IPV6_README.html

It's hard masked. If you want to test, unmask it then post the feedback in this bug. Thanks.
> Gentoo uses the newer version of tail that has deprecated (to the point of no > support) the tail +2 syntax in favour of tail -n +2.  Wietse has said the
> distro will not change because it can and will break non-POSIX capable 
> systems.
the ebuild takes care of that.