[Mac OS X] dkp-pacman fails to install any package

support for the ARM toolchain
colleen
Posts: 6
Joined: Thu Jul 18, 2019 7:36 pm

[Mac OS X] dkp-pacman fails to install any package

Post by colleen » Thu Jul 18, 2019 7:44 pm

I'm trying to install 3ds-dev on Mac OS X 10.11.6 El Capitan with "dkp-pacman -S 3ds-dev", and it downloads all the packages but won't install them. This is the same case with every package not including 3ds-dev.

All the errors are "error: could not open file [package pathname]: child process exited with signal 5."
And the last error is always
"error: failed to commit transaction (cannot open package file)
Errors occurred, no packages were upgraded."

User avatar
fincs
( ͡° ͜ʖ ͡°)
Posts: 59
Joined: Mon Jul 12, 2010 9:45 pm
Location: Seville, Spain
Contact:

Re: [Mac OS X] dkp-pacman fails to install any package

Post by fincs » Thu Jul 18, 2019 8:19 pm

Make sure you use sudo when running dkp-pacman commands.
Donate to devkitPro - help us stay alive!

colleen
Posts: 6
Joined: Thu Jul 18, 2019 7:36 pm

Re: [Mac OS X] dkp-pacman fails to install any package

Post by colleen » Fri Jul 19, 2019 1:50 am

fincs wrote:
Thu Jul 18, 2019 8:19 pm
Make sure you use sudo when running dkp-pacman commands.
I have done that, but it still fails.

WinterMute
Site Admin
Posts: 1404
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: [Mac OS X] dkp-pacman fails to install any package

Post by WinterMute » Fri Jul 19, 2019 2:24 pm

delete your /opt/devkitpro folder then reinstall from the .pkg. Ensure you use `sudo dkp-pacman -S 3ds-dev`

If it still fails then post the complete output of your terminal including the command you used. Make sure you follow the instructions at https://devkitpro.org/wiki/Getting_Started#macOS
Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog

colleen
Posts: 6
Joined: Thu Jul 18, 2019 7:36 pm

Re: [Mac OS X] dkp-pacman fails to install any package

Post by colleen » Sat Jul 20, 2019 5:19 pm

Still fails.
Here's the terminal output:

Code: Select all

sh-3.2# dkp-pacman -S 3ds-dev
:: There are 13 members in group 3ds-dev:
:: Repository dkp-libs
   1) 3ds-examples  2) citro2d  3) citro3d  4) devkitarm-crtls
   5) devkitarm-rules  6) libctru
:: Repository dkp-osx
   7) 3dslink  8) 3dstools  9) devkitARM  10) general-tools  11) picasso
   12) pkg-config  13) tex3ds

Enter a selection (default=all): (I selected all)
resolving dependencies...
looking for conflicting packages...

Packages (13) 3ds-examples-20190102-1  3dslink-0.5.2-2  3dstools-1.1.4-2
              citro2d-1.2.0-1  citro3d-1.5.0-1  devkitARM-r53-1
              devkitarm-crtls-1.0.2-1  devkitarm-rules-1.0.0-1
              general-tools-1.0.2-3  libctru-1.6.0-1  picasso-2.7.0-1
              pkg-config-0.29.2-1  tex3ds-2.0.1-2

Total Download Size:    43.37 MiB
Total Installed Size:  224.40 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 3ds-examples-201901...  1383.8 KiB   623K/s 00:02 [######################] 100%
 devkitarm-rules-1.0...     3.6 KiB  0.00B/s 00:00 [######################] 100%
 devkitarm-crtls-1.0...    15.4 KiB  0.00B/s 00:00 [######################] 100%
 libctru-1.6.0-1-any     1158.7 KiB  6.66M/s 00:00 [######################] 100%
 citro3d-1.5.0-1-any      292.3 KiB   473K/s 00:01 [######################] 100%
 citro2d-1.2.0-1-any       88.1 KiB  21.5M/s 00:00 [######################] 100%
 devkitARM-r53-1-any       38.1 MiB  2.34M/s 00:16 [######################] 100%
 3dslink-0.5.2-2-any       39.8 KiB  7.78M/s 00:00 [######################] 100%
 3dstools-1.1.4-2-any      77.2 KiB  7.54M/s 00:00 [######################] 100%
 general-tools-1.0.2...    21.0 KiB  0.00B/s 00:00 [######################] 100%
 picasso-2.7.0-1-any       32.6 KiB  10.6M/s 00:00 [######################] 100%
 pkg-config-0.29.2-1-any  179.0 KiB   649K/s 00:00 [######################] 100%
 tex3ds-2.0.1-2-any         2.0 MiB  2.20M/s 00:01 [######################] 100%
(13/13) checking package integrity                 [######################] 100%
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime--------]   0%
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: lazy symbol binding failed: Symbol not found: _clock_gettime--------]   3%
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: lazy symbol binding failed: Symbol not found: _clock_gettime--------]   3%
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: lazy symbol binding failed: Symbol not found: _clock_gettime--------]   3%
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: lazy symbol binding failed: Symbol not found: _clock_gettime######--]  91%
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: lazy symbol binding failed: Symbol not found: _clock_gettime######--]  93%
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: lazy symbol binding failed: Symbol not found: _clock_gettime######--]  94%
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: lazy symbol binding failed: Symbol not found: _clock_gettime######--]  94%
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: lazy symbol binding failed: Symbol not found: _clock_gettime######--]  94%
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: lazy symbol binding failed: Symbol not found: _clock_gettime######--]  94%
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: lazy symbol binding failed: Symbol not found: _clock_gettime######--]  94%
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: lazy symbol binding failed: Symbol not found: _clock_gettime######--]  94%
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: lazy symbol binding failed: Symbol not found: _clock_gettime######--]  95%
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /opt/devkitpro/pacman/bin/xz
  Expected in: /usr/lib/libSystem.B.dylib

(13/13) loading package files                      [######################] 100%
error: could not open file /opt/devkitpro/pacman/var/cache/pacman/pkg/3ds-examples-20190102-1-any.pkg.tar.xz: Child process exited with signal 5
error: could not open file /opt/devkitpro/pacman/var/cache/pacman/pkg/devkitarm-rules-1.0.0-1-any.pkg.tar.xz: Child process exited with signal 5
error: could not open file /opt/devkitpro/pacman/var/cache/pacman/pkg/devkitarm-crtls-1.0.2-1-any.pkg.tar.xz: Child process exited with signal 5
error: could not open file /opt/devkitpro/pacman/var/cache/pacman/pkg/devkitARM-r53-1-any.pkg.tar.xz: Child process exited with signal 5
error: could not open file /opt/devkitpro/pacman/var/cache/pacman/pkg/libctru-1.6.0-1-any.pkg.tar.xz: Child process exited with signal 5
error: could not open file /opt/devkitpro/pacman/var/cache/pacman/pkg/citro3d-1.5.0-1-any.pkg.tar.xz: Child process exited with signal 5
error: could not open file /opt/devkitpro/pacman/var/cache/pacman/pkg/citro2d-1.2.0-1-any.pkg.tar.xz: Child process exited with signal 5
error: could not open file /opt/devkitpro/pacman/var/cache/pacman/pkg/3dslink-0.5.2-2-any.pkg.tar.xz: Child process exited with signal 5
error: could not open file /opt/devkitpro/pacman/var/cache/pacman/pkg/3dstools-1.1.4-2-any.pkg.tar.xz: Child process exited with signal 5
error: could not open file /opt/devkitpro/pacman/var/cache/pacman/pkg/general-tools-1.0.2-3-any.pkg.tar.xz: Child process exited with signal 5
error: could not open file /opt/devkitpro/pacman/var/cache/pacman/pkg/picasso-2.7.0-1-any.pkg.tar.xz: Child process exited with signal 5
error: could not open file /opt/devkitpro/pacman/var/cache/pacman/pkg/pkg-config-0.29.2-1-any.pkg.tar.xz: Child process exited with signal 5
error: could not open file /opt/devkitpro/pacman/var/cache/pacman/pkg/tex3ds-2.0.1-2-any.pkg.tar.xz: Child process exited with signal 5
error: failed to commit transaction (cannot open package file)
Errors occurred, no packages were upgraded.
sh-3.2#
It says it can't find a certain library but I can't find anything online on how to install it besides recovery mode.

I've figured out it's because I'm using an old version of Mac OS.

WinterMute
Site Admin
Posts: 1404
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: [Mac OS X] dkp-pacman fails to install any package

Post by WinterMute » Sat Jul 20, 2019 6:54 pm

Can you upgrade or are you stuck on 10.11?

There's a possibility I can rebuild pacman and it's dependencies for earlier systems but it'll take a while to get to. They were originally built with 10.12 SDK but with options for 10.9, I guess something went wrong somewhere.

Sorry it's not working for you right now.
Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog

colleen
Posts: 6
Joined: Thu Jul 18, 2019 7:36 pm

Re: [Mac OS X] dkp-pacman fails to install any package

Post by colleen » Sat Jul 20, 2019 8:43 pm

Could you archive and upload the file, "/usr/lib/libSystem.B.dylib"?
I believe it's technically a folder that Mac OS treats as a file so you'll have to archive it first in a zip/7z file.
You could use mediafire or something and just send the link, I'd appreciate that. :)

And nope. Can't update. Too old of a Mac. :/

WinterMute
Site Admin
Posts: 1404
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: [Mac OS X] dkp-pacman fails to install any package

Post by WinterMute » Sun Jul 21, 2019 4:48 pm

colleen wrote:
Sat Jul 20, 2019 8:43 pm
Could you archive and upload the file, "/usr/lib/libSystem.B.dylib"?
I believe it's technically a folder that Mac OS treats as a file so you'll have to archive it first in a zip/7z file.
You could use mediafire or something and just send the link, I'd appreciate that. :)
Please don't do this - you're likely to break your system since other applications will be dependent on that .dylib. You might be lucky but I really can't guarantee that won't go horribly wrong.
And nope. Can't update. Too old of a Mac. :/
Sorry to hear that. we'll see what we can do.

On the bright side, it seems like most of our pacman distro is working & it may just need 1 or 2 components rebuilt. That may make things easier.
Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog

colleen
Posts: 6
Joined: Thu Jul 18, 2019 7:36 pm

Re: [Mac OS X] dkp-pacman fails to install any package

Post by colleen » Mon Jul 22, 2019 1:58 pm

Mac OS 10.11.6 doesn't use that library. Nothing uses it below Sierra (10.12.6) uses the library. It wouldn't break anything, it would just be there for the programs that do use it such as dkp-pacman.

Actually I was able to find the library on Github.

colleen
Posts: 6
Joined: Thu Jul 18, 2019 7:36 pm

Re: [Mac OS X] dkp-pacman fails to install any package

Post by colleen » Mon Jul 22, 2019 2:47 pm

Update: well shit.
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests