Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libc++ missing #88

Closed
Orbsa opened this issue Mar 1, 2017 · 7 comments
Closed

libc++ missing #88

Orbsa opened this issue Mar 1, 2017 · 7 comments

Comments

@Orbsa
Copy link

Orbsa commented Mar 1, 2017

I have libc++ installed as the dependencies require, but everytime i run apacman -Syu, it prints out

: Synchronizing aur database...
:: There are 117 packages that provide libc++:

and then fails to update anything

Here's the the full bash debug:
http://pastebin.com/0Rvge879

@ghost
Copy link

ghost commented Mar 3, 2017

Removing the aurpkglist() function results in command not found lines, but otherwise fixes this.

Edit: I mean that it very specifically fixes this -Syu.

@ghost
Copy link

ghost commented Mar 3, 2017

print debugging suggests the hang doesn't occur in aurpkglist, it happens when selectprovider() calls pickone()

@ghost
Copy link

ghost commented Mar 3, 2017

(Still print debugging) It does not appear to enter pickone(), it just hangs. This is the limit of my usefulness. Good luck.

@ghost
Copy link

ghost commented Mar 3, 2017

Oooh, it appears that this might fix this issue:

@@ -360,7 +360,7 @@ existsinaur() {
   regexmatch="$(echo $val | tr -dc '0-9a-z-.\n')"
   if [[ $val != $regexmatch ]]; then
      matches=$(aurpkglist "$val")
-     selectprovider "$val" $matches
+     selectprovider "$val" "${matches[@]}"
      if [[ $providepkg ]]; then
        eval "$2=\"$providepkg\"" 2>/dev/null
        chosenpkg="$providepkg"

@ghost
Copy link

ghost commented Mar 3, 2017

That patch solves -Syu for me

@ghost
Copy link

ghost commented Mar 4, 2017

Aaaand the code is being removed with regex mode anyway. Fun distraction.

@ghost
Copy link

ghost commented Jun 18, 2017

Deleted my fork pull request #91 was based on. Posting the patch here because relevant issue.

0001-Remove-regex-mode.patch.txt

@Orbsa Orbsa closed this as completed Sep 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant