Re: [OpenIndiana-discuss] Python 3.7 and 3.9

2021-01-16 Thread Aurélien Larcher
>
> 1) Migrate away from 3.5 to 3.7 as the default Python implementation.
>

First steps of the week, the following modules were updated and support for
Python 3.7 and 3.9 was added:

argcomplete
atomicwrites
attrs
chardet
coverage
funcsigs
hypothesis
idna
importlib-metadata
incremental
ipaddress
mock
more-itertools
packaging
pathlib2
pluggy
ptyprocess
py
pycodestyle
pytest
rapidjson
requests
scandir
setuptools
setuptools_scm
six
sortedcontainers
urllib3
zipp
zope.interface
Updated to use Python 3.9:

ninja
meson
Deprecation:

pytest-27

-- 
---
Praise the Caffeine embeddings
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] shouldn't uname report 64 bit arch?

2021-01-16 Thread Pierfrancesco Caci
Thanks, with your previous help I did
export CFLAGS=-m64
export LDFLAGS=-m64
and rerun ./autogen.sh after doing a make distclean. I got the 64 bit
driver now, got X to load it, but I hit a segfault.
Enough for today, let's see if I can figure out what to do with that
tomorrow

Pf

On Sat, Jan 16, 2021 at 9:53 PM Aurélien Larcher 
wrote:

> On Sat, Jan 16, 2021 at 9:49 PM Pierfrancesco Caci 
> wrote:
>
> > I'm not yet arrived at the point where I'm confident that I can modify
> the
> > components tree. I'm trying to compile from the git source of this
> module.
> > Let me see if I can pass those CFLAGS and LDFLAGS to ./configure somehow.
> >
>
> To help you, that were the flags are defined:
>
>
> https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/make-rules/shared-macros.mk#L1193
>
> and where they are passed to configure:
>
>
> https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/make-rules/configure.mk#L87
>
>
>
> > brb
> >
> > On Sat, Jan 16, 2021 at 9:45 PM Aurélien Larcher <
> > aurelien.larc...@gmail.com>
> > wrote:
> >
> > > On Sat, Jan 16, 2021 at 9:12 PM Pierfrancesco Caci 
> > > wrote:
> > >
> > > > Hello,
> > > > I'm trying to compile xf86-video-qxl. It comes out as 32 bits,
> instead
> > of
> > > > 64.
> > > >
> > > > $ file /usr/local/lib/xorg/modules/drivers/qxl_drv.so
> > > > /usr/local/lib/xorg/modules/drivers/qxl_drv.so: ELF 32-bit LSB
> dynamic
> > > lib
> > > > 80386 Version 1, dynamically linked, not stripped
> > > >
> > >
> > > Also all GCC <= 8 default to generating 32-bit binaries for historical
> > > reasons (32-bit was the lowest common denominator to the i86pc arch).
> > >
> > > GCC 9 and 10 default to 64-bit as i386 is not relevant anymore.
> > >
> > > Build recipes for X11 components are at:
> > >
> > >
> >
> https://github.com/OpenIndiana/oi-userland/tree/oi/hipster/components/x11/
> > >
> > > The build system sets required flags to generate 64-bit (e.g.
> > CFLAGS=-m64,
> > > LDFLAGS=-m64).
> > >
> > > For simplicity you can add a new component in this tree based on
> existing
> > > recipes.
> > >
> > >
> > >
> > >
> > > > for comparison:
> > > > $ file /usr/lib/xorg/modules/drivers/amd64/vesa_drv.so
> > > > /usr/lib/xorg/modules/drivers/amd64/vesa_drv.so:ELF 64-bit
> LSB
> > > > dynamic lib AMD64 Version 1, dynamically linked, not stripped, no
> > > debugging
> > > > information available
> > > >
> > > > I checked configure.log and it clearly gets the 32 bit info here:
> > > >
> > > >   $ ./configure --disable-selective-werror
> > > >
> > > > ## - ##
> > > > ## Platform. ##
> > > > ## - ##
> > > >
> > > > hostname = openindiana
> > > > uname -m = i86pc
> > > > uname -r = 5.11
> > > > uname -s = SunOS
> > > > uname -v = illumos-dea3b85466
> > > >
> > > > /usr/bin/uname -p = i386
> > > > /bin/uname -X = System = SunOS
> > > > Node = openindiana
> > > > Release = 5.11
> > > > KernelID = illumos-dea3b85466
> > > > Machine = i86pc
> > > > BusType = 
> > > > Serial = 
> > > > Users = 
> > > > OEM# = 0
> > > > Origin# = 1
> > > > NumCPU = 6
> > > >
> > > > /bin/arch  = i86pc
> > > > /usr/bin/arch -k   = i86pc
> > > > /usr/convex/getsysinfo = unknown
> > > > /usr/bin/hostinfo  = unknown
> > > > /bin/machine   = unknown
> > > > /usr/bin/oslevel   = unknown
> > > > /bin/universe  = unknown
> > > > [etc]
> > > >
> > > > I checked also the OmniOS VM and that also reports i86pc.
> > > > So, am I misunderstanding something, or did I just find a bug in
> uname?
> > > >
> > > > Pf
> > > > --
> > > >  Pierfrancesco Caci, ik5pvx
> > > > ___
> > > > openindiana-discuss mailing list
> > > > openindiana-discuss@openindiana.org
> > > > https://openindiana.org/mailman/listinfo/openindiana-discuss
> > > >
> > >
> > >
> > > --
> > > ---
> > > Praise the Caffeine embeddings
> > > ___
> > > openindiana-discuss mailing list
> > > openindiana-discuss@openindiana.org
> > > https://openindiana.org/mailman/listinfo/openindiana-discuss
> > >
> >
> >
> > --
> >  Pierfrancesco Caci, ik5pvx
> > ___
> > openindiana-discuss mailing list
> > openindiana-discuss@openindiana.org
> > https://openindiana.org/mailman/listinfo/openindiana-discuss
> >
>
>
> --
> ---
> Praise the Caffeine embeddings
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>


-- 
 Pierfrancesco Caci, ik5pvx
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] shouldn't uname report 64 bit arch?

2021-01-16 Thread Aurélien Larcher
On Sat, Jan 16, 2021 at 9:49 PM Pierfrancesco Caci  wrote:

> I'm not yet arrived at the point where I'm confident that I can modify the
> components tree. I'm trying to compile from the git source of this module.
> Let me see if I can pass those CFLAGS and LDFLAGS to ./configure somehow.
>

To help you, that were the flags are defined:

https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/make-rules/shared-macros.mk#L1193

and where they are passed to configure:

https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/make-rules/configure.mk#L87



> brb
>
> On Sat, Jan 16, 2021 at 9:45 PM Aurélien Larcher <
> aurelien.larc...@gmail.com>
> wrote:
>
> > On Sat, Jan 16, 2021 at 9:12 PM Pierfrancesco Caci 
> > wrote:
> >
> > > Hello,
> > > I'm trying to compile xf86-video-qxl. It comes out as 32 bits, instead
> of
> > > 64.
> > >
> > > $ file /usr/local/lib/xorg/modules/drivers/qxl_drv.so
> > > /usr/local/lib/xorg/modules/drivers/qxl_drv.so: ELF 32-bit LSB dynamic
> > lib
> > > 80386 Version 1, dynamically linked, not stripped
> > >
> >
> > Also all GCC <= 8 default to generating 32-bit binaries for historical
> > reasons (32-bit was the lowest common denominator to the i86pc arch).
> >
> > GCC 9 and 10 default to 64-bit as i386 is not relevant anymore.
> >
> > Build recipes for X11 components are at:
> >
> >
> https://github.com/OpenIndiana/oi-userland/tree/oi/hipster/components/x11/
> >
> > The build system sets required flags to generate 64-bit (e.g.
> CFLAGS=-m64,
> > LDFLAGS=-m64).
> >
> > For simplicity you can add a new component in this tree based on existing
> > recipes.
> >
> >
> >
> >
> > > for comparison:
> > > $ file /usr/lib/xorg/modules/drivers/amd64/vesa_drv.so
> > > /usr/lib/xorg/modules/drivers/amd64/vesa_drv.so:ELF 64-bit LSB
> > > dynamic lib AMD64 Version 1, dynamically linked, not stripped, no
> > debugging
> > > information available
> > >
> > > I checked configure.log and it clearly gets the 32 bit info here:
> > >
> > >   $ ./configure --disable-selective-werror
> > >
> > > ## - ##
> > > ## Platform. ##
> > > ## - ##
> > >
> > > hostname = openindiana
> > > uname -m = i86pc
> > > uname -r = 5.11
> > > uname -s = SunOS
> > > uname -v = illumos-dea3b85466
> > >
> > > /usr/bin/uname -p = i386
> > > /bin/uname -X = System = SunOS
> > > Node = openindiana
> > > Release = 5.11
> > > KernelID = illumos-dea3b85466
> > > Machine = i86pc
> > > BusType = 
> > > Serial = 
> > > Users = 
> > > OEM# = 0
> > > Origin# = 1
> > > NumCPU = 6
> > >
> > > /bin/arch  = i86pc
> > > /usr/bin/arch -k   = i86pc
> > > /usr/convex/getsysinfo = unknown
> > > /usr/bin/hostinfo  = unknown
> > > /bin/machine   = unknown
> > > /usr/bin/oslevel   = unknown
> > > /bin/universe  = unknown
> > > [etc]
> > >
> > > I checked also the OmniOS VM and that also reports i86pc.
> > > So, am I misunderstanding something, or did I just find a bug in uname?
> > >
> > > Pf
> > > --
> > >  Pierfrancesco Caci, ik5pvx
> > > ___
> > > openindiana-discuss mailing list
> > > openindiana-discuss@openindiana.org
> > > https://openindiana.org/mailman/listinfo/openindiana-discuss
> > >
> >
> >
> > --
> > ---
> > Praise the Caffeine embeddings
> > ___
> > openindiana-discuss mailing list
> > openindiana-discuss@openindiana.org
> > https://openindiana.org/mailman/listinfo/openindiana-discuss
> >
>
>
> --
>  Pierfrancesco Caci, ik5pvx
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>


-- 
---
Praise the Caffeine embeddings
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] shouldn't uname report 64 bit arch?

2021-01-16 Thread Aurélien Larcher
On Sat, Jan 16, 2021 at 9:46 PM Pierfrancesco Caci  wrote:

> understood. How do I tell ./configure to compile for 64 bit then? It is
> basically using the wrong test to decide the architecture, but I don't know
> how to change it.
>

Passing -m64 is enough.



> I can see that config.guess has this portion:
>
>
>i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
> set_cc_for_build
> SUN_ARCH=i386
> # If there is a compiler, see if it is configured for 64-bit
> objects.
> # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
> # This test works for both compilers.
> if test "$CC_FOR_BUILD" != no_compiler_found; then
> if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') |
> \
> (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
> grep IS_64BIT_ARCH >/dev/null
> then
> SUN_ARCH=x86_64
> fi
> fi
>
> not sure if it is relevant though.
>
> On Sat, Jan 16, 2021 at 9:36 PM Aurélien Larcher <
> aurelien.larc...@gmail.com>
> wrote:
>
> > On Sat, Jan 16, 2021 at 9:12 PM Pierfrancesco Caci 
> > wrote:
> >
> > > Hello,
> > > I'm trying to compile xf86-video-qxl. It comes out as 32 bits, instead
> of
> > > 64.
> > >
> > > $ file /usr/local/lib/xorg/modules/drivers/qxl_drv.so
> > > /usr/local/lib/xorg/modules/drivers/qxl_drv.so: ELF 32-bit LSB dynamic
> > lib
> > > 80386 Version 1, dynamically linked, not stripped
> > >
> > > for comparison:
> > > $ file /usr/lib/xorg/modules/drivers/amd64/vesa_drv.so
> > > /usr/lib/xorg/modules/drivers/amd64/vesa_drv.so:ELF 64-bit LSB
> > > dynamic lib AMD64 Version 1, dynamically linked, not stripped, no
> > debugging
> > > information available
> > >
> > > I checked configure.log and it clearly gets the 32 bit info here:
> > >
> > >   $ ./configure --disable-selective-werror
> > >
> > > ## - ##
> > > ## Platform. ##
> > > ## - ##
> > >
> > > hostname = openindiana
> > > uname -m = i86pc
> > > uname -r = 5.11
> > > uname -s = SunOS
> > > uname -v = illumos-dea3b85466
> > >
> > > /usr/bin/uname -p = i386
> > > /bin/uname -X = System = SunOS
> > > Node = openindiana
> > > Release = 5.11
> > > KernelID = illumos-dea3b85466
> > > Machine = i86pc
> > > BusType = 
> > > Serial = 
> > > Users = 
> > > OEM# = 0
> > > Origin# = 1
> > > NumCPU = 6
> > >
> > > /bin/arch  = i86pc
> > > /usr/bin/arch -k   = i86pc
> > > /usr/convex/getsysinfo = unknown
> > > /usr/bin/hostinfo  = unknown
> > > /bin/machine   = unknown
> > > /usr/bin/oslevel   = unknown
> > > /bin/universe  = unknown
> > > [etc]
> > >
> > > I checked also the OmniOS VM and that also reports i86pc.
> > > So, am I misunderstanding something, or did I just find a bug in uname?
> > >
> >
> > On Solaris/illumos i86pc denotes the architecture encompassing x86 and
> > x86_64, here called i386 and amd64 respectively.
> >
> > The command 'isainfo' returns the supported Instruction Set Architectures
> > (ISA) for the machine while 'isalist' returns all the extensions.
> >
> > narval> isainfo
> > amd64 i386
> > narval> isalist
> > amd64 pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
> >
> >
> > > Pf
> > > --
> > >  Pierfrancesco Caci, ik5pvx
> > > ___
> > > openindiana-discuss mailing list
> > > openindiana-discuss@openindiana.org
> > > https://openindiana.org/mailman/listinfo/openindiana-discuss
> > >
> >
> >
> > --
> > ---
> > Praise the Caffeine embeddings
> > ___
> > openindiana-discuss mailing list
> > openindiana-discuss@openindiana.org
> > https://openindiana.org/mailman/listinfo/openindiana-discuss
> >
>
>
> --
>  Pierfrancesco Caci, ik5pvx
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>


-- 
---
Praise the Caffeine embeddings
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] shouldn't uname report 64 bit arch?

2021-01-16 Thread Pierfrancesco Caci
I'm not yet arrived at the point where I'm confident that I can modify the
components tree. I'm trying to compile from the git source of this module.
Let me see if I can pass those CFLAGS and LDFLAGS to ./configure somehow.
brb

On Sat, Jan 16, 2021 at 9:45 PM Aurélien Larcher 
wrote:

> On Sat, Jan 16, 2021 at 9:12 PM Pierfrancesco Caci 
> wrote:
>
> > Hello,
> > I'm trying to compile xf86-video-qxl. It comes out as 32 bits, instead of
> > 64.
> >
> > $ file /usr/local/lib/xorg/modules/drivers/qxl_drv.so
> > /usr/local/lib/xorg/modules/drivers/qxl_drv.so: ELF 32-bit LSB dynamic
> lib
> > 80386 Version 1, dynamically linked, not stripped
> >
>
> Also all GCC <= 8 default to generating 32-bit binaries for historical
> reasons (32-bit was the lowest common denominator to the i86pc arch).
>
> GCC 9 and 10 default to 64-bit as i386 is not relevant anymore.
>
> Build recipes for X11 components are at:
>
> https://github.com/OpenIndiana/oi-userland/tree/oi/hipster/components/x11/
>
> The build system sets required flags to generate 64-bit (e.g. CFLAGS=-m64,
> LDFLAGS=-m64).
>
> For simplicity you can add a new component in this tree based on existing
> recipes.
>
>
>
>
> > for comparison:
> > $ file /usr/lib/xorg/modules/drivers/amd64/vesa_drv.so
> > /usr/lib/xorg/modules/drivers/amd64/vesa_drv.so:ELF 64-bit LSB
> > dynamic lib AMD64 Version 1, dynamically linked, not stripped, no
> debugging
> > information available
> >
> > I checked configure.log and it clearly gets the 32 bit info here:
> >
> >   $ ./configure --disable-selective-werror
> >
> > ## - ##
> > ## Platform. ##
> > ## - ##
> >
> > hostname = openindiana
> > uname -m = i86pc
> > uname -r = 5.11
> > uname -s = SunOS
> > uname -v = illumos-dea3b85466
> >
> > /usr/bin/uname -p = i386
> > /bin/uname -X = System = SunOS
> > Node = openindiana
> > Release = 5.11
> > KernelID = illumos-dea3b85466
> > Machine = i86pc
> > BusType = 
> > Serial = 
> > Users = 
> > OEM# = 0
> > Origin# = 1
> > NumCPU = 6
> >
> > /bin/arch  = i86pc
> > /usr/bin/arch -k   = i86pc
> > /usr/convex/getsysinfo = unknown
> > /usr/bin/hostinfo  = unknown
> > /bin/machine   = unknown
> > /usr/bin/oslevel   = unknown
> > /bin/universe  = unknown
> > [etc]
> >
> > I checked also the OmniOS VM and that also reports i86pc.
> > So, am I misunderstanding something, or did I just find a bug in uname?
> >
> > Pf
> > --
> >  Pierfrancesco Caci, ik5pvx
> > ___
> > openindiana-discuss mailing list
> > openindiana-discuss@openindiana.org
> > https://openindiana.org/mailman/listinfo/openindiana-discuss
> >
>
>
> --
> ---
> Praise the Caffeine embeddings
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>


-- 
 Pierfrancesco Caci, ik5pvx
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] shouldn't uname report 64 bit arch?

2021-01-16 Thread Pierfrancesco Caci
understood. How do I tell ./configure to compile for 64 bit then? It is
basically using the wrong test to decide the architecture, but I don't know
how to change it.
I can see that config.guess has this portion:


   i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
set_cc_for_build
SUN_ARCH=i386
# If there is a compiler, see if it is configured for 64-bit
objects.
# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
# This test works for both compilers.
if test "$CC_FOR_BUILD" != no_compiler_found; then
if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') |
\
(CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
grep IS_64BIT_ARCH >/dev/null
then
SUN_ARCH=x86_64
fi
fi

not sure if it is relevant though.

On Sat, Jan 16, 2021 at 9:36 PM Aurélien Larcher 
wrote:

> On Sat, Jan 16, 2021 at 9:12 PM Pierfrancesco Caci 
> wrote:
>
> > Hello,
> > I'm trying to compile xf86-video-qxl. It comes out as 32 bits, instead of
> > 64.
> >
> > $ file /usr/local/lib/xorg/modules/drivers/qxl_drv.so
> > /usr/local/lib/xorg/modules/drivers/qxl_drv.so: ELF 32-bit LSB dynamic
> lib
> > 80386 Version 1, dynamically linked, not stripped
> >
> > for comparison:
> > $ file /usr/lib/xorg/modules/drivers/amd64/vesa_drv.so
> > /usr/lib/xorg/modules/drivers/amd64/vesa_drv.so:ELF 64-bit LSB
> > dynamic lib AMD64 Version 1, dynamically linked, not stripped, no
> debugging
> > information available
> >
> > I checked configure.log and it clearly gets the 32 bit info here:
> >
> >   $ ./configure --disable-selective-werror
> >
> > ## - ##
> > ## Platform. ##
> > ## - ##
> >
> > hostname = openindiana
> > uname -m = i86pc
> > uname -r = 5.11
> > uname -s = SunOS
> > uname -v = illumos-dea3b85466
> >
> > /usr/bin/uname -p = i386
> > /bin/uname -X = System = SunOS
> > Node = openindiana
> > Release = 5.11
> > KernelID = illumos-dea3b85466
> > Machine = i86pc
> > BusType = 
> > Serial = 
> > Users = 
> > OEM# = 0
> > Origin# = 1
> > NumCPU = 6
> >
> > /bin/arch  = i86pc
> > /usr/bin/arch -k   = i86pc
> > /usr/convex/getsysinfo = unknown
> > /usr/bin/hostinfo  = unknown
> > /bin/machine   = unknown
> > /usr/bin/oslevel   = unknown
> > /bin/universe  = unknown
> > [etc]
> >
> > I checked also the OmniOS VM and that also reports i86pc.
> > So, am I misunderstanding something, or did I just find a bug in uname?
> >
>
> On Solaris/illumos i86pc denotes the architecture encompassing x86 and
> x86_64, here called i386 and amd64 respectively.
>
> The command 'isainfo' returns the supported Instruction Set Architectures
> (ISA) for the machine while 'isalist' returns all the extensions.
>
> narval> isainfo
> amd64 i386
> narval> isalist
> amd64 pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
>
>
> > Pf
> > --
> >  Pierfrancesco Caci, ik5pvx
> > ___
> > openindiana-discuss mailing list
> > openindiana-discuss@openindiana.org
> > https://openindiana.org/mailman/listinfo/openindiana-discuss
> >
>
>
> --
> ---
> Praise the Caffeine embeddings
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>


-- 
 Pierfrancesco Caci, ik5pvx
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] shouldn't uname report 64 bit arch?

2021-01-16 Thread Aurélien Larcher
On Sat, Jan 16, 2021 at 9:12 PM Pierfrancesco Caci  wrote:

> Hello,
> I'm trying to compile xf86-video-qxl. It comes out as 32 bits, instead of
> 64.
>
> $ file /usr/local/lib/xorg/modules/drivers/qxl_drv.so
> /usr/local/lib/xorg/modules/drivers/qxl_drv.so: ELF 32-bit LSB dynamic lib
> 80386 Version 1, dynamically linked, not stripped
>

Also all GCC <= 8 default to generating 32-bit binaries for historical
reasons (32-bit was the lowest common denominator to the i86pc arch).

GCC 9 and 10 default to 64-bit as i386 is not relevant anymore.

Build recipes for X11 components are at:

https://github.com/OpenIndiana/oi-userland/tree/oi/hipster/components/x11/

The build system sets required flags to generate 64-bit (e.g. CFLAGS=-m64,
LDFLAGS=-m64).

For simplicity you can add a new component in this tree based on existing
recipes.




> for comparison:
> $ file /usr/lib/xorg/modules/drivers/amd64/vesa_drv.so
> /usr/lib/xorg/modules/drivers/amd64/vesa_drv.so:ELF 64-bit LSB
> dynamic lib AMD64 Version 1, dynamically linked, not stripped, no debugging
> information available
>
> I checked configure.log and it clearly gets the 32 bit info here:
>
>   $ ./configure --disable-selective-werror
>
> ## - ##
> ## Platform. ##
> ## - ##
>
> hostname = openindiana
> uname -m = i86pc
> uname -r = 5.11
> uname -s = SunOS
> uname -v = illumos-dea3b85466
>
> /usr/bin/uname -p = i386
> /bin/uname -X = System = SunOS
> Node = openindiana
> Release = 5.11
> KernelID = illumos-dea3b85466
> Machine = i86pc
> BusType = 
> Serial = 
> Users = 
> OEM# = 0
> Origin# = 1
> NumCPU = 6
>
> /bin/arch  = i86pc
> /usr/bin/arch -k   = i86pc
> /usr/convex/getsysinfo = unknown
> /usr/bin/hostinfo  = unknown
> /bin/machine   = unknown
> /usr/bin/oslevel   = unknown
> /bin/universe  = unknown
> [etc]
>
> I checked also the OmniOS VM and that also reports i86pc.
> So, am I misunderstanding something, or did I just find a bug in uname?
>
> Pf
> --
>  Pierfrancesco Caci, ik5pvx
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>


-- 
---
Praise the Caffeine embeddings
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] shouldn't uname report 64 bit arch?

2021-01-16 Thread Aurélien Larcher
On Sat, Jan 16, 2021 at 9:12 PM Pierfrancesco Caci  wrote:

> Hello,
> I'm trying to compile xf86-video-qxl. It comes out as 32 bits, instead of
> 64.
>
> $ file /usr/local/lib/xorg/modules/drivers/qxl_drv.so
> /usr/local/lib/xorg/modules/drivers/qxl_drv.so: ELF 32-bit LSB dynamic lib
> 80386 Version 1, dynamically linked, not stripped
>
> for comparison:
> $ file /usr/lib/xorg/modules/drivers/amd64/vesa_drv.so
> /usr/lib/xorg/modules/drivers/amd64/vesa_drv.so:ELF 64-bit LSB
> dynamic lib AMD64 Version 1, dynamically linked, not stripped, no debugging
> information available
>
> I checked configure.log and it clearly gets the 32 bit info here:
>
>   $ ./configure --disable-selective-werror
>
> ## - ##
> ## Platform. ##
> ## - ##
>
> hostname = openindiana
> uname -m = i86pc
> uname -r = 5.11
> uname -s = SunOS
> uname -v = illumos-dea3b85466
>
> /usr/bin/uname -p = i386
> /bin/uname -X = System = SunOS
> Node = openindiana
> Release = 5.11
> KernelID = illumos-dea3b85466
> Machine = i86pc
> BusType = 
> Serial = 
> Users = 
> OEM# = 0
> Origin# = 1
> NumCPU = 6
>
> /bin/arch  = i86pc
> /usr/bin/arch -k   = i86pc
> /usr/convex/getsysinfo = unknown
> /usr/bin/hostinfo  = unknown
> /bin/machine   = unknown
> /usr/bin/oslevel   = unknown
> /bin/universe  = unknown
> [etc]
>
> I checked also the OmniOS VM and that also reports i86pc.
> So, am I misunderstanding something, or did I just find a bug in uname?
>

On Solaris/illumos i86pc denotes the architecture encompassing x86 and
x86_64, here called i386 and amd64 respectively.

The command 'isainfo' returns the supported Instruction Set Architectures
(ISA) for the machine while 'isalist' returns all the extensions.

narval> isainfo
amd64 i386
narval> isalist
amd64 pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86


> Pf
> --
>  Pierfrancesco Caci, ik5pvx
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>


-- 
---
Praise the Caffeine embeddings
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] shouldn't uname report 64 bit arch?

2021-01-16 Thread Pierfrancesco Caci
Hello,
I'm trying to compile xf86-video-qxl. It comes out as 32 bits, instead of
64.

$ file /usr/local/lib/xorg/modules/drivers/qxl_drv.so
/usr/local/lib/xorg/modules/drivers/qxl_drv.so: ELF 32-bit LSB dynamic lib
80386 Version 1, dynamically linked, not stripped

for comparison:
$ file /usr/lib/xorg/modules/drivers/amd64/vesa_drv.so
/usr/lib/xorg/modules/drivers/amd64/vesa_drv.so:ELF 64-bit LSB
dynamic lib AMD64 Version 1, dynamically linked, not stripped, no debugging
information available

I checked configure.log and it clearly gets the 32 bit info here:

  $ ./configure --disable-selective-werror

## - ##
## Platform. ##
## - ##

hostname = openindiana
uname -m = i86pc
uname -r = 5.11
uname -s = SunOS
uname -v = illumos-dea3b85466

/usr/bin/uname -p = i386
/bin/uname -X = System = SunOS
Node = openindiana
Release = 5.11
KernelID = illumos-dea3b85466
Machine = i86pc
BusType = 
Serial = 
Users = 
OEM# = 0
Origin# = 1
NumCPU = 6

/bin/arch  = i86pc
/usr/bin/arch -k   = i86pc
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown
[etc]

I checked also the OmniOS VM and that also reports i86pc.
So, am I misunderstanding something, or did I just find a bug in uname?

Pf
-- 
 Pierfrancesco Caci, ik5pvx
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [oi-dev] OpenIndiana Developer Edition

2021-01-16 Thread Adam Števko
Hello,

out or curiosity, what exactly is the point and added of your proposed fork? 
Those packages can be easily installed any time after installing OI.

I am not sure which exact changes were rejected, but if your raise a discussion 
and explain clearly why they are needed, OI developers are more than happy to 
accept.

So, instead of forking and creating a “new distribution”, further fragmenting 
the illumos distribution market, cooperate and help us improve the existing 
project. There are lot of gaps where improvements are needed and extra manpower 
is more than welcome. At the end, I can’t tell you want to do, but can try and 
nicely ask you to collaborate. Please, collaborate with OI team to improve the 
current experience, more people will benefit from it!

P.S: Keeping python-27 around is quite dangerous as the upstream ended any kind 
of support of Python 2.x and without proper experience you are just put 
potential users in danger.

Thanks for understanding,
Adam

 

> On 16 Jan 2021, at 11:02, Hung Nguyen Gia via oi-dev  
> wrote:
> 
> Someone on this list challenged me of forking OpenIndiana in order for my 
> changes to be accepted. This is exactly what I'm going to do now. But I will 
> do it moderately, according to my skills.
> 
> I wanted to build something like in the title.
> 
> It's the normal desktop OI plus the following packages:
> 
> build-essential
> cmake
> ninja
> meson
> yasm
> autoconf-213
> header-audio
> sunpro
> motif
> python-27
> 
> More packages would be included in the future, if needed.
> 
> My computer power doesn't allow me to build everything myself, so I think I 
> will just pull the packages from OI repo.
> 
> The goal is to have a live ISO/USB images contain these additional packages.
> 
> I have come across this wiki:
> 
> http://docs.openindiana.org/dev/distribution-constructor/
> 
> But it's still not very clear to me. Any help would be appreciated.
> 
> ___
> oi-dev mailing list
> oi-...@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] OpenIndiana Developer Edition

2021-01-16 Thread Hung Nguyen Gia via openindiana-discuss
Someone on this list challenged me of forking OpenIndiana in order for my 
changes to be accepted. This is exactly what I'm going to do now. But I will do 
it moderately, according to my skills.

I wanted to build something like in the title.

It's the normal desktop OI plus the following packages:

build-essential
cmake
ninja
meson
yasm
autoconf-213
header-audio
sunpro
motif
python-27

More packages would be included in the future, if needed.

My computer power doesn't allow me to build everything myself, so I think I 
will just pull the packages from OI repo.

The goal is to have a live ISO/USB images contain these additional packages.

I have come across this wiki:

http://docs.openindiana.org/dev/distribution-constructor/

But it's still not very clear to me. Any help would be appreciated.

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss