Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native)
#81
(03-28-2020, 02:42 AM)icecream95 Wrote:
(03-28-2020, 02:02 AM)Idaho Wrote: Talking about the panfrost driver can you tell us how to compile glxinfo? it's not here by default and it's not available in the repos, I have followed the howto you gave to install it but I'd like to check out if it's really installed or not Rolleyes

The source is at https://gitlab.freedesktop.org/mesa/demos, but most distributions do have packages with it.

On Arch-based distributions, it's in the mesa-demos package.

For Debian, try mesa-utils and mesa-utils-extra.

Oh thanks, I tried to install glxinfo on its own, I didn't think it'd be part of a larger package, AUR has it but it has no set of options to compile it for aarch64, hence why I thought I had to compile it myself, thanks for the clarification, it seems that my pbp is correctly running the panfrost driver, now time to set up pksrouce and get stuffs from astr0's repo I guess :3
  Reply
#82
Hi there, I've set up pksrc by following astr0's tutorial (here) but I'm stuck when it comes to setting up his custom repo, I'm getting the following error when I try to run:

Code:
[root@pbpro-manjaro pkgin]# /usr/pkg/bin/bmake install clean clean-depends

I get the following error:

Code:
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Please unset PKG_PATH before doing pkgsrc work!
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkgin

I don't understand why I should unset PKG_PATH, also, I'm unsure as to how to proceed  to do so Confused Any help would be welcome Smile
  Reply
#83
(03-31-2020, 12:20 PM)Idaho Wrote: Hi there, I've set up pksrc by following astr0's tutorial (here) but I'm stuck when it comes to setting up his custom repo, I'm getting the following error when I try to run:

Code:
[root@pbpro-manjaro pkgin]# /usr/pkg/bin/bmake install clean clean-depends

I get the following error:

Code:
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Please unset PKG_PATH before doing pkgsrc work!
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkgin

I don't understand why I should unset PKG_PATH, also, I'm unsure as to how to proceed  to do so Confused Any help would be welcome Smile

Can you post whats in our ENV ?

$ env | grep PKG 

I assume you correctly bootstrapped pkgsrc 

Unset the PKG_PATH  like this

unset PKG_PATH   (I think you followed the article even in the examples of how to work normally with binary pkgsrc packages on NetBSD and not
directly with pkgin)
I have fixed the article as it might be a little misleading to people not entirely familiar with pkgsrc (sorry for that)
  Reply
#84
(03-31-2020, 03:53 PM)astr0baby Wrote:
(03-31-2020, 12:20 PM)Idaho Wrote: Hi there, I've set up pksrc by following astr0's tutorial (here) but I'm stuck when it comes to setting up his custom repo, I'm getting the following error when I try to run:

Code:
[root@pbpro-manjaro pkgin]# /usr/pkg/bin/bmake install clean clean-depends

I get the following error:

Code:
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Please unset PKG_PATH before doing pkgsrc work!
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkgin

I don't understand why I should unset PKG_PATH, also, I'm unsure as to how to proceed  to do so Confused Any help would be welcome Smile

Can you post whats in our ENV ?

$ env | grep PKG 

I assume you correctly bootstrapped pkgsrc 

Unset the PKG_PATH  like this

unset PKG_PATH   (I think you followed the article even in the examples of how to work normally with binary pkgsrc packages on NetBSD and not
directly with pkgin)
I have fixed the article as it might be a little misleading to people not entirely familiar with pkgsrc (sorry for that)

That's exactly what I did but I did it purposefully because I wanted to have both pkg_add and pkgin to be usable (even though I might not have gotten what's the difference between both).

Also that's weird, after a reboot, the PATH has been reset so there's nothing related to pgksrc in my ENV anymore even though it had been exported:


Code:
[root@pbpro-manjaro bin]# env | grep PKG
[root@pbpro-manjaro bin]#

Code:
[root@pbpro-manjaro bin]# pkg_add
bash: pkg_add: command not found



Also after setting up pkgin as it is in the tutorial, it fails to get the packages for some reason, returning that everything has an empty file size:


Code:
[root@pbpro-manjaro bin]# ./pkgin install alephone-20120514nb3
calculating dependencies...done.
/usr/lib/libSDL_image-1.2.so.0, needed by SDL_image-1.2.12nb8 is not present in this system.
/usr/lib/libSDL_sound-1.0.so.1, needed by SDL_sound-1.0.3nb6 is not present in this system.
warning: package alephone-20120514nb3 has an empty FILE_SIZE on repository.
warning: package SDL>=1.2.15nb17 has an empty FILE_SIZE on repository.
warning: package SDL_image>=1.2.12nb6 has an empty FILE_SIZE on repository.
warning: package SDL_net>=1.2.8nb1 has an empty FILE_SIZE on repository.
warning: package SDL_sound>=1.0.3nb6 has an empty FILE_SIZE on repository.
warning: package png>=1.6.0nb1 has an empty FILE_SIZE on repository.
warning: package speexdsp>=1.2rc3 has an empty FILE_SIZE on repository.
warning: package zziplib>=0.13.56 has an empty FILE_SIZE on repository.
warning: package speex>=1.2rc2 has an empty FILE_SIZE on repository.
warning: package flac>=1.1.3nb1 has an empty FILE_SIZE on repository.
warning: package libmikmod>=3.2.0 has an empty FILE_SIZE on repository.
warning: package libvorbis>=1.1.0nb1 has an empty FILE_SIZE on repository.
warning: package physfs>=2.0.3nb1 has an empty FILE_SIZE on repository.
warning: package smpeg>=0.4.4nb16 has an empty FILE_SIZE on repository.
warning: package jpeg>=9 has an empty FILE_SIZE on repository.
warning: package libwebp>=0.6.0 has an empty FILE_SIZE on repository.
warning: package tiff>=4.0.3nb5 has an empty FILE_SIZE on repository.
warning: package MesaLib>=7.11.2 has an empty FILE_SIZE on repository.
warning: package glu>=7.11.2 has an empty FILE_SIZE on repository.
warning: package libXext>=0.99.0 has an empty FILE_SIZE on repository.
warning: package libXrandr>=1.1.2 has an empty FILE_SIZE on repository.
warning: package libXt>=1.0.0 has an empty FILE_SIZE on repository.
warning: package libICE>=0.99.1 has an empty FILE_SIZE on repository.
warning: package libSM>=0.99.2 has an empty FILE_SIZE on repository.
warning: package libX11>=1.1 has an empty FILE_SIZE on repository.
warning: package libXrender>=0.9.2 has an empty FILE_SIZE on repository.
warning: package libLLVM>=7.0.1nb2 has an empty FILE_SIZE on repository.
warning: package libXdamage>=1.0.3 has an empty FILE_SIZE on repository.
warning: package libXfixes>=4.0.1 has an empty FILE_SIZE on repository.
warning: package libXxf86vm>=1.1.0 has an empty FILE_SIZE on repository.
warning: package libdrm>=2.4.99 has an empty FILE_SIZE on repository.
warning: package libelf>=0.8.5 has an empty FILE_SIZE on repository.
warning: package libva>=2.3.0 has an empty FILE_SIZE on repository.
warning: package libxcb>=1.6 has an empty FILE_SIZE on repository.
warning: package libxshmfence>=1.2 has an empty FILE_SIZE on repository.
warning: package wayland>=1.9.90 has an empty FILE_SIZE on repository.
warning: package wayland-protocols>=1.17 has an empty FILE_SIZE on repository.
warning: package jbigkit>=2.0 has an empty FILE_SIZE on repository.
warning: package giflib>=5.2.1 has an empty FILE_SIZE on repository.
warning: package readline>=6.0 has an empty FILE_SIZE on repository.
warning: package libogg>=1.1.2nb1 has an empty FILE_SIZE on repository.
warning: package libgetopt>=1.4.6 has an empty FILE_SIZE on repository.
warning: package libffi>=3.0.11 has an empty FILE_SIZE on repository.
warning: package libxslt>=1.1.28nb2 has an empty FILE_SIZE on repository.
warning: package libXau>=1.0 has an empty FILE_SIZE on repository.
warning: package libXdmcp>=0.99 has an empty FILE_SIZE on repository.
warning: package libatomic_ops>=7.4.0<2000 has an empty FILE_SIZE on repository.
warning: package libgcrypt>=1.6.0 has an empty FILE_SIZE on repository.
warning: package libxml2>=2.8.0nb2 has an empty FILE_SIZE on repository.
warning: package xmlcatmgr>=2.0beta1 has an empty FILE_SIZE on repository.
warning: package libgpg-error>=1.13 has an empty FILE_SIZE on repository.
Segmentation fault (core dumped)

How weird Huh
  Reply
#85
(04-01-2020, 02:10 AM)Idaho Wrote:
(03-31-2020, 03:53 PM)astr0baby Wrote:
(03-31-2020, 12:20 PM)Idaho Wrote: Hi there, I've set up pksrc by following astr0's tutorial (here) but I'm stuck when it comes to setting up his custom repo, I'm getting the following error when I try to run:

Code:
[root@pbpro-manjaro pkgin]# /usr/pkg/bin/bmake install clean clean-depends

I get the following error:

Code:
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Please unset PKG_PATH before doing pkgsrc work!
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkgin

I don't understand why I should unset PKG_PATH, also, I'm unsure as to how to proceed  to do so Confused Any help would be welcome Smile

Can you post whats in our ENV ?

$ env | grep PKG 

I assume you correctly bootstrapped pkgsrc 

Unset the PKG_PATH  like this

unset PKG_PATH   (I think you followed the article even in the examples of how to work normally with binary pkgsrc packages on NetBSD and not
directly with pkgin)
I have fixed the article as it might be a little misleading to people not entirely familiar with pkgsrc (sorry for that)

That's exactly what I did but I did it purposefully because I wanted to have both pkg_add and pkgin to be usable (even though I might not have gotten what's the difference between both).

Also that's weird, after a reboot, the PATH has been reset so there's nothing related to pgksrc in my ENV anymore even though it had been exported:


Code:
[root@pbpro-manjaro bin]# $env | grep PKG
[root@pbpro-manjaro bin]#

Code:
[root@pbpro-manjaro bin]# pkg_add
bash: pkg_add: command not found



Also after setting up pkgin as it is in the tutorial, it fails to get the packages for some reason, returning that everything has an empty file size:


Code:
[root@pbpro-manjaro bin]# ./pkgin install alephone-20120514nb3
calculating dependencies...done.
/usr/lib/libSDL_image-1.2.so.0, needed by SDL_image-1.2.12nb8 is not present in this system.
/usr/lib/libSDL_sound-1.0.so.1, needed by SDL_sound-1.0.3nb6 is not present in this system.
warning: package alephone-20120514nb3 has an empty FILE_SIZE on repository.
warning: package SDL>=1.2.15nb17 has an empty FILE_SIZE on repository.
warning: package SDL_image>=1.2.12nb6 has an empty FILE_SIZE on repository.
warning: package SDL_net>=1.2.8nb1 has an empty FILE_SIZE on repository.
warning: package SDL_sound>=1.0.3nb6 has an empty FILE_SIZE on repository.
warning: package png>=1.6.0nb1 has an empty FILE_SIZE on repository.
warning: package speexdsp>=1.2rc3 has an empty FILE_SIZE on repository.
warning: package zziplib>=0.13.56 has an empty FILE_SIZE on repository.
warning: package speex>=1.2rc2 has an empty FILE_SIZE on repository.
warning: package flac>=1.1.3nb1 has an empty FILE_SIZE on repository.
warning: package libmikmod>=3.2.0 has an empty FILE_SIZE on repository.
warning: package libvorbis>=1.1.0nb1 has an empty FILE_SIZE on repository.
warning: package physfs>=2.0.3nb1 has an empty FILE_SIZE on repository.
warning: package smpeg>=0.4.4nb16 has an empty FILE_SIZE on repository.
warning: package jpeg>=9 has an empty FILE_SIZE on repository.
warning: package libwebp>=0.6.0 has an empty FILE_SIZE on repository.
warning: package tiff>=4.0.3nb5 has an empty FILE_SIZE on repository.
warning: package MesaLib>=7.11.2 has an empty FILE_SIZE on repository.
warning: package glu>=7.11.2 has an empty FILE_SIZE on repository.
warning: package libXext>=0.99.0 has an empty FILE_SIZE on repository.
warning: package libXrandr>=1.1.2 has an empty FILE_SIZE on repository.
warning: package libXt>=1.0.0 has an empty FILE_SIZE on repository.
warning: package libICE>=0.99.1 has an empty FILE_SIZE on repository.
warning: package libSM>=0.99.2 has an empty FILE_SIZE on repository.
warning: package libX11>=1.1 has an empty FILE_SIZE on repository.
warning: package libXrender>=0.9.2 has an empty FILE_SIZE on repository.
warning: package libLLVM>=7.0.1nb2 has an empty FILE_SIZE on repository.
warning: package libXdamage>=1.0.3 has an empty FILE_SIZE on repository.
warning: package libXfixes>=4.0.1 has an empty FILE_SIZE on repository.
warning: package libXxf86vm>=1.1.0 has an empty FILE_SIZE on repository.
warning: package libdrm>=2.4.99 has an empty FILE_SIZE on repository.
warning: package libelf>=0.8.5 has an empty FILE_SIZE on repository.
warning: package libva>=2.3.0 has an empty FILE_SIZE on repository.
warning: package libxcb>=1.6 has an empty FILE_SIZE on repository.
warning: package libxshmfence>=1.2 has an empty FILE_SIZE on repository.
warning: package wayland>=1.9.90 has an empty FILE_SIZE on repository.
warning: package wayland-protocols>=1.17 has an empty FILE_SIZE on repository.
warning: package jbigkit>=2.0 has an empty FILE_SIZE on repository.
warning: package giflib>=5.2.1 has an empty FILE_SIZE on repository.
warning: package readline>=6.0 has an empty FILE_SIZE on repository.
warning: package libogg>=1.1.2nb1 has an empty FILE_SIZE on repository.
warning: package libgetopt>=1.4.6 has an empty FILE_SIZE on repository.
warning: package libffi>=3.0.11 has an empty FILE_SIZE on repository.
warning: package libxslt>=1.1.28nb2 has an empty FILE_SIZE on repository.
warning: package libXau>=1.0 has an empty FILE_SIZE on repository.
warning: package libXdmcp>=0.99 has an empty FILE_SIZE on repository.
warning: package libatomic_ops>=7.4.0<2000 has an empty FILE_SIZE on repository.
warning: package libgcrypt>=1.6.0 has an empty FILE_SIZE on repository.
warning: package libxml2>=2.8.0nb2 has an empty FILE_SIZE on repository.
warning: package xmlcatmgr>=2.0beta1 has an empty FILE_SIZE on repository.
warning: package libgpg-error>=1.13 has an empty FILE_SIZE on repository.
Segmentation fault (core dumped)

How weird Huh

I will check on my pinebook looks like the files were not downloaded via pkgin .. strange I will let you know
But thanks for testing Smile
  Reply
#86
(04-01-2020, 04:13 AM)astr0baby Wrote:
(04-01-2020, 02:10 AM)Idaho Wrote:
(03-31-2020, 03:53 PM)astr0baby Wrote:
(03-31-2020, 12:20 PM)Idaho Wrote: Hi there, I've set up pksrc by following astr0's tutorial (here) but I'm stuck when it comes to setting up his custom repo, I'm getting the following error when I try to run:

Code:
[root@pbpro-manjaro pkgin]# /usr/pkg/bin/bmake install clean clean-depends

I get the following error:

Code:
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Please unset PKG_PATH before doing pkgsrc work!
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkgin

I don't understand why I should unset PKG_PATH, also, I'm unsure as to how to proceed  to do so Confused Any help would be welcome Smile

Can you post whats in our ENV ?

$ env | grep PKG 

I assume you correctly bootstrapped pkgsrc 

Unset the PKG_PATH  like this

unset PKG_PATH   (I think you followed the article even in the examples of how to work normally with binary pkgsrc packages on NetBSD and not
directly with pkgin)
I have fixed the article as it might be a little misleading to people not entirely familiar with pkgsrc (sorry for that)

That's exactly what I did but I did it purposefully because I wanted to have both pkg_add and pkgin to be usable (even though I might not have gotten what's the difference between both).

Also that's weird, after a reboot, the PATH has been reset so there's nothing related to pgksrc in my ENV anymore even though it had been exported:


Code:
[root@pbpro-manjaro bin]# $env | grep PKG
[root@pbpro-manjaro bin]#

Code:
[root@pbpro-manjaro bin]# pkg_add
bash: pkg_add: command not found



Also after setting up pkgin as it is in the tutorial, it fails to get the packages for some reason, returning that everything has an empty file size:


Code:
[root@pbpro-manjaro bin]# ./pkgin install alephone-20120514nb3
calculating dependencies...done.
/usr/lib/libSDL_image-1.2.so.0, needed by SDL_image-1.2.12nb8 is not present in this system.
/usr/lib/libSDL_sound-1.0.so.1, needed by SDL_sound-1.0.3nb6 is not present in this system.
warning: package alephone-20120514nb3 has an empty FILE_SIZE on repository.
warning: package SDL>=1.2.15nb17 has an empty FILE_SIZE on repository.
warning: package SDL_image>=1.2.12nb6 has an empty FILE_SIZE on repository.
warning: package SDL_net>=1.2.8nb1 has an empty FILE_SIZE on repository.
warning: package SDL_sound>=1.0.3nb6 has an empty FILE_SIZE on repository.
warning: package png>=1.6.0nb1 has an empty FILE_SIZE on repository.
warning: package speexdsp>=1.2rc3 has an empty FILE_SIZE on repository.
warning: package zziplib>=0.13.56 has an empty FILE_SIZE on repository.
warning: package speex>=1.2rc2 has an empty FILE_SIZE on repository.
warning: package flac>=1.1.3nb1 has an empty FILE_SIZE on repository.
warning: package libmikmod>=3.2.0 has an empty FILE_SIZE on repository.
warning: package libvorbis>=1.1.0nb1 has an empty FILE_SIZE on repository.
warning: package physfs>=2.0.3nb1 has an empty FILE_SIZE on repository.
warning: package smpeg>=0.4.4nb16 has an empty FILE_SIZE on repository.
warning: package jpeg>=9 has an empty FILE_SIZE on repository.
warning: package libwebp>=0.6.0 has an empty FILE_SIZE on repository.
warning: package tiff>=4.0.3nb5 has an empty FILE_SIZE on repository.
warning: package MesaLib>=7.11.2 has an empty FILE_SIZE on repository.
warning: package glu>=7.11.2 has an empty FILE_SIZE on repository.
warning: package libXext>=0.99.0 has an empty FILE_SIZE on repository.
warning: package libXrandr>=1.1.2 has an empty FILE_SIZE on repository.
warning: package libXt>=1.0.0 has an empty FILE_SIZE on repository.
warning: package libICE>=0.99.1 has an empty FILE_SIZE on repository.
warning: package libSM>=0.99.2 has an empty FILE_SIZE on repository.
warning: package libX11>=1.1 has an empty FILE_SIZE on repository.
warning: package libXrender>=0.9.2 has an empty FILE_SIZE on repository.
warning: package libLLVM>=7.0.1nb2 has an empty FILE_SIZE on repository.
warning: package libXdamage>=1.0.3 has an empty FILE_SIZE on repository.
warning: package libXfixes>=4.0.1 has an empty FILE_SIZE on repository.
warning: package libXxf86vm>=1.1.0 has an empty FILE_SIZE on repository.
warning: package libdrm>=2.4.99 has an empty FILE_SIZE on repository.
warning: package libelf>=0.8.5 has an empty FILE_SIZE on repository.
warning: package libva>=2.3.0 has an empty FILE_SIZE on repository.
warning: package libxcb>=1.6 has an empty FILE_SIZE on repository.
warning: package libxshmfence>=1.2 has an empty FILE_SIZE on repository.
warning: package wayland>=1.9.90 has an empty FILE_SIZE on repository.
warning: package wayland-protocols>=1.17 has an empty FILE_SIZE on repository.
warning: package jbigkit>=2.0 has an empty FILE_SIZE on repository.
warning: package giflib>=5.2.1 has an empty FILE_SIZE on repository.
warning: package readline>=6.0 has an empty FILE_SIZE on repository.
warning: package libogg>=1.1.2nb1 has an empty FILE_SIZE on repository.
warning: package libgetopt>=1.4.6 has an empty FILE_SIZE on repository.
warning: package libffi>=3.0.11 has an empty FILE_SIZE on repository.
warning: package libxslt>=1.1.28nb2 has an empty FILE_SIZE on repository.
warning: package libXau>=1.0 has an empty FILE_SIZE on repository.
warning: package libXdmcp>=0.99 has an empty FILE_SIZE on repository.
warning: package libatomic_ops>=7.4.0<2000 has an empty FILE_SIZE on repository.
warning: package libgcrypt>=1.6.0 has an empty FILE_SIZE on repository.
warning: package libxml2>=2.8.0nb2 has an empty FILE_SIZE on repository.
warning: package xmlcatmgr>=2.0beta1 has an empty FILE_SIZE on repository.
warning: package libgpg-error>=1.13 has an empty FILE_SIZE on repository.
Segmentation fault (core dumped)

How weird Huh

I will check on my pinebook looks like the files were not downloaded via pkgin .. strange I will let you know
But thanks for testing Smile

OK I have fixed the corrupt pkg_info.gz index ..

Should be fine now
[root@pinebookpro packages]# /usr/pkg/bin/pkgin stats
Local package database:
    Installed packages: 540
    Disk space occupied: 5786M

Remote package database(s):
    Number of repositories: 1
    Packages available: 541
    Total size of packages: 0B
[root@pinebookpro packages]# /usr/pkg/bin/pkgin update
processing remote summary (http://45.76.81.249/pkgsrc/aarch64-linux/All)...
pkg_summary.gz                                                     100%  138KB  12.6KB/s   00:11    
[root@pinebookpro packages]# /usr/pkg/bin/pkgin install xmahjongg
calculating dependencies...done.

1 package to install:
  xmahjongg-3.70

0 to refresh, 0 to upgrade, 1 to install
433K to download, 565K to install

proceed ? [Y/n] Y
xmahjongg-3.70.tgz                                                 100%  433KB 432.9KB/s   00:00    
installing xmahjongg-3.70...
pkg_install warnings: 1, errors: 0
pkg_install error log can be found in /var/db/pkgin/pkg_install-err.log
reading local summary...
processing local summary...
marking xmahjongg-3.70 as non auto-removable
[root@pinebookpro packages]#
  Reply
#87
Hey thanks for your answer astr0, I've trying this out and alephone (yeah I like the stuff) won't install with the following error:


Code:
[root@pbpro-manjaro /]# usr/pkg/bin/pkgin install alephone-20120514nb3
calculating dependencies...done.
/usr/lib/libSDL_sound-1.0.so.1, needed by SDL_sound-1.0.3nb6 is not present in this system.

1 package to install:
 alephone-20120514nb3

0 to refresh, 0 to upgrade, 1 to install
214K to download, 6158K to install
the following packages have unmet requirements:   SDL_sound-1.0.3nb6


proceed ? [Y/n] Y
installing alephone-20120514nb3...
pkg_install warnings: 1, errors: 2
pkg_install error log can be found in /var/db/pkgin/pkg_install-err.log
[root@pbpro-manjaro /]# tail /var/db/pkgin/pkg_install-err.log
pkg_add: no pkg found for 'SDL_sound>=1.0.3nb6', sorry.
pkg_add: Can't install dependency SDL_sound>=1.0.3nb6
pkg_add: 1 package addition failed
---Apr 01 19:18:51: removing xeyes-1.1.2...
---Apr 01 19:19:00: installing alephone-20120514nb3...
pkg_add: Warning: package `alephone-20120514nb3' was built for a platform:
pkg_add: Linux/aarch64 5.5.0 (pkg) vs. Linux/aarch64 5.6.0 (this host)
pkg_add: no pkg found for 'SDL_sound>=1.0.3nb6', sorry.
pkg_add: Can't install dependency SDL_sound>=1.0.3nb6
pkg_add: 1 package addition failed


Is there anything wrong on my end or is it on yours?

I tried simpler packages thoug and stuff like xeyes seem to work properly Wink
  Reply
#88
(04-01-2020, 11:23 AM)Idaho Wrote: Hey thanks for your answer astr0, I've trying this out and alephone (yeah I like the stuff) won't install with the following error:


Code:
[root@pbpro-manjaro /]# usr/pkg/bin/pkgin install alephone-20120514nb3
calculating dependencies...done.
/usr/lib/libSDL_sound-1.0.so.1, needed by SDL_sound-1.0.3nb6 is not present in this system.

1 package to install:
 alephone-20120514nb3

0 to refresh, 0 to upgrade, 1 to install
214K to download, 6158K to install
the following packages have unmet requirements:   SDL_sound-1.0.3nb6


proceed ? [Y/n] Y
installing alephone-20120514nb3...
pkg_install warnings: 1, errors: 2
pkg_install error log can be found in /var/db/pkgin/pkg_install-err.log
[root@pbpro-manjaro /]# tail /var/db/pkgin/pkg_install-err.log
pkg_add: no pkg found for 'SDL_sound>=1.0.3nb6', sorry.
pkg_add: Can't install dependency SDL_sound>=1.0.3nb6
pkg_add: 1 package addition failed
---Apr 01 19:18:51: removing xeyes-1.1.2...
---Apr 01 19:19:00: installing alephone-20120514nb3...
pkg_add: Warning: package `alephone-20120514nb3' was built for a platform:
pkg_add: Linux/aarch64 5.5.0 (pkg) vs. Linux/aarch64 5.6.0 (this host)
pkg_add: no pkg found for 'SDL_sound>=1.0.3nb6', sorry.
pkg_add: Can't install dependency SDL_sound>=1.0.3nb6
pkg_add: 1 package addition failed


Is there anything wrong on my end or is it on yours?

I tried simpler packages thoug and stuff like xeyes seem to work properly Wink

SDL_Sound is present @ http://45.76.81.249/pkgsrc/aarch64-linux...0.3nb6.tgz

Im checking the alephone package now and will let you know, meanwhile can you just try pkgin SDL_sound and let me know if there are any  errors ?

Just reinstalled alephone on my Pinebookpro ->


root@pinebookpro user]# /usr/pkg/bin/pkgin install alephone
calculating dependencies...done.

1 package to refresh:
  SDL_image-1.2.12nb8

2 packages to install:
  SDL_sound-1.0.3nb6 alephone-20120514nb3

1 to refresh, 0 to upgrade, 2 to install
2622K to download, 6158K to install

proceed ? [Y/n] Y
SDL_sound-1.0.3nb6.tgz                        100%  214KB 214.3KB/s   00:00    
SDL_image-1.2.12nb8.tgz                       100%   71KB  71.0KB/s   00:00    
alephone-20120514nb3.tgz                      100% 2337KB 467.4KB/s   00:05    
refreshing SDL_image-1.2.12nb8...
pkg_install warnings: 1, errors: 0
pkg_install error log can be found in /var/db/pkgin/pkg_install-err.log
installing SDL_sound-1.0.3nb6...
installing alephone-20120514nb3...
===========================================================================
$NetBSD: MESSAGE,v 1.1 2012/02/12 14:17:10 wiz Exp $

Aleph One, the game engine, is installed. You will need data files in order
to play any games.

See games/marathon-trilogy or any other games/marathon-* package.

===========================================================================
pkg_install warnings: 2, errors: 0
pkg_install error log can be found in /var/db/pkgin/pkg_install-err.log
reading local summary...
processing local summary...
marking alephone-20120514nb3 as non auto-removable
[root@pinebookpro user]# uname -a
Linux pinebookpro 5.6.0-0.42-MANJARO-ARM #1 SMP Sat Mar 14 21:19:14 CET 2020 aarch64 GNU/Linux
[root@pinebookpro user]# date
Wed 01 Apr 2020 08:10:41 PM CEST
[root@pinebookpro user]#
  Reply
#89
This is what I get when I try to install "SDL_sound-1.0.3nb6":


Code:
[idaho@pbpro-manjaro ~]$ sudo pkgin install SDL_sound-1.0.3nb6
calculating dependencies...done.
/usr/lib/libSDL_sound-1.0.so.1, needed by SDL_sound-1.0.3nb6 is not present in this system.

0 to refresh, 0 to upgrade, 0 to install
214K to download, 538K to install
the following packages have unmet requirements:   SDL_sound-1.0.3nb6


proceed ? [Y/n] Y
[idaho@pbpro-manjaro ~]$

Nothing happens, then I just thought there'd be a bug in the script and that it might silently install but nope, alephone still doesn't install :/

Edit: On the bright side of things I installed quakespasm and it works like a charm Smile
  Reply
#90
(04-01-2020, 12:38 PM)Idaho Wrote: This is what I get when I try to install "SDL_sound-1.0.3nb6":


Code:
[idaho@pbpro-manjaro ~]$ sudo pkgin install SDL_sound-1.0.3nb6
calculating dependencies...done.
/usr/lib/libSDL_sound-1.0.so.1, needed by SDL_sound-1.0.3nb6 is not present in this system.

0 to refresh, 0 to upgrade, 0 to install
214K to download, 538K to install
the following packages have unmet requirements:   SDL_sound-1.0.3nb6


proceed ? [Y/n] Y
[idaho@pbpro-manjaro ~]$

Nothing happens, then I just thought there'd be a bug in the script and that it might silently install but nope, alephone still doesn't install :/

Edit: On the bright side of things I installed quakespasm and it works like a charm Smile

Hmm, I will check the SDL_sound package why it insists that /usr/lib/libSDL_sound-1.0..so.1 is present .. all pkgsrc should depend on libraries in /usr/pkg/lib
Thanks Idaho for checking !
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Pinebook pro dead / keyboard issue? / Troubleshooting Mengalef 2 366 12-05-2024, 04:16 PM
Last Post: tllim
  Testing Some More Games on the Pinebook Pro! ImmyChan 5 3,945 09-24-2024, 01:43 AM
Last Post: pigkang
  Converting the Pinebook Pro into a CrowView Note like device 8jef 0 351 08-18-2024, 05:42 PM
Last Post: 8jef
  Pinebook Pro Initial Impressions kunger 443 685,348 04-16-2024, 07:29 PM
Last Post: KC9UDX
  looking to buy one pinebook pro (mainland China) duanduan 3 3,280 03-21-2024, 07:44 PM
Last Post: wangyukunshan
  Cellular module for Pinebook Pro Lotech 1 1,052 03-05-2024, 05:40 AM
Last Post: KC9UDX
  Screen on pinebook stays black but can ssh into machine tuxxpine 0 755 02-23-2024, 04:22 PM
Last Post: tuxxpine
  Sale my ANSI PineBook Pro cuthbertdavies 0 740 02-14-2024, 09:12 PM
Last Post: cuthbertdavies
  Compiling with -j6 on the Pinebook Pro (Overheat) KC9UDX 0 666 02-14-2024, 09:01 AM
Last Post: KC9UDX
  Manjaro versions bad and good gilwood 0 726 02-12-2024, 05:03 PM
Last Post: gilwood

Forum Jump:


Users browsing this thread: 18 Guest(s)