You are not logged in.

#1 2013-11-15 20:32:24

fanglingsu
Member
From: Jena, Germany
Registered: 2013-11-10
Posts: 4
Website

makepkg syntax error - caused by POSIXLY_CORRECT

I'm new to arch linux and after installation of arch and the first steps with
makepkg I was confronted with following script error:

/usr/bin/makepkg: line 1545: syntax error near unexpected token `<'
/usr/bin/makepkg: line 1545: `          done < <(find . -type f -perm -u+w
-print0 2>/dev/null)'

After a long time checking the script I found the problem in my .zshenv where
the environment variable POSIXLY_CORRECT=1 was exported. After unsetting this,
makepkg worked well.

I've used this to force myself to write scripts that are portable between
different systems, and I'd like to keep this variable set also on my new arch
system. Wouldn't it be a good decision to change the makepkg script to also
work if POSIXLY_CORRECT is set? If the issue is known and POSIX does not
belong to the Arch Way, I'll accept that and will unset POSIXLY_CORRECT before
building a package.


vimb the vim like browser

Offline

#2 2013-11-15 20:36:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: makepkg syntax error - caused by POSIXLY_CORRECT

I think you should ask this on the ML or open a feture request on the bugtracker.

Offline

#3 2013-11-15 20:54:37

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: makepkg syntax error - caused by POSIXLY_CORRECT

More of an Arch discussion: moving...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB