Re: [oi-dev] Possible "Bug" when running OpenIndiana in KVM

2016-07-06 Thread Jim Klimov
6 июля 2016 г. 0:54:41 CEST, "Theodore Seán Tubbs"  
пишет:
>I noticed after doing a fresh install of OpenIndiana Hipster GIO
>20160421, I booted into OpenIndiana just fine, then proceeded to do
>updates, `pkg update`. After updates are done installing I pressed the
>`shutdown` button and do a reboot to the new ZFS root pool, skipping
>the
>bootloader, OpenIndiana boots just fine again. Though later that day
>when I turned the VM on once again, and chose the root pool with
>updates
>(`openindiana-1`) everything seemed for a while to proceed as normal.
>Though after a while I just got a blank black screen with nothing on
>it,
>upon doing a hard reboot of the VM and choosing the original root pool
>(`OI Hipster`) everything went fine. I then again used the `shutdown`
>button to choose the other root pool and skip the bootloader, and
>OpenIndiana loaded just fine. Thought I'd bring this to your attention.
>
>
>To summarize:
>
>1 Boot fresh install
>2 Do updates
>3 Restart and skip bootloader to new root pool with updates
>4 Shutdown VM
>5 Turn VM back on, choose the new root pool
>6 Seems to load up, but I only get a black screen
>7 Boot into original root pool
>8 Repeat step 3
>9 I'm in the new root pool just fine.
>
>
>
>
>___
>oi-dev mailing list
>oi-dev@openindiana.org
>http://openindiana.org/mailman/listinfo/oi-dev

Generally the "do updates" step involves creation of a new boot environment, 
explicitly or under the hood, so you can return to a known-working setup.

Did you `beadm activate` that new BE (likely "openindiana-1" in your example) 
before rebooting from the old one?

Also note that since zfs snapshots and clones are involved, anything you do in 
system areas (including /etc, /var and /root but not other user homes) of an 
old BE after creating a new one, is not propagated to new ones. So generally 
you'd want to reboot soon ;)

Jim 
--
Typos courtesy of K-9 Mail on my Samsung Android

___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] Error Compiling marco

2016-07-06 Thread Till Wegmüller

On 06.07.2016 11:47, Peter Tribble wrote:

On Wed, Jul 6, 2016 at 10:33 AM, Till Wegmüller > wrote:

Hello Community.


I am currently trying to compile the mate window manager marco.
But unfortunatly i get the attached error.

Do you have any suggestions on how to fix it?


 I build marco with the following flags to configure:

CPPFLAGS=-D__EXTENSIONS__ CFLAGS=-std=gnu99

I also find that marco tends to make some random abuses of various
standards,
so you might also need

gsed -i '/_XOPEN_SOURCE/d' src/tools/marco-mag.c
gsed -i '/_POSIX_C_SOURCE/d' src/core/util.c
gsed -i '/_XOPEN_SOURCE/d' src/ui/preview-widget.c

--
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/


___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev



Hi Peter

Thank you that worked.

Greetings
Till

___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] Error Compiling marco

2016-07-06 Thread Peter Tribble
On Wed, Jul 6, 2016 at 10:33 AM, Till Wegmüller 
wrote:

> Hello Community.
>
>
> I am currently trying to compile the mate window manager marco.
> But unfortunatly i get the attached error.
>
> Do you have any suggestions on how to fix it?
>

 I build marco with the following flags to configure:

CPPFLAGS=-D__EXTENSIONS__ CFLAGS=-std=gnu99

I also find that marco tends to make some random abuses of various
standards,
so you might also need

gsed -i '/_XOPEN_SOURCE/d' src/tools/marco-mag.c
gsed -i '/_POSIX_C_SOURCE/d' src/core/util.c
gsed -i '/_XOPEN_SOURCE/d' src/ui/preview-widget.c

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] Error Compiling marco

2016-07-06 Thread Udo Grabowski (IMK)

On 06/07/2016 11:33, Till Wegmüller wrote:


I am currently trying to compile the mate window manager marco.
But unfortunatly i get the attached error.

> /usr/include/signal.h:144:26: error: unknown type name ‘sigset_t’
> extern int sigwait(const sigset_t *_RESTRICT_KYWD, int *_RESTRICT_KYWD);


Do you have any suggestions on how to fix it?


sigset_t is included via sys/signal.h, which wrappes it in this
ifdef (oi151a9):

#if defined(__EXTENSIONS__) || defined(_KERNEL) || !defined(_STRICT_STDC) || \
defined(__XOPEN_OR_POSIX)

So it needs having at least one of -D__EXTENSIONS__ or -D__XOPEN_OR_POSIX
set.


--
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology   http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026



smime.p7s
Description: S/MIME Cryptographic Signature
___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev

[oi-dev] Error Compiling marco

2016-07-06 Thread Till Wegmüller

Hello Community.


I am currently trying to compile the mate window manager marco.
But unfortunatly i get the attached error.

Do you have any suggestions on how to fix it?

Thanks and Greetings
Till
(cd /export/home/vagrant/oi-userland/components/desktop/mate/marco/build/i86 ; 
/usr/bin/env LD_OPTIONS="-M /usr/lib/ld/map.noexstk -M /usr/lib/ld/map.noexdata 
-M /usr/lib/ld/map.pagealign -Bdirect -z ignore" LD_EXEC_OPTIONS="-z 
aslr=disable"  "ac_cv_func_realloc_0_nonnull=yes" CC="/usr/gcc/4.9/bin/gcc" 
CFLAGS="-m32 -O3 " \
/usr/gnu/bin/make   \
)
make[1]: Entering directory 
'/export/home/vagrant/oi-userland/components/desktop/mate/marco/build/i86'
/usr/gnu/bin/make  all-recursive
make[2]: Entering directory 
'/export/home/vagrant/oi-userland/components/desktop/mate/marco/build/i86'
Making all in src
make[3]: Entering directory 
'/export/home/vagrant/oi-userland/components/desktop/mate/marco/build/i86/src'
/usr/gnu/bin/make  all-recursive
make[4]: Entering directory 
'/export/home/vagrant/oi-userland/components/desktop/mate/marco/build/i86/src'
Making all in wm-tester
make[5]: Entering directory 
'/export/home/vagrant/oi-userland/components/desktop/mate/marco/build/i86/src/wm-tester'
depbase=`echo main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
/usr/gcc/4.9/bin/gcc -DHAVE_CONFIG_H -I. 
-I/export/home/vagrant/oi-userland/components/desktop/mate/marco/marco-1.14.2/src/wm-tester
 -I../..  -D_REENTRANT -DMESA_EGL_NO_X11_HEADERS -D_REENTRANT -D_PTHREADS 
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 
-I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/atk-1.0 
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz 
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz 
-I/usr/include/startup-notification-1.0 -I/usr/include/libgtop-2.0 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include-m32 -O3  -Wall 
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs 
-Wpointer-arith -Wcast-align -Wsign-compare -Wall -ansi -MT main.o -MD -MP -MF 
$depbase.Tpo -c -o main.o 
/export/home/vagrant/oi-userland/components/desktop/mate/marco/marco-1.14.2/src/wm-tester/main.c
 &&\
mv -f $depbase.Tpo $depbase.Po
In file included from /usr/include/glib-2.0/glib/gbacktrace.h:33:0,
 from /usr/include/glib-2.0/glib.h:34,
 from /usr/include/glib-2.0/gobject/gbinding.h:28,
 from /usr/include/glib-2.0/glib-object.h:23,
 from /usr/include/glib-2.0/gio/gioenums.h:28,
 from /usr/include/glib-2.0/gio/giotypes.h:28,
 from /usr/include/glib-2.0/gio/gio.h:26,
 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
 from /usr/include/gtk-2.0/gdk/gdk.h:32,
 from /usr/include/gtk-2.0/gtk/gtk.h:32,
 from 
/export/home/vagrant/oi-userland/components/desktop/mate/marco/marco-1.14.2/src/wm-tester/main.c:22:
/usr/include/signal.h:144:26: error: unknown type name ‘sigset_t’
 extern int sigwait(const sigset_t *_RESTRICT_KYWD, int *_RESTRICT_KYWD);
  ^
Makefile:464: recipe for target 'main.o' failed
make[5]: *** [main.o] Error 1
make[5]: Leaving directory 
'/export/home/vagrant/oi-userland/components/desktop/mate/marco/build/i86/src/wm-tester'
Makefile:1188: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory 
'/export/home/vagrant/oi-userland/components/desktop/mate/marco/build/i86/src'
Makefile:674: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory 
'/export/home/vagrant/oi-userland/components/desktop/mate/marco/build/i86/src'
Makefile:456: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
'/export/home/vagrant/oi-userland/components/desktop/mate/marco/build/i86'
Makefile:388: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory 
'/export/home/vagrant/oi-userland/components/desktop/mate/marco/build/i86'
/export/home/vagrant/oi-userland/make-rules/configure.mk:167: recipe for target 
'/export/home/vagrant/oi-userland/components/desktop/mate/marco/build/i86/.built'
 failed
gmake: *** 
[/export/home/vagrant/oi-userland/components/desktop/mate/marco/build/i86/.built]
 Error 2
___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev