kitsunyan / pakku

Pacman wrapper with AUR support
GNU General Public License v3.0
130 stars 8 forks source link

Package installations abort with "User defined signal 1" #38

Closed stuartpb closed 5 years ago

stuartpb commented 5 years ago

Every time I try to build anything from the AUR, pakku gives up as soon as I finish all the "view and edit" prompts with User defined signal 1:

[stuart@stushiba Downloads]$ pakku -S yay
:: Resolving build targets...
checking AUR database...
(1/1) cloning repositories                                                                                00:00 [##################################################################] 100%
resolving dependencies...

Packages (1) yay-8.1157.0-1

:: Proceed with building? [Y/n] y
downloading comments from AUR...
:: View and edit yay/PKGBUILD? [Y/n/s/a/?] s
User defined signal 1
stuartpb commented 5 years ago

Okay, trying again with yay tracked it down: the problem was that I'd inadvertently set git config --global core.autocrlf true a while back, and that was causing the PKGBUILD to get checked out with CRLF line endings.

Changing to git config --global core.autocrlf input fixed it.