Re: [ANNOUNCE] kmod 10

2012-10-08 Thread Lucas De Marchi
On Mon, Sep 17, 2012 at 12:15 AM, Bruce Dubbs  wrote:
> Jan Engelhardt wrote:
>>
>>
>> On Thursday 2012-09-06 21:37, Lucas De Marchi wrote:
>>>
>>>
>>> kmod 10 is out:
>>>
>>> ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.xz
>>> ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.sign
>>
>>
>> make check fails here with glibc-2.15, gcc-4.7, x86_64,
>> due to what seems to be duplicated symbols(?)
>
>
> On my LFS system, glibc-2.16, gcc-4.7.1, x86_64, I do not see these errors:
>
> ./configure --prefix=/usr --bindir=/bin --libdir=/lib \
> --sysconfdir=/etc --with-xz --with-zlib
> make
> make check
>
> ==
> All 9 tests passed
> ==
>
> What is interesting is that if I run the checks again:
>
> make check
>
> I get:
>
> TESTSUITE: running modprobe_softdep_loop, in forked context
> TESTSUITE: ERR: rootfs
> /usr/src/kmod/kmod-10/testsuite/rootfs/test-modprobe/softdep-loop is dirty,
> please run 'make rootfs' before runnning this test
> TESTSUITE: ERR: 'modprobe_softdep_loop' [16407] exited with return code 1
> TESTSUITE: ERR: FAILED: modprobe_softdep_loop
> FAIL: testsuite/test-modprobe
>
> TESTSUITE: running test_insert, in forked context
> TESTSUITE: ERR: rootfs /usr/src/kmod/kmod-10/testsuite/rootfs/test-init/ is
> dirty, please run 'make rootfs' before runnning this test
> TESTSUITE: ERR: 'test_insert' [16373] exited with return code 1
> TESTSUITE: ERR: FAILED: test_insert
> FAIL: testsuite/test-init
>
> ==
> 2 of 9 tests failed
> Please report to linux-modu...@vger.kernel.org
> ==
>
> 'make rootfs' does not do anything but make distclean && configure && make
> && make check is clean for me.

"make rootfs" was completely wrong, it's fixed now and queued for kmod 11:
http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=commit;h=84afccb91db106ad81effc88c2851ceddeda06ea

and

http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=commit;h=cf814054dd9a1f5240bc684769275e40ab81ba6e



Lucas De Marchi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [ANNOUNCE] kmod 10

2012-10-08 Thread Lucas De Marchi
On Sun, Sep 16, 2012 at 11:34 PM, Jan Engelhardt  wrote:
>
> On Thursday 2012-09-06 21:37, Lucas De Marchi wrote:
>>
>>kmod 10 is out:
>>
>>ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.xz
>>ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.sign
>
> make check fails here with glibc-2.15, gcc-4.7, x86_64,
> due to what seems to be duplicated symbols(?):
>
>
> + make check V=1
> Making check in .
> make --no-print-directory testsuite/uname.la testsuite/path.la 
> testsuite/init_module.la testsuite/delete_module.la testsuite/libtestsuite.la 
> testsuite/test-init testsuite/test-testsuite testsuite/test-loaded 
> testsuite/test-modinfo testsuite/test-alias testsuite/test-new-module 
> testsuite/test-modprobe testsuite/test-blacklist testsuite/test-dependencies
> depbase=`echo testsuite/uname.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
> /bin/sh ./libtool  --tag=CC   --mode=compile gcc -std=gnu99 -std=gnu99 
> -DHAVE_CONFIG_H -I.  -include ./config.h -I./libkmod -DROOTPREFIX=\"""\" 
> -DSYSCONFDIR=\""/etc"\" -DLIBEXECDIR=\""/usr/lib"\" -I/usr/local/include
> -pipe -DANOTHER_BRICK_IN_THE -Wall -W -Wextra -Wno-inline -Wvla -Wundef 
> -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security 
> -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition 
> -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal 
> -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls 
> -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels 
> -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long -Wno-overlength-strings 
> -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result 
> -Wnested-externs -Wchar-subscripts -Wtype-limits -Wuninitialized -fno-common 
> -fdiagnostics-show-option -fvisibility=hidden -ffunction-sections 
> -fdata-sections -fomit-frame-pointer -fmessage-length=0 -O2 -Wall 
> -D_FORTIFY_SOURCE=2 -
>  fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -MT 
> testsuite/uname.lo -MD -MP -MF $depbase.Tpo -c -o testsuite/uname.lo 
> testsuite/uname.c &&\
> mv -f $depbase.Tpo $depbase.Plo
> libtool: compile:  gcc -std=gnu99 -std=gnu99 -DHAVE_CONFIG_H -I. -include 
> ./config.h -I./libkmod -DROOTPREFIX=\"\" -DSYSCONFDIR=\"/etc\" 
> -DLIBEXECDIR=\"/usr/lib\" -I/usr/local/include -pipe -DANOTHER_BRICK_IN_THE 
> -Wall -W -Wextra -Wno-inline -Wvla -Wundef -Wformat=2 -Wlogical-op 
> -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral 
> -Wold-style-definition -Wpointer-arith -Winit-self 
> -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes 
> -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations 
> -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 
> -Wwrite-strings -Wno-long-long -Wno-overlength-strings -Wno-unused-parameter 
> -Wno-missing-field-initializers -Wno-unused-result -Wnested-externs 
> -Wchar-subscripts -Wtype-limits -Wuninitialized -fno-common 
> -fdiagnostics-show-option -fvisibility=hidden -ffunction-sections 
> -fdata-sections -fomit-frame-pointer -fmessage-length=0 -O2 -Wall 
> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fa
>  synchronous-unwind-tables -g -MT testsuite/uname.lo -MD -MP -MF 
> testsuite/.deps/uname.Tpo -c testsuite/uname.c  -fPIC -DPIC -o 
> testsuite/.libs/uname.o
> cc1: warning: /usr/local/include: No such file or directory [enabled by 
> default]
> /bin/sh ./libtool  --tag=CC   --mode=link gcc -std=gnu99 -std=gnu99 -pipe 
> -DANOTHER_BRICK_IN_THE -Wall -W -Wextra -Wno-inline -Wvla -Wundef -Wformat=2 
> -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs 
> -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self 
> -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes 
> -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations 
> -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 
> -Wwrite-strings -Wno-long-long -Wno-overlength-strings -Wno-unused-parameter 
> -Wno-missing-field-initializers -Wno-unused-result -Wnested-externs 
> -Wchar-subscripts -Wtype-limits -Wuninitialized -fno-common 
> -fdiagnostics-show-option -fvisibility=hidden -ffunction-sections 
> -fdata-sections -fomit-frame-pointer -fmessage-length=0 -O2 -Wall 
> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables 
> -fasynchronous-unwind-tables -g avoid-version -module -shared -export-dynamic 
> -rpath /nowhere -ldl  -o testsuite/uname.
>  la  testsuite/uname.lo
> libtool: link: gcc -std=gnu99 -shared  -fPIC -DPIC  testsuite/.libs/uname.o   
> -ldl  -O2   -Wl,-soname -Wl,uname.so.0 -o testsuite/.libs/uname.so.0.0.0
> libtool: link: (cd "testsuite/.libs" && rm -f "uname.so.0" && ln -s 
> "uname.so.0.0.0" "uname.so.0")
> libtool: link: (cd "testsuite/.libs" && rm -f "uname.so" && ln -s 
> "uname.so.0.0.0" "uname.so")
> libtool: link: ( cd "testsuite/.libs" && rm -f "uname.la" && ln -s 
> "../uname.la" "uname.la" )
> depbase=`echo testsuite/path.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
> /bin/sh ./libtool 

Re: [ANNOUNCE] kmod 10

2012-10-08 Thread Lucas De Marchi
On Sun, Sep 16, 2012 at 11:34 PM, Jan Engelhardt jeng...@inai.de wrote:

 On Thursday 2012-09-06 21:37, Lucas De Marchi wrote:

kmod 10 is out:

ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.xz
ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.sign

 make check fails here with glibc-2.15, gcc-4.7, x86_64,
 due to what seems to be duplicated symbols(?):


 + make check V=1
 Making check in .
 make --no-print-directory testsuite/uname.la testsuite/path.la 
 testsuite/init_module.la testsuite/delete_module.la testsuite/libtestsuite.la 
 testsuite/test-init testsuite/test-testsuite testsuite/test-loaded 
 testsuite/test-modinfo testsuite/test-alias testsuite/test-new-module 
 testsuite/test-modprobe testsuite/test-blacklist testsuite/test-dependencies
 depbase=`echo testsuite/uname.lo | sed 's|[^/]*$|.deps/|;s|\.lo$||'`;\
 /bin/sh ./libtool  --tag=CC   --mode=compile gcc -std=gnu99 -std=gnu99 
 -DHAVE_CONFIG_H -I.  -include ./config.h -I./libkmod -DROOTPREFIX=\\ 
 -DSYSCONFDIR=\/etc\ -DLIBEXECDIR=\/usr/lib\ -I/usr/local/include
 -pipe -DANOTHER_BRICK_IN_THE -Wall -W -Wextra -Wno-inline -Wvla -Wundef 
 -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security 
 -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition 
 -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal 
 -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls 
 -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels 
 -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long -Wno-overlength-strings 
 -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result 
 -Wnested-externs -Wchar-subscripts -Wtype-limits -Wuninitialized -fno-common 
 -fdiagnostics-show-option -fvisibility=hidden -ffunction-sections 
 -fdata-sections -fomit-frame-pointer -fmessage-length=0 -O2 -Wall 
 -D_FORTIFY_SOURCE=2 -
  fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -MT 
 testsuite/uname.lo -MD -MP -MF $depbase.Tpo -c -o testsuite/uname.lo 
 testsuite/uname.c \
 mv -f $depbase.Tpo $depbase.Plo
 libtool: compile:  gcc -std=gnu99 -std=gnu99 -DHAVE_CONFIG_H -I. -include 
 ./config.h -I./libkmod -DROOTPREFIX=\\ -DSYSCONFDIR=\/etc\ 
 -DLIBEXECDIR=\/usr/lib\ -I/usr/local/include -pipe -DANOTHER_BRICK_IN_THE 
 -Wall -W -Wextra -Wno-inline -Wvla -Wundef -Wformat=2 -Wlogical-op 
 -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral 
 -Wold-style-definition -Wpointer-arith -Winit-self 
 -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes 
 -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations 
 -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 
 -Wwrite-strings -Wno-long-long -Wno-overlength-strings -Wno-unused-parameter 
 -Wno-missing-field-initializers -Wno-unused-result -Wnested-externs 
 -Wchar-subscripts -Wtype-limits -Wuninitialized -fno-common 
 -fdiagnostics-show-option -fvisibility=hidden -ffunction-sections 
 -fdata-sections -fomit-frame-pointer -fmessage-length=0 -O2 -Wall 
 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fa
  synchronous-unwind-tables -g -MT testsuite/uname.lo -MD -MP -MF 
 testsuite/.deps/uname.Tpo -c testsuite/uname.c  -fPIC -DPIC -o 
 testsuite/.libs/uname.o
 cc1: warning: /usr/local/include: No such file or directory [enabled by 
 default]
 /bin/sh ./libtool  --tag=CC   --mode=link gcc -std=gnu99 -std=gnu99 -pipe 
 -DANOTHER_BRICK_IN_THE -Wall -W -Wextra -Wno-inline -Wvla -Wundef -Wformat=2 
 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs 
 -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self 
 -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes 
 -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations 
 -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 
 -Wwrite-strings -Wno-long-long -Wno-overlength-strings -Wno-unused-parameter 
 -Wno-missing-field-initializers -Wno-unused-result -Wnested-externs 
 -Wchar-subscripts -Wtype-limits -Wuninitialized -fno-common 
 -fdiagnostics-show-option -fvisibility=hidden -ffunction-sections 
 -fdata-sections -fomit-frame-pointer -fmessage-length=0 -O2 -Wall 
 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables 
 -fasynchronous-unwind-tables -g avoid-version -module -shared -export-dynamic 
 -rpath /nowhere -ldl  -o testsuite/uname.
  la  testsuite/uname.lo
 libtool: link: gcc -std=gnu99 -shared  -fPIC -DPIC  testsuite/.libs/uname.o   
 -ldl  -O2   -Wl,-soname -Wl,uname.so.0 -o testsuite/.libs/uname.so.0.0.0
 libtool: link: (cd testsuite/.libs  rm -f uname.so.0  ln -s 
 uname.so.0.0.0 uname.so.0)
 libtool: link: (cd testsuite/.libs  rm -f uname.so  ln -s 
 uname.so.0.0.0 uname.so)
 libtool: link: ( cd testsuite/.libs  rm -f uname.la  ln -s 
 ../uname.la uname.la )
 depbase=`echo testsuite/path.lo | sed 's|[^/]*$|.deps/|;s|\.lo$||'`;\
 /bin/sh ./libtool  --tag=CC   --mode=compile gcc -std=gnu99 -std=gnu99 
 -DHAVE_CONFIG_H -I.  -include ./config.h -I./libkmod -DROOTPREFIX=\\ 
 

Re: [ANNOUNCE] kmod 10

2012-10-08 Thread Lucas De Marchi
On Mon, Sep 17, 2012 at 12:15 AM, Bruce Dubbs bruce.du...@gmail.com wrote:
 Jan Engelhardt wrote:


 On Thursday 2012-09-06 21:37, Lucas De Marchi wrote:


 kmod 10 is out:

 ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.xz
 ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.sign


 make check fails here with glibc-2.15, gcc-4.7, x86_64,
 due to what seems to be duplicated symbols(?)


 On my LFS system, glibc-2.16, gcc-4.7.1, x86_64, I do not see these errors:

 ./configure --prefix=/usr --bindir=/bin --libdir=/lib \
 --sysconfdir=/etc --with-xz --with-zlib
 make
 make check

 ==
 All 9 tests passed
 ==

 What is interesting is that if I run the checks again:

 make check

 I get:

 TESTSUITE: running modprobe_softdep_loop, in forked context
 TESTSUITE: ERR: rootfs
 /usr/src/kmod/kmod-10/testsuite/rootfs/test-modprobe/softdep-loop is dirty,
 please run 'make rootfs' before runnning this test
 TESTSUITE: ERR: 'modprobe_softdep_loop' [16407] exited with return code 1
 TESTSUITE: ERR: FAILED: modprobe_softdep_loop
 FAIL: testsuite/test-modprobe

 TESTSUITE: running test_insert, in forked context
 TESTSUITE: ERR: rootfs /usr/src/kmod/kmod-10/testsuite/rootfs/test-init/ is
 dirty, please run 'make rootfs' before runnning this test
 TESTSUITE: ERR: 'test_insert' [16373] exited with return code 1
 TESTSUITE: ERR: FAILED: test_insert
 FAIL: testsuite/test-init

 ==
 2 of 9 tests failed
 Please report to linux-modu...@vger.kernel.org
 ==

 'make rootfs' does not do anything but make distclean  configure  make
  make check is clean for me.

make rootfs was completely wrong, it's fixed now and queued for kmod 11:
http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=commit;h=84afccb91db106ad81effc88c2851ceddeda06ea

and

http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=commit;h=cf814054dd9a1f5240bc684769275e40ab81ba6e



Lucas De Marchi
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [ANNOUNCE] kmod 10

2012-09-16 Thread Bruce Dubbs

Jan Engelhardt wrote:


On Thursday 2012-09-06 21:37, Lucas De Marchi wrote:


kmod 10 is out:

ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.xz
ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.sign


make check fails here with glibc-2.15, gcc-4.7, x86_64,
due to what seems to be duplicated symbols(?)


On my LFS system, glibc-2.16, gcc-4.7.1, x86_64, I do not see these errors:

./configure --prefix=/usr --bindir=/bin --libdir=/lib \
--sysconfdir=/etc --with-xz --with-zlib
make
make check

==
All 9 tests passed
==

What is interesting is that if I run the checks again:

make check

I get:

TESTSUITE: running modprobe_softdep_loop, in forked context
TESTSUITE: ERR: rootfs 
/usr/src/kmod/kmod-10/testsuite/rootfs/test-modprobe/softdep-loop is 
dirty, please run 'make rootfs' before runnning this test

TESTSUITE: ERR: 'modprobe_softdep_loop' [16407] exited with return code 1
TESTSUITE: ERR: FAILED: modprobe_softdep_loop
FAIL: testsuite/test-modprobe

TESTSUITE: running test_insert, in forked context
TESTSUITE: ERR: rootfs /usr/src/kmod/kmod-10/testsuite/rootfs/test-init/ 
is dirty, please run 'make rootfs' before runnning this test

TESTSUITE: ERR: 'test_insert' [16373] exited with return code 1
TESTSUITE: ERR: FAILED: test_insert
FAIL: testsuite/test-init

==
2 of 9 tests failed
Please report to linux-modu...@vger.kernel.org
==

'make rootfs' does not do anything but make distclean && configure && 
make && make check is clean for me.


  -- Bruce

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [ANNOUNCE] kmod 10

2012-09-16 Thread Jan Engelhardt

On Thursday 2012-09-06 21:37, Lucas De Marchi wrote:
>
>kmod 10 is out:
>
>ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.xz
>ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.sign

make check fails here with glibc-2.15, gcc-4.7, x86_64,
due to what seems to be duplicated symbols(?):


+ make check V=1
Making check in .
make --no-print-directory testsuite/uname.la testsuite/path.la 
testsuite/init_module.la testsuite/delete_module.la testsuite/libtestsuite.la 
testsuite/test-init testsuite/test-testsuite testsuite/test-loaded 
testsuite/test-modinfo testsuite/test-alias testsuite/test-new-module 
testsuite/test-modprobe testsuite/test-blacklist testsuite/test-dependencies
depbase=`echo testsuite/uname.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -std=gnu99 -std=gnu99 
-DHAVE_CONFIG_H -I.  -include ./config.h -I./libkmod -DROOTPREFIX=\"""\" 
-DSYSCONFDIR=\""/etc"\" -DLIBEXECDIR=\""/usr/lib"\" -I/usr/local/include
-pipe -DANOTHER_BRICK_IN_THE -Wall -W -Wextra -Wno-inline -Wvla -Wundef 
-Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs 
-Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self 
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes 
-Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn 
-Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long 
-Wno-overlength-strings -Wno-unused-parameter -Wno-missing-field-initializers 
-Wno-unused-result -Wnested-externs -Wchar-subscripts -Wtype-limits 
-Wuninitialized -fno-common -fdiagnostics-show-option -fvisibility=hidden 
-ffunction-sections -fdata-sections -fomit-frame-pointer -fmessage-length=0 -O2 
-Wall -D_FORTIFY_SOURCE=2 -
 fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -MT 
testsuite/uname.lo -MD -MP -MF $depbase.Tpo -c -o testsuite/uname.lo 
testsuite/uname.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -std=gnu99 -DHAVE_CONFIG_H -I. -include 
./config.h -I./libkmod -DROOTPREFIX=\"\" -DSYSCONFDIR=\"/etc\" 
-DLIBEXECDIR=\"/usr/lib\" -I/usr/local/include -pipe -DANOTHER_BRICK_IN_THE 
-Wall -W -Wextra -Wno-inline -Wvla -Wundef -Wformat=2 -Wlogical-op 
-Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral 
-Wold-style-definition -Wpointer-arith -Winit-self 
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes 
-Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn 
-Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long 
-Wno-overlength-strings -Wno-unused-parameter -Wno-missing-field-initializers 
-Wno-unused-result -Wnested-externs -Wchar-subscripts -Wtype-limits 
-Wuninitialized -fno-common -fdiagnostics-show-option -fvisibility=hidden 
-ffunction-sections -fdata-sections -fomit-frame-pointer -fmessage-length=0 -O2 
-Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fa
 synchronous-unwind-tables -g -MT testsuite/uname.lo -MD -MP -MF 
testsuite/.deps/uname.Tpo -c testsuite/uname.c  -fPIC -DPIC -o 
testsuite/.libs/uname.o
cc1: warning: /usr/local/include: No such file or directory [enabled by default]
/bin/sh ./libtool  --tag=CC   --mode=link gcc -std=gnu99 -std=gnu99 -pipe 
-DANOTHER_BRICK_IN_THE -Wall -W -Wextra -Wno-inline -Wvla -Wundef -Wformat=2 
-Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs 
-Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self 
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes 
-Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn 
-Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long 
-Wno-overlength-strings -Wno-unused-parameter -Wno-missing-field-initializers 
-Wno-unused-result -Wnested-externs -Wchar-subscripts -Wtype-limits 
-Wuninitialized -fno-common -fdiagnostics-show-option -fvisibility=hidden 
-ffunction-sections -fdata-sections -fomit-frame-pointer -fmessage-length=0 -O2 
-Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables 
-fasynchronous-unwind-tables -g avoid-version -module -shared -export-dynamic 
-rpath /nowhere -ldl  -o testsuite/uname.
 la  testsuite/uname.lo  
libtool: link: gcc -std=gnu99 -shared  -fPIC -DPIC  testsuite/.libs/uname.o   
-ldl  -O2   -Wl,-soname -Wl,uname.so.0 -o testsuite/.libs/uname.so.0.0.0
libtool: link: (cd "testsuite/.libs" && rm -f "uname.so.0" && ln -s 
"uname.so.0.0.0" "uname.so.0")
libtool: link: (cd "testsuite/.libs" && rm -f "uname.so" && ln -s 
"uname.so.0.0.0" "uname.so")
libtool: link: ( cd "testsuite/.libs" && rm -f "uname.la" && ln -s 
"../uname.la" "uname.la" )
depbase=`echo testsuite/path.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -std=gnu99 -std=gnu99 
-DHAVE_CONFIG_H -I.  -include ./config.h -I./libkmod -DROOTPREFIX=\"""\" 
-DSYSCONFDIR=\""/etc"\" -DLIBEXECDIR=\""/usr/lib"\" -I/usr/local/include
-pipe 

Re: [ANNOUNCE] kmod 10

2012-09-16 Thread Jan Engelhardt

On Thursday 2012-09-06 21:37, Lucas De Marchi wrote:

kmod 10 is out:

ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.xz
ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.sign

make check fails here with glibc-2.15, gcc-4.7, x86_64,
due to what seems to be duplicated symbols(?):


+ make check V=1
Making check in .
make --no-print-directory testsuite/uname.la testsuite/path.la 
testsuite/init_module.la testsuite/delete_module.la testsuite/libtestsuite.la 
testsuite/test-init testsuite/test-testsuite testsuite/test-loaded 
testsuite/test-modinfo testsuite/test-alias testsuite/test-new-module 
testsuite/test-modprobe testsuite/test-blacklist testsuite/test-dependencies
depbase=`echo testsuite/uname.lo | sed 's|[^/]*$|.deps/|;s|\.lo$||'`;\
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -std=gnu99 -std=gnu99 
-DHAVE_CONFIG_H -I.  -include ./config.h -I./libkmod -DROOTPREFIX=\\ 
-DSYSCONFDIR=\/etc\ -DLIBEXECDIR=\/usr/lib\ -I/usr/local/include
-pipe -DANOTHER_BRICK_IN_THE -Wall -W -Wextra -Wno-inline -Wvla -Wundef 
-Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs 
-Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self 
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes 
-Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn 
-Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long 
-Wno-overlength-strings -Wno-unused-parameter -Wno-missing-field-initializers 
-Wno-unused-result -Wnested-externs -Wchar-subscripts -Wtype-limits 
-Wuninitialized -fno-common -fdiagnostics-show-option -fvisibility=hidden 
-ffunction-sections -fdata-sections -fomit-frame-pointer -fmessage-length=0 -O2 
-Wall -D_FORTIFY_SOURCE=2 -
 fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -MT 
testsuite/uname.lo -MD -MP -MF $depbase.Tpo -c -o testsuite/uname.lo 
testsuite/uname.c \
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -std=gnu99 -DHAVE_CONFIG_H -I. -include 
./config.h -I./libkmod -DROOTPREFIX=\\ -DSYSCONFDIR=\/etc\ 
-DLIBEXECDIR=\/usr/lib\ -I/usr/local/include -pipe -DANOTHER_BRICK_IN_THE 
-Wall -W -Wextra -Wno-inline -Wvla -Wundef -Wformat=2 -Wlogical-op 
-Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral 
-Wold-style-definition -Wpointer-arith -Winit-self 
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes 
-Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn 
-Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long 
-Wno-overlength-strings -Wno-unused-parameter -Wno-missing-field-initializers 
-Wno-unused-result -Wnested-externs -Wchar-subscripts -Wtype-limits 
-Wuninitialized -fno-common -fdiagnostics-show-option -fvisibility=hidden 
-ffunction-sections -fdata-sections -fomit-frame-pointer -fmessage-length=0 -O2 
-Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fa
 synchronous-unwind-tables -g -MT testsuite/uname.lo -MD -MP -MF 
testsuite/.deps/uname.Tpo -c testsuite/uname.c  -fPIC -DPIC -o 
testsuite/.libs/uname.o
cc1: warning: /usr/local/include: No such file or directory [enabled by default]
/bin/sh ./libtool  --tag=CC   --mode=link gcc -std=gnu99 -std=gnu99 -pipe 
-DANOTHER_BRICK_IN_THE -Wall -W -Wextra -Wno-inline -Wvla -Wundef -Wformat=2 
-Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs 
-Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self 
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes 
-Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn 
-Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long 
-Wno-overlength-strings -Wno-unused-parameter -Wno-missing-field-initializers 
-Wno-unused-result -Wnested-externs -Wchar-subscripts -Wtype-limits 
-Wuninitialized -fno-common -fdiagnostics-show-option -fvisibility=hidden 
-ffunction-sections -fdata-sections -fomit-frame-pointer -fmessage-length=0 -O2 
-Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables 
-fasynchronous-unwind-tables -g avoid-version -module -shared -export-dynamic 
-rpath /nowhere -ldl  -o testsuite/uname.
 la  testsuite/uname.lo  
libtool: link: gcc -std=gnu99 -shared  -fPIC -DPIC  testsuite/.libs/uname.o   
-ldl  -O2   -Wl,-soname -Wl,uname.so.0 -o testsuite/.libs/uname.so.0.0.0
libtool: link: (cd testsuite/.libs  rm -f uname.so.0  ln -s 
uname.so.0.0.0 uname.so.0)
libtool: link: (cd testsuite/.libs  rm -f uname.so  ln -s 
uname.so.0.0.0 uname.so)
libtool: link: ( cd testsuite/.libs  rm -f uname.la  ln -s 
../uname.la uname.la )
depbase=`echo testsuite/path.lo | sed 's|[^/]*$|.deps/|;s|\.lo$||'`;\
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -std=gnu99 -std=gnu99 
-DHAVE_CONFIG_H -I.  -include ./config.h -I./libkmod -DROOTPREFIX=\\ 
-DSYSCONFDIR=\/etc\ -DLIBEXECDIR=\/usr/lib\ -I/usr/local/include
-pipe -DANOTHER_BRICK_IN_THE -Wall -W -Wextra -Wno-inline -Wvla -Wundef 
-Wformat=2 

Re: [ANNOUNCE] kmod 10

2012-09-16 Thread Bruce Dubbs

Jan Engelhardt wrote:


On Thursday 2012-09-06 21:37, Lucas De Marchi wrote:


kmod 10 is out:

ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.xz
ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.sign


make check fails here with glibc-2.15, gcc-4.7, x86_64,
due to what seems to be duplicated symbols(?)


On my LFS system, glibc-2.16, gcc-4.7.1, x86_64, I do not see these errors:

./configure --prefix=/usr --bindir=/bin --libdir=/lib \
--sysconfdir=/etc --with-xz --with-zlib
make
make check

==
All 9 tests passed
==

What is interesting is that if I run the checks again:

make check

I get:

TESTSUITE: running modprobe_softdep_loop, in forked context
TESTSUITE: ERR: rootfs 
/usr/src/kmod/kmod-10/testsuite/rootfs/test-modprobe/softdep-loop is 
dirty, please run 'make rootfs' before runnning this test

TESTSUITE: ERR: 'modprobe_softdep_loop' [16407] exited with return code 1
TESTSUITE: ERR: FAILED: modprobe_softdep_loop
FAIL: testsuite/test-modprobe

TESTSUITE: running test_insert, in forked context
TESTSUITE: ERR: rootfs /usr/src/kmod/kmod-10/testsuite/rootfs/test-init/ 
is dirty, please run 'make rootfs' before runnning this test

TESTSUITE: ERR: 'test_insert' [16373] exited with return code 1
TESTSUITE: ERR: FAILED: test_insert
FAIL: testsuite/test-init

==
2 of 9 tests failed
Please report to linux-modu...@vger.kernel.org
==

'make rootfs' does not do anything but make distclean  configure  
make  make check is clean for me.


  -- Bruce

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[ANNOUNCE] kmod 10

2012-09-06 Thread Lucas De Marchi
Hey!

kmod 10 is out:

ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.xz
ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.sign

The major change was the addition of a flag in
kmod_module_probe_insert() to keep the previous behavior of
module-init-tools regarding blacklisted modules.

Other than that, improvements to testsuite and man pages. I also
re-licensed the testsuite as LGPL. If anyone wants to use in his own
project and LGPL doesn't fit your needs, let me know.

Shortlog is below

Cheers!
Lucas De Marchi

---

Colin Walters (1):
  build-sys: Add --disable-manpages option

Dave Reisner (10):
  Implicitly run 'make rootfs' with 'make check'
  module: support reading coresize from /sys if supported
  build-sys: disable jobserver for rootfs target
  man/modprobe: clarify --dirname option
  man/modinfo: document --basedir option
  man/modinfo: document longopts for field shortcuts
  man/modinfo: specify each option in separate  tag
  man/modprobe: specify each option in separate  tag
  man/depmod: specify each option in separate  tag
  man/rmmod: specify each option in separate  tag

Lucas De Marchi (10):
  testsuite: use right offset for module name
  testsuite: re-license under LGPL
  Use #pragma once instead of #ifndef
  build-sys: add 'man' entry in summary
  README: let people know they don't need to subscribe
  libkmod-module: Add KMOD_PROBE_APPLY_BLACKLIST_ALIAS_ONLY flag
  modprobe: Unconditionally use KMOD_PROBE_APPLY_BLACKLIST_ALIAS_ONLY
  TODO: deprecate use of rmmod -w
  Remove test directory
  kmod 10

Martin Pitt (2):
  testsuite: path wrapper: Fix open() with 3 arguments
  testsuite preload: Factorize into macros, add more stat and open variants
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[ANNOUNCE] kmod 10

2012-09-06 Thread Lucas De Marchi
Hey!

kmod 10 is out:

ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.xz
ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.sign

The major change was the addition of a flag in
kmod_module_probe_insert() to keep the previous behavior of
module-init-tools regarding blacklisted modules.

Other than that, improvements to testsuite and man pages. I also
re-licensed the testsuite as LGPL. If anyone wants to use in his own
project and LGPL doesn't fit your needs, let me know.

Shortlog is below

Cheers!
Lucas De Marchi

---

Colin Walters (1):
  build-sys: Add --disable-manpages option

Dave Reisner (10):
  Implicitly run 'make rootfs' with 'make check'
  module: support reading coresize from /sys if supported
  build-sys: disable jobserver for rootfs target
  man/modprobe: clarify --dirname option
  man/modinfo: document --basedir option
  man/modinfo: document longopts for field shortcuts
  man/modinfo: specify each option in separate term tag
  man/modprobe: specify each option in separate term tag
  man/depmod: specify each option in separate term tag
  man/rmmod: specify each option in separate term tag

Lucas De Marchi (10):
  testsuite: use right offset for module name
  testsuite: re-license under LGPL
  Use #pragma once instead of #ifndef
  build-sys: add 'man' entry in summary
  README: let people know they don't need to subscribe
  libkmod-module: Add KMOD_PROBE_APPLY_BLACKLIST_ALIAS_ONLY flag
  modprobe: Unconditionally use KMOD_PROBE_APPLY_BLACKLIST_ALIAS_ONLY
  TODO: deprecate use of rmmod -w
  Remove test directory
  kmod 10

Martin Pitt (2):
  testsuite: path wrapper: Fix open() with 3 arguments
  testsuite preload: Factorize into macros, add more stat and open variants
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/