ava1ar / customizepkg

A tool for Arch Linux package manager pacman to modify PKGBUILD automatically
GNU General Public License v3.0
47 stars 14 forks source link

Issue with multiline value of pkgdesc variable #30

Open Zebradil opened 7 years ago

Zebradil commented 7 years ago

I'm creating this issue just to give info to googlers. It is fixed in #29

/usr/bin/customizepkg: line 167: warning: command substitution: ignored null byte in input
/usr/bin/customizepkg: eval: line 167: unexpected EOF while looking for matching `"'
/usr/bin/customizepkg: eval: line 168: syntax error: unexpected end of file
AdrienLemaire commented 5 years ago

@ava1ar I just installed customizepkg, and when running yay -Syu, I get the following errors:

[Aur: 2]  slack-desktop-3.4.2-1  qt4-4.8.7-30

  2 slack-desktop                    (Installed) (Build Files Exist)
  1 qt4                              (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: PKGBUILD up to date, Skipping (1/2): qt4
:: PKGBUILD up to date, Skipping (2/2): slack-desktop
:: Parsing SRCINFO (1/2): slack-desktop
:: Parsing SRCINFO (2/2): qt4
/usr/bin/customizepkg: line 167: warning: command substitution: ignored null byte in input
no configuration found for slack-desktop in /home/dori/.customizepkg/ or /etc/customizepkg.d/
/usr/bin/customizepkg: line 167: warning: command substitution: ignored null byte in input
no configuration found for qt4 in /home/dori/.customizepkg/ or /etc/customizepkg.d/
/usr/bin/customizepkg: line 167: warning: command substitution: ignored null byte in input
no configuration found for slack-desktop in /home/dori/.customizepkg/ or /etc/customizepkg.d/
Can not find package name : [customizepkg.d]

Is it related to this issue? Can you merge the related PR?

$ yay -Qs customizepkg
local/customizepkg-git 57.f1d7be7-1
    A tool to modify automatically PKGBUILD
ava1ar commented 5 years ago

PR was merged. Please confirm it solves the issue. Thanks!

AdrienLemaire commented 5 years ago

@ava1ar Thanks!

I have a more serious issue with yay now ^^ after removing customizepkg-git, all downloads are failing, I can't reinstall customizepkg-git through yay

$ yay -S customizepkg-git --nomakepkgconf 
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur: 1]  customizepkg-git-51.6cf63cb-1

  1 customizepkg-git                 (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/1): /home/dori/.cache/yay/customizepkg-git
:: Downloaded PKGBUILD (1/1): customizepkg-git
:: Parsing SRCINFO (1/1): customizepkg-git
Error downloading sources: customizepkg-git

I can install this the manual way with pacman, but I'd like to understand why this problem occured in the first place. Do you have an idea?

whoizit commented 2 years ago
/usr/bin/customizepkg: line 168: warning: command substitution: ignored null byte in input
no configuration found for cwtch in /home/user/.customizepkg/ or /etc/customizepkg.d/

this is the same issue? affected for pkgs fluffychat, cwtch, libcwtch-go and others I forget.