Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native)
#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


Messages In This Thread
RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - by astr0baby - 04-01-2020, 04:13 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook Pro Initial Impressions kunger 443 590,644 04-16-2024, 07:29 PM
Last Post: KC9UDX
  looking to buy one pinebook pro (mainland China) duanduan 3 2,316 03-21-2024, 07:44 PM
Last Post: wangyukunshan
  Cellular module for Pinebook Pro Lotech 1 406 03-05-2024, 05:40 AM
Last Post: KC9UDX
  Screen on pinebook stays black but can ssh into machine tuxxpine 0 308 02-23-2024, 04:22 PM
Last Post: tuxxpine
  Sale my ANSI PineBook Pro cuthbertdavies 0 295 02-14-2024, 09:12 PM
Last Post: cuthbertdavies
  Compiling with -j6 on the Pinebook Pro (Overheat) KC9UDX 0 231 02-14-2024, 09:01 AM
Last Post: KC9UDX
  Manjaro versions bad and good gilwood 0 258 02-12-2024, 05:03 PM
Last Post: gilwood
  Pinebook Pro in EU for Sale - €90 jan_vdk 2 682 02-07-2024, 02:12 AM
Last Post: 23Ro
  Pinebook Pro for sale tomekdev 2 762 02-01-2024, 11:35 AM
Last Post: tomekdev
  Video Editing Is Possible On The PineBook Pro! ImmyChan 10 7,629 12-17-2023, 09:29 PM
Last Post: insideau786

Forum Jump:


Users browsing this thread: 6 Guest(s)