skype-2.1.0.81,1 problem in child proc

2012-03-01 Thread Matthias Apitz

Hello,

I'm using skype-2.1.0.81,1 in 10-CURRENT r226986, which works fine for
chat and video calls;

I encounter the following small problem: when a chat contains a URL one
can open that URL with a browser; it seems that skype is launching a
shell script /usr/local/bin/xdg-open which in turn tries to figure out
if the desktop is Gnome or KDE and which browser to use; it simple does
not start any browser for me; while digging into this (inserting
printf's to a log file) I see, that the script wants to launch

kfmclient exec http://www.hallo-verlag.de/... 

with the correct URL from the chat dialog in skype but this gives an
error to stderr:

Cannot open /usr/lib/libv4l/v4l2convert.so

the shared lib exists in /compat/linux/usr/lib/libv4l/v4l2convert.so
and in /usr/local/lib/libv4l/v4l2convert.so

$ ls -l /usr/local/lib/libv4l/v4l2convert.so 
/compat/linux/usr/lib/libv4l/v4l2convert.so
-rwxr-xr-x  1 root  wheel  4788 14 nov 12:52 
/compat/linux/usr/lib/libv4l/v4l2convert.so
-rwxr-xr-x  1 root  wheel  5341 14 nov 07:49 
/usr/local/lib/libv4l/v4l2convert.so

What is the matter with this and was has 'kfmclient' todo with
v4l2convert.so shared objects?

Thanks

matthias
-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: skype-2.1.0.81,1 problem in child proc

2012-03-01 Thread Juergen Lock
In article 20120301153409.GA2478@tiny you write:

Hello,

I'm using skype-2.1.0.81,1 in 10-CURRENT r226986, which works fine for
chat and video calls;

I encounter the following small problem: when a chat contains a URL one
can open that URL with a browser; it seems that skype is launching a
shell script /usr/local/bin/xdg-open which in turn tries to figure out
if the desktop is Gnome or KDE and which browser to use; it simple does
not start any browser for me; while digging into this (inserting
printf's to a log file) I see, that the script wants to launch

kfmclient exec http://www.hallo-verlag.de/... 

with the correct URL from the chat dialog in skype but this gives an
error to stderr:

Cannot open /usr/lib/libv4l/v4l2convert.so

the shared lib exists in /compat/linux/usr/lib/libv4l/v4l2convert.so
and in /usr/local/lib/libv4l/v4l2convert.so

$ ls -l /usr/local/lib/libv4l/v4l2convert.so
/compat/linux/usr/lib/libv4l/v4l2convert.so
-rwxr-xr-x  1 root  wheel  4788 14 nov 12:52
/compat/linux/usr/lib/libv4l/v4l2convert.so
-rwxr-xr-x  1 root  wheel  5341 14 nov 07:49
/usr/local/lib/libv4l/v4l2convert.so

What is the matter with this and was has 'kfmclient' todo with
v4l2convert.so shared objects?

I haven't really looked into this in detail but my guess is this is
the Linux v4l2convert.so that is LD_PRELOAD'ed into skype for the
benefit of cameras not able to provida yuv video.  So I guess we'd
need to prepend a wrapper for xdg-open to PATH that resets LD_PRELOAD
before executing the real /usr/local/bin/xdg-open .  (And btw I had
to do something similar for google earth which sets LD_LIBRARY_PATH,
see

/usr/ports/astro/google-earth/files/browserwrapper

and

/usr/ports/astro/google-earth/files/patch-bin-googleearth

.)

 Hm or should the xdg-utils port be patched to just unset LD_PRELOAD
uncondtionally?  I'll Cc gnome@ which is listed as maintainer for
that port...

 Cheers,
Juergen
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


vbox install fails

2012-03-01 Thread AN

uname -a
FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r232369: Thu Mar  1 
20:26:30 EST 2012 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL  amd64



Trying to install vbox 4.1.8 and 4.0.6Legacy, I get the following error:

kBuild: Compiling tstVMStructRC - 
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/src/VBox/VMM/testcase/tstVMStructRC.cpp

In file included from /usr/include/sys/types.h:63,
 from 
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/include/iprt/types.h:85,
 from 
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/include/VBox/types.h:30,
 from 
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/src/VBox/VMM/testcase/tstVMStructRC.cpp:33:
/usr/include/sys/_stdint.h:74: error: conflicting declaration 'typedef 
__intptr_t intptr_t'
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/include/iprt/stdint.h:162: 
error: 'intptr_t' has a previous declaration as 'typedef long int 
intptr_t'
/usr/include/sys/_stdint.h:78: error: conflicting declaration 'typedef 
__uintptr_t uintptr_t'
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/include/iprt/stdint.h:165: 
error: 'uintptr_t' has a previous declaration as 'typedef long unsigned 
int uintptr_t'
kBuild: Generating tstVMStructSize - 
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/obj/VMM/tstAsmStructsAsm.mac
/usr/local/bin/kmk_sed -f 
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/src/VBox/VMM/testcase/tstAsmStructsAsm-lst.sed 
--output 
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/obj/VMM/tstAsmStructsAsm.mac 
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/obj/VMM/tstAsmStructsAsm.mac.lst
kBuild: Compiling tstGlobalConfig - 
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/src/VBox/VMM/testcase/tstGlobalConfig.cpp
kmk: *** 
[/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC.o] 
Error 1

The failing command:
@c++ -m32 -c -O2 -g -pipe -pedantic -Wshadow -Wall -Wextra 
-Wno-missing-field-initializers -Wno-unused -Wno-trigraphs 
-fdiagnostics-show-option -Wno-long-long -Wno-variadic-macros 
-fno-exceptions -O2 -mtune=generic -fno-omit-frame-pointer -mno-sse 
-mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing -fno-stack-protector 
-fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN 
-DRT_USE_VISIBILITY_DEFAULT -fvisibility-inlines-hidden -fno-rtti -O0 
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/src/VBox/VMM/include 
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/src/VBox/VMM/PATM 
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/include 
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release 
-DVBOX -DVBOX_WITH_DEBUGGER -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS 
-DVBOX_WITH_HARDENING 
-DRTPATH_APP_PRIVATE=\/usr/local/share/virtualbox-ose\ 
-DRTPATH_APP_PRIVATE_ARCH=\/usr/local/lib/virtualbox\ 
-DRTPATH_SHARED_LIBS=\/usr/local/lib/virtualbox\ 
-DRTPATH_APP_DOCS=\/usr/local/share/doc/virtualbox-ose\ -DRT_OS_FREEBSD 
-D__FREEBSD__ -DRT_ARCH_X86 -D__X86__ -DIN_RC -DHC_ARCH_BITS=64 
-DGC_ARCH_BITS=64 -DIN_VMM_RC -DIN_DIS -DIN_RT_RC -DVBOX_WITH_RAW_MODE 
-DIPRT_DONT_USE_SYSTEM_STDINT_H 
-Wp,-MD,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC.o.dep 
-Wp,-MT,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC.o 
-Wp,-MP -o 
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC.o 
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/src/VBox/VMM/testcase/tstVMStructRC.cpp

kmk: *** Waiting for unfinished jobs
kmk: *** Exiting with status 2
*** [do-build] Error code 2

Stop in /usr/ports/emulators/virtualbox-ose.
*** [install] Error code 1

Stop in /usr/ports/emulators/virtualbox-ose.
[root@FBSD10 /usr/ports/emulators/virtualbox-ose]#


Any help fixing this would be appreciated, tia.
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: skype-2.1.0.81,1 problem in child proc

2012-03-01 Thread Matthias Apitz
El día Thursday, March 01, 2012 a las 10:13:14PM +0100, Juergen Lock escribió:

 I haven't really looked into this in detail but my guess is this is
 the Linux v4l2convert.so that is LD_PRELOAD'ed into skype for the
 benefit of cameras not able to provida yuv video.  So I guess we'd
 need to prepend a wrapper for xdg-open to PATH that resets LD_PRELOAD
 before executing the real /usr/local/bin/xdg-open .  (And btw I had
 to do something similar for google earth which sets LD_LIBRARY_PATH,
 see
 
   /usr/ports/astro/google-earth/files/browserwrapper
 
 and
 
   /usr/ports/astro/google-earth/files/patch-bin-googleearth
 
 .)
 
  Hm or should the xdg-utils port be patched to just unset LD_PRELOAD
 uncondtionally?  I'll Cc gnome@ which is listed as maintainer for
 that port...

I've set now a hardcoded 'unset LD_PRELOAD' in /usr/local/bin/xdg-open
and on click on the URL konqueror comes up fine with the URL; thanks for
the hint;

matthias
-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org