lang/gcc not build

2013-11-26 Thread Alexander Panyushkin

#portmaster lang/gcc
[...]
cd /usr/ports/lang/gcc/work/gcc-4.6.4 ; contrib/gcc_update --touch
configure: loading site script /usr/ports/Templates/config.site
checking build system type... x86_64-portbld-freebsd10.0
checking host system type... x86_64-portbld-freebsd10.0
checking target system type... x86_64-portbld-freebsd10.0
checking for a BSD-compatible install... /usr/bin/install -c -o root -g 
wheel

checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for gawk... (cached) /usr/bin/awk
checking for gcc... gcc46
checking for C compiler default output file name...
configure: error: in `/usr/ports/lang/gcc/work/build':
configure: error: C compiler cannot create executables
See `config.log' for more details.
===  Script ../gcc-4.6.4/configure failed unexpectedly.
Please report the problem to ger...@freebsd.org [maintainer] and attach the
/usr/ports/lang/gcc/work/build/config.log including the output of the 
failure

of your make command. Also, it might be a good idea to provide an overview
of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static
info -g -Ea).
*** Error code 1

#
/etc/make.conf

.if ${.CURDIR:N*/ports/lang/gcc*} == 
CFLAGS= -O2 -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Wformat
CPPFLAGS+= -D_FORTIFY_SOURCE=2
USE_GCC=4.6
.endif

#pkg info -ix gcc
gcc-4.6.3
gcc-ecj-4.5
gccmakedep-1.0.2_1

--
Alexander

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


Re: make delete-old broken

2013-10-29 Thread Alexander Panyushkin

Hello

FreeBSD 10.0-BETA2 #0 r257316: Tue Oct 29 12:46:22 EET 2013 
root:/usr/obj/usr/src/sys/Kernel  amd64


Build without error.

root make delete-old delete-old-libs
 Removing old files (only deletes safe to delete libs)
make[3]: chdir /usr/obj/usr/src/release: No such file or directory
make[2]: /usr/src/Makefile.inc1 line 132: warning: make -C 
/usr/obj/usr/src/release -V REVISION returned non-zero status

make[3]: chdir /usr/obj/usr/src/release: No such file or directory
make[2]: /usr/src/Makefile.inc1 line 133: warning: make -C 
/usr/obj/usr/src/release -V BRANCH returned non-zero status

awk: can't open file /usr/obj/usr/src/sys/sys/param.h
 source line number 1
make[2]: /usr/src/Makefile.inc1 line 135: warning: awk 
'/^#define[[:space:]]*__FreeBSD_version/ { print $3 }' 
/usr/obj/usr/src/sys/sys/param.h returned non-zero status

 Old files removed
 Removing old directories
make[3]: chdir /usr/obj/usr/src/release: No such file or directory
make[2]: /usr/src/Makefile.inc1 line 132: warning: make -C 
/usr/obj/usr/src/release -V REVISION returned non-zero status

make[3]: chdir /usr/obj/usr/src/release: No such file or directory
make[2]: /usr/src/Makefile.inc1 line 133: warning: make -C 
/usr/obj/usr/src/release -V BRANCH returned non-zero status

awk: can't open file /usr/obj/usr/src/sys/sys/param.h
 source line number 1
make[2]: /usr/src/Makefile.inc1 line 135: warning: awk 
'/^#define[[:space:]]*__FreeBSD_version/ { print $3 }' 
/usr/obj/usr/src/sys/sys/param.h returned non-zero status

rmdir: /usr/share/doc/psd/28.cvs: Directory not empty
 Old directories removed
To remove old libraries run 'make delete-old-libs'.
 Removing old libraries
Please be sure no application still uses those libraries, else you
can not start such an application. Consult UPDATING for more
information regarding how to cope with the removal/revision bump
of a specific library.
make[3]: chdir /usr/obj/usr/src/release: No such file or directory
make[2]: /usr/src/Makefile.inc1 line 132: warning: make -C 
/usr/obj/usr/src/release -V REVISION returned non-zero status

make[3]: chdir /usr/obj/usr/src/release: No such file or directory
make[2]: /usr/src/Makefile.inc1 line 133: warning: make -C 
/usr/obj/usr/src/release -V BRANCH returned non-zero status

awk: can't open file /usr/obj/usr/src/sys/sys/param.h
 source line number 1
make[2]: /usr/src/Makefile.inc1 line 135: warning: awk 
'/^#define[[:space:]]*__FreeBSD_version/ { print $3 }' 
/usr/obj/usr/src/sys/sys/param.h returned non-zero status

 Old libraries removed


On 29.08.2013 12:48, Ivan Klymenko wrote:

Hello.
In the interval between revisions = r254887 to r255016
make delete-old broken

root@nonamehost:/ # cd /usr/src/
root@nonamehost:/usr/src # yes|make delete-old
make[1]: tools/build/mk/tools/build/mk/OptionalObsoleteFiles.inc line
1603: Malformed conditional (${MK_GNU_PATCH} == no) make[1]: Fatal
errors encountered -- cannot continue make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src

I can not say exactly at what revision it happened - but it was noticed
in revision r255016
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org



--
Alexander

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


test

2013-10-08 Thread Alexander Panyushkin

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


problem to build world

2013-10-08 Thread Alexander Panyushkin

Hi all.

r256148 buildworld gives this error:

=== secure/usr.bin/ssh (all)
cc  -O2 -pipe -march=athlon64-sse3 -mtune=athlon64-sse3 
-I/usr/src/secure/usr.bin/ssh/../../../crypto/openssh -include 
ssh_namespace.h -DHAVE_LDNS=1 -include krb5_config.h -std=gnu99 
-Qunused-arguments -fstack-protector -Wno-pointer-sign -Wno-empty-body 
-Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value 
-Wno-parentheses-equality -Wno-unused-function -Wno-conversion 
-Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter 
-Wno-parentheses -c 
/usr/src/secure/usr.bin/ssh/../../../crypto/openssh/ssh.c
cc  -O2 -pipe -march=athlon64-sse3 -mtune=athlon64-sse3 
-I/usr/src/secure/usr.bin/ssh/../../../crypto/openssh -include 
ssh_namespace.h -DHAVE_LDNS=1 -include krb5_config.h -std=gnu99 
-Qunused-arguments -fstack-protector -Wno-pointer-sign -Wno-empty-body 
-Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value 
-Wno-parentheses-equality -Wno-unused-function -Wno-conversion 
-Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter 
-Wno-parentheses -c 
/usr/src/secure/usr.bin/ssh/../../../crypto/openssh/readconf.c
cc  -O2 -pipe -march=athlon64-sse3 -mtune=athlon64-sse3 
-I/usr/src/secure/usr.bin/ssh/../../../crypto/openssh -include 
ssh_namespace.h -DHAVE_LDNS=1 -include krb5_config.h -std=gnu99 
-Qunused-arguments -fstack-protector -Wno-pointer-sign -Wno-empty-body 
-Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value 
-Wno-parentheses-equality -Wno-unused-function -Wno-conversion 
-Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter 
-Wno-parentheses -c 
/usr/src/secure/usr.bin/ssh/../../../crypto/openssh/clientloop.c
cc  -O2 -pipe -march=athlon64-sse3 -mtune=athlon64-sse3 
-I/usr/src/secure/usr.bin/ssh/../../../crypto/openssh -include 
ssh_namespace.h -DHAVE_LDNS=1 -include krb5_config.h -std=gnu99 
-Qunused-arguments -fstack-protector -Wno-pointer-sign -Wno-empty-body 
-Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value 
-Wno-parentheses-equality -Wno-unused-function -Wno-conversion 
-Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter 
-Wno-parentheses -c 
/usr/src/secure/usr.bin/ssh/../../../crypto/openssh/sshtty.c
cc  -O2 -pipe -march=athlon64-sse3 -mtune=athlon64-sse3 
-I/usr/src/secure/usr.bin/ssh/../../../crypto/openssh -include 
ssh_namespace.h -DHAVE_LDNS=1 -include krb5_config.h -std=gnu99 
-Qunused-arguments -fstack-protector -Wno-pointer-sign -Wno-empty-body 
-Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value 
-Wno-parentheses-equality -Wno-unused-function -Wno-conversion 
-Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter 
-Wno-parentheses -c 
/usr/src/secure/usr.bin/ssh/../../../crypto/openssh/sshconnect.c
cc  -O2 -pipe -march=athlon64-sse3 -mtune=athlon64-sse3 
-I/usr/src/secure/usr.bin/ssh/../../../crypto/openssh -include 
ssh_namespace.h -DHAVE_LDNS=1 -include krb5_config.h -std=gnu99 
-Qunused-arguments -fstack-protector -Wno-pointer-sign -Wno-empty-body 
-Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value 
-Wno-parentheses-equality -Wno-unused-function -Wno-conversion 
-Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter 
-Wno-parentheses -c 
/usr/src/secure/usr.bin/ssh/../../../crypto/openssh/sshconnect1.c
cc  -O2 -pipe -march=athlon64-sse3 -mtune=athlon64-sse3 
-I/usr/src/secure/usr.bin/ssh/../../../crypto/openssh -include 
ssh_namespace.h -DHAVE_LDNS=1 -include krb5_config.h -std=gnu99 
-Qunused-arguments -fstack-protector -Wno-pointer-sign -Wno-empty-body 
-Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value 
-Wno-parentheses-equality -Wno-unused-function -Wno-conversion 
-Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter 
-Wno-parentheses -c 
/usr/src/secure/usr.bin/ssh/../../../crypto/openssh/sshconnect2.c
cc  -O2 -pipe -march=athlon64-sse3 -mtune=athlon64-sse3 
-I/usr/src/secure/usr.bin/ssh/../../../crypto/openssh -include 
ssh_namespace.h -DHAVE_LDNS=1 -include krb5_config.h -std=gnu99 
-Qunused-arguments -fstack-protector -Wno-pointer-sign -Wno-empty-body 
-Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value 
-Wno-parentheses-equality -Wno-unused-function -Wno-conversion 
-Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter 
-Wno-parentheses -c 
/usr/src/secure/usr.bin/ssh/../../../crypto/openssh/mux.c
cc  -O2 -pipe -march=athlon64-sse3 -mtune=athlon64-sse3 
-I/usr/src/secure/usr.bin/ssh/../../../crypto/openssh -include 
ssh_namespace.h -DHAVE_LDNS=1 -include krb5_config.h -std=gnu99 
-Qunused-arguments -fstack-protector -Wno-pointer-sign -Wno-empty-body 
-Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value 
-Wno-parentheses-equality -Wno-unused-function -Wno-conversion 
-Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter 
-Wno-parentheses -c 
/usr/src/secure/usr.bin/ssh/../../../crypto/openssh/roaming_common.c
cc  -O2 -pipe -march=athlon64-sse3 -mtune=athlon64-sse3 
-I/usr/src/secure/usr.bin/ssh/../../../crypto/openssh -include 
ssh_namespace.h 

Re: CURRENT r 255964 not build

2013-10-04 Thread Alexander Panyushkin

Hi all.
Somebody had problem to build FreeBSD 10.0
The problem remains unsolved.


uname -a
FreeBSD scorpion.kiev.ua 10.0-ALPHA3 FreeBSD 10.0-ALPHA3 #0 r255918M: 
Sat Sep 28 00:07:11 EEST 2013



*svn info*
Path: .
Working Copy Root Path: /usr/src
URL: svn://svn.freebsd.org/base/head
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 255988
Node Kind: directory
Schedule: normal
Last Changed Author: nwhitehorn
Last Changed Rev: 255988
Last Changed Date: 2013-10-02 16:33:10 +0300


clang -O2 -pipe -march=athlon64-sse3 -mtune=athlon64-sse3 
-I/usr/src/secure/usr.bin/ssh/../../../crypto/openssh -include 
ssh_namespace.h -DHAVE_LDNS=1 -std=gnu99 -Qunused-arguments 
-fstack-protector -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int 
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality 
-Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum 
-Wno-knr-promoted-parameter -Wno-parentheses  
-L/usr/obj/usr/src/tmp/usr/lib/private -rpath /usr/lib/private -o ssh 
ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o 
sshconnect2.o mux.o roaming_common.o roaming_client.o gss-genr.o -lssh 
-lutil -lldns -lcrypt -lcrypto -lz
/usr/obj/usr/src/tmp/usr/lib/private/libldns.so: undefined reference to 
`ldns_b64_pton_calculate_size'
/usr/obj/usr/src/tmp/usr/lib/private/libldns.so: undefined reference to 
`ldns_b64_ntop_calculate_size'
clang: error: linker command failed with exit code 1 (use -v to see 
invocation)

*** Error code 1

Stop.
make[5]: stopped in /usr/src/secure/usr.bin/ssh
*** Error code 1




*src.conf*
-
WITHOUT_AMD=YES
WITHOUT_ATM=YES
WITHOUT_AUDIT=YES
WITHOUT_AUTHPF=YES
WITHOUT_BIND=YES
WITHOUT_BLUETOOTH=YES
WITHOUT_BSNMP=YES
WITHOUT_CTM=YES
WITHOUT_FREEBSD_UPDATE=YES
WITHOUT_GAMES=YES
WITHOUT_INET6=YES
WITHOUT_IPFILTER=YES
WITHOUT_IPFW=YES
WITHOUT_IPX=YES
WITHOUT_JAIL=YES
WITHOUT_KERBEROS=YES
WITHOUT_NDIS=YES
WITHOUT_NIS=YES
WITHOUT_PORTSNAP=YES
WITHOUT_PROFILE=YES
WITHOUT_QUOTAS=YES
WITHOUT_RCMDS=YES
WITHOUT_RCS=YES
WITHOUT_SVNLITE=YES
WITH_CLANG=YES
WITH_CLANG_EXTRAS=YES
WITH_CLANG_IS_CC=YES
WITH_BSD_GREP=YES
WITH_ICONV=YES
WITH_LIBICONV_COMPAT=YES
WITH_USB_GADGET_EXAMPLES=YES
MALLOC_PRODUCTION=YES
CC=clang
CXX=clang++
CPP=clang-cpp
WITH_LIBCPLUSPLUS=YES
CXXFLAGS+= -stdlib=libc++

*make.conf*
-
CPUTYPE?=athlon64-sse3
KERNCONF=Kernel
NO_CPU_CFLAGS=false
NO_CPU_COPTFLAGS=false
NO_FSCHG=
NO_WERROR=
WERROR=
MAKE_JOBS_NUMBER=5
BATCH_DELETE_OLD_FILES=yes
WITHOUT_INET6=  yes
WITHOUT_IPV6=   yes
WITH_SYSTEM_ICU=yes
MALLOC_PRODUCTION=  yes
WITH_MMX=   yes
WITH_SSE=   yes
WITH_SSE2=  yes
WITH_SSE3=  yes
WITH_SSE4A= yes
WITH_3DNOW= yes
WITH_THREADS=   yes
WITH_PKGNG= yes
WITHOUT_PROFILE=yes
WITHOUT_DEBUG=  yes
WITHOUT_MODULES=bktr plip
PRINTERDEVICE=  ps
DOC_LANG=   en_US.ISO8859-1 ru_RU.KOI8-R

.if ${.CURDIR:M*/usr/src/*} || ${.CURDIR:M*/usr/obj/*}
CFLAGS+= -march=athlon64-sse3 -mtune=athlon64-sse3
CPPFLAGS+= -D_FORTIFY_SOURCE=2
CXXFLAGS+= -std=c++11 -stdlib=libc++
WITH_LIBCPLUSPLUS=YES
.endif




On 01.10.2013 16:45, Glen Barber wrote:

On Tue, Oct 01, 2013 at 04:37:42PM +0300, Alexander Panyushkin wrote:

CURRENT r 255964 world not build


Please provide /etc/make.conf and /etc/src.conf.

Glen





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


Re: graphics/poppler-glib not build

2013-10-02 Thread Alexander Panyushkin
The same error is describe here: 
http://stackoverflow.com/questions/18459894/clang-stdlib-libc-leads-to-undefined-reference


How to fix this, if default build world with options  WITHOUT_GCC and 
WITHOUT_GNUCXX?




On 30.09.2013 23:10, Alexander Panyushkin wrote:

*make.conf*
.if ${.CURDIR:N*/ports/graphics/poppler*} == 
CFLAGS+= -O2 -pipe
CPPFLAGS+= -D_FORTIFY_SOURCE=2
USE_GCC=4.6
.endif

*portmaster  poppler-glib*
  CXXLD  libpoppler-glib.la
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
  GISCAN Poppler-0.18.gir
/usr/local/lib/libpoppler.so: undefined reference to 
`std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, 
std::_Rb_tree_node_base*, std::_Rb_tree_node_base)'
/usr/local/lib/libpoppler.so: undefined reference to 
`std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
/usr/local/lib/libpoppler.so: undefined reference to 
`std::__throw_length_error(char const*)'

collect2: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/sh', 
'/usr/ports/graphics/poppler-glib/work/gnome-libtool', '--mode=link', 
'--tag=CC', '--silent', 'gcc46', '-std=gnu99', '-o', 
'/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib/tmp-introspectJZ7H1B/Poppler-0.18', 
'-export-dynamic', '-Wall', '-O2', '-march=athlon64-sse3', 
'-mtune=athlon64-sse3', '-pipe', '-Wformat', '-Wformat-security', 
'-O2', '-pipe', '-Wl,-rpath=/usr/local/lib/gcc46', 
'-fno-strict-aliasing', '-L/usr/local/lib', '-pthread', 
'-Wl,-rpath=/usr/local/lib/gcc46', 
'/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib/tmp-introspectJZ7H1B/Poppler-0.18.o', 
'-L.', 'libpoppler-glib.la', '-lgio-2.0', '-lgobject-2.0', 
'-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', 
'-L/usr/local/lib', '-lglib-2.0', '-lintl']' returned non-zero exit 
status 1




28.09.2013 23:31, Steve Kargl пишет:

On Sat, Sep 28, 2013 at 10:37:36PM +0300, Alexander Panyushkin wrote:

*make.conf*
# ### Build whith  GCC 4.6
# 
.if  ${.CURDIR:N*/ports/graphics/poppler-glib*} == 
CFLAGS= -O2 -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Wformat
-Wformat-security

Should use +=.


CPPFLAGS+= -D_FORTIFY_SOURCE=2
CXXFLAGS+=-rpath /usr/local/lib/gcc46
USE_GCC=4.6

If you're doing the above,


CC=cc
CXX=c++
CPP=cpp

why are you doing this?

ls /usr/local/bin/*46
/usr/local/bin/c++46*
/usr/local/bin/cpp46*
/usr/local/bin/g++46*
/usr/local/bin/gcc46*
/usr/local/bin/gcov46*


/usr/bin/ld: cannot find -lstdc++
c++: error: linker command failed with exit code 1 (use -v to see
invocation)

so ld is not being passed the compiler options?





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

CURRENT r 255964 not build

2013-10-01 Thread Alexander Panyushkin

CURRENT r 255964 world not build

clang -O2 -pipe -march=athlon64-sse3 -mtune=athlon64-sse3 
-I/usr/src/secure/usr.bin/ssh/../../../crypto/openssh -include 
ssh_namespace.h -DHAVE_LDNS=1 -std=gnu99 -Qunused-arguments 
-fstack-protector -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int 
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality 
-Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum 
-Wno-knr-promoted-parameter -Wno-parentheses  
-L/usr/obj/usr/src/tmp/usr/lib/private -rpath /usr/lib/private -o ssh 
ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o 
sshconnect2.o mux.o roaming_common.o roaming_client.o gss-genr.o -lssh 
-lutil -lldns -lcrypt -lcrypto -lz
/usr/obj/usr/src/tmp/usr/lib/private/libldns.so: undefined reference to 
`ldns_b64_pton_calculate_size'
/usr/obj/usr/src/tmp/usr/lib/private/libldns.so: undefined reference to 
`ldns_b64_ntop_calculate_size'
clang: error: linker command failed with exit code 1 (use -v to see 
invocation)

*** Error code 1

Stop.
make[5]: stopped in /usr/src/secure/usr.bin/ssh
*** Error code 1


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


Re: CURRENT r 255964 not build

2013-10-01 Thread Alexander Panyushkin

*src.conf*
-
WITHOUT_AMD=YES
WITHOUT_ATM=YES
WITHOUT_AUDIT=YES
WITHOUT_AUTHPF=YES
WITHOUT_BIND=YES
WITHOUT_BLUETOOTH=YES
WITHOUT_BSNMP=YES
WITHOUT_CTM=YES
WITHOUT_FREEBSD_UPDATE=YES
WITHOUT_GAMES=YES
WITHOUT_INET6=YES
WITHOUT_IPFILTER=YES
WITHOUT_IPFW=YES
WITHOUT_IPX=YES
WITHOUT_JAIL=YES
WITHOUT_KERBEROS=YES
WITHOUT_NDIS=YES
WITHOUT_NIS=YES
WITHOUT_PORTSNAP=YES
WITHOUT_PROFILE=YES
WITHOUT_QUOTAS=YES
WITHOUT_RCMDS=YES
WITHOUT_RCS=YES
WITHOUT_SVNLITE=YES
WITH_CLANG=YES
WITH_CLANG_EXTRAS=YES
WITH_CLANG_IS_CC=YES
WITH_BSD_GREP=YES
WITH_ICONV=YES
WITH_LIBICONV_COMPAT=YES
WITH_USB_GADGET_EXAMPLES=YES
MALLOC_PRODUCTION=YES
CC=clang
CXX=clang++
CPP=clang-cpp
WITH_LIBCPLUSPLUS=YES
CXXFLAGS+= -stdlib=libc++

*make.conf*
-
CPUTYPE?=athlon64-sse3
KERNCONF=Kernel
NO_CPU_CFLAGS=false
NO_CPU_COPTFLAGS=false
NO_FSCHG=
NO_WERROR=
WERROR=
MAKE_JOBS_NUMBER=5
BATCH_DELETE_OLD_FILES=yes
WITHOUT_INET6=  yes
WITHOUT_IPV6=   yes
WITH_SYSTEM_ICU=yes
MALLOC_PRODUCTION=  yes
WITH_MMX=   yes
WITH_SSE=   yes
WITH_SSE2=  yes
WITH_SSE3=  yes
WITH_SSE4A= yes
WITH_3DNOW= yes
WITH_THREADS=   yes
WITH_PKGNG= yes
WITHOUT_PROFILE=yes
WITHOUT_DEBUG=  yes
WITHOUT_MODULES=bktr plip
PRINTERDEVICE=  ps
DOC_LANG=   en_US.ISO8859-1 ru_RU.KOI8-R


On 01.10.2013 16:45, Glen Barber wrote:

On Tue, Oct 01, 2013 at 04:37:42PM +0300, Alexander Panyushkin wrote:

CURRENT r 255964 world not build


Please provide /etc/make.conf and /etc/src.conf.

Glen



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


Re: CURRENT r 255964 not build

2013-10-01 Thread Alexander Panyushkin

*src.conf*
-
WITHOUT_AMD=YES
WITHOUT_ATM=YES
WITHOUT_AUDIT=YES
WITHOUT_AUTHPF=YES
WITHOUT_BIND=YES
WITHOUT_BLUETOOTH=YES
WITHOUT_BSNMP=YES
WITHOUT_CTM=YES
WITHOUT_FREEBSD_UPDATE=YES
WITHOUT_GAMES=YES
WITHOUT_INET6=YES
WITHOUT_IPFILTER=YES
WITHOUT_IPFW=YES
WITHOUT_IPX=YES
WITHOUT_JAIL=YES
WITHOUT_KERBEROS=YES
WITHOUT_NDIS=YES
WITHOUT_NIS=YES
WITHOUT_PORTSNAP=YES
WITHOUT_PROFILE=YES
WITHOUT_QUOTAS=YES
WITHOUT_RCMDS=YES
WITHOUT_RCS=YES
WITHOUT_SVNLITE=YES
WITH_CLANG=YES
WITH_CLANG_EXTRAS=YES
WITH_CLANG_IS_CC=YES
WITH_BSD_GREP=YES
WITH_ICONV=YES
WITH_LIBICONV_COMPAT=YES
WITH_USB_GADGET_EXAMPLES=YES
MALLOC_PRODUCTION=YES
CC=clang
CXX=clang++
CPP=clang-cpp
WITH_LIBCPLUSPLUS=YES
CXXFLAGS+= -stdlib=libc++

*make.conf*
-
CPUTYPE?=athlon64-sse3
KERNCONF=Kernel
NO_CPU_CFLAGS=false
NO_CPU_COPTFLAGS=false
NO_FSCHG=
NO_WERROR=
WERROR=
MAKE_JOBS_NUMBER=5
BATCH_DELETE_OLD_FILES=yes
WITHOUT_INET6=  yes
WITHOUT_IPV6=   yes
WITH_SYSTEM_ICU=yes
MALLOC_PRODUCTION=  yes
WITH_MMX=   yes
WITH_SSE=   yes
WITH_SSE2=  yes
WITH_SSE3=  yes
WITH_SSE4A= yes
WITH_3DNOW= yes
WITH_THREADS=   yes
WITH_PKGNG= yes
WITHOUT_PROFILE=yes
WITHOUT_DEBUG=  yes
WITHOUT_MODULES=bktr plip
PRINTERDEVICE=  ps
DOC_LANG=   en_US.ISO8859-1 ru_RU.KOI8-R

.if ${.CURDIR:M*/usr/src/*} || ${.CURDIR:M*/usr/obj/*}
CFLAGS+= -march=athlon64-sse3 -mtune=athlon64-sse3
CPPFLAGS+= -D_FORTIFY_SOURCE=2
CXXFLAGS+= -std=c++11 -stdlib=libc++
WITH_LIBCPLUSPLUS=YES
.endif


On 01.10.2013 16:45, Glen Barber wrote:

On Tue, Oct 01, 2013 at 04:37:42PM +0300, Alexander Panyushkin wrote:

CURRENT r 255964 world not build


Please provide /etc/make.conf and /etc/src.conf.

Glen



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


mysql-client-5.6.14 build failed

2013-10-01 Thread Alexander Panyushkin

Hi all.

mysql-client-5.6.14 not build with clang

[ 89%] Building C object 
libmysql/CMakeFiles/clientlib.dir/__/sql-common/client.c.o
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/libmysql/libmysql.c:16:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: this file includes 
sys/timeb.h which is deprecated [-W#warnings]

#warning this file includes sys/timeb.h which is deprecated
 ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/libmysql/errmsg.c:22:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: this file includes 
sys/timeb.h which is deprecated [-W#warnings]

#warning this file includes sys/timeb.h which is deprecated
 ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/libmysql/get_password.c:23:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: this file includes 
sys/timeb.h which is deprecated [-W#warnings]

#warning this file includes sys/timeb.h which is deprecated
 ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql-common/my_time.c:16:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_time.h:23:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: this file includes 
sys/timeb.h which is deprecated [-W#warnings]

#warning this file includes sys/timeb.h which is deprecated
 ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql-common/client.c:34:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: this file includes 
sys/timeb.h which is deprecated [-W#warnings]

#warning this file includes sys/timeb.h which is deprecated
 ^
1 warning generated.
[ 90%] Building C object 
libmysql/CMakeFiles/clientlib.dir/__/sql-common/client_plugin.c.o

1 warning generated.
[ 90%] Building CXX object 
libmysql/CMakeFiles/clientlib.dir/__/sql-common/client_authentication.cc.o
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql-common/client_plugin.c:30:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: this file includes 
sys/timeb.h which is deprecated [-W#warnings]

#warning this file includes sys/timeb.h which is deprecated
 ^
1 warning generated.
[ 91%] Building CXX object 
libmysql/CMakeFiles/clientlib.dir/__/sql/net_serv.cc.o
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql-common/client_authentication.cc:20:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/crypt_genhash_impl.h:17:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: this file includes 
sys/timeb.h which is deprecated [-W#warnings]

#warning this file includes sys/timeb.h which is deprecated
 ^
1 warning generated.
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql/net_serv.cc:36:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: this file includes 
sys/timeb.h which is deprecated [-W#warnings]

#warning this file includes sys/timeb.h which is deprecated
 ^
[ 91%] Building C object 
libmysql/CMakeFiles/clientlib.dir/__/sql-common/pack.c.o

1 warning generated.
[ 92%] Building C object 
libmysql/CMakeFiles/clientlib.dir/__/sql/password.c.o
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql/password.c:62:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/password.h:19:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: this file includes 
sys/timeb.h which is deprecated [-W#warnings]

#warning this file includes sys/timeb.h which is deprecated
 ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql-common/pack.c:16:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: this file includes 
sys/timeb.h which is deprecated [-W#warnings]

#warning this file includes sys/timeb.h which is deprecated
 ^
1 warning generated.
1 warning generated.
1 warning generated.
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql/net_serv.cc:48:

In file included from /usr/include/c++/v1/algorithm:627:
/usr/include/c++/v1/memory:968:39: error: 

Re: graphics/poppler-glib not build

2013-09-30 Thread Alexander Panyushkin

*make.conf*
.if ${.CURDIR:N*/ports/graphics/poppler*} == 
CFLAGS+= -O2 -pipe
CPPFLAGS+= -D_FORTIFY_SOURCE=2
USE_GCC=4.6
.endif

*portmaster  poppler-glib*
  CXXLD  libpoppler-glib.la
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
  GISCAN Poppler-0.18.gir
/usr/local/lib/libpoppler.so: undefined reference to 
`std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, 
std::_Rb_tree_node_base*, std::_Rb_tree_node_base)'
/usr/local/lib/libpoppler.so: undefined reference to 
`std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
/usr/local/lib/libpoppler.so: undefined reference to 
`std::__throw_length_error(char const*)'

collect2: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/sh', 
'/usr/ports/graphics/poppler-glib/work/gnome-libtool', '--mode=link', 
'--tag=CC', '--silent', 'gcc46', '-std=gnu99', '-o', 
'/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib/tmp-introspectJZ7H1B/Poppler-0.18', 
'-export-dynamic', '-Wall', '-O2', '-march=athlon64-sse3', 
'-mtune=athlon64-sse3', '-pipe', '-Wformat', '-Wformat-security', '-O2', 
'-pipe', '-Wl,-rpath=/usr/local/lib/gcc46', '-fno-strict-aliasing', 
'-L/usr/local/lib', '-pthread', '-Wl,-rpath=/usr/local/lib/gcc46', 
'/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib/tmp-introspectJZ7H1B/Poppler-0.18.o', 
'-L.', 'libpoppler-glib.la', '-lgio-2.0', '-lgobject-2.0', 
'-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-L/usr/local/lib', 
'-lglib-2.0', '-lintl']' returned non-zero exit status 1




28.09.2013 23:31, Steve Kargl пишет:

On Sat, Sep 28, 2013 at 10:37:36PM +0300, Alexander Panyushkin wrote:

*make.conf*
# ### Build whith  GCC 4.6
# 
.if  ${.CURDIR:N*/ports/graphics/poppler-glib*} == 
CFLAGS= -O2 -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Wformat
-Wformat-security

Should use +=.


CPPFLAGS+= -D_FORTIFY_SOURCE=2
CXXFLAGS+=-rpath /usr/local/lib/gcc46
USE_GCC=4.6

If you're doing the above,


CC=cc
CXX=c++
CPP=cpp

why are you doing this?

ls /usr/local/bin/*46
/usr/local/bin/c++46*
/usr/local/bin/cpp46*
/usr/local/bin/g++46*
/usr/local/bin/gcc46*
/usr/local/bin/gcov46*


/usr/bin/ld: cannot find -lstdc++
c++: error: linker command failed with exit code 1 (use -v to see
invocation)

so ld is not being passed the compiler options?



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

graphics/poppler-glib not build

2013-09-28 Thread Alexander Panyushkin

Hi all

After upgrade ports graphics/poppler-glib not build anymore.


pkg_info -R poppler-glib-0.22.2
[...]
Required by:
gimp-app-2.8.6_1,1
py27-gimp-app-2.8.6
evince-2.32.0_11
epdfview-0.1.8_4


===  Building for poppler-glib-0.22.2
gmake[1]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/poppler'

  CXXCairoFontEngine.lo
In file included from CairoFontEngine.cc:39:
./CairoFontEngine.h:98:11: warning: private field 'doc' is not used 
[-Wunused-private-field]

  PDFDoc *doc;
  ^
1 warning generated.
  CXXCairoOutputDev.lo
CairoOutputDev.cc:1626:29: warning: cast from 'unsigned char *' to 
'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4

  [-Wcast-align]
uint32_t *source_data = 
(uint32_t*)cairo_image_surface_get_data(source);

^~~
CairoOutputDev.cc:2386:12: warning: cast from 'unsigned char *' to 
'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align]

dest = (unsigned int *) (buffer + y * row_stride);
   ^~
CairoOutputDev.cc:2536:12: warning: cast from 'unsigned char *' to 
'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align]

dest = (unsigned int *) (buffer + y * row_stride);
   ^~
CairoOutputDev.cc:2765:26: warning: cast from 'unsigned char *' to 
'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4

  [-Wcast-align]
uint32_t *dest = (uint32_t *) (buffer + y * stride);
 ^~
4 warnings generated.
  CXXCairoRescaleBox.lo
CairoRescaleBox.cc:283:10: warning: cast from 'unsigned char *' to 
'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align]

  dest = (unsigned int *)cairo_image_surface_get_data (dest_surface);
 ^~~
1 warning generated.
  CXXLD  libpoppler-cairo.la
gmake[1]: Выход из каталога 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/poppler'
gmake[1]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib'

  GENstamp-poppler-enums.h
gmake  all-recursive
gmake[2]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib'

Making all in .
gmake[3]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib'

  CC poppler-enums.lo
  CXXpoppler-action.lo
  CXXpoppler-date.lo
  CXXpoppler-document.lo
  CXXpoppler-page.lo
  CXXpoppler-attachment.lo
poppler-attachment.cc:123:65: warning: cast from 'GTime *' (aka 'int *') 
to 'time_t *' (aka 'long *') increases required alignment from 4 to 8

  [-Wcast-align]
_poppler_convert_pdf_date_to_gtime (embFile-createDate (), (time_t 
*)attachment-ctime);

^~~~
poppler-attachment.cc:125:62: warning: cast from 'GTime *' (aka 'int *') 
to 'time_t *' (aka 'long *') increases required alignment from 4 to 8

  [-Wcast-align]
_poppler_convert_pdf_date_to_gtime (embFile-modDate (), (time_t 
*)attachment-mtime);

^~~~
2 warnings generated.
  CXXpoppler-form-field.lo
  CXXpoppler-annot.lo
  CXXpoppler-layer.lo
  CXXpoppler-media.lo
  CXXpoppler-movie.lo
  CXXpoppler-cached-file-loader.lo
  CXXpoppler-input-stream.lo
  CXXpoppler.lo
  CXXLD  libpoppler-glib.la
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
/usr/bin/ld: cannot find -lstdc++
c++: error: linker command failed with exit code 1 (use -v to see 
invocation)

gmake[3]: *** [libpoppler-glib.la] Error 1

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

Re: graphics/poppler-glib not build

2013-09-28 Thread Alexander Panyushkin

With GCC same error

===  Building for poppler-glib-0.22.2
gmake[1]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/poppler'

  CXXCairoFontEngine.lo
  CXXCairoOutputDev.lo
  CXXCairoRescaleBox.lo
  CXXLD  libpoppler-cairo.la
gmake[1]: Выход из каталога 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/poppler'
gmake[1]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib'

  GENstamp-poppler-enums.h
gmake  all-recursive
gmake[2]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib'

Making all in .
gmake[3]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib'

  CC poppler-enums.lo
  CXXpoppler-action.lo
  CXXpoppler-date.lo
  CXXpoppler-document.lo
  CXXpoppler-page.lo
  CXXpoppler-attachment.lo
  CXXpoppler-form-field.lo
  CXXpoppler-annot.lo
  CXXpoppler-layer.lo
  CXXpoppler-media.lo
  CXXpoppler-movie.lo
  CXXpoppler-cached-file-loader.lo
  CXXpoppler-input-stream.lo
  CXXpoppler.lo
  CXXLD  libpoppler-glib.la
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
/usr/bin/ld: cannot find -lstdc++
c++: error: linker command failed with exit code 1 (use -v to see 
invocation)

gmake[3]: *** [libpoppler-glib.la] Error 1

*** Error code 1


On 28.09.2013 20:14, David Chisnall wrote:

This looks like it's compiling C++ with clang and trying to link it with gcc.  
Is there a CXXLD=g++ in there somewhere?

David

On 28 Sep 2013, at 15:23, Alexander Panyushkin vsi...@gmail.com wrote:


Hi all

After upgrade ports graphics/poppler-glib not build anymore.


pkg_info -R poppler-glib-0.22.2
[...]
Required by:
gimp-app-2.8.6_1,1
py27-gimp-app-2.8.6
evince-2.32.0_11
epdfview-0.1.8_4


===  Building for poppler-glib-0.22.2
gmake[1]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/poppler'
  CXXCairoFontEngine.lo
In file included from CairoFontEngine.cc:39:
./CairoFontEngine.h:98:11: warning: private field 'doc' is not used 
[-Wunused-private-field]
  PDFDoc *doc;
  ^
1 warning generated.
  CXXCairoOutputDev.lo
CairoOutputDev.cc:1626:29: warning: cast from 'unsigned char *' to 'uint32_t *' 
(aka 'unsigned int *') increases required alignment from 1 to 4
  [-Wcast-align]
uint32_t *source_data = (uint32_t*)cairo_image_surface_get_data(source);
^~~
CairoOutputDev.cc:2386:12: warning: cast from 'unsigned char *' to 'unsigned 
int *' increases required alignment from 1 to 4 [-Wcast-align]
dest = (unsigned int *) (buffer + y * row_stride);
   ^~
CairoOutputDev.cc:2536:12: warning: cast from 'unsigned char *' to 'unsigned 
int *' increases required alignment from 1 to 4 [-Wcast-align]
dest = (unsigned int *) (buffer + y * row_stride);
   ^~
CairoOutputDev.cc:2765:26: warning: cast from 'unsigned char *' to 'uint32_t *' 
(aka 'unsigned int *') increases required alignment from 1 to 4
  [-Wcast-align]
uint32_t *dest = (uint32_t *) (buffer + y * stride);
 ^~
4 warnings generated.
  CXXCairoRescaleBox.lo
CairoRescaleBox.cc:283:10: warning: cast from 'unsigned char *' to 'unsigned 
int *' increases required alignment from 1 to 4 [-Wcast-align]
  dest = (unsigned int *)cairo_image_surface_get_data (dest_surface);
 ^~~
1 warning generated.
  CXXLD  libpoppler-cairo.la
gmake[1]: Выход из каталога 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/poppler'
gmake[1]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib'
  GENstamp-poppler-enums.h
gmake  all-recursive
gmake[2]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib'
Making all in .
gmake[3]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib'
  CC poppler-enums.lo
  CXXpoppler-action.lo
  CXXpoppler-date.lo
  CXXpoppler-document.lo
  CXXpoppler-page.lo
  CXXpoppler-attachment.lo
poppler-attachment.cc:123:65: warning: cast from 'GTime *' (aka 'int *') to 
'time_t *' (aka 'long *') increases required alignment from 4 to 8
  [-Wcast-align]
_poppler_convert_pdf_date_to_gtime (embFile-createDate (), (time_t 
*)attachment-ctime);
^~~~
poppler-attachment.cc:125:62: warning: cast from 'GTime *' (aka 'int *') to 
'time_t *' (aka 'long *') increases required alignment from 4 to 8
  [-Wcast-align]
_poppler_convert_pdf_date_to_gtime (embFile-modDate (), (time_t 
*)attachment-mtime);
^~~~
2 warnings generated.
  CXXpoppler-form-field.lo

Re: graphics/poppler-glib not build

2013-09-28 Thread Alexander Panyushkin

28.09.2013 20:28, David Chisnall пишет:

Yes, because libstdc++ is no longer part of the base system,

Yes, but in system installed GCC 4.6.3, and libstdc++ is present

pkg_info -L gcc-4.6.3 | grep libstdc
/usr/local/share/gcc-4.6.3/python/libstdcxx/__init__.py
/usr/local/share/gcc-4.6.3/python/libstdcxx/v6/__init__.py
/usr/local/share/gcc-4.6.3/python/libstdcxx/v6/printers.py
/usr/local/lib/gcc46/libstdc++.a
/usr/local/lib/gcc46/libstdc++.so.6-gdb.py
/usr/local/lib/gcc46/libstdc++.so
/usr/local/lib/gcc46/libstdc++.so.6


  yet you are trying to build with a gcc that thinks it is.  You need to tell 
it to link with clang++, which ought to be the default unless something is 
overriding CXXLD somewhere.

David

On 28 Sep 2013, at 18:25, Alexander Panyushkin vsi...@gmail.com wrote:


With GCC same error

===  Building for poppler-glib-0.22.2
gmake[1]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/poppler'
  CXXCairoFontEngine.lo
  CXXCairoOutputDev.lo
  CXXCairoRescaleBox.lo
  CXXLD  libpoppler-cairo.la
gmake[1]: Выход из каталога 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/poppler'
gmake[1]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib'
  GENstamp-poppler-enums.h
gmake  all-recursive
gmake[2]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib'
Making all in .
gmake[3]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib'
  CC poppler-enums.lo
  CXXpoppler-action.lo
  CXXpoppler-date.lo
  CXXpoppler-document.lo
  CXXpoppler-page.lo
  CXXpoppler-attachment.lo
  CXXpoppler-form-field.lo
  CXXpoppler-annot.lo
  CXXpoppler-layer.lo
  CXXpoppler-media.lo
  CXXpoppler-movie.lo
  CXXpoppler-cached-file-loader.lo
  CXXpoppler-input-stream.lo
  CXXpoppler.lo
  CXXLD  libpoppler-glib.la
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
/usr/bin/ld: cannot find -lstdc++
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [libpoppler-glib.la] Error 1

*** Error code 1


On 28.09.2013 20:14, David Chisnall wrote:

This looks like it's compiling C++ with clang and trying to link it with gcc.  
Is there a CXXLD=g++ in there somewhere?

David

On 28 Sep 2013, at 15:23, Alexander Panyushkin vsi...@gmail.com wrote:


Hi all

After upgrade ports graphics/poppler-glib not build anymore.


pkg_info -R poppler-glib-0.22.2
[...]
Required by:
gimp-app-2.8.6_1,1
py27-gimp-app-2.8.6
evince-2.32.0_11
epdfview-0.1.8_4


===  Building for poppler-glib-0.22.2
gmake[1]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/poppler'
  CXXCairoFontEngine.lo
In file included from CairoFontEngine.cc:39:
./CairoFontEngine.h:98:11: warning: private field 'doc' is not used 
[-Wunused-private-field]
  PDFDoc *doc;
  ^
1 warning generated.
  CXXCairoOutputDev.lo
CairoOutputDev.cc:1626:29: warning: cast from 'unsigned char *' to 'uint32_t *' 
(aka 'unsigned int *') increases required alignment from 1 to 4
  [-Wcast-align]
uint32_t *source_data = (uint32_t*)cairo_image_surface_get_data(source);
^~~
CairoOutputDev.cc:2386:12: warning: cast from 'unsigned char *' to 'unsigned 
int *' increases required alignment from 1 to 4 [-Wcast-align]
dest = (unsigned int *) (buffer + y * row_stride);
   ^~
CairoOutputDev.cc:2536:12: warning: cast from 'unsigned char *' to 'unsigned 
int *' increases required alignment from 1 to 4 [-Wcast-align]
dest = (unsigned int *) (buffer + y * row_stride);
   ^~
CairoOutputDev.cc:2765:26: warning: cast from 'unsigned char *' to 'uint32_t *' 
(aka 'unsigned int *') increases required alignment from 1 to 4
  [-Wcast-align]
uint32_t *dest = (uint32_t *) (buffer + y * stride);
 ^~
4 warnings generated.
  CXXCairoRescaleBox.lo
CairoRescaleBox.cc:283:10: warning: cast from 'unsigned char *' to 'unsigned 
int *' increases required alignment from 1 to 4 [-Wcast-align]
  dest = (unsigned int *)cairo_image_surface_get_data (dest_surface);
 ^~~
1 warning generated.
  CXXLD  libpoppler-cairo.la
gmake[1]: Выход из каталога 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/poppler'
gmake[1]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib'
  GENstamp-poppler-enums.h
gmake  all-recursive
gmake[2]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib'
Making all in .
gmake[3]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib

Re: graphics/poppler-glib not build

2013-09-28 Thread Alexander Panyushkin

*make.conf*
# ### Build whith  GCC 4.6
# 
.if  ${.CURDIR:N*/ports/graphics/poppler-glib*} == 
CFLAGS= -O2 -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Wformat 
-Wformat-security

CPPFLAGS+= -D_FORTIFY_SOURCE=2
CXXFLAGS+=-rpath /usr/local/lib/gcc46
USE_GCC=4.6
CC=cc
CXX=c++
CPP=cpp
.endif

*portmaster  graphics/poppler-glib*
[...]
===  Building for poppler-glib-0.22.2
gmake[1]: Вход в каталог 
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/poppler'

  CXXCairoFontEngine.lo
  CXXCairoOutputDev.lo
  CXXCairoRescaleBox.lo
  CXXLD  libpoppler-cairo.la
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
/usr/bin/ld: cannot find -lstdc++
c++: error: linker command failed with exit code 1 (use -v to see 
invocation)

gmake[1]: *** [libpoppler-cairo.la] Ошибка 1


On 28.09.2013 22:02, Steve Kargl wrote:

On Sat, Sep 28, 2013 at 09:52:10PM +0300, Alexander Panyushkin wrote:

28.09.2013 20:28, David Chisnall ??:

Yes, because libstdc++ is no longer part of the base system,

Yes, but in system installed GCC 4.6.3, and libstdc++ is present

pkg_info -L gcc-4.6.3 | grep libstdc
/usr/local/share/gcc-4.6.3/python/libstdcxx/__init__.py
/usr/local/share/gcc-4.6.3/python/libstdcxx/v6/__init__.py
/usr/local/share/gcc-4.6.3/python/libstdcxx/v6/printers.py
/usr/local/lib/gcc46/libstdc++.a
/usr/local/lib/gcc46/libstdc++.so.6-gdb.py
/usr/local/lib/gcc46/libstdc++.so
/usr/local/lib/gcc46/libstdc++.so.6


Try adding

CXXFLAGS+=-rpath /usr/local/lib/gcc46

to the Makefile.



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

FreeBSD 10.0-ALPHA3 #0 r255878M annoying in console

2013-09-26 Thread Alexander Panyushkin

Hi all.

FreeBSD 10.0-ALPHA3 #0 r255878M: Thu Sep 26 18:14:08 EEST 2013 scorpion 
kernel: r...@scorpion.kiev.ua:/usr/obj/usr/src/sys/Kernel amd64

clang version 3.3 (tags/RELEASE_33/final 183502) 20130610

After rebuild world my box annoying  in console
[...]
Sep 26 20:42:39 scorpion kernel: ata0: FAILURE - zero length DMA 
transfer attempted

Sep 26 20:42:39 scorpion kernel: ata0: setting up DMA failed
Sep 26 20:42:39 scorpion kernel: ata0: FAILURE - zero length DMA 
transfer attempted

Sep 26 20:42:39 scorpion kernel: ata0: setting up DMA failed
Sep 26 20:42:39 scorpion kernel: ata0: FAILURE - zero length DMA 
transfer attempted

Sep 26 20:42:39 scorpion kernel: ata0: setting up DMA failed
Sep 26 20:42:39 scorpion kernel: ata0: FAILURE - zero length DMA 
transfer attempted

Sep 26 20:42:39 scorpion kernel: ata0: setting up DMA failed
Sep 26 20:42:39 scorpion kernel: ata0: FAILURE - zero length DMA 
transfer attempted

Sep 26 20:42:39 scorpion kernel: ata0: setting up DMA failed

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


lang/gcc not build

2013-09-25 Thread Alexander Panyushkin

uname
FreeBSD 10.0-ALPHA2 #0 r255833M: Tue Sep 24 10:21:04 EEST 2013
- 


make.conf
CFLAGS= -O2 -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe 
-Qunused-parameter -Wformat -Wformat-security

CPPFLAGS+= -D_FORTIFY_SOURCE=2
- 



Checking multilib configuration for libgcc...
mkdir x86_64-portbld-freebsd10.0
mkdir x86_64-portbld-freebsd10.0/libgcc
Configuring in x86_64-portbld-freebsd10.0/libgcc
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c -o root -g 
wheel

checking for gawk... /usr/bin/awk
checking build system type... x86_64-portbld-freebsd10.0
checking host system type... x86_64-portbld-freebsd10.0
checking for x86_64-portbld-freebsd10.0-ar... 
/usr/local/x86_64-portbld-freebsd10.0/bin/ar

checking for x86_64-portbld-freebsd10.0-lipo... lipo
checking for x86_64-portbld-freebsd10.0-nm... 
/usr/ports/lang/gcc/work/build/./gcc/nm
checking for x86_64-portbld-freebsd10.0-ranlib... 
/usr/local/x86_64-portbld-freebsd10.0/bin/ranlib
checking for x86_64-portbld-freebsd10.0-strip... 
/usr/local/x86_64-portbld-freebsd10.0/bin/strip

checking whether ln -s works... yes
checking for x86_64-portbld-freebsd10.0-gcc... 
/usr/ports/lang/gcc/work/build/./gcc/xgcc 
-B/usr/ports/lang/gcc/work/build/./gcc/ 
-B/usr/local/x86_64-portbld-freebsd10.0/bin/ 
-B/usr/local/x86_64-portbld-freebsd10.0/lib/ -isystem 
/usr/local/x86_64-portbld-freebsd10.0/include -isystem 
/usr/local/x86_64-portbld-freebsd10.0/sys-include
checking for suffix of object files... configure: error: in 
`/usr/ports/lang/gcc/work/build/x86_64-portbld-freebsd10.0/libgcc':

configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
[...]
=== Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


error build world

2013-09-23 Thread Alexander Panyushkin

=== secure/lib/libssh (obj,depend,all,install)
rm -f .depend
CC='clang' mkdep -f .depend -a-DHAVE_LDNS=1 
-I/usr/src/secure/lib/libssh/../../../contrib/ldns 
-I/usr/src/secure/lib/libssh/../../../crypto/openssh -std=gnu99 
/usr/src/secure/lib/libssh/../../../crypto/openssh/authfd.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/authfile.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/bufaux.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/bufbn.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/buffer.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/canohost.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/channels.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/cipher.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/cipher-aes.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/cipher-bf1.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/cipher-ctr.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/cipher-3des1.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/cleanup.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/compat.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/compress.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/crc32.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/deattack.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/fatal.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/hostfile.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/krl.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/log.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/match.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/md-sha256.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/moduli.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/nchan.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/packet.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/readpass.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/rsa.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/ttymodes.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/xmalloc.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/addrmatch.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/atomicio.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/key.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/dispatch.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/kex.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/mac.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/uidswap.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/uuencode.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/misc.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/monitor_fdpass.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/rijndael.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/ssh-dss.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/ssh-ecdsa.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/ssh-rsa.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/dh.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/kexdh.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/kexgex.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/kexdhc.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/kexgexc.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/bufec.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/kexecdh.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/kexecdhc.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/msg.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/progressmeter.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/dns.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/entropy.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/umac.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/umac128.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/jpake.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/schnorr.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/ssh-pkcs11.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/openbsd-compat/bsd-misc.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/openbsd-compat/fmt_scaled.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/openbsd-compat/glob.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/openbsd-compat/openssl-compat.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/openbsd-compat/port-tun.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/openbsd-compat/strtonum.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/openbsd-compat/timingsafe_bcmp.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/openbsd-compat/vis.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/openbsd-compat/xcrypt.c 
/usr/src/secure/lib/libssh/../../../crypto/openssh/openbsd-compat/xmmap.c /usr/src/secure/lib/libssh/../../../crypto/openssh/openbsd-compat/getrrsetbyname-ldns.c
In file included from 
/usr/src/secure/lib/libssh/../../../crypto/openssh/jpake.c:43:

Re: error build world

2013-09-23 Thread Alexander Panyushkin

23.09.2013 14:30, Florent Peterschmitt wrote:

Le 23/09/2013 12:45, Alexander Panyushkin a écrit :
/usr/src/secure/lib/libssh/../../../crypto/openssh/auth.h:42:10: fatal

error: 'krb5.h' file not found
#include krb5.h

[…]

WITHOUT_KERBEROS=YES



I do not need kerberos.
Why option WITHOUT_KERBEROS = YES does not work?
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: FreeBSD 10.0 ALPHA1

2013-09-16 Thread Alexander Panyushkin

16.09.2013 20:28, ajtiM пишет:

Hi!

I installed FreeBSD 10.0 ALPHA1 on my iMac 11,1 with ATI Radeon HD 4850, GPU 
because I fought that Xor will works now. But I see that I need to do more.
I have not experience with FreeBSD current and I didn't use svn except for Area 
51 (KDE). I fought that is svn (subversion) default on the FreeBSD 10.0 ALPHA1 
but when I run svn checkout https://svn0….. it looks like that is not. How 
should I install subversion, please? If I use portsnap it will install ports 
from 9 release.
  Thank you very much.

Mitja

http://www.redbubble.com/people/lumiwa

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


After rebuild world from svn,  Xorg does not start and the box goes to 
reboot.


 svn info
Path: .
Working Copy Root Path: /usr/src
URL: svn://svn.freebsd.org/base/head
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 255608
Node Kind: directory
Schedule: normal
Last Changed Author: kib
Last Changed Rev: 255608
Last Changed Date: 2013-09-16 09:25:54 +0300

dmesg:
Sep 16 20:26:07 scorpion dbus[1713]: [system] Activating service 
name='org.freedesktop.ConsoleKit' (using servicehelper)
Sep 16 20:26:08 scorpion dbus[1713]: [system] Activating service 
name='org.freedesktop.PolicyKit1' (using servicehelper)
Sep 16 20:26:08 scorpion dbus[1713]: [system] Successfully activated 
service 'org.freedesktop.PolicyKit1'
Sep 16 20:26:08 scorpion dbus[1713]: [system] Successfully activated 
service 'org.freedesktop.ConsoleKit'
Sep 16 20:26:08 scorpion console-kit-daemon[1734]: WARNING: kvm_getenvv 
failed:
Sep 16 20:26:09 scorpion kernel: keyrate scrnmap font8x16 blanktime 
allscreens.




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

Re: USB no proper work

2013-08-28 Thread Alexander Panyushkin

19.08.2013 22:57, Hans Petter Selasky пишет:

On 08/19/13 21:54, Alexander Panyushkin wrote:

18.08.2013 01:04, Hans Petter Selasky пишет:

On 08/17/13 23:55, Alexander Panyushkin wrote:

17.08.2013 19:41, Alexander Motin пишет:

On 17.08.2013 09:22, Hans Petter Selasky wrote:




On USB device  FAT-32 file system.  When I removed flash drive, the
file
system has been unmounted.


Hi,

The problem might be in the GELI module then. Did you test that
Alexander ?

Aug 16 23:23:43 scorpion kernel: GEOM_ELI: Device gpt/swap0.eli
created.
Aug 16 23:23:43 scorpion kernel: GEOM_ELI: Encryption: AES-XTS 128
Aug 16 23:23:43 scorpion kernel: GEOM_ELI: Crypto: software

Hint: You can set the following knob to disable the USB waiting at
reboot.

hw.usb.no_shutdown_wait=1


If set hw.usb.no_shutdown_wait = 1
Reboot  successful,  but if detach and attach again, USB device not
detecting.


This test is an indication that the USB stack is waiting for the CAM
layer to finish detaching its clients. Maybe you can turn on cam
debugging to figure out who is leaking a ref. Alexander Motin knows how.

--HPS


Hi
This is debug information

ugen3.4: Generic at usbus3
umass0: Generic USB2.0-CRW, class 0/0, rev 2.00/19.81, addr 4 on usbus3
da0 at umass-sim0 bus 0 scbus8 target 0 lun 0
da0: Generic- SD/MMC 1.00 Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 7580MB (15523840 512 byte sectors: 255H 63S/T 966C)
da0: quirks=0x2NO_6_BYTE
(noperiph:umass-sim0:0:0:0): debugging flags now 1
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00
01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(da0:umass-sim0:0:0:0

i915kms.ko not loading

2013-08-28 Thread Alexander Panyushkin


*uname -a*
FreeBSD iskander.advancedhosters.com 10.0-CURRENT FreeBSD 10.0-CURRENT
#0: Tue Aug 27 23:53:04 EEST 2013
r...@iskander.advancedhosters.com:/usr/obj/usr/src/sys/Kernel  amd64

in *make.conf*
X_WINDOW_SYSTEM=xorg
WITH_NEW_XORG=true
WITH_KMS=true

xorg-* ports rebuild
After *Xorg -configure* system is going to reboot

problem in load module i915kms.ko
if *kldload i915kms.ko* system is going to reboot

*pciconf -lvb*
vgapci0@pci0:0:2:0: class=0x03 card=0x844d1043 chip=0x01528086
rev=0x09 hdr=0x00
vendor = 'Intel Corporation'
device = 'Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller'
class = display
subclass = VGA
bar [10] = type Memory, range 64, base 0xf780, size 4194304, enabled
bar [18] = type Prefetchable Memory, range 64, base 0xe000, size
268435456, enabled
bar [20] = type I/O Port, range 32, base 0xf000, size 64, enabled


error in */var/log/messages*
Aug 28 16:09:26 iskander dbus[1185]: [system] Activating service
name='org.freedesktop.ConsoleKit' (using servicehelper)
Aug 28 16:09:26 iskander dbus[1185]: [system] Activating service
name='org.freedesktop.PolicyKit1' (using servicehelper)
Aug 28 16:09:26 iskander dbus[1185]: [system] Successfully activated
service 'org.freedesktop.PolicyKit1'
Aug 28 16:09:26 iskander dbus[1185]: [system] Successfully activated
service 'org.freedesktop.ConsoleKit'
Aug 28 16:09:26 iskander console-kit-daemon[1206]: WARNING: kvm_getenvv
failed:

How to fix this problem?
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: USB no proper work

2013-08-19 Thread Alexander Panyushkin

18.08.2013 01:04, Hans Petter Selasky пишет:

On 08/17/13 23:55, Alexander Panyushkin wrote:

17.08.2013 19:41, Alexander Motin пишет:

On 17.08.2013 09:22, Hans Petter Selasky wrote:




On USB device  FAT-32 file system.  When I removed flash drive, the file
system has been unmounted.


Hi,

The problem might be in the GELI module then. Did you test that 
Alexander ?


Aug 16 23:23:43 scorpion kernel: GEOM_ELI: Device gpt/swap0.eli created.
Aug 16 23:23:43 scorpion kernel: GEOM_ELI: Encryption: AES-XTS 128
Aug 16 23:23:43 scorpion kernel: GEOM_ELI: Crypto: software

Hint: You can set the following knob to disable the USB waiting at 
reboot.


hw.usb.no_shutdown_wait=1


If set hw.usb.no_shutdown_wait = 1
Reboot  successful,  but if detach and attach again, USB device not 
detecting.


That seems like encrypted swap. It is probably not on the flash drive. 
Swap disconnect is a known problem since system may loose part of its 
kernel address space that may cause immediate panic if we handle 
disconnect too pedantic. But any way this I think is not our case. 

unmount the swap did not happiness

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

Re: USB no proper work

2013-08-17 Thread Alexander Panyushkin

17.08.2013 19:41, Alexander Motin пишет:

On 17.08.2013 09:22, Hans Petter Selasky wrote:

On 08/16/13 22:38, Alexander Panyushkin wrote:

This deatach==
Aug 16 23:24:05 scorpion kernel: ugen1.2: Generic at usbus1
(disconnected)
Aug 16 23:24:05 scorpion kernel: umass0: at uhub0, port 4, addr 2
(disconnected)
Aug 16 23:24:05 scorpion kernel: (da0:umass-sim0:0:0:0): lost device 
- 0

outstanding, 2 refs


Hi,

The 2 refs is a problem that someone is keeping the device opened.
That's the problem and that's what is stopping the enumeration thread.


2 refs may be not a CAM bug. One of them can be GEOM reference and 
another is open device reference. What were the file systems on the 
device and were they active/mounted during detach?


Just recently I tested hot-plug device with ZFS on 10-CURRENT using 
USB sticks and found no problems in either CAM or USB stack around 
device disconnect.




On USB device  FAT-32 file system.  When I removed flash drive, the file 
system has been unmounted.


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

USB no proper work

2013-08-16 Thread Alexander Panyushkin

uname -a
FreeBSD scorpion.kiev.ua 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r254417M: 
Fri Aug 16 21:53:47 EEST 2013 
r...@scorpion.kiev.ua:/usr/obj/usr/src/sys/Kernel  amd64


After first attach USB Flash drive - is good mount. After detach and 
attach again, USB Flash drive not detected any more.

If enter shutdown -r now system not  be rebooting.

The flash drive silicon-Power16G PMAP does not work at all.

In build FreeBSD at Jul 28  2013  it's work fine.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: USB no proper work

2013-08-16 Thread Alexander Panyushkin

16.08.2013 23:14, Hans Petter Selasky пишет:

On 08/16/13 22:05, Alexander Panyushkin wrote:

uname -a
FreeBSD scorpion.kiev.ua 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r254417M:
Fri Aug 16 21:53:47 EEST 2013
r...@scorpion.kiev.ua:/usr/obj/usr/src/sys/Kernel  amd64

After first attach USB Flash drive - is good mount. After detach and
attach again, USB Flash drive not detected any more.
If enter shutdown -r now system not  be rebooting.

The flash drive silicon-Power16G PMAP does not work at all.

In build FreeBSD at Jul 28  2013  it's work fine.


Hi,

Can you show dmesg?



Aug 16 23:23:43 scorpion kernel: Copyright (c) 1992-2013 The FreeBSD 
Project.
Aug 16 23:23:43 scorpion kernel: Copyright (c) 1979, 1980, 1983, 1986, 
1988, 1989, 1991, 1992, 1993, 1994
Aug 16 23:23:43 scorpion kernel: The Regents of the University of 
California. All rights reserved.
Aug 16 23:23:43 scorpion kernel: FreeBSD is a registered trademark of 
The FreeBSD Foundation.
Aug 16 23:23:43 scorpion kernel: FreeBSD 10.0-CURRENT #0 r254417M: Fri 
Aug 16 21:53:47 EEST 2013
Aug 16 23:23:43 scorpion kernel: 
r...@scorpion.kiev.ua:/usr/obj/usr/src/sys/Kernel amd64
Aug 16 23:23:43 scorpion kernel: FreeBSD clang version 3.3 
(tags/RELEASE_33/final 183502) 20130610
Aug 16 23:23:43 scorpion kernel: CPU: AMD Phenom(tm) II X4 945 Processor 
(3212.24-MHz K8-class CPU)
Aug 16 23:23:43 scorpion kernel: Origin = AuthenticAMD  Id = 0x100f42  
Family = 0x10  Model = 0x4  Stepping = 2
Aug 16 23:23:43 scorpion kernel: 
Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT

Aug 16 23:23:43 scorpion kernel: Features2=0x802009SSE3,MON,CX16,POPCNT
Aug 16 23:23:43 scorpion kernel: AMD 
Features=0xee500800SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!
Aug 16 23:23:43 scorpion kernel: AMD 
Features2=0x37ffLAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT

Aug 16 23:23:43 scorpion kernel: TSC: P-state invariant
Aug 16 23:23:43 scorpion kernel: real memory  = 8589934592 (8192 MB)
Aug 16 23:23:43 scorpion kernel: avail memory = 8019021824 (7647 MB)
Aug 16 23:23:43 scorpion kernel: Event timer LAPIC quality 400
Aug 16 23:23:43 scorpion kernel: ACPI APIC Table: 070511 APIC1920
Aug 16 23:23:43 scorpion kernel: FreeBSD/SMP: Multiprocessor System 
Detected: 4 CPUs

Aug 16 23:23:43 scorpion kernel: FreeBSD/SMP: 1 package(s) x 4 core(s)
Aug 16 23:23:43 scorpion kernel: cpu0 (BSP): APIC ID:  0
Aug 16 23:23:43 scorpion kernel: cpu1 (AP): APIC ID:  1
Aug 16 23:23:43 scorpion kernel: cpu2 (AP): APIC ID:  2
Aug 16 23:23:43 scorpion kernel: cpu3 (AP): APIC ID:  3
Aug 16 23:23:43 scorpion kernel: ioapic0 Version 1.1 irqs 0-23 on 
motherboard

Aug 16 23:23:43 scorpion kernel: random: Software, Yarrow initialized
Aug 16 23:23:43 scorpion kernel: ctl: CAM Target Layer loaded
Aug 16 23:23:43 scorpion kernel: cryptosoft0: software crypto on 
motherboard

Aug 16 23:23:43 scorpion kernel: acpi0: 070511 XSDT1920 on motherboard
Aug 16 23:23:43 scorpion kernel: acpi0: Power Button (fixed)
Aug 16 23:23:43 scorpion kernel: acpi0: reservation of fec0, 
fed4 (3) failed

Aug 16 23:23:43 scorpion kernel: acpi0: reservation of 0, a (3) failed
Aug 16 23:23:43 scorpion kernel: acpi0: reservation of 10, aff0 
(3) failed

Aug 16 23:23:43 scorpion kernel: cpu0: ACPI CPU on acpi0
Aug 16 23:23:43 scorpion kernel: cpu1: ACPI CPU on acpi0
Aug 16 23:23:43 scorpion kernel: cpu2: ACPI CPU on acpi0
Aug 16 23:23:43 scorpion kernel: cpu3: ACPI CPU on acpi0
Aug 16 23:23:43 scorpion kernel: attimer0: AT timer port 0x40-0x43 irq 
0 on acpi0
Aug 16 23:23:43 scorpion kernel: Timecounter i8254 frequency 1193182 
Hz quality 0
Aug 16 23:23:43 scorpion kernel: Event timer i8254 frequency 1193182 
Hz quality 100
Aug 16 23:23:43 scorpion kernel: atrtc0: AT realtime clock port 
0x70-0x71 irq 8 on acpi0
Aug 16 23:23:43 scorpion kernel: Event timer RTC frequency 32768 Hz 
quality 0
Aug 16 23:23:43 scorpion kernel: hpet0: High Precision Event Timer 
iomem 0xfed0-0xfed00fff on acpi0
Aug 16 23:23:43 scorpion kernel: Timecounter HPET frequency 2500 
Hz quality 950
Aug 16 23:23:43 scorpion kernel: Timecounter ACPI-fast frequency 
3579545 Hz quality 900
Aug 16 23:23:43 scorpion kernel: acpi_timer0: 24-bit timer at 
3.579545MHz port 0x508-0x50b on acpi0
Aug 16 23:23:43 scorpion kernel: pcib0: ACPI Host-PCI bridge port 
0xcf8-0xcff on acpi0

Aug 16 23:23:43 scorpion kernel: pci0: ACPI PCI bus on pcib0
Aug 16 23:23:43 scorpion kernel: pci0: memory, RAM at device 0.0 (no 
driver attached)
Aug 16 23:23:43 scorpion kernel: isab0: PCI-ISA bridge port 
0x900-0x9ff at device 1.0 on pci0

Aug 16 23:23:43 scorpion kernel: isa0: ISA bus on isab0
Aug 16 23:23:43 scorpion kernel: nfsmb0: nForce2/3/4 MCP SMBus 
Controller port 0xe00-0xe3f,0x600-0x63f,0x700-0x73f irq 20 at device 
1.1 on pci0

Aug 16 23:23:43 scorpion kernel: smbus0: System Management Bus on nfsmb0
Aug 16 23:23:43 scorpion kernel: smb0: SMBus generic I/O

Re: FUSE not work.

2013-07-26 Thread Alexander Panyushkin

FUSE for ntfs is working on FreeBSD 10
Thanks!
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: FUSE not work.

2013-07-24 Thread Alexander Panyushkin

20.07.2013 18:02, Pedro Giffuni пишет:

On 19.07.2013 23:42, Kevin Oberman wrote:

...


fuse is at least partly broken in -current. I discovered that if you 
mount two devices that use fuse, when you umount any of them, ll are 
marked as not mounted and disappear from df(1) or mount(8) output, 
but only one is actually cleanly unmounted and, if it has been 
written to, will likely be corrupt. This applies to at least ntfs.


ATM no one is supporting fuse in current, so this may become a 
serious issue before long.


I reverted my incompatible changes and will try to see if upstream wants
to adopt something compatible for birthtime support.

I do agree that fuse needs a lot of work. I wonder if NetBSD's 
puffs/libperfuse

is any better.

Pedro.


Can we expect in the near future a working version of FUSE to FreeBSD 10?
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: FUSE not work.

2013-07-24 Thread Alexander Panyushkin

24.07.2013 18:22, Baptiste Daroussin пишет:

On Fri, Jul 19, 2013 at 09:42:41PM -0700, Kevin Oberman wrote:

On Fri, Jul 19, 2013 at 6:22 PM, Pedro Giffuni p...@freebsd.org wrote:


On 19.07.2013 12:07, Alexander Panyushkin wrote:


19.07.2013 19:42, Pedro Giffuni пишет:


(re-posting since the original response didn't make it through)

On 19.07.2013 10:29, Alexander Panyushkin wrote:


19.07.2013 17:36, Pedro Giffuni пишет:


Hello;

The internal data structures in the FUSE kernel module have been
updated to be more compatible with MacFUSE and the linux FUSE.

This basically means you have to rebuild your fuse modules
(including NTFS).

We should not really update the FUSE_KERNEL_MINOR_VERSION yet.
I will add a note to UPDATING.

Pedro.




Unfortunately the port is not  build in FreeBSD 10


=== Starting build for sysutils/fusefs-kmod ===



fusefs-kmod is not needed on -current. I meant you have to rebuild
and reinstall fusefs-* ; in particular fusesfs-libs and ntfs.

Since this is a ports issue I will not update the UPDATING file.

Developers that need to know should use  __FreeBSD_version
138 as a reference.



I rebuild sysutils/fusefs-ntfs with Clang and GCC, but this has no effect.

sysctl kern.osreldate
kern.osreldate: 137

ntfs-3g /dev/ad10s1 /mnt/ntfs_0
mount
...
/dev/fuse on /mnt/ntfs_0 (fusefs, local, synchronous)

ls -la /mnt/ntfs_0
unique: 18, opcode: GETATTR (3), nodeid: 1, insize: 40, pid: 47053
getattr /
unique: 18, success, outsize: 112
fuse: writing device: Invalid argument
ls: /mnt/ntfs_0: Input/output error

fuse is at least partly broken in -current. I discovered that if you

mount two devices that use fuse, when you umount any of them, ll are marked
as not mounted and disappear from df(1) or mount(8) output, but only one is
actually cleanly unmounted and, if it has been written to, will likely be
corrupt. This applies to at least ntfs.

ATM no one is supporting fuse in current, so this may become a serious
issue before long.

This is fixed now.

btw this problem is/was not related to fuse on current but rather to
fusefs-libs.

Bapt

I am rebuilding now world
uname -a
FreeBSD scorpion.kiev.ua 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Wed Jul 
24 20:34:19 EEST 2013 r...@scorpion.kiev.ua:/usr/obj/usr/src/sys/Kernel  
amd64


and ports fusefs-libs-2.9.3 and fusefs-ntfs-2012.1.15
Problem not fixed.

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

Re: FUSE not work.

2013-07-19 Thread Alexander Panyushkin

19.07.2013 12:40, Florent Peterschmitt пишет:

Have you rebuild the fusefs-kmod port and then reloaded the kernel
module ? I had a crash if I didn't so on 9-STABLE.


In FreeBSD 10 fusefs-kmod port doesn't need to be installed anymore for 
-CURRENT setups.


http://svnweb.freebsd.org/base?view=revisionrevision=241519
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: FUSE not work.

2013-07-19 Thread Alexander Panyushkin

19.07.2013 17:36, Pedro Giffuni пишет:

Hello;

The internal data structures in the FUSE kernel module have been
updated to be more compatible with MacFUSE and the linux FUSE.

This basically measn you have to rebuild your fuse modules
(including NTFS).

We should not really update the FUSE_KERNEL_MINOR_VERSION yet.
I will add a note to UPDATING.

Pedro.




Unfortunately the port is not  build in FreeBSD 10


=== Starting build for sysutils/fusefs-kmod ===

=== All dependencies are up to date

===  Cleaning for fusefs-kmod-0.3.9.p1.20080208_11
===  Found saved configuration for fusefs-kmod-0.3.9.p1.20080208_11
=== Fetching all distfiles required by fusefs-kmod-0.3.9.p1.20080208_11 
for building

===  Extracting for fusefs-kmod-0.3.9.p1.20080208_11
= SHA256 Checksum OK for fuse4bsd/498acaef33b0.tar.gz.
===  Patching for fusefs-kmod-0.3.9.p1.20080208_11
===  Applying extra patch 
/usr/ports/sysutils/fusefs-kmod/files/extra-patch-fuse_module__fuse_vnops.c
===  Applying extra patch 
/usr/ports/sysutils/fusefs-kmod/files/extrapatch-fuse_module__fuse_vnops.c

===  Applying FreeBSD patches for fusefs-kmod-0.3.9.p1.20080208_11
===   fusefs-kmod-0.3.9.p1.20080208_11 depends on package: 
fusefs-libs2.4.1 - found
===   fusefs-kmod-0.3.9.p1.20080208_11 depends on executable: deplate - 
found

===  Configuring for fusefs-kmod-0.3.9.p1.20080208_11
===  Building for fusefs-kmod-0.3.9.p1.20080208_11
=== fuse_module (all)
Warning: Object directory not changed from original 
/usr/ports/sysutils/fusefs-kmod/work/fuse4bsd-498acaef33b0/fuse_module

@ - /usr/src/sys
machine - /usr/src/sys/amd64/include
x86 - /usr/src/sys/x86/include
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
cc -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe 
-Qunused-arguments -Qunused-parameter -Wformat -Wformat-security 
-D_KERNEL -DKLD_MODULE -nostdinc  -I../include -I. -I@ -I@/contrib/altq 
-fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  
-mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse 
-msoft-float -fno-asynchronous-unwind-tables -ffreestanding 
-fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector 
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option  -Wno-error-tautological-compare 
-Wno-error-empty-body  -Wno-error-parentheses-equality  -c fuse_main.c
cc -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe 
-Qunused-arguments -Qunused-parameter -Wformat -Wformat-security 
-D_KERNEL -DKLD_MODULE -nostdinc  -I../include -I. -I@ -I@/contrib/altq 
-fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  
-mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse 
-msoft-float -fno-asynchronous-unwind-tables -ffreestanding 
-fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector 
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option  -Wno-error-tautological-compare 
-Wno-error-empty-body  -Wno-error-parentheses-equality  -c fuse_msg.c
cc -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe 
-Qunused-arguments -Qunused-parameter -Wformat -Wformat-security 
-D_KERNEL -DKLD_MODULE -nostdinc  -I../include -I. -I@ -I@/contrib/altq 
-fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  
-mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse 
-msoft-float -fno-asynchronous-unwind-tables -ffreestanding 
-fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector 
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option  -Wno-error-tautological-compare 
-Wno-error-empty-body  -Wno-error-parentheses-equality  -c fuse_dev.c
cc -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe 
-Qunused-arguments -Qunused-parameter -Wformat -Wformat-security 
-D_KERNEL -DKLD_MODULE -nostdinc  -I../include -I. -I@ -I@/contrib/altq 
-fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  
-mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse 
-msoft-float -fno-asynchronous-unwind-tables -ffreestanding 
-fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector 
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option  -Wno-error-tautological-compare 
-Wno-error-empty-body  -Wno-error-parentheses-equality  -c fuse_vfsops.c
cc -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 

Re: FUSE not work.

2013-07-19 Thread Alexander Panyushkin

19.07.2013 19:42, Pedro Giffuni пишет:

(re-posting since the original response didn't make it through)

On 19.07.2013 10:29, Alexander Panyushkin wrote:

19.07.2013 17:36, Pedro Giffuni пишет:

Hello;

The internal data structures in the FUSE kernel module have been
updated to be more compatible with MacFUSE and the linux FUSE.

This basically means you have to rebuild your fuse modules
(including NTFS).

We should not really update the FUSE_KERNEL_MINOR_VERSION yet.
I will add a note to UPDATING.

Pedro.




Unfortunately the port is not  build in FreeBSD 10


=== Starting build for sysutils/fusefs-kmod ===



fusefs-kmod is not needed on -current. I meant you have to rebuild
and reinstall fusefs-* ; in particular fusesfs-libs and ntfs.

Since this is a ports issue I will not update the UPDATING file.

Developers that need to know should use  __FreeBSD_version
138 as a reference.



I rebuild sysutils/fusefs-ntfs with Clang and GCC, but this has no effect.

sysctl kern.osreldate
kern.osreldate: 137

ntfs-3g /dev/ad10s1 /mnt/ntfs_0
mount
...
/dev/fuse on /mnt/ntfs_0 (fusefs, local, synchronous)

ls -la /mnt/ntfs_0
unique: 18, opcode: GETATTR (3), nodeid: 1, insize: 40, pid: 47053
getattr /
   unique: 18, success, outsize: 112
fuse: writing device: Invalid argument
ls: /mnt/ntfs_0: Input/output error

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

FUSE not work.

2013-07-18 Thread Alexander Panyushkin

There is a problem after mount NTFS, fuse not work.

uname -a
FreeBSD scorpion.kiev.ua 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Thu Jul 
18 22:23:54 EEST 2013 r...@scorpion.kiev.ua:/usr/obj/usr/src/sys/Kernel  
amd64


kldstat | grep fuse
161 0x81e26000 8b3f fuse.ko

ntfs-3g -o debug /dev/ada0s1 /mnt/ntfs_0
FUSE library version: 2.9.2
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
Version 2012.1.15 external FUSE 29
Mounted /dev/ada0s1 (Read-Write, label Install, NTFS 3.1)
Cmdline options: debug
Mount options: allow_other,nonempty,relatime,fsname=/dev/ada0s1
Ownership and permissions disabled, configuration type 1
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 2092
INIT: 7.8
flags=0x
max_readahead=0x0001
   INIT: 7.19
   flags=0x0050
   max_readahead=0x0001
   max_write=0x0002
   max_background=0
   congestion_threshold=0

ls -la /mnt/ntfs_0
unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 40, pid: 2096
getattr /
   unique: 2, success, outsize: 112
ls: /mnt/ntfs_0: Input/output error
fuse: writing device: Invalid argument
   unique: 1, success, outsize: 40

ls -la /mnt
unique: 3, opcode: GETATTR (3), nodeid: 1, insize: 40, pid: 2097
getattr /
   unique: 3, success, outsize: 112
fuse: writing device: Invalid argument
ls: ntfs_0: Input/output error


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


Bug in Perl script

2011-12-09 Thread Alexander Panyushkin

I have a script that runs command tail with open descriptor.
After 30 seconds, I close descriptor.  But descriptor not closed.
When script is closed tail is present in ps aux.

$log_file = path_to_log;
eval {
   local $SIG{ALRM} = sub { die; };
   alarm (30);
   open (LOG, tail -F $log_file|) || die Сan`t open logfile 
\$log_file\;

   while (LOG) {
   ***
   }
   alarm (0);
};
close (LOG);
print (Ok\n);
exit(0);

This code is good working in FreeBSD 8.2, but in FreeBSD 9.0 not working.

--
Best Regards
Alexander

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