pkg install on freshly installed 9.1 doesn't find any packages

2013-08-16 Thread Yuri

I installed 9.1 from iso image.
Then 'pkg' command brought pkg-1.0.11 package.
Now commands like 'pkg install gnome2' always say:
pkg: Package 'gnome2' was not found in the repositories.

Am I missing something? This is vanilla 9.1 from DVD image. Nothing else.

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


Why PostgreSQL doesn't start with shared_buffers=6GB ?

2012-11-04 Thread Yuri

When I am setting shared_buffers=6GB in postgresql.conf it fails to start:
DETAIL:  Failed system call was shmget(key=5432001, size=6612361216, 03600).
even though kern.ipc.shmmax is set to ~7GB:
$ sysctl -a | grep shm
kern.ipc.shm_allow_removed: 0
kern.ipc.shm_use_phys: 0
kern.ipc.shmall: 1310720
kern.ipc.shmseg: 128
kern.ipc.shmmni: 192
kern.ipc.shmmin: 1
kern.ipc.shmmax: 70
kern.features.sysv_shm: 1
kern.features.posix_shm: 1

There are 17GB free memory as reported by top(1).

Why shmget fails despite kern.ipc.shmmax is being high enough?
Experimentally I found that shared_buffers=5GB also fails but 4GB 
succeeds. Is there another system limit on shmem besides kern.ipc.shmmax ?


9.1-RC3 and64

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


Re: Why RELENG_9 branch is labeled as PRERELEASE and freebsd.org says FreeBSD is currently at 9.1-RC2 ?

2012-10-28 Thread Yuri

On 10/28/2012 07:17, Patrick Lamaiziere wrote:

RELENG_9 should be called 9-STABLE, if you want 9.1 use RELENG_9_1


Hm, if they wanted to keep RELENG_9 as stable 9.X branch, why then 
9.1-PRERELEASE is there? Is PRERELEASE considered more stable than RC? 
This looks strange to me.


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


Why RELENG_9 branch is labeled as PRERELEASE and freebsd.org says FreeBSD is currently at 9.1-RC2 ?

2012-10-27 Thread Yuri
RELENG_9 is supposed to represent the latest branch of 9.1. De facto, 
code says it is PRERELEASE (sys/conf/newvers.sh).

But freebsd.org on its front page says 9.1 is at RC-2.
So how can I get RC-2 through cvsup except through RELENG_9 which gives 
PRERELEASE ?


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


Re: doom, quake, hexen...

2012-08-20 Thread Yuri Pankov

On Mon, 20 Aug 2012 21:24:32 +0700, Victor Sudakov wrote:

Colleagues,

Please advise if there are any 3D shooters in the ports collection
which work out of the box on 9.0-STABLE (amd64)? None of those I have
tried work for a number of irritating reasons, like e.g.

games/uhexen: http://pastebin.com/ZaJ74eaa

games/doom: http://pastebin.com/XdrCwzvn

games/quake2lnx even pretends to do something: it opens a tiny X11
window with some flickering rubbish and plays some farting sounds to
the audio system.

Is there any working 3D shooter in the ports collection my 8 year old
son could enjoy?

Thank you very much in advance.


Try games/deng.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chromium - fails to compile

2012-06-03 Thread Yuri

On 05/30/2012 09:33, Lowell Gilbert wrote:

Yes. Chromium currently depends on SSE3; the recommended way of enabling
that appears to be setting CPUTYPE.


Port should be ding that itself.
Make use of misc/cpuid if needed. Make it BUILDDEP.

Currently 19.0.1084.52 fails to build for me too.

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


Re: Do not work turn-off line to syslogd last message repeated N times'

2012-03-02 Thread Yuri Pankov

On Sat, 03 Mar 2012 01:07:27 +0200, Vladislav V. Prodan wrote:


03.03.2012 0:59, Yuri Pankov wrote:

You have 'c' specified once and don't seem to be piping the output to
another program. Try specifying 'c' twice as the part of the manpage you
pasted suggests?




It also does not work this version:

# ps -auxww | grep syslog
root 84784   0,0  0,0  12168   1348  ??  Ss   ср00
0:03,24 /usr/sbin/syslogd -s -c


Well, twice means cc :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Do not work turn-off line to syslogd last message repeated N times'

2012-03-02 Thread Yuri Pankov

On Sat, 03 Mar 2012 00:52:19 +0200, Vladislav V. Prodan wrote:


Subj.

# uname -a
FreeBSD XXX.ru 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #1: Mon Dec  5
14:56:07 EET 2011 r...@xxx.ru:/usr/obj/usr/src/sys/XXX.2  amd64


# ps -auxww | grep syslog
root 84784   0,0  0,0  12168   1348  ??  Ss   ср00
0:03,24 /usr/sbin/syslogd -sc
root 24776   0,0  0,0  16408   1364   9  S+2:50
0:00,00 grep syslog


#man syslogd

...
  -c  Disable the compression of repeated instances of the same line
  into a single line of the form ``last message repeated N
times''
  when the output is a pipe to another program.  If specified
  twice, disable this compression in all cases.
...


You have 'c' specified once and don't seem to be piping the output to 
another program. Try specifying 'c' twice as the part of the manpage you 
pasted suggests?

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


Re: uname ?

2012-02-02 Thread Yuri Pankov
On Thu, Feb 02, 2012 at 11:30:51AM -0700, Chad Perrin wrote:
 On Thu, Feb 02, 2012 at 03:09:00PM +0800, joeb1 wrote:
  It looks to me that the  uname -m  and  uname -p  always have the same
  value, such as i386.
  
  Is there some fine-grained difference or some un-documented difference
  between them
  or some combination were the values would be different?
 
 I don't have one handy, so I don't have any way to test this right now,
 but I wonder if an AMD machine might give a different answer to one of
 those than an Intel machine, given a 32-bit 386 instruction set processor
 for both.

I *guess* they will be different for some targets in this list:

$ make targets -C /usr/src
Supported TARGET/TARGET_ARCH pairs for world and kernel targets
amd64/amd64
arm/arm
arm/armeb
i386/i386
ia64/ia64
mips/mipsel
mips/mipseb
mips/mips64el
mips/mips64eb
mips/mipsn32eb
pc98/i386
powerpc/powerpc
powerpc/powerpc64
sparc64/sparc64


Yuri


pgp3oTUsEpBMa.pgp
Description: PGP signature


Re: Support Issue 164620

2012-01-31 Thread Yuri Pankov
On Wed, Feb 01, 2012 at 02:18:46AM +0100, Nikola Pavlović wrote:
 On Tue, Jan 31, 2012 at 06:28:25PM -0600, Morris Allen wrote:
  
  To whom it may concern:
  
My question is?  So is this problem in the process of being looked
  at?  Or am I being directed to a different group in the BSD support staff?
  
   
 
 It's an automatic notice to let you know the issue tracker has received
 the problem report.  So hopefully, someone will look at it.
 
  
  http://www.freebsd.org/cgi/query-pr.cgi?pr=164620
  
 
 It seems you just pasted the text from the docs (Handbook
 probably) on GEOM RAID 1, without any info as to what is the problem
 you're having.  Not to mention the wrong Environment entry etc.
 
 I think you would benefit from reading this:
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/index.html

And there are no support issues, PRs are for reporting real problems.
If you need to ask something, just use this list instead.


Yuri


pgpVw7C86a7CD.pgp
Description: PGP signature


Re: What is the FreeBSD mdoc (man) to HTML toolchain?

2012-01-30 Thread Yuri Pankov
On Mon, Jan 30, 2012 at 05:44:28PM -0500, Jason Massey wrote:
 Dear FreeBSD masters:
 
 I am looking to understand the toolchain that begins with an mdoc-based
 manual page and ends with a nice HTML file (as illustrated by
 http://www.freebsd.org/cgi/man.cgi?query=groff_mdocapropos=0sektion=0manpath=FreeBSD+9.0-RELEASEarch=defaultformat=html
 ).
 
 Hypothetically, were I personally attempting to convert the `groff_mdoc.7'
 manual page to HTML, from what I've researched the command should be:
 
 groff -mdoc -Thtml groff_mdoc.7 | tidy  bsdgroff.html
 
 [1]
 Is the above command how the FreeBSD project produces its gorgeous HTML man
 pages?
 
 [2]
 How does one associate a link .../ CSS stylesheet with the resultant
 file? I cannot locate a `groff' command switch to stop it from inserting
 its own inline style information.
 
 == Research I've performed:
 
 I have read GROFF_MDOC(7) in its entirety.
 
 I have searched GROFF(1) and groff's [Tex]info document.

Not really answering your question, but.. Take a look at textproc/mdocml
as an alternative to groff (and for converting man/mdoc - html).


Yuri


pgpcWXvIQckku.pgp
Description: PGP signature


[dvd+rw-tools-7.1] Failure to burn disks: SK=5h/INVALID ADDRESS FOR WRITE

2012-01-28 Thread Yuri
While burning the DVD+R DL with the command 'growisofs -dvd-compat 
-speed=4 -Z /dev/cd0=$1' on 9.0-STABLE I am getting this error:

 8333492224/8407351452 (99.1%) @4.0x, remaining 0:14 RBU 100.0% UBU  57.1%
 8352301056/8407351452 (99.3%) @4.1x, remaining 0:10 RBU 100.0% UBU  53.1%
 8371240960/8407351452 (99.6%) @4.1x, remaining 0:06 RBU 100.0% UBU  55.1%
 8387395584/8407351452 (99.8%) @3.5x, remaining 0:03 RBU  59.6% UBU  53.1%
 8406237184/8407351452 (100.0%) @4.1x, remaining 0:00 RBU   3.4% UBU  61.2%
:-[ WRITE@LBA=3ea3c0h failed with SK=5h/INVALID ADDRESS FOR WRITE]: 
Invalid argument

:-( write failed: Invalid argument

It failed 3 times.
Size of the iso image is 8407351452.

Device is:  cd0: PIONEER DVD-RW  DVR-112D 1.21 Removable CD-ROM SCSI-0 
device


I did burn DVDs successfully using the same drive, the same batch of 
empty writable DVDs and the same command on 8.X. I am not sure if this 
is because of 9.0 or because of this specific disk image.


Do you know what may be a problem? Do you burn DVDs successfully?

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


Re: Old Bug or not?

2012-01-26 Thread Yuri Pankov
On Thu, Jan 26, 2012 at 07:48:18AM -0500, Jerry wrote:
 There seems to be an old BUG,
 http://osdir.com/ml/freebsd-bugs/2006-04/msg00309.html
 that has recently been noted on the Postfix forums.

403 Forbidden

 Was this bug ever actually addressed? In other words, is this an
 actual bug or is it working as intended? If it is a bug, and since
 it is apparently nearly 5 years old, will anyone actually ever look at
 it?


Yuri


pgpuXXC1pe4SC.pgp
Description: PGP signature


Re: Problems uppgrading x11/sessreg port

2012-01-23 Thread Yuri Pankov
On Mon, Jan 23, 2012 at 09:51:51PM +0100, Hasse Hansson wrote:
 FreeBSD odin.thorshammare.org 9.0-STABLE FreeBSD 9.0-STABLE #0 r230424: Sun
 Jan 22 00:13:50 CET 2012
 ad...@odin.thorshammare.org:/usr/obj/usr/src/sys/GENERIC  i386
 
 I've got some problem with the port sessreg, part of x11/xorg suite,  when
 running portupgrade.
 
 ===  Building for sessreg-1.0.7
 
 make  all-recursive
 Making all in man
   GENfilenames.sed
   GENsessreg.1
   CC sessreg.o
 sessreg.c: In function 'main':
 sessreg.c:281: warning: implicit declaration of function 'ttyslot'
 sessreg.c:281: warning: nested extern declaration of 'ttyslot'
   CCLD   sessreg
 sessreg.o: In function `main':
 sessreg.c:(.text+0xcc1): undefined reference to `ttyslot'
 *** Error code 1
 
 Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.7.
 *** Error code 1
 
 Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.7.
 *** Error code 1
 
 Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.7.
 *** Error code 1
 
 Stop in /usr/ports/x11/sessreg.
 
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade20120123-9573-548d6g-0 env UPGRADE_TOOL=portupgrade
 UPGRADE_PORT=sessreg-1.0.5_1 UPGRADE_PORT_VER=1.0.5_1 make
 ** Fix the problem and try again.
 ** Listing the failed packages (-:ignored / *:skipped / !:failed)
 ! x11/sessreg (sessreg-1.0.5_1) (linker error)
 
 Preciate all help.

Check To rebuild everything and install it on the current system. in
/usr/src/UPDATING (you are missing the 'make delete-old' step).


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


Re: help accessing mdbtools man pages in /usr/local/share/man

2012-01-16 Thread Yuri Pankov
On Mon, Jan 16, 2012 at 01:27:31PM -0700, Dale Scott wrote:
 I installed mdbtools from source on github and it put its man pages in
 /usr/local/share/man/man1, where the default man command doesn't find
 them (although man -M /usr/local/share/man mdb-export works).

Just use `man /full/path/to/the/manpage`. Also check man(1) and
man.conf(5) on how to specify additional MANPATHs.
 
 From man hier, it looks like the man pages should have been put into
 /usr/local/man. Is that correct? Also, the pages aren't in gz format
 (just mdb-export.1). Is there a typical workaround? (I expect this is
 not uncommon for an app coming from the Linux world?).

It's not uncommon, but such stuff should be fixed when porting something
from Linux world and manpages should go to /usr/local/man, as hier(7)
tells.


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


Re: help accessing mdbtools man pages in /usr/local/share/man - SOLVED

2012-01-16 Thread Yuri Pankov
On Mon, Jan 16, 2012 at 03:30:29PM -0700, Dale Scott wrote:
 - Original Message -
 From: Yuri Pankov yuri.pan...@gmail.com
 Date: Monday, January 16, 2012 13:49
 
  Just use `man /full/path/to/the/manpage`. Also check man(1) and
  man.conf(5) on how to specify additional MANPATHs.
 
 Thanks Yuri! As per man.conf(5), I created /usr/local/etc/rc.d/mdbtools.conf
 to add /usr/local/share/man to the manpath (perhaps it could be named more
 correctly linux.conf, but for now the only manpages there are from 
 mdbtools).

I hope rc.d was a typo? :-) If not, you want /usr/local/etc/man.d/*.conf.


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


Re: ipv6 in FreeBSD 9

2012-01-14 Thread Yuri Pankov
On Sat, Jan 14, 2012 at 06:07:01PM +0100, Marco Beishuizen wrote:
 Hi,
 
 In 8.2 ipv6 was enabled by adding ipv6_enable=YES in rc.conf, and all 
 worked fine. In FreeBSD 9 that changed to 
 ipv6_activate_all_interfaces=YES. But now there are still some error 
 messages at boot time, and ipv6 doesn't seem to work correctly:
 
 ...
 root: /etc/rc: WARNING: $ipv6_firewall_enable is not set properly - see 
 rc.conf(5).
 root: /etc/rc: WARNING: $ipv6_enable is not set 
 properly - see rc.conf(5).
 ...
 
 I do not use a static IP adress, but DHCP. Wat do I need to do more 
 to enable ipv6?

This works for me:

ifconfig_em0_ipv6=inet6 accept_rtadv
ip6addrctl_policy=ipv6_prefer

No other IPv6-related settings done anywhere else.


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


Re: what is a correct way to build ports with clang

2012-01-11 Thread Yuri Pankov
On Wed, Jan 11, 2012 at 12:40:18PM +0200, Volodymyr Kostyrko wrote:
 Hi all.
 
 I recently stumbled upon minor inconsistency when building misc/mc. The 
 build goes well when CPP is unset or when CPP=clang -E, but fails when 
 CPP=clang-cpp:
 
 /tmp/ports/usr/ports/misc/mc/work/mc-4.7.5.5/config.log:
 
 configure:23603: checking for slang.h
 configure:23618: clang-cpp -ltermcap -I/usr/local/include 
 -I/usr/include -L/usr/lib conftest.c
 Stack dump:
 0.  Program arguments: clang-cpp -ltermcap -I/usr/local/include 
 -I/usr/include -L/usr/lib conftest.c
 1.  Compilation construction
 2.  Building compilation actions
 configure:23618: $? = 139
 
 What is the correct way to build ports with clang? Wiki states that CPP 
 should be set to clang-cpp for everyone however this doesn't work here.

This can be reduced to just `clang-cpp -lanything` and I guess it's a
bug...


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


Re: what is a correct way to build ports with clang

2012-01-11 Thread Yuri Pankov
On Wed, Jan 11, 2012 at 03:04:37PM +0400, Yuri Pankov wrote:
 On Wed, Jan 11, 2012 at 12:40:18PM +0200, Volodymyr Kostyrko wrote:
  Hi all.
  
  I recently stumbled upon minor inconsistency when building misc/mc. The 
  build goes well when CPP is unset or when CPP=clang -E, but fails when 
  CPP=clang-cpp:
  
  /tmp/ports/usr/ports/misc/mc/work/mc-4.7.5.5/config.log:
  
  configure:23603: checking for slang.h
  configure:23618: clang-cpp -ltermcap -I/usr/local/include 
  -I/usr/include -L/usr/lib conftest.c
  Stack dump:
  0.  Program arguments: clang-cpp -ltermcap -I/usr/local/include 
  -I/usr/include -L/usr/lib conftest.c
  1.  Compilation construction
  2.  Building compilation actions
  configure:23618: $? = 139
  
  What is the correct way to build ports with clang? Wiki states that CPP 
  should be set to clang-cpp for everyone however this doesn't work here.
 
 This can be reduced to just `clang-cpp -lanything` and I guess it's a
 bug...

And it seems to be http://www.llvm.org/bugs/show_bug.cgi?id=11581.


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


Re: Having problems running shell script from crontab

2012-01-07 Thread Yuri Pankov
On Sat, Jan 07, 2012 at 02:21:51PM +0200, Kaya Saman wrote:
 Hi,
 
 I wrote a shell script to detect if the port of tomcat was in use or not 
 then restart if the port wasn't online; due to tomcat segfaulting as my 
 system hasn't got enough memory for it.
 
 
 This is the shell script:
 
 
 #!/usr/local/bin/bash
 ntstat=`netstat -ap tcp | grep 8180 | sed -n '1p'`

sockstat would be more useful here.

 port=8180
 
 #echo $ntstat
 #echo $port
 
 if [[ $ntstat =~ $port ]]; then
 echo Output of Netstat command $ntstat port number $port  
 /root/java_restart/java_restart.log;
 else
 wait 60; /usr/local/etc/rc.d/tomcat6 restart;

Are you sure you want 'wait' here (or should it be 'sleep')?

 fi
 
 
 
 Here in /var/log/cron - it can be seen that the script has been executed:
 
 Jan  7 10:30:00 wiki /usr/sbin/cron[19509]: (root) CMD 
 (/root/java_restart/java_restart.sh)
 Jan  7 11:00:00 wiki /usr/sbin/cron[20418]: (root) CMD 
 (/root/java_restart/java_restart.sh)
 Jan  7 11:30:00 wiki /usr/sbin/cron[21356]: (root) CMD 
 (/root/java_restart/java_restart.sh)
 Jan  7 12:00:00 wiki /usr/sbin/cron[22455]: (root) CMD 
 (/root/java_restart/java_restart.sh)
 
 
 
 
 The strange thing is that if I run this script manually 
 /root/java_restart/java_restart.sh it works fine and does what it's 
 supposed to do. Cron however seems to execute the IF statement but not 
 get as far as else??? - it seems as tomcat doesn't restart.
 
 Here is my little log file that tells the port is active:
 
 -rw-r--r--  1 root  wheel  116 Jan  7 11:30 java_restart.log
 
 
 If I stop tomcat just before the xx:00 or xx:30 time designations tomcat 
 will not be restarted by the script and I don't understand why?
 
 
 This is the crontab: 0,30 * * * * /root/java_restart/java_restart.sh

Try changing it to /usr/local/bin/bash /root/java_restart/java_restart.sh.
 
 which is being run as root user.
 
 
 Can anyone suggest anything that might be a possible cause for tomcat 
 not getting restarted automatically when the proper conditions are met?


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


Mouse motion event holds up the input

2012-01-02 Thread Yuri

This started from some system update.

There are some strange dependencies on mouse motion event. For example, 
when google is open in chromium and I click on some search choice, it 
only goes there after I move the mouse, click itself is not enough.


Same when I press Ctrl-Alt-F1, it only goes to the black terminal when 
I move the mouse.
Another symptom that I think is related is that doubleclick on the word 
in konsole in kde4, and in all browsers, isn't selecting the word as it 
should.


I have rebuilt kde4 with all dependencies and it didn't help.

What might be the problem?

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


Re: buildkernel error: unknown option COMPAT_LINUX

2011-12-26 Thread Yuri Pankov
On Mon, Dec 26, 2011 at 04:55:43PM +, Anton Shterenlikht wrote:
 I'm building kernel on r228359:
 
 *skip*
 
  stage 1: configuring the kernel
 --
 cd /usr/src/sys/amd64/conf;  
 PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/
 usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/sr
 c/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin
 :/bin:/usr/sbin:/usr/bin  config  -d /usr/obj/usr/src/sys/BUZI  
 /usr/src/sys/amd
 64/conf/BUZI
 /usr/src/sys/amd64/conf/BUZI: unknown option COMPAT_LINUX
 *** Error code 1
 
 What's wrong?

linux(4):

 for an amd64 kernel use:
   options COMPAT_LINUX32


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: linphone-base conflicts with ortp and fails to install, it also fails to build: error: expected specifier-qualifier-list before 'UInt96'

2011-11-23 Thread Yuri

On 11/23/2011 11:45, Alberto Villa wrote:

Fix committed: ortp dependency has been replaced by linphone-base.
Please, update (and check UPDATING).


I updated via cvsup (*default release=cvs tag=.) but I don't see the 
relevant ports UPDATING record.
The only recent record there is 2023 and it is related to 
databases/redis.


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


Re: linphone-base conflicts with ortp and fails to install, it also fails to build: error: expected specifier-qualifier-list before 'UInt96'

2011-11-23 Thread Yuri

On 11/23/2011 15:23, Alberto Villa wrote:

On Wednesday 23 November 2011 21:34:55 Yuri wrote:

I updated via cvsup (*default release=cvs tag=.) but I don't see the
relevant ports UPDATING record.
The only recent record there is 2023 and it is related to
databases/redis.

http://www.freebsd.org/cgi/cvsweb.cgi/ports/UPDATING.diff?r1=1.1171;r2=1.1172;f=h


Thanks, I got it! cvsup probably has some delay.

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


Re: linphone-base conflicts with ortp and fails to install, it also fails to build: error: expected specifier-qualifier-list before 'UInt96'

2011-11-21 Thread Yuri

On 11/21/2011 01:43, Olivier Smedts wrote:

Hello,

Please look at ports/UPDATING (20111016).


I did that, and wrote about this in my message (see below), but command 
'portmaster -o net/linphone-base ortp' fails.




  When I follow instruction in UPDATING and run this command 'portmaster -o
  net/linphone-base ortp', I get this messages:
  In file included from ../include/mediastreamer2/msrtp.h:25,
   from msrtp.c:20:
  ../include/mediastreamer2/ice.h:60: error: expected specifier-qualifier-list
  before 'UInt96'


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


linphone-base conflicts with ortp and fails to install, it also fails to build: error: expected specifier-qualifier-list before 'UInt96'

2011-11-20 Thread Yuri

Hi,


When I do portupgrade, I get this message (kdenetwork fails to update 
due to this):


===  linphone-base-3.2.1_1,1 conflicts with installed package(s): ^M
  ortp-0.13.0_1^M
^M
  They install files into the same place.^M
  You may want to stop build with Ctrl + C.^M
===  Vulnerability check disabled, database not found^M
===  License check disabled, port has not defined LICENSE^M
^M
===  linphone-base-3.2.1_1,1 conflicts with installed package(s): ^M
  ortp-0.13.0_1^M
^M
  They will not build together.^M
  Please remove them first with pkg_delete(1).^M


When I follow instruction in UPDATING and run this command 'portmaster 
-o net/linphone-base ortp', I get this messages:

In file included from ../include/mediastreamer2/msrtp.h:25,
 from msrtp.c:20:
../include/mediastreamer2/ice.h:60: error: expected 
specifier-qualifier-list before 'UInt96'

msrtp.c: In function 'receiver_process':
msrtp.c:333: warning: implicit declaration of function 'rtp_get_payload'
gmake[5]: *** [msrtp.lo] Error 1
gmake[5]: Leaving directory 
`/usr/ports/net/linphone-base/work/linphone-3.2.1/mediastreamer2/src'

gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory 
`/usr/ports/net/linphone-base/work/linphone-3.2.1/mediastreamer2/src'

gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/usr/ports/net/linphone-base/work/linphone-3.2.1/mediastreamer2'

gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/usr/ports/net/linphone-base/work/linphone-3.2.1/mediastreamer2'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/net/linphone-base/work/linphone-3.2.1'

gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/net/linphone-base.

=== make failed for net/linphone-base
=== Aborting update

I am not sure why linphone-base build fails.
But it looks like linphone-base contains some version of ortp. And this 
creates a problem of the conflict: They install files into the same place.
Sylvio, should you consider renaming conflicting files stemming from 
ortp copy into some other name to remove such conflict?


Yuri

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


Re: Why some flash sites don't work?

2011-11-02 Thread Yuri

On 11/01/2011 19:35, Adam Vande More wrote:
I believe you have asked this before, and the answer is still the 
same.  It works for me.


flashplayer 11 hit ports today, you could try removing 10, installing 
11 and seeing if that helps you at all.


No, version 11 doesn't work on my machine either. Youtube and whatever 
worked before still works. This is still a mistery.


Also nspluginplayer doesn't seem to work on any page. For example, command
nspluginplayer type=application/x-shockwave-flash 
http://www.youtube.com/watch?v=vvCMN2gfyzE;
that I think should work doesn't. Only shows the white window saying No 
movie loaded on the right mouse click.



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


Re: Why some flash sites don't work?

2011-11-02 Thread Yuri

On 11/02/2011 11:42, Adam Vande More wrote:
Can you try creating a new user, and under that user install flash per 
the handbook.  That should at least tell if it's some local user 
settings causing the issue.


When I create the new user, flash in FF doesn't work at all. 
Instructions from 
http://www.freebsd.org/doc/handbook/desktop-browsers.html (*Under 
FreeBSD 8.X*) are followed.
symlink /usr/local/lib/browser_plugins/libflashplayer.so - 
/usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so exists.

Also packages
nspluginwrapper-1.4.4
linux-f10-flashplugin-11.0r1.152
are installed.

The reason why flash works in my main user is that 
~/.mozilla/plugins/npwrapper.libflashplayer.so file exists there.


I am not sure what this file 
~/.mozilla/plugins/npwrapper.libflashplayer.so is and where did it come 
from.


So does this mean that instructions in handbook are wrong?

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


Re: Why some flash sites don't work?

2011-11-02 Thread Yuri

On 11/02/2011 14:19, Adam Vande More wrote:
It comes from the rest of the instructions section, namely 
nspluginwrapper -v -a -i.


Sorry I missed this one.

Now, after this is done and ~/.mozilla/plugins are identical for both 
users, my new user shows this link 
http://belapan.by/archive/2009/07/10/media_yakubovich fine, but the old 
user has the same problem as before.
And this link 
http://www.reuters.com/video/2011/11/01/greek-referendum-disappoints-markets?videoId=224096981videoChannel=2602 
http://www.reuters.com/video/2011/11/01/greek-referendum-disappoints-markets?videoId=224096981videoChannel=2602 
both of them don't show at all. (pressing the arrow doesn't play any video)


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


Re: Why some flash sites don't work?

2011-11-02 Thread Yuri

On 11/02/2011 15:33, Adam Vande More wrote:
In regards to the second, I just tried it on a new clean install of 9 
RC 1 and it didn't work.  However it worked after I installed 
flashblock.  There seems to be a least one secondary flash object on 
that page which prevents the video from playing.  However, I will add 
on rare occasion I've found a video like this and it actually will 
play eventually, perhaps after hours of waiting.  I think the reason 
for this is that the linuxulator doesn't perfectly emulate Linux 
system calls, and when you run flash that which targets these system 
calls, the npviewer cannot proceed until those calls are finished.  In 
those cases, quite a bit of time can elapse until those faulty 
syscalls end hence the very long delay before video playback.


That's just a theory, and I'm happy to be proven wrong.  Or even 
better, proven right and fixed.  In the meantime, you now have 
workarounds for both videos.  I'm sure you can get the bottom of the 
trouble with first video with some tenacity, as the problem must exist 
in your home directory.


Workaround for only one by changing the user, and the other one just 
doesn't work for any user.


It would be easier to have standalone nspluginplayer working, but it 
doesn't. Do you know why it doesn't work as it used to?

Command
nspluginplayer type=application/x-shockwave-flash 
http://www.youtube.com/watch?v=vvCMN2gfyzE;

for example fails to show video for me too for all users.

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


Re: Why some flash sites don't work?

2011-11-02 Thread Yuri

On 11/02/2011 16:30, Adam Vande More wrote:
You seem to have a terrible habit of skipping all the important details. 


Oh no, I read all your messages. The second video, you said, works for 
you with the flashblock. But not for me though. Flashblock didn't change 
anything for me. .by movie has a workaround of changing the user for me.


I will be trying to determine what is exactly the dependency on the home 
dir with DTrace.


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


Why some flash sites don't work?

2011-11-01 Thread Yuri

Periodically I run into the problem that some sites don't work, for example:
http://www.reuters.com/video/2011/11/01/greek-referendum-disappoints-markets?videoId=224096981videoChannel=2602
http://belapan.by/archive/2009/07/10/media_yakubovich
-- these don't work in both FF and chrome.

I complained to maintainers about this before, but got no response.

Is it known what might be a problem in such cases?

linux-f10-flashplugin-10.3r183.10
nspluginwrapper-1.4.4
8.2-STABLE amd64

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


Do you find chrome on FreeBSD buggy?

2011-10-15 Thread Yuri
I keep seeing some artefacts, like text selection isn't cleared by 
clicking anywhere else. Or when some strange (Unicode) symbol shows up, 
for example on wikipedia article history. Or some page would randomly 
blank out. Or some page would show message like Aw, snap meaning some 
kind of failure.


I did rebuild all dependencies, also updated system several times, but 
such artefacts seem to persist. Contacting port maintainer didn't help 
either as he couldn't reproduce some of them.


So is it just my system, or others also see such things? Is chrome 
considered to be stable on FreeBSD?

FF, on the contrary, doesn't show anything like that at all.

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


Re: Why selecting text with mouse often doesn't make the text pasteable with mouse mid-button click?

2011-09-18 Thread Yuri

On 09/18/2011 06:05, Thomas Dickey wrote:

  I notice this again and again: when I select some text in Konsole (KDE4)
  sometimes it doesn't paste with the middle mouse button click.

Where are you pasting?  (on another terminal emulator, in an application
running in a terminal emulator, or within another X application)?



Test selected in Konsole I usually paste into Konsole. and it fails 
maybe in 5-10% of cases.


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


Why selecting text with mouse often doesn't make the text pasteable with mouse mid-button click?

2011-09-17 Thread Yuri
I notice this again and again: when I select some text in Konsole (KDE4) 
sometimes it doesn't paste with the middle mouse button click.

I also notice the same in chrome, and it's even more likely there.

Why such basic feature fails intermittently?

8.2-STABLE amd64

Yuri

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


How much memory does ZFS use?

2011-08-20 Thread Yuri

Someone told me that ZFS is a memory hog and it should be avoided as such.
Is this true?
How can I understand how much memory particular kernel module consumes?
In Solaris there is mdb for that, what is an equivalent in FreeBSD?

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


Re: How much memory does ZFS use?

2011-08-20 Thread Yuri

On 08/20/2011 11:45, Gary Gatten wrote:

Zfs isn't a typical daemon/process. That's like saying databased is a memory 
hog cause it needs a lot of ram for caching.


I know it's a kernel module.



Zfs ram requirements will depend on your file system i/o load, types/sizes of 
files, types and rates of file system ops, etc.  512MB may be fine, or you may 
need 4GB for optimum performance.


I meant mostly, for the same type of FS access, how does ZFS memory 
consumption compare with situation if I used UFS?


Also how can I see what memory consumption is for each kernel module?

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


Group permissions are broken?

2011-08-15 Thread Yuri

User john is a member of both webcamd and vboxusers:
# grep john /etc/group
webcamd:*:145:john
vboxusers:*:920:john

When the file /tmp/my-test is owned by webcamd, user john can touch it ok:
$ ls -l /tmp/my-test ; touch  /tmp/my-test
-rw-rw  1 vboxusers  vboxusers  0 Aug 15 12:54 /tmp/my-test

But when /tmp/my-test is owned by webcamd, user john gets an error:
$ ls -l /tmp/my-test ; touch  /tmp/my-test
-rw-rw  1 webcamd  webcamd  0 Aug 15 13:02 /tmp/my-test
touch: /tmp/my-test: Permission denied

Why does this error occur? Two groups seem identical. Just different 
group ids.


Filesystem is UFS: /dev/ad10s1a on / (ufs, NFS exported, local)

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


Re: Group permissions are broken?

2011-08-15 Thread Yuri

On 08/15/2011 13:09, Chuck Swiger wrote:

How many groups is user john in?
There's a limit of MAXGROUPS = 16.




john is a member of only 3 groups, users, webcamd and vboxusers.

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


Re: Group permissions are broken?

2011-08-15 Thread Yuri

On 08/15/2011 13:10, Dan Nelson wrote:

As a sanity check, what is the output of the groups command?  If you
recently edited /etc/group, maybe you need to log out and back in to a
credential with the new group list?

$ groups john
users webcamd vboxusers
$ touch /tmp/my-test
touch: /tmp/my-test: Permission denied
$ ls -l /tmp/my-test
-rw-rw  1 webcamd  webcamd  0 Aug 15 13:02 /tmp/my-test

Puzzle.

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


Re: Group permissions are broken?

2011-08-15 Thread Yuri

On 08/15/2011 13:10, Dan Nelson wrote:

As a sanity check, what is the output of the groups command?  If you
recently edited /etc/group, maybe you need to log out and back in to a
credential with the new group list?


Reboot cured the problem.
Is this because some other command should be run to enable /etc/group 
changes?

Is it cached somewhere?

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


Re: Group permissions are broken?

2011-08-15 Thread Yuri

On 08/16/2011 01:32, per...@pluto.rain.com wrote:

On my 8.1 system, sticky(8) says:

   A directory whose `sticky bit' is set becomes ... a directory in
   which the_deletion_  of files is restricted.  A file in a sticky
   directory may only be_removed_  or_renamed_  if ...

[emphasis added]

Nothing there about the sticky bit changing the permissions required
to_overwrite_  a file, which is the subject of the current inquiry.

Even if the sticky bit_did_  have some effect on overwriting a file,
how would that explain the_different_  behavior of the two cases shown?


Actually, sticky has nothing to do with this. I originally spotted the 
problem on one device under /dev/ and later just made an example under 
tmp. Same behavior was for any other directory.

I still can't get why this happened.

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


top(1) loses process user time count when threads end

2011-08-05 Thread Yuri
I have the process that first runs in 3 threads but later two active 
threads exit.


top(1) shows this moment this way (1 sec intervals):
30833 yuri3  760  4729M  4225M nanslp  4   0:32 88.62% app
30833 yuri3  760  4729M  4225M nanslp  6   0:34 90.92% app
30833 yuri1  960  4729M  4225M CPU11   0:03  1.17% app
30833 yuri1  980  4729M  4226M CPU11   0:04 12.89% app

Process time goes down: 0:34 - 0:03. Also WCPU goes down 90.92% - 
1.17% even though this process is CPU bound and does intense things 
right after threads exit.


getrusage(2) though, called in the process, shows the correct user time.

I think this is the major bug in the process time accounting.

8.2-STABLE

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


Xorg at 100%CPU when browser is on

2011-08-01 Thread Yuri

I saw this with firefox, now I see the same with chrome.

After a while when the browser is launched with ~10 tabs open, Xorg 
begins to consume 100% CPU and all graphics apps get sluggish. Quitting 
the browser brings situation back to normal.


It looks amazing to me that both firefox and chrome exhibit the same 
behavior.


Anybody sees the same? Anybody can explain why would such thing happen?

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


Error from apache/dav after system upgrade: Init: Session Cache is not configured [hint: SSLSessionCache]

2011-07-01 Thread Yuri
After I upgraded the 8.2-STABLE to more current code and upgraded all 
ports I am unable to connect to svn repository through apache: client 
gets this:

Could not authenticate to server: rejected basic challenge.
httpd-errors.log gets messages, see below.

What may be a problem?

Yuri


---httpd-errors.log---
[Fri Jul 01 13:39:27 2011] [info] removed PID file /var/run/httpd.pid 
(pid=12874)

[Fri Jul 01 13:39:27 2011] [notice] caught SIGTERM, shutting down
[Fri Jul 01 13:39:27 2011] [info] Init: Seeding PRNG with 144 bytes of 
entropy
[Fri Jul 01 13:39:27 2011] [info] Init: Generating temporary RSA private 
keys (512/1024 bits)
[Fri Jul 01 13:39:27 2011] [info] Init: Generating temporary DH 
parameters (512/1024 bits)
[Fri Jul 01 13:39:27 2011] [warn] Init: Session Cache is not configured 
[hint: SSLSessionCache]
[Fri Jul 01 13:39:27 2011] [info] Init: Initializing (virtual) servers 
for SSL
[Fri Jul 01 13:39:27 2011] [info] mod_ssl/2.2.19 compiled against 
Server: Apache/2.2.19, Library: OpenSSL/0.9.8k

[Fri Jul 01 13:39:27 2011] [info] mod_unique_id: using ip addr 127.0.0.1
[Fri Jul 01 13:39:28 2011] [info] Init: Seeding PRNG with 144 bytes of 
entropy
[Fri Jul 01 13:39:28 2011] [info] Init: Generating temporary RSA private 
keys (512/1024 bits)
[Fri Jul 01 13:39:28 2011] [info] Init: Generating temporary DH 
parameters (512/1024 bits)
[Fri Jul 01 13:39:28 2011] [info] Init: Initializing (virtual) servers 
for SSL
[Fri Jul 01 13:39:28 2011] [info] mod_ssl/2.2.19 compiled against 
Server: Apache/2.2.19, Library: OpenSSL/0.9.8k
[Fri Jul 01 13:39:28 2011] [notice] Digest: generating secret for digest 
authentication ...

[Fri Jul 01 13:39:28 2011] [notice] Digest: done
[Fri Jul 01 13:39:28 2011] [info] mod_unique_id: using ip addr 127.0.0.1
[Fri Jul 01 13:39:29 2011] [notice] Apache/2.2.19 (FreeBSD) 
mod_ssl/2.2.19 OpenSSL/0.9.8q DAV/2 SVN/1.6.17 configured -- resuming 
normal operations

[Fri Jul 01 13:39:29 2011] [info] Server built: May 24 2011 00:13:27

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


Re: Any working SIP-phone on FreeBSD?

2011-06-19 Thread Yuri

On 06/18/2011 10:19, Yuri wrote:
I tried ekiga but it doesn't work. It gets into standby mode and stays 
this way. I think it's because of firewall. There is the PR for this.
I looked into Empathy. On Linux telepathy-sofiasip should be installed 
to add SIP to empathy, and on FreeBSD there is no such port.


As a follow-up to my own question, I added two new ports 
(net-im/sofia-sip and net-im/telepathy-sofiasip) that should add SIP 
functionality to empathy IM client: 
http://www.freebsd.org/cgi/query-pr.cgi?pr=158061


For some unknown reason empathy malfunctions when SIP protocol is 
selected. Maybe it's because current version in ports is outdated or 
maybe it's something with my station. I am investigating this.


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


Any working SIP-phone on FreeBSD?

2011-06-18 Thread Yuri
I tried ekiga but it doesn't work. It gets into standby mode and stays 
this way. I think it's because of firewall. There is the PR for this.
I looked into Empathy. On Linux telepathy-sofiasip should be installed 
to add SIP to empathy, and on FreeBSD there is no such port.


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


Re: Any working SIP-phone on FreeBSD?

2011-06-18 Thread Yuri

On 06/18/2011 10:32, Ivan Klymenko wrote:

I also can not get ekiga to work even after trying to configure a
firewall and router, guided by the following instructions:
http://wiki.ekiga.org/index.php/Internet_ports_used_by_Ekiga
http://wiki.ekiga.org/index.php/Enable_port_forwarding_manually

http://wiki.ekiga.org/index.php/Ekiga_behind_a_NAT_router

:(
   


I don't think you should need to configure router if it works. It should 
be able to find ports by itself like skype does it. If IM app can't find 
the way around the closed ports it isn't viable.


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


Re: Any working SIP-phone on FreeBSD?

2011-06-18 Thread Yuri

On 06/18/2011 11:03, Frank Shute wrote:

Skype works. You need a reasonably recent 7 or 8 STABLE or CURRENT and
the linux-f10 stuff. There are a number of skype ports; you want to
use net-im/skype.
   


I use skype and trying to get rid of it. For security reasons. Also for 
the reason that MS who owns it now has the policy of cooperation with 
governments worldwide and there are many fascist governments out there.


So my question was about the alternative to skype.

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


How are conflicts between packages resolved?

2011-06-18 Thread Yuri
I see the messages like below. One package depends on unixODBC, and it 
can't be installed because the other packages install files in the same 
place.
So what is the general solution? I don't think this situation is normal, 
when some packages are mutually exclusive.


Yuri



 log 
=== unixODBC-2.3.0_1 conflicts with installed package(s):
libiodbc-3.52.7
virtuoso-6.1.3

They install files into the same place.
You may want to stop build with Ctrl + C.
=== Vulnerability check disabled, database not found
=== License check disabled, port has not defined LICENSE

=== unixODBC-2.3.0_1 conflicts with installed package(s):
libiodbc-3.52.7
virtuoso-6.1.3

They will not build together.
Please remove them first with pkg_delete(1).
*** Error code 1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Any working SIP-phone on FreeBSD?

2011-06-18 Thread Yuri

On 06/18/2011 22:10, Matthias Apitz wrote:

Try this for building ekiga from SVN/git:

http://wiki.ekiga.org/index.php/Compile_your_own_SVN_version_of_Ekiga_on_FreeBSD

It does use GTK and works in FreeBSD.
   


This HOWTO is truly amazing. Why don't they just fix the FreeBSD port 
instead of writing whole HOWTO?


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


Special symbols size issue with Firefox-4.0.1

2011-05-27 Thread Yuri
On http://en.wikipedia.org/wiki/Voiced_alveolo-palatal_fricative symbol 
on the right side is displayed in firefox with a very tiny size font. In 
Ubuntu and in Windows firefox displays the same symbol nicely with the 
large size font.


My fonts in xorg.conf are:
Section Files
ModulePath   /usr/local/lib/xorg/modules
FontPath /usr/local/lib/X11/fonts/misc/
FontPath /usr/local/lib/X11/fonts/webfonts
FontPath /usr/local/lib/X11/fonts/TTF/
FontPath /usr/local/lib/X11/fonts/OTF
FontPath /usr/local/lib/X11/fonts/Type1/
FontPath /usr/local/lib/X11/fonts/100dpi/
FontPath /usr/local/lib/X11/fonts/75dpi/
# from here -- my additions
FontPath   /usr/local/lib/X11/fonts/TrueType/
FontPath /usr/local/lib/X11/fonts/tmu/
FontPath   /usr/local/lib/X11/fonts/cyrillic/
FontPath  /usr/local/lib/X11/fonts/dejavu
EndSection

What is wrong with the fonts that this special symbol isn't displayed 
with the proper size?


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


Re: remove all ports

2011-05-08 Thread Yuri Pankov
On Sun, May 08, 2011 at 05:05:19AM -0700, Dino Vliet wrote:
 Hi freebsd people,
 just to make sure I don't end up with a unworkable system I want to
 ask the list if I'm on the right track.
 
 I have this workstation running FreeBSD 8.1 and have used it as an
 application/database server for most of the last 2 years. Do to my
 assignment being finished I want to rearrange stuff, without going
 to a re-install as everything has been setup to my liking (gmirror
 etc etc).
 
 Over time a few ports  were installed, for which I have no use now.
 I figured out the alternatives I have are:
 
 A) remove all ports Except the ones I would like to keep

Try using ports-mgmt/pkg_cutleaves (with the recursive option).

 B) remove all ports and then
  reinstall the ports that I would like to keep
 
 What are the commands for option A en B (assuming bash, weka,
 postgresql*, screen, gawk, rsync, jdk would have to stay?)
 
 For option A I tried pkg_deinstall -r xorg-minimal-7.5.1 but only
 that port got removed and not the ports I found after I did
 pkg_info -r xorg-minimal-7.5.1


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


How to specify ssid to ifconfig if it begins with '0x'?

2011-05-07 Thread Yuri

ifconfig(8) says:
The SSID is a string up to 32 characters in length and may be specified 
as either a normal string or in hexadecimal when preceded by ‘0x’.


But what if ssid actually begins with ASCII 0x?
'ifconfig wlan0 list scan' shows that my ssid is 0x000. Specifying ssid 
\\0x000 doesn't help. How to specify SSID beginning with 0x?


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


Re: Comparing two lists [SOLVED (at least it looks like that)]

2011-05-06 Thread Yuri Pankov
On Sat, May 07, 2011 at 04:23:40AM +0200, Rolf Nielsen wrote:
 2011-05-07 02:09, Rolf Nielsen skrev:
  Hello all,
 
  I have two text files, quite extensive ones. They have some lines in
  common and some lines are unique to one of the files. The lines that do
  exist in both files are not necessarily in the same location. Now I need
  to compare the files and output a list of lines that exist in both
  files. Is there a simple way to do this? diff? awk? sed? cmp? Or a
  combination of two or more of them?
 
  TIA,
 
  Rolf
 
 sort file1 file2 | uniq -d

I very seriously doubt that this line does what you want...

$ printf a\na\na\nb\n  file1; printf c\nc\nb\n  file2; sort file1 file2 | 
uniq -d
a
b
c


Try this instead (probably bloated):

sort  file1 | uniq | tr -s '\n' '\0' | xargs -0 -I % grep -Fx % file2 | sort | 
uniq

There is comm(1), of course, but it expects files to be already sorted.


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: i messed up, need to do fsck and also uncomment the /usr line if /etc/fstab

2011-05-06 Thread Yuri Pankov
On Fri, May 06, 2011 at 10:06:31PM -0400, Henry Olyer wrote:
 Woe is me.
 
 First, I simply messed up, happens to us all from time to time.  I lost
 power on an laptop running 8.2.
 
 Restarted it but for some reason the fsck didn't run and I lost some /usr
 files.
 
 I tried to do an fsck manually but because it's mounted I got nowhere.  So I
 put a comment (#) in front of the /usr line for the /etc/fstab file.
 
 Now, I can't boot.
 
 I need what's on my disk -- of course!

Boot to single user mode (4 in the boot menu), remount / read-write -
mount -u -o rw /, edit /etc/fstab (you'll probably need to mount /usr
manually if what's in /rescue doesn't work for you), reboot.

You can run fsck from single user mode, as well.


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Monthly Login Accounting Report - What do the numbers mean?

2011-05-01 Thread Yuri Pankov
On Sun, May 01, 2011 at 09:17:33AM -0400, Alejandro Imass wrote:
  Doing login accounting:
 total  726.98
 aimass 508.96
 cctun  216.80
 cmm  0.84
 delco0.37
 hugo 0.01
 
 
 What do these numbers mean? Is it login times? How can you login 0.01
 times??? I know for a fact that in April hugo logged in exactly 1 time
 to do an scp of a large file. Are these numbers percentages ? guess
 not because there would be no total!

It's ac(8) output, and those number are (quoting manpage) accumulated
connect time (in hours) for all logins.


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS-Only FreeBSD and crashdump

2011-04-28 Thread Yuri Pankov
On Thu, Apr 28, 2011 at 10:14:08PM +0300, Vladislav V. Prodan wrote:
 28.04.2011 19:40, Andriy Gapon wrote:
  At the moment FreeBSD doesn't support dumping to ZFS zvols, if that's what 
  you are
  asking.
 
 And when do planning to add support? :)
 Option to use to dump the usb-flash has its limitations, both on disk 
 size and write speed?

Why not just use your swap partition as dumpdev?


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


Re: Script behavior I can't grasp

2011-04-06 Thread Yuri Pankov
On Wed, Apr 06, 2011 at 03:32:14PM -0700, Walt Pawley wrote:
 My IPv6 tunnel has a tendency to vanish from time to time. So I
 thought I might write a script to check that and attempt
 reconstituting it if needed. After some considerable messing
 about, I really thought this ...
 
 #!/bin/sh
 if ifconfig en1|grep -q inet6 2001 ; then exit;
 else
 if ps -ax | grep gw6c | grep -qv grep;
 then ps -ax | grep gw6c | grep -v grep | ( read x y; kill $x )
 fi
 cd /usr/local/gw6c/bin
 ./gw6c
 fi
 
 ... should work. But I was wrong, as usual. In the case where
 the tunnel has vanished, the gw6c program often does not quit
 right away, and it is usually soaking up a lot of processor in
 that mode. Thus it was necessary to test for gw6c running and
 terminate it if it was. Curiously, even when it was not
 running. the test above would fail in the script. On the
 command line, it seemed, as near as I could tell, to work just
 fine.
 
 Grasping at straws, I decided to try the following:
 
 #!/bin/sh
 if ifconfig en1|grep -q inet6 2001 ; then exit;
 else
 if $( ps -ax | grep gw6c | grep -qv grep );
 then ps -ax | grep gw6c | grep -v grep | ( read x y; kill $x )
 fi
 cd /usr/local/gw6c/bin
 ./gw6c
 fi
 
 It worked just fine. I'd like to know why this disparity. It's
 probably something mind bogglingly simple but my researches
 have yet to unboogle me. Can you?

Not the answer you asked for, but... you should really take a look at
pkill(1) instead of that check.


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to enforce password change at first login

2011-03-29 Thread Yuri Pankov
On Wed, Mar 30, 2011 at 06:10:11AM +0100, Michael wrote:
 Hi,
 
 How can I enforce a user to change his password at first login?
 
 I want to set up ssh access for my friends but I don't want to know 
 their passwords. And I don't trust they will change it just because I've 
 asked to do so.
 
 I was thinking I can create account with random password and provide it 
 to my users. Then the system would enforce password change at first login.
 
 Any clues, please?

Something like:
# pw usermod username -p -1

Anyway, see pw(8).


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ipmi is broken? (ppc0: cannot reserve I/O port range)

2011-03-26 Thread Yuri

When I load module: kldload /boot/kernel/ipmi.ko
message appears in system log:
ppc0: cannot reserve I/O port range

Command 'ipmitool sensor' complains:
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No 
such file or directory


What is wrong?
FreeBSD xxx.xxx.xxx 8.2-STABLE FreeBSD 8.2-STABLE #2: Tue Mar 15 
21:20:50 PDT 2011 y...@xxx.xxx.xxx:/usr/obj/usr/src/sys/GENERIC  amd64


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


How older files installed by previous versions of FreeBSD are supposed to be deleted?

2011-02-20 Thread Yuri

I updated my system many times.
As a result I have many older libraries with different numbers:
/lib/libm.so.4
/lib/libm.so.5

/lib/libutil.so.5
/lib/libutil.so.7
/lib/libutil.so.8
/lib/libutil.so.9

/lib/libc.so.6
/lib/libc.so.7

How older files are normally deleted? Is there a script that finds older 
versions and deletes them? Otherwise after a while all possible versions 
will accumulate there.

I suspect the same happens under /etc with various renamed/deleted files.

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


Can motorola v195 be supported as network interface?

2011-02-19 Thread Yuri
I have this phone, 'usbconfig -d ugen1.2 dump_device_desc' shows it like 
this:


ugen1.2: Motorola Phone (V195) Motorola Inc. at usbus1, cfg=0 md=HOST 
spd=FULL (12Mbps) pwr=ON


  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0110
  bDeviceClass = 0x0002
  bDeviceSubClass = 0x
  bDeviceProtocol = 0x
  bMaxPacketSize0 = 0x0008
  idVendor = 0x22b8
  idProduct = 0x4902
  bcdDevice = 0x0001
  iManufacturer = 0x0001 Motorola Inc.
  iProduct = 0x0002 Motorola Phone (V195)
  iSerialNumber = 0x no string
  bNumConfigurations = 0x0002

It doesn't show up as a network interface, only as ugen.
What would it take to support it? How hard can it be to make it show up 
as network interface?

MacOS for example sees it as a PPP modem asking for user name/password.

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


Re: manual page formatting issues

2011-02-04 Thread Yuri Pankov
On Sat, Feb 05, 2011 at 02:24:31PM +1000, Rob wrote:
 Hi,
 
 I'm running FreeBSD 8.1-RELEASE (running on VMWare Server 2.0.2) and am
 having some odd issues the formatting of man pages.
 
 If I view a man page (as root) in the console it displays correctly. If I
 view the man page (again, as root) in a (PuTTY) terminal session, the bold
 formatting of the command line arguments is missing.
 
 See the following screen shot examples:
 
 Console: http://imageupload.org/?di=612968791464
 
 Terminal: http://imageupload.org/?di=112968791464
 
 In the console session I have the TERM=cons25.
 
 In the terminal session I have it set to TERM=xterm. My PuTTY settings are
 pretty much the default, including the Connection-Data-Terminal-type
 string set to xterm.
 
 The pager in both sessions is set to more.
 
 I've played around with various terminal settings, to no avail. Can someone
 please offer some pointers as to how I might fix this?
 
 Thanks,
 Rob

You probably forgot to change Window-Colors-Default Bold Foreground
color values in PuTTY (works just fine here).


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: wine questions

2011-01-27 Thread Yuri Pankov
On Thu, Jan 27, 2011 at 10:50:31PM +, Mike Clarke wrote:
 On Thursday 27 January 2011, Dmitri Brengauz wrote:
 
  On Thu, Jan 27, 2011 at 11:48 AM, Fred f...@blakemfg.com wrote:
   Hello,
  
   I need to buy an expensive logic device programmer that connects to
   a PC through USB.
 
 [snip]
 
  Have you tried VirtualBox?   You still have to shell out for a
  Windows license, but at least the Gates virus will be contained
  securely on your computer.  For me, Virtual Box + FreeBSD has been
  running better than VMWare + OS X.  Once again, free software, more
  than worth the price.
 
 But VirtualBox OSE doesn't support USB.

VirtualBox 4 *seems* to support USB (I have the option in the GUI,
haven't tried it though). It's available for testing from
http://svn.bluelife.at/ at the moment.

 
 -- 
 Mike Clarke


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ndis-based network driver fails to load at boot (8.2-PRERELEASE)

2011-01-25 Thread Yuri



Does reverting:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/if_ndis/if_ndis_usb.c.diff?r1=1.19.2.3;r2=1.19.2.4;f=h

fixed problem?
   


Hi Paul,

So did the find that this particular checkin caused the problem led to 
some resolution? Is it fixed now in 8.X or 9.X?


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


Re: ndis-based network driver fails to load at boot (8.2-PRERELEASE)

2011-01-18 Thread Yuri

On 01/18/2011 06:23, Paul B Mahol wrote:

Does reverting:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/if_ndis/if_ndis_usb.c.diff?r1=1.19.2.3;r2=1.19.2.4;f=h

fixed problem?
   


Yes it does fix the problem.

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


Re: ndis-based network driver fails to load at boot (8.2-PRERELEASE)

2011-01-17 Thread Yuri



Do you load ndis and if_ndis via loader.conf too?
   


Yes, presense of if_ndis and ndis in loader.conf doesn't change anything.

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


ndis-based network driver fails to load at boot (8.2-PRERELEASE)

2011-01-14 Thread Yuri

I have the old module that always worked.
Begining from some update (~8.1-STABLE), it stopped loading at boot time 
with the messages:

...skipped...
module ndis already present
KLD file bcmwl5_sys.ko is missing dependencies
...skipped...

/boot/loader.conf has this line that is supposed to, and was loading the 
module:

bcmwl5_sys_load=YES

Rebuilding the driver from Windows version with the current ndisgen 
doesn't change anything.
Loading this module by hand (kldload) after system boots succeeds and it 
runs fine. Although it also says: module ndis already present


Why it fails to load at boot?

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


Re: Why top(1) only shows time of the main thread?

2011-01-07 Thread Yuri

On 01/07/2011 14:33, Anonymous wrote:

Yuriy...@rawbw.com  writes:

   

TIME column is supposed to show time of the process (according to its
man page).
But it seems like it only shows the time of its main thread.

Why? Bug in documentation?
 

Wasn't this fixed in r182966?
   


You are right according to this revision log (in stable/8):

r182966 | sepotvin | 2008-09-12 10:54:50 -0700 (Fri, 12 Sep 2008) | 7 lines

Display the sum of the runtime of all the threads in a process when it's
multithreaded instead of picking the time of the first thread found.


But I have rebuilt my system 8.1-STABLE on Oct 11 2010 and my top only 
shows the main thread's CPU use.


How can this be?
Yuri

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


Why top(1) only shows time of the main thread?

2011-01-05 Thread Yuri
TIME column is supposed to show time of the process (according to its 
man page).

But it seems like it only shows the time of its main thread.

Why? Bug in documentation?

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


Is Linux emulator not up-to-date and doesn't understand STB_GNU_UNIQUE binding?

2010-12-29 Thread Yuri

I have the working app in Ubuntu.
When I copy it to FreeBSD with all shared libs I get such message:
app.linux: symbol lookup error: ../lib/libstdc++.so.6: undefined symbol: 
_ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE, 
version GLIBCXX_3.4


../lib/libstdc++.so.6 has been taken from Ubuntu (gcc-4.5.1)

Upon closer inspection I see that on FreeBSD:
 readelf -aW ../lib/libstdc++.so.6 | grep 
_ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE
  1426: 000f30dc 4 OBJECT OS specific: 10 DEFAULT   26 
_ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE@@GLIBCXX_3.4
  3380: 000f30dc 4 OBJECT OS specific: 10 DEFAULT   26 
_ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE


But on Ubuntu the word UNIQUE replaces 10. It refers to the relatively 
newly introduced extension STB_GNU_UNIQUE, see here:

http://osdir.com/ml/general/2009-08/msg09809.html

Should Linux emulator be updated?

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


Ports: How do dependent ports upgrade when dependency shared lib version is bumped?

2010-12-11 Thread Yuri
I recently updates the system. libatkmm-1.6.so.1 got bumped to 
libatkmm-1.6.so.2, now inkscape fails:
/libexec/ld-elf.so.1: Shared object libatkmm-1.6.so.1 not found, 
required by inkscape


What is the right behavior in such situation? Should all depending 
packages be also automatically bumped? Or portupghrade should detect the 
change and automatically upgrade dependent ports?


Yuri

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


Why gdb-7.1 doesn't set hardware watchpoints on i7 CPU (amd64)?

2010-12-08 Thread Yuri

All watchpoints are software.
How can I troubleshoot?

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


portupgrade causes kernel message: maxproc limit exceeded by uid 0

2010-12-03 Thread Yuri
Beginning at some time less than 1 month ago I started getting such 
message. Increasing maxproc doesn't help. Current values are like this:

kern.maxproc: 6164
kern.maxprocperuid: 5547

What may be causing such condition?

Yuri

--- sample log from portupgrade ---
mv -f .deps/regex.Tpo .deps/regex.Po
/bin/sh /usr/ports/devel/glib20/work/gnome-libtool  --tag=CC   
--mode=link cc  -O2 -pipe -fno-strict-aliasing -Wall  -L/usr/local/lib 
-lintl -o markup-escape markup-escape.o ../../glib/libglib-2.0.la

mv -f .deps/gdatetime.Tpo .deps/gdatetime.Po
/bin/sh /usr/ports/devel/glib20/work/gnome-libtool  --tag=CC   
--mode=link cc  -O2 -pipe -fno-strict-aliasing -Wall  -L/usr/local/lib 
-lintl -o markup-subparser markup-subparser.o ../../glib/libglib-2.0.la

./printf: Cannot fork: Resource temporarily unavailable
./printf: Cannot fork: Resource temporarily unavailable
./printf: Cannot fork: Resource temporarily unavailable
./printf: Cannot fork: Resource temporarily unavailable
./printf: Cannot fork: Resource temporarily unavailable
./printf: Cannot fork: Resource temporarily unavailable
./printf: Cannot fork: Resource temporarily unavailable
./printf: Cannot fork: Resource temporarily unavailable
./printf: Cannot fork: Resource temporarily unavailable
./printf: Cannot fork: Resource temporarily unavailable
./printf: Cannot fork: Resource temporarily unavailable
./printf: Cannot fork: Resource temporarily unavailable
./printf: Cannot fork: Resource temporarily unavailable
./printf: Cannot fork: Resource temporarily unavailable
/printf: Cannot fork: Resource temporarily unavailable
./printf: Cannot fork: Resource temporarily unavailable
cd: can't cd to /snprintf
/snprintf
/snprintf
/snprintf
/snprintf
/snprintf
/snprintf
/printf
/printf
/printf
/sprintf

GLib-ERROR **: failed to fork test program: Resource temporarily unavailable
aborting...

GLib-ERROR **: failed to fork test program: Resource temporarily unavailable
aborting...
cd: can't cd to /snprintf
/snprintf
/snprintf
/snprintf
/snprintf
/snprintf

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


Is chinese/ibus-chewing port broken?

2010-10-16 Thread Yuri

Hello,

When I select Chinese - Chewing and press some bopomofo keys (pretty 
much any a-z keys) I don't see the prompt with these bopomofo letters. I 
think this is wrong -- bopomofo should be displayed along with the final 
word selection.


I have these relevant ports installed:
zh-ibus-chewing-1.3.5.20100706
ibus-1.3.5
ibus-m17n-1.3.0
ibus-qt-1.3.0

8.1-STABLE
kde4

Thank you,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Too many binary packages are missing

2010-10-15 Thread Yuri

On 10/15/10 09:39, b. f. wrote:

On 10/15/10, Ian Smithsmi...@nimnet.asn.au  wrote:
...

   

http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable works,
it's what portupgrade looks at on an 8.1-STABLE system, but it's a bit
sad finding the last directory updated at 1st October.  I checked just
one subdir, sysutils, and the newest file there is 30th September.
 

http://pointyhat.freebsd.org/errorlogs/packagestats.html
http://portsmon.FreeBSD.org/portsuploadstatus.py

...

   

Er, 8-STABLE (packages) is for currently 8.1-STABLE (world/kernel), no?
 

No.  I thought the 8-STABLE packages were from a recent snapshot of
8-STABLE, because that's the way that tinderboxes are set up.
However, I checked, and actually a version of the last supported
stable branch of 6.*, and some versions of the _oldest_ supported
stable branches of 7,8 are used. Right now, for i386 it's:

6.x-stable --  6.4-RELEASE-p9
7.x-stable --  7.1-RELEASE-p12
8.x-stable --  8.0-RELEASE-p2
9.x-current --  a snaphot of 9-CURRENT
   


For example I am watching the update process of one i386 system. 
portupgrade just failed to find one more package:

ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8-stable/All/kdeutils-4.5.2.tgz

Is it misconfigured, wrong path? I didn't touch this part of 
configuration at all.


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


Re: Too many binary packages are missing

2010-10-15 Thread Yuri

On 10/15/2010 11:54, b. f. wrote:

For example I am watching the update process of one i386 system.
portupgrade just failed to find one more package:
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8-stable/All/kdeutils-4.5.2.tgz

Is it misconfigured, wrong path? I didn't touch this part of
configuration at all.
 

Right now I only see:

ftp://ftp.freebsd.org:21/pub/FreeBSD/ports/i386/packages-8-stable/All/kdeutils-4.5.1.tbz

from 29 Sept. 2010. The port, misc/kdeutils4, was updated on 5 Oct.
2010, and the latest 8.x-stable i386 has not yet been placed on the
servers.  But this is one of those cases I mentioned, where it seems
that pointyhat has a package that the ftp servers do not. (I don't
know why.)  So you could try:
   



That's quite a delay. This makes it very visible to users.


http://pointyhat.freebsd.org/errorlogs/i386-8-packages-latest/misc/kdeutils-4.5.2.tbz

or, better yet, build your own.
   


See, this is a problem. I only have one very slow i386 and it takes forever.

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


Too many binary packages are missing

2010-10-13 Thread Yuri
I am updating i386 system (portupgrade -aP) and whole lot of binary 
packages are missing.
For example, gcc-4.5.0, qt4-corelib are examples of large packages that 
are missing that don't require too many dependencies and are very basic.


I know, it may be caused by failed dependencies, copyright restrictions, 
etc. But it's hard to imagive why they are missing for these two: no 
copyright restrictions, and almost no dependencies.


This unfortunately slows down many people.
Is there any solution to this problem? Maybe people just forget about 
this build server and some minor fix wil help?


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


Re: Too many binary packages are missing

2010-10-13 Thread Yuri

On 10/13/2010 10:51, Frank Shute wrote:

gcc is in base as cc(1). There are a metric ton of qt4 ports and they
are not basic in that they are not required if you don't use KDE or
its applications.
   


Base has 4.2.1 and not updating (waiting for LLVM conversion maybe). So 
many ports require various gcc versions to be installed. Mostly to build 
them at buildtime, and libraries at runtime. And turns out that binaries 
for these extra gcc packages are missing for some reason.


And QT is one of the major graphics toolkits. Various random packages 
use them as well as KDE. Pretty basic thing.



It's a case of having space on the servers IIRC.

Also some require too many options to be set at build time (probably
the problem with qt). I know it's the reason why OO.o is not packaged
- too many languages  other options.
   


I am not sure how Debian packages handle this. They seem to support all 
the same options and are always in binaries.


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


Re: Too many binary packages are missing

2010-10-13 Thread Yuri

On 10/13/2010 17:24, b. f. wrote:

I am updating i386 system (portupgrade -aP) and whole lot of binary
packages are missing.
For example, gcc-4.5.0, qt4-corelib are examples of large packages that
are missing that don't require too many dependencies and are very basic.

I know, it may be caused by failed dependencies, copyright restrictions,
etc. But it's hard to imagive why they are missing for these two: no
copyright restrictions, and almost no dependencies.

This unfortunately slows down many people.
Is there any solution to this problem? Maybe people just forget about
this build server and some minor fix wil help?
 

Maybe some other ports have licenses that prevent the distribution of
packages, but not lang/gcc45 and devel/qt4-corelib.  Where did you
instruct portupgrade and the base system package tools to look for
them?   Is your ports tree up-to-date?  I see, on the ftp servers:

http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/lang/gcc-4.5.2.20100923.tbz

http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/lang/gcc-4.5.2.20100923.tbz

http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/lang/gcc-4.5.0.20090924.tbz

http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/lang/gcc-4.5.1.20100701.tbz

ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/lang/gcc-4.5.2.20100923.tbz

http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-current/lang/gcc-4.5.2.20100923.tbz

Also:

http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/devel/qt4-corelib-4.6.3.tbz

...
   


My system is 8.1-stable and portupgrade looks at
http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-stable
No sure what is packages-8-stable, shouldn't it be the same?

System should at least have binaries of all packages that are required 
to install kde4/gnome/firefox/thunderbird -- major x11 environments and 
programs people use.


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


Is there a way I can rotate Logitech 960-000111 Quickcam Orbit AF USB Webcam in FreeBSD?

2010-10-08 Thread Yuri

This webcam otherwise works. But it is capable to rotate in two dimensions.
I found two projects dov4l and setpwc related to this, but they seem to 
be outdated.


Any way I can rotate this cam?

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


Re: VirtualBox: Pressing some key few times fast causes an event storm

2010-10-07 Thread Yuri

On 10/06/2010 16:33, Adam Vande More wrote:


Yes, it is not specific to FreeBSD and really not even specific to 
VirtualBox since VMware guests can also experience the issue.  There 
are resolutions to it, if you bother to look.


--
Adam Vande More


I found some references with recommendations like check your key repeat 
rate. I changed that in the guest but it didn't help.


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


Re: VirtualBox: Pressing some key few times fast causes an event storm

2010-10-07 Thread Yuri

On 10/07/2010 17:29, Adam Vande More wrote:
On Thu, Oct 7, 2010 at 5:57 PM, Yuri y...@rawbw.com 
mailto:y...@rawbw.com wrote:


On 10/06/2010 16:33, Adam Vande More wrote:


Yes, it is not specific to FreeBSD and really not even
specific to VirtualBox since VMware guests can also experience
the issue.  There are resolutions to it, if you bother to look.


I found some references with recommendations like check your key
repeat rate. I changed that in the guest but it didn't help.


There is a lot more than that for suggestions, but the #1 easiest 
solution is to install guest additions.  I've never had a problem with 
that installed.


--
Adam Vande More


But I have this problem with guest additions.

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


VirtualBox: Pressing some key few times fast causes an event storm

2010-10-06 Thread Yuri

I run Ubuntu guest on FreeBSD host.
I am in Open Accessories/Terminal app

I get this quite often: when I press some button fast few times it gets 
pressed endless number of times. This can be Enter after some command. 
Or Up/Down on some large file in vim. Guest behaves like I pressed this 
button infinite number of times and stops responding.


Trying to close the guest window causes window manager to ask if I would 
like to terminate the virtualbox application altogether. This means that 
this window isn't responding.


Is this a known bug?

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


Why in FreeBSD Tk apps don't copy to clipboard selected text?

2010-10-04 Thread Yuri

For example, tkdiff.
In Linux when I select something it is being copied and I can paste it 
with middle mouse button click.

In FreeBSD -- text isn't being copied when selected.

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


Re: Why in FreeBSD Tk apps don't copy to clipboard selected text?

2010-10-04 Thread Yuri

On 10/04/2010 20:12, Adam Vande More wrote:
Probably has something to do  with your xorg.conf, middle button paste 
works fine on every system I use and they all run FreeBSD.


It works for me very well too.
Everywhere, but from Tk apps on FreeBSD.

Yuri

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


How can I know how many packets were lost and resent on particular TCP connection?

2010-10-04 Thread Yuri

Just curious if I can do this.

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


How to prevent system to launch interactive fsck after improper shutdown and reboot?

2010-09-15 Thread Yuri
Almost every time after improper shutdown (poweroff) and reboot I get 
into interactive fsck.


I am being asked whole bunch of questions to which I just have to answer 
Y (what are my other options?)


Why drop user into interactive fsck if there is not much choice anyways? 
Is there a way to set it up the way it doesn't drop into interactive 
mode? Like answer 'Y' to all questions?


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


Re: How to prevent system to launch interactive fsck after improper shutdown and reboot?

2010-09-15 Thread Yuri

On 09/15/10 09:47, Remko Lodder wrote:

I think this might do your trick:

fsck_y_enable=NO  # Set to YES to do fsck -y if the initial preen
fails.
fsck_y_flags= # Additional flags for fsck -y

The reason for this to get interactively is because this  might messup
with your filesystem, and you are the one responsible for your filesystem,
not us or the autmated system. So in case you want to play with that,
that's entirely up to you.

In addition, I can imagine that companies (been there done it) do not want
to fsck -y by default, this because of the mentioned potential corruption
and dataloss.

Thanks
remko

p.s. This was found within 5 seconds in /etc/defaults/rc.conf.

   


Thanks Remko!
I never had spare 5 secs for this :-), and now when I left my computer 
to friends (not computer savvy) they got into this trap. There is no 
database... I think installer better asks this question during 
installation since many users just run a desktop and -y is pretty much 
ok for them.


Thank you again,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


VBox-3.2.8 has screen refresh problem

2010-09-06 Thread Yuri
When vbox window is minimized or covered by other windows and comes back 
on top it doesn't repaint.

Resizing the window helps to refresh it.
This happens on FreeBSD-8.1-STABLE amd64 with the latest NVidia driver.

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


Why skype can't see webcam?

2010-09-03 Thread Yuri
I have webcamd running and can see my webcam using mplayer like this: 
mplayer tv:// -tv driver=v4l2:width=640:height=480:fps=30:device=/dev/video0
But skype can't see the video. It only sees /dev/video0 device but when 
I try testing it image is black.
v4l support was recently added into 8.1: 
http://www.leidinger.net/blog/2010/07/29/v4l-support-in-the-linuxulator-mfced-to-8-stable/, 
this is related.


Anybody knows why skype can't use video?

On the other hand, I tried to debug this with 'truss -f', but -f flag 
doesn't follow descendants of the linux process for some reason as it 
should. Any way to work around this?


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


Can I know how many bytes were allocated by malloc in my process?

2010-08-30 Thread Yuri

google-perftools malloc library has such feature.
But does FreeBSD system allocator have it?

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


Re: Why compositing gets disabled in KDE4?

2010-08-29 Thread Yuri

On 08/29/2010 10:23, Tijl Coosemans wrote:

On Saturday 28 August 2010 08:37:53 Yuri wrote:
   

It worked before on the same system (~3 months ago). But after some
updates of everything (kernel/nvidia driver/kde4) it gets disabled
from kde4 startup. Pressing 'Resume Compositing' doesn't help.

Message pops up that some application disabled compositing, press
Alt-Shift-F12. But this doesn't help either.
 

You should post your /var/log/Xorg.0.log and /etc/X11/xorg.conf to the
list.
   


Thank you,
I figured this out. This happens when kernel was rebuilt after nvidia 
module. Even presumably minor updates in kernel (8.1-STABLE updates) 
cause this: X works fine except for compositing is broken.


Thank you,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Why compositing gets disabled in KDE4?

2010-08-28 Thread Yuri
It worked before on the same system (~3 months ago). But after some 
updates of everything (kernel/nvidia driver/kde4) it gets disabled from 
kde4 startup. Pressing 'Resume Compositing' doesn't help.


Message pops up that some application disabled compositing, press 
Alt-Shift-F12. But this doesn't help either.


Any idea why this feature is broken?

FreeBSD-8.1-STABLE amd64
nvidia-driver-195.36.15
GeForce 9400GT
kde-4.4.5

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


Why network doesn't get initialized on system startup?

2010-08-19 Thread Yuri

I have two similar machines, on one rc.conf has:
wlans_ath0=wlan0
ifconfig_wlan0=ssid wifi-net-id weptxkey 1 deftxkey 1 wepmode on wepkey 
0x1234567890 DHCP

and it gets initialized at startup.

On another rc.conf has:
wlans_ndis0=wlan0
ifconfig_wlan0=ssid wifi-net-id weptxkey 1 deftxkey 1 wepmode on wepkey 
0x1234567890 DHCP

and this one doesn't get initialized at startup.

The only difference is that the second one uses ndis0 with some 
preloaded ndis driver. It shouldn't matter.
How can I make an interface to get initialized at startup and why it 
doesn't do this by itself?


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


Re: Why network doesn't get initialized on system startup?

2010-08-19 Thread Yuri

On 08/19/2010 03:10, Glen Barber wrote:

Are you loading the ndis(4) kernel module at boot via loader.conf?
   


Yes, all ndis-related drivers (ndis.ko, if_ndis.ko and actual ndis 
driver converted from windows one) are loaded from loader.conf.
When system comes up ndis0 is fully functional and I can initialize it 
by hand fine. It just doesn't happen on startup.


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


Is there a way to measure how much network traffic particular app generates?

2010-08-17 Thread Yuri

For example skype, or web browser?
I know SysGuard in kde4 shows network traffic per interface at 
particular time. But I am interested in per-application stats.


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


Re: Documentation on how to build 32bit applications on amd64?

2010-08-14 Thread Yuri

On 08/14/2010 04:05, Tijl Coosemans wrote:

There are patches for CURRENT here:
http://lists.freebsd.org/pipermail/freebsd-arch/2010-July/010470.html
   


Thank you Tijl,

cc-m32-2.diff has some failures:
--
|diff --git a/include/Makefile b/include/Makefile
|index 0ba8b17..e01d0a6 100644
|--- include/Makefile.orig
|+++ include/Makefile
--
Patching file include/Makefile using Plan A...
Hunk #1 succeeded at 114.
Hunk #2 succeeded at 136.
Hunk #3 succeeded at 147.
Hunk #4 failed at 186.
Hunk #5 failed at 263.
2 out of 5 hunks failed--saving rejects to include/Makefile.rej

Also file sys/amd64/include/_align.h referred from cc-m32-3.diff is 
missing on my system.

Maybe your patch isn't up-to-date?

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


Documentation on how to build 32bit applications on amd64?

2010-08-13 Thread Yuri

I need to build 32 bit apps the same way as they would be built on i386.

When I run 64-bit gcc I get this:
gcc -m32 -o m m.c
/usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for 
-lgcc
/usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for 
-lgcc

/usr/bin/ld: cannot find -lgcc

When I run 32bit gcc I get this:
/gcc-4.5.0-32/bin/gcc -m32 -o m m.c
/var/tmp//ccif89DB.s: Assembler messages:
/var/tmp//ccif89DB.s:11: Error: suffix or operands invalid for `push'
/var/tmp//ccif89DB.s:14: Error: `-12(%ebp)' is not a valid 64 bit 
base/index expression


In first case libgcc.so isn't found, and specifying -L/usr/lib32 doesn't 
help.

In the second case 32bit compiler runs 64-bit assembler which is wrong.

Is there a documentation how to cross compile 32 bit apps on 64 bit 
platform?


Yuri

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


  1   2   3   4   5   6   >