Porteus/Arch aka Sensei (Porteus w/pacman package manager)

Porteus based on Arch with pacman package manager.
User avatar
francois
Contributor
Contributor
Posts: 4905
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#121 by francois » 21 Apr 2014, 03:01

Finally, I realized that the save changes linux folder with:

Code: Select all

changes=EXIT:/32bit_v30_arch/porteus
works for your 32bit edition but not for your 64bit edition:

Code: Select all

changes=EXIT:/64bit_v30_arch/porteus
Voltaire: Le mieux est l'ennemi du bien.

User avatar
francois
Contributor
Contributor
Posts: 4905
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#122 by francois » 26 Apr 2014, 03:06

@stifiling:

Really I enjoy this porteus-arch sensei 3.0 edition. I would say that its more pleasurable than archbang. Very satisfying experience. Pacmand and the archlinux repo are very interesting. :)
Voltaire: Le mieux est l'ennemi du bien.

User avatar
freestyler
Contributor
Contributor
Posts: 382
Joined: 17 Oct 2013, 14:21
Distribution: Porteus KDE4
Location: Traveller
Contact:

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#123 by freestyler » 26 Apr 2014, 12:36

@stifiling: Nice work, I've only just installed it and checked it out. Done well!
https://www.porteus-apps.org

stifiling
Contributor
Contributor
Posts: 93
Joined: 14 Jul 2013, 03:10
Distribution: Porteus w/pacman pm
Location: home

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#124 by stifiling » 28 Apr 2014, 00:26

thanks for the positive words. just wish there were more testers leaving feedback to troubleshoot the remaining issues. the one francois mentioned above about changes=/path not working on 64-bit, and makexzm not building a .xzm module compiled from the AUR, as mentioned by ncmprhnsbl. both are working for me, so this is the point where....multiple testers can help improve the system.

User avatar
freestyler
Contributor
Contributor
Posts: 382
Joined: 17 Oct 2013, 14:21
Distribution: Porteus KDE4
Location: Traveller
Contact:

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#125 by freestyler » 28 Apr 2014, 01:17

I just tested changes on 64. It works fine. Not sure what the problem is there?
https://www.porteus-apps.org

User avatar
ncmprhnsbl
Full of knowledge
Full of knowledge
Posts: 793
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#126 by ncmprhnsbl » 30 Apr 2014, 06:13

did a fresh install , Sensei-v3.0-x86_64.iso
added tuxcommander, lxterminal, leafpad, activatedeactivate with pacmanexpress
tried to activate devx64 from a partition --- failed

Code: Select all

root@sensei:/mnt/sda7/sensei-3/media# activate 004mmedia64.xzm
ntfs-3g: Failed to access volume 'aufs': No such file or directory

ntfs-3g 2014.2.15 external FUSE 29 - Third Generation NTFS Driver
		Configuration type 7, XATTRS are on, POSIX ACLS are on

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2012 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage:    ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options:  ro (read-only mount), windows_names, uid=, gid=,
          umask=, fmask=, dmask=, streams_interface=.
          Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

News, support and information:  http://tuxera.com
004mmedia64.xzm: Can't insert module to union
activate is working with previous iso

manually made module of installed ^apps, added it and 006-devx64 to modules, rebooted
changed yaourtrc '=2'
tried makexzm... arch2xzm seems to missing? what module should this be in?
ok found it, installed makexzm(supplies arch2xzm), then replaced makexzm with your updated version


Code: Select all

root@sensei:~# makexzm mandelbulber
:: Saving packages cache
mv: cannot stat '/var/cache/pacman/pkg/*': No such file or directory
:: temporarily installing mandelbulber

==> Downloading mandelbulber PKGBUILD from AUR...
x PKGBUILD
Comment by Zucca  (2013-10-14 19:08)
There's even OpenCl version of 1.18.

Comment by willll  (2013-10-15 02:12)
I took a quick look to the opencl version, it segfaults when I check "Opencl Enable"

Comment by haagch  (2013-10-15 11:25)
Well, it works for me. I haven't seen an AUR package, so I just created my own one: https://aur.archlinux.org/packages/mandelbulber-opencl/
If you want, I can totally orphan it and let you maintain it.

Comment by tihnessa  (2014-01-14 20:34)
The latest update doesn't compile on my system - fails with the error "patch: **** Can't open patch file /tmp/packerbuild-0/mandelbulber/mandelbulber/src/mandelbulber1.19.patch : No such file or directory"

Comment by willll  (2014-01-15 01:42)
My bad ...

mandelbulber 1.21-2  (Sat Apr 10 04:32:56 EST 2010)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> mandelbulber dependencies:
 - gtk2 (already installed)
 - libjpeg-turbo (already installed)
 - libpng (already installed)
 - make (already installed)
 - gcc (already installed)
 - pkg-config (already installed)
 - patch (already installed)


==> Continue building mandelbulber ? [Y/n]
==> --------------------------------------
==> 
==> Building and installing package
==> WARNING: Building package as root is dangerous.
 Please run yaourt as a non-privileged user.
==> Making package: mandelbulber 1.21-2 (Wed Apr 30 12:23:29 EST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading mandelbulber1.21-1.orig.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
100 1051k  100 1051k    0     0   122k      0  0:00:08  0:00:08 --:--:--  211k
==> Validating source files with md5sums...
    mandelbulber1.21-1.orig.tar.gz ... Passed
==> Extracting sources...
  -> Extracting mandelbulber1.21-1.orig.tar.gz with bsdtar
==> Starting build()...

buildstuff
Finished building target: mandelbulber
 
==> Starting package()...
==> Tidying install...
  -> Purging unwanted files...
  -> Removing libtool files...
  -> Removing static library files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package "mandelbulber"...
  -> Generating .PKGINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Finished making: mandelbulber 1.21-2 (Wed Apr 30 12:24:04 EST 2014)

==> Continue installing mandelbulber ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==> y

loading packages...
resolving dependencies...
looking for inter-conflicts...

Packages (1): mandelbulber-1.21-2

Total Installed Size:   1.54 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [----------------------] 100%
(1/1) checking package integrity                   [----------------------] 100%
(1/1) loading package files                        [----------------------] 100%
(1/1) checking for file conflicts                  [----------------------] 100%
(1/1) checking available disk space                [----------------------] 100%
(1/1) installing mandelbulber                      [----------------------] 100%
Empty cache directory
tried makexzm firefox
worked correctly. resulting xzm in /mnt/home (using copy2ram)

where is filemnt? can't seem to find it.
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

stifiling
Contributor
Contributor
Posts: 93
Joined: 14 Jul 2013, 03:10
Distribution: Porteus w/pacman pm
Location: home

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#127 by stifiling » 01 May 2014, 01:14

I thought i had fixed activatedeactivate in the current iso, but it still needs /bin/mount and /bin/umount...from the original porteus.

Code: Select all

makexzm firefox
from the arch repo worked..but

Code: Select all

makexzm mandelbulber
from the AUR didn't?

Image

this is the full terminal output:

Code: Select all

root@KMCs_Desktop:~# makexzm mandelbulber
:: Saving packages cache
error: target not found: mandelbulber
trying AUR

==> Downloading mandelbulber PKGBUILD from AUR...
x PKGBUILD
Comment by Zucca  (2013-10-14 19:08)
There's even OpenCl version of 1.18.

Comment by willll  (2013-10-15 02:12)
I took a quick look to the opencl version, it segfaults when I check "Opencl Enable"

Comment by haagch  (2013-10-15 11:25)
Well, it works for me. I haven't seen an AUR package, so I just created my own one: https://aur.archlinux.org/packages/mandelbulber-opencl/
If you want, I can totally orphan it and let you maintain it.

Comment by tihnessa  (2014-01-14 20:34)
The latest update doesn't compile on my system - fails with the error "patch: **** Can't open patch file /tmp/packerbuild-0/mandelbulber/mandelbulber/src/mandelbulber1.19.patch : No such file or directory"

Comment by willll  (2014-01-15 01:42)
My bad ...

mandelbulber 1.21-2  (Fri Apr  9 18:32:56 UTC 2010)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> mandelbulber dependencies:
 - gtk2 (already installed)
 - libjpeg-turbo (already installed)
 - libpng (already installed)
 - make (already installed)
 - gcc (already installed)
 - pkg-config (already installed)
 - patch (already installed)


==> Continue building mandelbulber ? [Y/n]
==> --------------------------------------
==> 
==> Building and installing package
==> WARNING: Building package as root is dangerous.
 Please run yaourt as a non-privileged user.
==> Making package: mandelbulber 1.21-2 (Wed Apr 30 21:45:48 UTC 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading mandelbulber1.21-1.orig.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1051k  100 1051k    0     0   213k      0  0:00:04  0:00:04 --:--:--  243k
==> Validating source files with md5sums...
    mandelbulber1.21-1.orig.tar.gz ... Passed
==> Extracting sources...
  -> Extracting mandelbulber1.21-1.orig.tar.gz with bsdtar
==> Starting build()...
rm -rf  ./src/Render3D.o ./src/algebra.o ./src/callbacks.o ./src/cimage.o ./src/common_math.o ./src/database.o ./src/files.o ./src/fractal.o ./src/image.o ./src/interface.o ./src/morph.o ./src/primitives.o ./src/settings.o ./src/shaders.o ./src/texture.o ./src/timeline.o ./src/undo.o ./src/cl_support.o ./src/netrender.o ./src/Render3D.d ./src/algebra.d ./src/callbacks.d ./src/cimage.d ./src/common_math.d ./src/database.d ./src/files.d ./src/fractal.d ./src/image.d ./src/interface.d ./src/morph.d ./src/primitives.d ./src/settings.d ./src/shaders.d ./src/texture.d ./src/timeline.d ./src/undo.d ./src/cl_support.d ./src/netrender.d   mandelbulber
 
Building file: ../src/Render3D.cpp
Invoking: GCC C++ Compiler
g++ -O3 -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"src/Render3D.d" -MT"src/Render3D.d" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -o"src/Render3D.o" "../src/Render3D.cpp"
g++ -o"mandelbulber" -L/usr/lib/x86_64-linux-gnu/ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro  ./src/Render3D.o ./src/algebra.o ./src/callbacks.o ./src/cimage.o ./src/common_math.o ./src/database.o ./src/files.o ./src/fractal.o ./src/image.o ./src/interface.o ./src/morph.o ./src/primitives.o ./src/settings.o ./src/shaders.o ./src/texture.o ./src/timeline.o ./src/undo.o ./src/cl_support.o ./src/netrender.o  -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lgthread-2.0 -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lpthread -lrt -lpng -ljpeg
Finished building target: mandelbulber
 
==> Starting package()...
==> Tidying install...
  -> Purging unwanted files...
  -> Removing libtool files...
  -> Removing static library files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package "mandelbulber"...
  -> Generating .PKGINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Finished making: mandelbulber 1.21-2 (Wed Apr 30 21:46:17 UTC 2014)
==> Exporting mandelbulber to /var/cache/pacman/pkg/ directory
'/dev/tmp/yaourt-tmp-root/PKGDEST.Mw8/mandelbulber-1.21-2-x86_64.pkg.tar.xz' -> '/var/cache/pacman/pkg/mandelbulber-1.21-2-x86_64.pkg.tar.xz'

==> Continue installing mandelbulber ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==> Y

loading packages...
resolving dependencies...
looking for inter-conflicts...

Packages (1): mandelbulber-1.21-2

Total Installed Size:   1.54 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                     [----------------------] 100%
(1/1) checking package integrity                   [----------------------] 100%
(1/1) loading package files                        [----------------------] 100%
(1/1) checking for file conflicts                  [----------------------] 100%
(1/1) checking available disk space                [----------------------] 100%
(1/1) installing mandelbulber                      [----------------------] 100%
:: Moving packages to /mnt/home/mandelbulber
:: Running script arch2xzm mandelbulber.xzm
Extracting:
mandelbulber-1.21-2-x86_64.pkg.tar.xz

Creating mandelbulber.xzm
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on mandelbulber.xzm, block size 524288.
[===============================================================/] 110/110 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 524288
	compressed data, compressed metadata, compressed fragments, compressed xattrs
	duplicates are removed
Filesystem size 965.00 Kbytes (0.94 Mbytes)
	60.77% of uncompressed filesystem size (1587.87 Kbytes)
Inode table size 942 bytes (0.92 Kbytes)
	23.49% of uncompressed inode table size (4010 bytes)
Directory table size 1574 bytes (1.54 Kbytes)
	39.53% of uncompressed directory table size (3982 bytes)
Number of duplicate files found 1
Number of inodes 125
Number of files 110
Number of fragments 3
Number of symbolic links  0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 15
Number of ids (unique uids + gids) 1
Number of uids 1
	root (0)
Number of gids 1
	root (0)
Installed mandelbulber to make mandelbulber.xzm module. Would you like to uninstall? [Y/n]Ychecking dependencies...

Packages (1): mandelbulber-1.21-2

Total Removed Size:   1.54 MiB

:: Do you want to remove these packages? [Y/n] 
(1/1) removing mandelbulber
i got the same "Empty directory cache" that you got...when I didn't change line #34 in /etc/yaourtrc to EXPORT=2

try this: makexzm.tar.gz

this one should try pacman first, and if pacman doesn't have that pkg...next will try to see if it's in the AUR, and compile and make the .xzm from there...


i see filemnt wasn't in the 64-bit sensei repo, it's there now. so if you do:

Code: Select all

pacman -Sy
pacman -S filemnt
it should install.

User avatar
ncmprhnsbl
Full of knowledge
Full of knowledge
Posts: 793
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#128 by ncmprhnsbl » 01 May 2014, 13:41

was thinking i might have got isos mixed up ... redownloaded to make sure..
so yeah , mount umount needs changing,
still not getting AUR module made with makexzm..
not doing the

Code: Select all

==> Exporting mandelbulber to /var/cache/pacman/pkg/ directory
'/dev/tmp/yaourt-tmp-root/PKGDEST.Mw8/mandelbulber-1.21-2-x86_64.pkg.tar.xz' -> '/var/cache/pacman/pkg/mandelbulber-1.21-2-x86_64.pkg.tar.xz'
or this

Code: Select all

:: Moving packages to /mnt/home/mandelbulber
:: Running script arch2xzm mandelbulber.xzm
Extracting:
mandelbulber-1.21-2-x86_64.pkg.tar.xz

Creating mandelbulber.xzm
fresh install
load devx64
change mount/umount
edit yaourtrc line34 EXPORT=2
add makexzm/arch2xzm

no savechanges, copy2ram

i suspect your makexzm script is good, just something missing in my set up..what am i missing?
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

stifiling
Contributor
Contributor
Posts: 93
Joined: 14 Jul 2013, 03:10
Distribution: Porteus w/pacman pm
Location: home

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#129 by stifiling » 01 May 2014, 13:56

does the directory /mnt/home exist and isn't a broken symlink?

are you still getting "Empty cache directory"?

probably a useless question...but do u have a /tmp directory?

try with just yaourt:

Code: Select all

yaourt -S mandelbulber
and see if it installs and you also see smthn similar to this:

Code: Select all

==> Exporting mandelbulber to /var/cache/pacman/pkg/ directory
'/tmp/yaourt-tmp-root/PKGDEST.Mw8/mandelbulber-1.21-2-x86_64.pkg.tar.xz' -> '/var/cache/pacman/pkg/mandelbulber-1.21-2-x86_64.pkg.tar.xz'

User avatar
ncmprhnsbl
Full of knowledge
Full of knowledge
Posts: 793
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#130 by ncmprhnsbl » 02 May 2014, 01:59

stifiling wrote:does the directory /mnt/home exist and isn't a broken symlink?
does not exist at startup, is created when makexzm successfully makes a .xzm from official repos.
didnt seem to be made with unsuccesfull AUR attempt(not sure-didnt refresh filemanager)..and no effect after it is created.(/mnt/home)
stifiling wrote:are you still getting "Empty cache directory"?
at the end, yes same output as above
stifiling wrote: probably a useless question...but do u have a /tmp directory?
yes
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 4905
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#131 by francois » 02 May 2014, 02:38

freestyler wrote:I just tested changes on 64. It works fine. Not sure what the problem is there?
Hi freestyler. Thanks for testing.

What bootloader are you using? Are you on usb or hdd? What are your menu.lst instructions (or equivalent on other bootloader system)? Are you using save.dat or simple linux folder?
Voltaire: Le mieux est l'ennemi du bien.

User avatar
freestyler
Contributor
Contributor
Posts: 382
Joined: 17 Oct 2013, 14:21
Distribution: Porteus KDE4
Location: Traveller
Contact:

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#132 by freestyler » 02 May 2014, 02:59

Hey francios.
Im booting off HDD with the standard boot loader that comes with Porteus and with standard changes folder

Code: Select all

LABEL sensei
MENU LABEL Sensei
KERNEL vmlinuz
APPEND initrd=initrd.xz sgnfile=porteus-sensei.sgn changes=/sensei
TEXT HELP
    Run Porteus the best way we can.
    Try to autoconfigure graphics
    card and use the maximum
    allowed resolution
ENDTEXT
My porteus install and bootloader are on sda1 and so is my sensei changes folder. My sensei system is on sda4, I changed the name of the .sgn file so it doesn't conflict with with my porteus 64 install.
https://www.porteus-apps.org

stifiling
Contributor
Contributor
Posts: 93
Joined: 14 Jul 2013, 03:10
Distribution: Porteus w/pacman pm
Location: home

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#133 by stifiling » 02 May 2014, 03:11

thanks for your input on that freestyler. if you don't mind giving us a hand though, when you have a pocket of free time, and want to test around a lil bit...could you test the makexzm script out....and see if you can successfully make a .xzm module compiled from the AUR.

francois,

yes...jus try the changes without :EXIT...and maybe also a more simple path like freestyler is using '/sensei or /porteus' and let's see what happens. of course, first though make sure you create the folder '/sensei or /porteus' at the root of your boot partition...

User avatar
freestyler
Contributor
Contributor
Posts: 382
Joined: 17 Oct 2013, 14:21
Distribution: Porteus KDE4
Location: Traveller
Contact:

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#134 by freestyler » 02 May 2014, 03:47

@stifiling: Sure thing
https://www.porteus-apps.org

User avatar
freestyler
Contributor
Contributor
Posts: 382
Joined: 17 Oct 2013, 14:21
Distribution: Porteus KDE4
Location: Traveller
Contact:

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#135 by freestyler » 02 May 2014, 04:17

@stifiling: Just tested with pcmanfm and worked perfect

Code: Select all

makexzm pcmanfm
I put it in /modules folder and rebooted just to be sure and its working.
Just tried mandelbulber with no luck, I dont think it is checking the AUR repo
https://www.porteus-apps.org

Post Reply