Hi Stephan,
yes, indeed I haven't run gmake setup in the top-level oi-userland
directory,
what I have done now:
klausz@sunfire % gmake setup
setup components
make[1]: Entering directory '/ws/klausz/oi-userland/components'
/bin/mkdir -p /ws/klausz/oi-userland/sparc/logs
/usr/bin/pkgrepo create file:/ws/klausz/oi-userland/sparc/repo
/usr/bin/pkgrepo add-publisher -s file:/ws/klausz/oi-userland/sparc/repo
userland
/usr/bin/pkgrepo rebuild -s file:/ws/klausz/oi-userland/sparc/repo
Initiating repository rebuild.
building tools...
After that I've built the latest gawk and tried:
gmake sample-manifest <- okay
gmake pre-publish <------------------------ STILL the SAME ERROR:
ImportError: No module named 'pkg'
My problem is that SPARC does not have a:
/usr/lib/python3.5/vendor-packages directory:
klausz@sunfire % cd /usr/lib/python2.7/vendor-packages/ < - is there :-)
klausz@sunfire % cd /usr/lib/python3.5/vendor-packages
-bash: cd: /usr/lib/python3.5/vendor-packages: No such file or directory
that's where I think the "pkg module" lives - right?
how do I build/get this directory - it's not worth symlinking the
python2.7 directory since that is 32bit and the python3.5 installation
is 64bit per default - what to do to migrate userland for SPARC
from python2.7 to python3.5 ?
All the SPARC packages (100) which I've already built are done via
a home-gown script which do all the steps by hand rather than
to use "gmake publish" - I allready had a valid repo, which is the
the step done by "gmake setup".
Much Regards
Klaus
On 04.03.21 00:13, Stephan Althaus wrote:
On 03/03/21 08:48 PM, Till Wegmueller wrote:
Hi
IPS itself https://github.com/OpenIndiana/pkg5/ or the path in the
components directory
-Till
On 03.03.21 16:38, Klaus Ziegler wrote:
Hi,
I've been able to compile python3.5 on SPARC and wanted to decom
my workaround for building packages in oi-userland, unfortunately
gmake pre-publish still tells me:
Traceback (most recent call last):
File "/ws/klausz/oi-userland/tools/userland-mangler", line 38, in
<module>
import pkg.fmri
ImportError: No module named 'pkg'
can anybody tell me where and what module I have to build to be able
to use
python3.5 to build packages, I hope it's not in the illumos-gate :-(
Much Regards
Klaus
_______________________________________________
oi-dev mailing list
[email protected]
https://openindiana.org/mailman/listinfo/oi-dev
_______________________________________________
oi-dev mailing list
[email protected]
https://openindiana.org/mailman/listinfo/oi-dev
Hello Klaus!
Is there a chance you skipped this:
|cd $HOME/oi-userland|
|gmake setup
from http://docs.openindiana.org/dev/userland/
Greetings
Stephan
|
_______________________________________________
oi-dev mailing list
[email protected]
https://openindiana.org/mailman/listinfo/oi-dev
--
Klaus Ziegler Tel: (++49 6105) 968846
Zeppelinstrasse 3 Mobil: (++49 172) 3064445
D-64546 Walldorf-Moerfelden mailto:[email protected]
\\\
(.. )
=o00=(_)=00o=============================================================
_______________________________________________
oi-dev mailing list
[email protected]
https://openindiana.org/mailman/listinfo/oi-dev