* [gentoo-user] LVM2 compile error. Clock_gettime
@ 2013-06-26 4:58 Dale
2013-06-26 5:20 ` Samuli Suominen
0 siblings, 1 reply; 13+ messages in thread
From: Dale @ 2013-06-26 4:58 UTC (permalink / raw
To: Gentoo User
I can't seem to get lvm2 to compile. I get this error:
FILE=`echo lvchange.d | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo ../make.tmpl ../VERSION ../Makefile
../include/.symlinks_created | sed -e 's/\\//\\\\\\//g'`; \
x86_64-pc-linux-gnu-gcc -MM -I. -I../include
-DLVM_SHARED_PATH=\"/usr/sbin/lvm\" -DHAVE_CONFIG_H -DDM_IOCTLS -o
lvchange.d lvchange.c; \
sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" lvchange.d; \
[ -s lvchange.d ] || rm -f lvchange.d
/bin/mkdir -p ./; \
set -e; \
FILE=`echo formats.d | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo ../make.tmpl ../VERSION ../Makefile
../include/.symlinks_created | sed -e 's/\\//\\\\\\//g'`; \
x86_64-pc-linux-gnu-gcc -MM -I. -I../include
-DLVM_SHARED_PATH=\"/usr/sbin/lvm\" -DHAVE_CONFIG_H -DDM_IOCTLS -o
formats.d formats.c; \
sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" formats.d; \
[ -s formats.d ] || rm -f formats.d
/bin/mkdir -p ./; \
set -e; \
FILE=`echo dumpconfig.d | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo ../make.tmpl ../VERSION ../Makefile
../include/.symlinks_created | sed -e 's/\\//\\\\\\//g'`; \
x86_64-pc-linux-gnu-gcc -MM -I. -I../include
-DLVM_SHARED_PATH=\"/usr/sbin/lvm\" -DHAVE_CONFIG_H -DDM_IOCTLS -o
dumpconfig.d dumpconfig.c; \
sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g"
dumpconfig.d; \
[ -s dumpconfig.d ] || rm -f dumpconfig.d
make[1]: Leaving directory
`/var/tmp/portage/sys-fs/lvm2-2.02.98/work/LVM2.2.02.98/tools'
make[1]: Entering directory
`/var/tmp/portage/sys-fs/lvm2-2.02.98/work/LVM2.2.02.98/tools'
x86_64-pc-linux-gnu-gcc -c -I. -I../include
-DLVM_SHARED_PATH=\"/usr/sbin/lvm\" -DHAVE_CONFIG_H -DDM_IOCTLS -Wall
-Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn
-Wformat-security -Wredundant-decls -Wpointer-arith -march=native -O2
-pipe -march=native -O2 -pipe -fPIC -O2 -march=native -O2 -pipe -fPIC
-O2 dmsetup.c -o dmsetup.o
x86_64-pc-linux-gnu-gcc -shared -Wl,-soname,libdevmapper-event.so.1.02 \
-march=native -O2 -pipe -march=native -O2 -pipe -fPIC -O2
-march=native -O2 -pipe -fPIC -O2 -march=native -O2 -pipe -fPIC -O2
-Wl,-O1 -Wl,--as-needed -Wl,--version-script,.export.sym -L../../libdm
-L../../lib -L../../libdaemon/client -L../../daemons/dmeventd
libdevmapper-event.o -ldevmapper -o libdevmapper-event.so.1.02
rm -f libdevmapper-event.a
x86_64-pc-linux-gnu-ar rs libdevmapper-event.a libdevmapper-event.o
x86_64-pc-linux-gnu-ar: creating libdevmapper-event.a
ln -s -f libdevmapper-event.so.1.02 libdevmapper-event.so
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -march=native -O2 -pipe
-fPIC -O2 -march=native -O2 -pipe -fPIC -O2 -march=native -O2 -pipe
-fPIC -O2 -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -L./libdm
-L./lib -L./libdaemon/client -L./daemons/dmeventd -Wl,-O1
-Wl,--as-needed -O2 -L../libdm -L../lib -L../libdaemon/client
-L../daemons/dmeventd -Wl,-O1 -Wl,--as-needed -O2 -L../../libdm
-L../../lib -L../../libdaemon/client -L../../daemons/dmeventd
-Wl,--export-dynamic -L. -o dmeventd dmeventd.o \
-ldl -ldevmapper-event -lpthread -ldevmapper -rdynamic
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -march=native -O2 -pipe
-fPIC -O2 -march=native -O2 -pipe -fPIC -O2 -march=native -O2 -pipe
-fPIC -O2 -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -L./libdm
-L./lib -L./libdaemon/client -L./daemons/dmeventd -Wl,-O1
-Wl,--as-needed -O2 -L../libdm -L../lib -L../libdaemon/client
-L../daemons/dmeventd -Wl,-O1 -Wl,--as-needed -O2 -L../../libdm
-L../../lib -L../../libdaemon/client -L../../daemons/dmeventd
-Wl,--export-dynamic -Wl,--no-export-dynamic -static -L.
-L../../libdm/ioctl -o dmeventd.static \
dmeventd.o -ldl -ldevmapper-event -lpthread -ldevmapper -ludev
dmeventd.o: In function `_register_for_event':
dmeventd.c:(.text+0xfb1): warning: Using 'dlopen' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(libudev-util.o):
In function `util_lookup_group':
(.text+0x4d6): warning: Using 'getgrnam_r' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(libudev-util.o):
In function `util_lookup_user':
(.text+0x3a3): warning: Using 'getpwnam_r' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(util.o):
In function `now':
(.text+0x148): undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
make[2]: *** [dmeventd.static] Error 1
make[2]: Leaving directory
`/var/tmp/portage/sys-fs/lvm2-2.02.98/work/LVM2.2.02.98/daemons/dmeventd'
make[1]: *** [dmeventd.device-mapper] Error 2
make[1]: Leaving directory
`/var/tmp/portage/sys-fs/lvm2-2.02.98/work/LVM2.2.02.98/daemons'
make: *** [daemons.device-mapper] Error 2
make: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -march=native -O2 -pipe
-fPIC -O2 -march=native -O2 -pipe -fPIC -O2 -Wl,-O1 -Wl,--as-needed
-Wl,-O1 -Wl,--as-needed -O2 -L./libdm -L./lib -L./libdaemon/client
-L./daemons/dmeventd -Wl,-O1 -Wl,--as-needed -O2 -L../libdm -L../lib
-L../libdaemon/client -L../daemons/dmeventd -L../libdm \
-o dmsetup dmsetup.o -ldevmapper -ludev
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -march=native -O2 -pipe
-fPIC -O2 -march=native -O2 -pipe -fPIC -O2 -Wl,-O1 -Wl,--as-needed
-Wl,-O1 -Wl,--as-needed -O2 -L./libdm -L./lib -L./libdaemon/client
-L./daemons/dmeventd -Wl,-O1 -Wl,--as-needed -O2 -L../libdm -L../lib
-L../libdaemon/client -L../daemons/dmeventd -Wl,--no-export-dynamic
-static -L../libdm/ioctl \
-o dmsetup.static dmsetup.o -ldevmapper -ludev -ludev
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(libudev-util.o):
In function `util_lookup_group':
(.text+0x4d6): warning: Using 'getgrnam_r' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(libudev-util.o):
In function `util_lookup_user':
(.text+0x3a3): warning: Using 'getpwnam_r' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(util.o):
In function `now':
(.text+0x148): undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
make[1]: *** [dmsetup.static] Error 1
make[1]: Leaving directory
`/var/tmp/portage/sys-fs/lvm2-2.02.98/work/LVM2.2.02.98/tools'
make: *** [tools.device-mapper] Error 2
* ERROR: sys-fs/lvm2-2.02.98 failed (compile phase):
* emake failed
The short error is this:
(.text+0x148): undefined reference to `clock_gettime'
I googled and it seems udev is supposed to deal with this. I'm using
eudev. I have tried a masked version of lvm2 to see if it has a fix but
same error. I'm on the latest eudev except for the *9999 version. This
is current version of eudev:
[IP-] [ ] sys-fs/eudev-1.0:0
Current installed gcc:
[IP-] [ ] sys-devel/gcc-4.4.7:4.4.7
[IP-] [ ] sys-devel/gcc-4.5.4:4.5.4
[IP-] [ ] sys-devel/gcc-4.6.3:4.6.3
I'm set to use 4.6.3 gcc according to gcc-config. This is part of a
emerge -e world hoping to fix the seamonkey/firefox issue, hoping.
Everything else compiled except googleearth and ppp. I'm not using
those at the moment so I'm not worried about those. Maybe later.
Thoughts? Ideas?
Dale
:-) :-)
--
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] LVM2 compile error. Clock_gettime
2013-06-26 4:58 [gentoo-user] LVM2 compile error. Clock_gettime Dale
@ 2013-06-26 5:20 ` Samuli Suominen
2013-06-26 6:31 ` Dale
0 siblings, 1 reply; 13+ messages in thread
From: Samuli Suominen @ 2013-06-26 5:20 UTC (permalink / raw
To: gentoo-user, udev-bugs, eudev
On 26/06/13 07:58, Dale wrote:
> I can't seem to get lvm2 to compile. I get this error:
>
> FILE=`echo lvchange.d | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
> DEPS=`echo ../make.tmpl ../VERSION ../Makefile
> ../include/.symlinks_created | sed -e 's/\\//\\\\\\//g'`; \
> x86_64-pc-linux-gnu-gcc -MM -I. -I../include
> -DLVM_SHARED_PATH=\"/usr/sbin/lvm\" -DHAVE_CONFIG_H -DDM_IOCTLS -o
> lvchange.d lvchange.c; \
> sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" lvchange.d; \
> [ -s lvchange.d ] || rm -f lvchange.d
> /bin/mkdir -p ./; \
> set -e; \
> FILE=`echo formats.d | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
> DEPS=`echo ../make.tmpl ../VERSION ../Makefile
> ../include/.symlinks_created | sed -e 's/\\//\\\\\\//g'`; \
> x86_64-pc-linux-gnu-gcc -MM -I. -I../include
> -DLVM_SHARED_PATH=\"/usr/sbin/lvm\" -DHAVE_CONFIG_H -DDM_IOCTLS -o
> formats.d formats.c; \
> sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" formats.d; \
> [ -s formats.d ] || rm -f formats.d
> /bin/mkdir -p ./; \
> set -e; \
> FILE=`echo dumpconfig.d | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
> DEPS=`echo ../make.tmpl ../VERSION ../Makefile
> ../include/.symlinks_created | sed -e 's/\\//\\\\\\//g'`; \
> x86_64-pc-linux-gnu-gcc -MM -I. -I../include
> -DLVM_SHARED_PATH=\"/usr/sbin/lvm\" -DHAVE_CONFIG_H -DDM_IOCTLS -o
> dumpconfig.d dumpconfig.c; \
> sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g"
> dumpconfig.d; \
> [ -s dumpconfig.d ] || rm -f dumpconfig.d
> make[1]: Leaving directory
> `/var/tmp/portage/sys-fs/lvm2-2.02.98/work/LVM2.2.02.98/tools'
> make[1]: Entering directory
> `/var/tmp/portage/sys-fs/lvm2-2.02.98/work/LVM2.2.02.98/tools'
> x86_64-pc-linux-gnu-gcc -c -I. -I../include
> -DLVM_SHARED_PATH=\"/usr/sbin/lvm\" -DHAVE_CONFIG_H -DDM_IOCTLS -Wall
> -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn
> -Wformat-security -Wredundant-decls -Wpointer-arith -march=native -O2
> -pipe -march=native -O2 -pipe -fPIC -O2 -march=native -O2 -pipe -fPIC
> -O2 dmsetup.c -o dmsetup.o
> x86_64-pc-linux-gnu-gcc -shared -Wl,-soname,libdevmapper-event.so.1.02 \
> -march=native -O2 -pipe -march=native -O2 -pipe -fPIC -O2
> -march=native -O2 -pipe -fPIC -O2 -march=native -O2 -pipe -fPIC -O2
> -Wl,-O1 -Wl,--as-needed -Wl,--version-script,.export.sym -L../../libdm
> -L../../lib -L../../libdaemon/client -L../../daemons/dmeventd
> libdevmapper-event.o -ldevmapper -o libdevmapper-event.so.1.02
> rm -f libdevmapper-event.a
> x86_64-pc-linux-gnu-ar rs libdevmapper-event.a libdevmapper-event.o
> x86_64-pc-linux-gnu-ar: creating libdevmapper-event.a
> ln -s -f libdevmapper-event.so.1.02 libdevmapper-event.so
> x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -march=native -O2 -pipe
> -fPIC -O2 -march=native -O2 -pipe -fPIC -O2 -march=native -O2 -pipe
> -fPIC -O2 -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -L./libdm
> -L./lib -L./libdaemon/client -L./daemons/dmeventd -Wl,-O1
> -Wl,--as-needed -O2 -L../libdm -L../lib -L../libdaemon/client
> -L../daemons/dmeventd -Wl,-O1 -Wl,--as-needed -O2 -L../../libdm
> -L../../lib -L../../libdaemon/client -L../../daemons/dmeventd
> -Wl,--export-dynamic -L. -o dmeventd dmeventd.o \
> -ldl -ldevmapper-event -lpthread -ldevmapper -rdynamic
> x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -march=native -O2 -pipe
> -fPIC -O2 -march=native -O2 -pipe -fPIC -O2 -march=native -O2 -pipe
> -fPIC -O2 -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -L./libdm
> -L./lib -L./libdaemon/client -L./daemons/dmeventd -Wl,-O1
> -Wl,--as-needed -O2 -L../libdm -L../lib -L../libdaemon/client
> -L../daemons/dmeventd -Wl,-O1 -Wl,--as-needed -O2 -L../../libdm
> -L../../lib -L../../libdaemon/client -L../../daemons/dmeventd
> -Wl,--export-dynamic -Wl,--no-export-dynamic -static -L.
> -L../../libdm/ioctl -o dmeventd.static \
> dmeventd.o -ldl -ldevmapper-event -lpthread -ldevmapper -ludev
> dmeventd.o: In function `_register_for_event':
> dmeventd.c:(.text+0xfb1): warning: Using 'dlopen' in statically linked
> applications requires at runtime the shared libraries from the glibc
> version used for linking
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(libudev-util.o):
> In function `util_lookup_group':
> (.text+0x4d6): warning: Using 'getgrnam_r' in statically linked
> applications requires at runtime the shared libraries from the glibc
> version used for linking
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(libudev-util.o):
> In function `util_lookup_user':
> (.text+0x3a3): warning: Using 'getpwnam_r' in statically linked
> applications requires at runtime the shared libraries from the glibc
> version used for linking
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(util.o):
> In function `now':
> (.text+0x148): undefined reference to `clock_gettime'
> collect2: ld returned 1 exit status
> make[2]: *** [dmeventd.static] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/sys-fs/lvm2-2.02.98/work/LVM2.2.02.98/daemons/dmeventd'
> make[1]: *** [dmeventd.device-mapper] Error 2
> make[1]: Leaving directory
> `/var/tmp/portage/sys-fs/lvm2-2.02.98/work/LVM2.2.02.98/daemons'
> make: *** [daemons.device-mapper] Error 2
> make: *** Waiting for unfinished jobs....
> x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -march=native -O2 -pipe
> -fPIC -O2 -march=native -O2 -pipe -fPIC -O2 -Wl,-O1 -Wl,--as-needed
> -Wl,-O1 -Wl,--as-needed -O2 -L./libdm -L./lib -L./libdaemon/client
> -L./daemons/dmeventd -Wl,-O1 -Wl,--as-needed -O2 -L../libdm -L../lib
> -L../libdaemon/client -L../daemons/dmeventd -L../libdm \
> -o dmsetup dmsetup.o -ldevmapper -ludev
> x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -march=native -O2 -pipe
> -fPIC -O2 -march=native -O2 -pipe -fPIC -O2 -Wl,-O1 -Wl,--as-needed
> -Wl,-O1 -Wl,--as-needed -O2 -L./libdm -L./lib -L./libdaemon/client
> -L./daemons/dmeventd -Wl,-O1 -Wl,--as-needed -O2 -L../libdm -L../lib
> -L../libdaemon/client -L../daemons/dmeventd -Wl,--no-export-dynamic
> -static -L../libdm/ioctl \
> -o dmsetup.static dmsetup.o -ldevmapper -ludev -ludev
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(libudev-util.o):
> In function `util_lookup_group':
> (.text+0x4d6): warning: Using 'getgrnam_r' in statically linked
> applications requires at runtime the shared libraries from the glibc
> version used for linking
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(libudev-util.o):
> In function `util_lookup_user':
> (.text+0x3a3): warning: Using 'getpwnam_r' in statically linked
> applications requires at runtime the shared libraries from the glibc
> version used for linking
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(util.o):
> In function `now':
> (.text+0x148): undefined reference to `clock_gettime'
> collect2: ld returned 1 exit status
> make[1]: *** [dmsetup.static] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/sys-fs/lvm2-2.02.98/work/LVM2.2.02.98/tools'
> make: *** [tools.device-mapper] Error 2
> * ERROR: sys-fs/lvm2-2.02.98 failed (compile phase):
> * emake failed
>
>
> The short error is this:
>
> (.text+0x148): undefined reference to `clock_gettime'
>
> I googled and it seems udev is supposed to deal with this. I'm using
> eudev. I have tried a masked version of lvm2 to see if it has a fix but
> same error. I'm on the latest eudev except for the *9999 version. This
> is current version of eudev:
>
> [IP-] [ ] sys-fs/eudev-1.0:0
>
> Current installed gcc:
>
> [IP-] [ ] sys-devel/gcc-4.4.7:4.4.7
> [IP-] [ ] sys-devel/gcc-4.5.4:4.5.4
> [IP-] [ ] sys-devel/gcc-4.6.3:4.6.3
>
> I'm set to use 4.6.3 gcc according to gcc-config. This is part of a
> emerge -e world hoping to fix the seamonkey/firefox issue, hoping.
> Everything else compiled except googleearth and ppp. I'm not using
> those at the moment so I'm not worried about those. Maybe later.
>
> Thoughts? Ideas?
With sys-fs/udev-204 installed I get:
$ pkg-config --libs --static libudev
-ludev -lrt
$ grep lrt /usr/lib64/pkgconfig/libudev.pc
Libs.private: -lrt
In which the -lrt is the important bit. It's required for clock_gettime.
So either eudev is broken and doesn't contain proper Libs.private: in
libudev.pc file, or sys-fs/lvm2's build system is broken and doesn't
query proper Libs.private: from libudev.pc when building lvm2 with static.
For the record. There is no reason to use sys-fs/eudev at this time, it
doesn't bring anything to the table sys-fs/udev doesn't have. In fact,
sys-fs/eudev has broken USE="+rule-generator" which leads to random
interface names.
- Samuli
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] LVM2 compile error. Clock_gettime
2013-06-26 5:20 ` Samuli Suominen
@ 2013-06-26 6:31 ` Dale
2013-06-26 6:49 ` Samuli Suominen
0 siblings, 1 reply; 13+ messages in thread
From: Dale @ 2013-06-26 6:31 UTC (permalink / raw
To: gentoo-user
Samuli Suominen wrote:
> On 26/06/13 07:58, Dale wrote:
>> I can't seem to get lvm2 to compile. I get this error:
>>
>> FILE=`echo lvchange.d | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
>> DEPS=`echo ../make.tmpl ../VERSION ../Makefile
>> ../include/.symlinks_created | sed -e 's/\\//\\\\\\//g'`; \
>> x86_64-pc-linux-gnu-gcc -MM -I. -I../include
>> -DLVM_SHARED_PATH=\"/usr/sbin/lvm\" -DHAVE_CONFIG_H -DDM_IOCTLS -o
>> lvchange.d lvchange.c; \
>> sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g"
>> lvchange.d; \
>> [ -s lvchange.d ] || rm -f lvchange.d
>> /bin/mkdir -p ./; \
>> set -e; \
>> FILE=`echo formats.d | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
>> DEPS=`echo ../make.tmpl ../VERSION ../Makefile
>> ../include/.symlinks_created | sed -e 's/\\//\\\\\\//g'`; \
>> x86_64-pc-linux-gnu-gcc -MM -I. -I../include
>> -DLVM_SHARED_PATH=\"/usr/sbin/lvm\" -DHAVE_CONFIG_H -DDM_IOCTLS -o
>> formats.d formats.c; \
>> sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g"
>> formats.d; \
>> [ -s formats.d ] || rm -f formats.d
>> /bin/mkdir -p ./; \
>> set -e; \
>> FILE=`echo dumpconfig.d | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
>> DEPS=`echo ../make.tmpl ../VERSION ../Makefile
>> ../include/.symlinks_created | sed -e 's/\\//\\\\\\//g'`; \
>> x86_64-pc-linux-gnu-gcc -MM -I. -I../include
>> -DLVM_SHARED_PATH=\"/usr/sbin/lvm\" -DHAVE_CONFIG_H -DDM_IOCTLS -o
>> dumpconfig.d dumpconfig.c; \
>> sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g"
>> dumpconfig.d; \
>> [ -s dumpconfig.d ] || rm -f dumpconfig.d
>> make[1]: Leaving directory
>> `/var/tmp/portage/sys-fs/lvm2-2.02.98/work/LVM2.2.02.98/tools'
>> make[1]: Entering directory
>> `/var/tmp/portage/sys-fs/lvm2-2.02.98/work/LVM2.2.02.98/tools'
>> x86_64-pc-linux-gnu-gcc -c -I. -I../include
>> -DLVM_SHARED_PATH=\"/usr/sbin/lvm\" -DHAVE_CONFIG_H -DDM_IOCTLS -Wall
>> -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes
>> -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn
>> -Wformat-security -Wredundant-decls -Wpointer-arith -march=native -O2
>> -pipe -march=native -O2 -pipe -fPIC -O2 -march=native -O2 -pipe -fPIC
>> -O2 dmsetup.c -o dmsetup.o
>> x86_64-pc-linux-gnu-gcc -shared -Wl,-soname,libdevmapper-event.so.1.02 \
>> -march=native -O2 -pipe -march=native -O2 -pipe -fPIC -O2
>> -march=native -O2 -pipe -fPIC -O2 -march=native -O2 -pipe -fPIC -O2
>> -Wl,-O1 -Wl,--as-needed -Wl,--version-script,.export.sym -L../../libdm
>> -L../../lib -L../../libdaemon/client -L../../daemons/dmeventd
>> libdevmapper-event.o -ldevmapper -o libdevmapper-event.so.1.02
>> rm -f libdevmapper-event.a
>> x86_64-pc-linux-gnu-ar rs libdevmapper-event.a libdevmapper-event.o
>> x86_64-pc-linux-gnu-ar: creating libdevmapper-event.a
>> ln -s -f libdevmapper-event.so.1.02 libdevmapper-event.so
>> x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -march=native -O2 -pipe
>> -fPIC -O2 -march=native -O2 -pipe -fPIC -O2 -march=native -O2 -pipe
>> -fPIC -O2 -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -L./libdm
>> -L./lib -L./libdaemon/client -L./daemons/dmeventd -Wl,-O1
>> -Wl,--as-needed -O2 -L../libdm -L../lib -L../libdaemon/client
>> -L../daemons/dmeventd -Wl,-O1 -Wl,--as-needed -O2 -L../../libdm
>> -L../../lib -L../../libdaemon/client -L../../daemons/dmeventd
>> -Wl,--export-dynamic -L. -o dmeventd dmeventd.o \
>> -ldl -ldevmapper-event -lpthread -ldevmapper -rdynamic
>> x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -march=native -O2 -pipe
>> -fPIC -O2 -march=native -O2 -pipe -fPIC -O2 -march=native -O2 -pipe
>> -fPIC -O2 -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -L./libdm
>> -L./lib -L./libdaemon/client -L./daemons/dmeventd -Wl,-O1
>> -Wl,--as-needed -O2 -L../libdm -L../lib -L../libdaemon/client
>> -L../daemons/dmeventd -Wl,-O1 -Wl,--as-needed -O2 -L../../libdm
>> -L../../lib -L../../libdaemon/client -L../../daemons/dmeventd
>> -Wl,--export-dynamic -Wl,--no-export-dynamic -static -L.
>> -L../../libdm/ioctl -o dmeventd.static \
>> dmeventd.o -ldl -ldevmapper-event -lpthread -ldevmapper -ludev
>> dmeventd.o: In function `_register_for_event':
>> dmeventd.c:(.text+0xfb1): warning: Using 'dlopen' in statically linked
>> applications requires at runtime the shared libraries from the glibc
>> version used for linking
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(libudev-util.o):
>>
>> In function `util_lookup_group':
>> (.text+0x4d6): warning: Using 'getgrnam_r' in statically linked
>> applications requires at runtime the shared libraries from the glibc
>> version used for linking
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(libudev-util.o):
>>
>> In function `util_lookup_user':
>> (.text+0x3a3): warning: Using 'getpwnam_r' in statically linked
>> applications requires at runtime the shared libraries from the glibc
>> version used for linking
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(util.o):
>>
>> In function `now':
>> (.text+0x148): undefined reference to `clock_gettime'
>> collect2: ld returned 1 exit status
>> make[2]: *** [dmeventd.static] Error 1
>> make[2]: Leaving directory
>> `/var/tmp/portage/sys-fs/lvm2-2.02.98/work/LVM2.2.02.98/daemons/dmeventd'
>>
>> make[1]: *** [dmeventd.device-mapper] Error 2
>> make[1]: Leaving directory
>> `/var/tmp/portage/sys-fs/lvm2-2.02.98/work/LVM2.2.02.98/daemons'
>> make: *** [daemons.device-mapper] Error 2
>> make: *** Waiting for unfinished jobs....
>> x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -march=native -O2 -pipe
>> -fPIC -O2 -march=native -O2 -pipe -fPIC -O2 -Wl,-O1 -Wl,--as-needed
>> -Wl,-O1 -Wl,--as-needed -O2 -L./libdm -L./lib -L./libdaemon/client
>> -L./daemons/dmeventd -Wl,-O1 -Wl,--as-needed -O2 -L../libdm -L../lib
>> -L../libdaemon/client -L../daemons/dmeventd -L../libdm \
>> -o dmsetup dmsetup.o -ldevmapper -ludev
>> x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -march=native -O2 -pipe
>> -fPIC -O2 -march=native -O2 -pipe -fPIC -O2 -Wl,-O1 -Wl,--as-needed
>> -Wl,-O1 -Wl,--as-needed -O2 -L./libdm -L./lib -L./libdaemon/client
>> -L./daemons/dmeventd -Wl,-O1 -Wl,--as-needed -O2 -L../libdm -L../lib
>> -L../libdaemon/client -L../daemons/dmeventd -Wl,--no-export-dynamic
>> -static -L../libdm/ioctl \
>> -o dmsetup.static dmsetup.o -ldevmapper -ludev -ludev
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(libudev-util.o):
>>
>> In function `util_lookup_group':
>> (.text+0x4d6): warning: Using 'getgrnam_r' in statically linked
>> applications requires at runtime the shared libraries from the glibc
>> version used for linking
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(libudev-util.o):
>>
>> In function `util_lookup_user':
>> (.text+0x3a3): warning: Using 'getpwnam_r' in statically linked
>> applications requires at runtime the shared libraries from the glibc
>> version used for linking
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(util.o):
>>
>> In function `now':
>> (.text+0x148): undefined reference to `clock_gettime'
>> collect2: ld returned 1 exit status
>> make[1]: *** [dmsetup.static] Error 1
>> make[1]: Leaving directory
>> `/var/tmp/portage/sys-fs/lvm2-2.02.98/work/LVM2.2.02.98/tools'
>> make: *** [tools.device-mapper] Error 2
>> * ERROR: sys-fs/lvm2-2.02.98 failed (compile phase):
>> * emake failed
>>
>>
>> The short error is this:
>>
>> (.text+0x148): undefined reference to `clock_gettime'
>>
>> I googled and it seems udev is supposed to deal with this. I'm using
>> eudev. I have tried a masked version of lvm2 to see if it has a fix but
>> same error. I'm on the latest eudev except for the *9999 version. This
>> is current version of eudev:
>>
>> [IP-] [ ] sys-fs/eudev-1.0:0
>>
>> Current installed gcc:
>>
>> [IP-] [ ] sys-devel/gcc-4.4.7:4.4.7
>> [IP-] [ ] sys-devel/gcc-4.5.4:4.5.4
>> [IP-] [ ] sys-devel/gcc-4.6.3:4.6.3
>>
>> I'm set to use 4.6.3 gcc according to gcc-config. This is part of a
>> emerge -e world hoping to fix the seamonkey/firefox issue, hoping.
>> Everything else compiled except googleearth and ppp. I'm not using
>> those at the moment so I'm not worried about those. Maybe later.
>>
>> Thoughts? Ideas?
>
> With sys-fs/udev-204 installed I get:
>
> $ pkg-config --libs --static libudev
> -ludev -lrt
> $ grep lrt /usr/lib64/pkgconfig/libudev.pc
> Libs.private: -lrt
>
> In which the -lrt is the important bit. It's required for clock_gettime.
>
> So either eudev is broken and doesn't contain proper Libs.private: in
> libudev.pc file, or sys-fs/lvm2's build system is broken and doesn't
> query proper Libs.private: from libudev.pc when building lvm2 with
> static.
>
> For the record. There is no reason to use sys-fs/eudev at this time,
> it doesn't bring anything to the table sys-fs/udev doesn't have. In
> fact, sys-fs/eudev has broken USE="+rule-generator" which leads to
> random interface names.
>
> - Samuli
>
>
I switched when all the separate /usr uproar happened. I no longer have
a init thingy either. I cleaned all that out after a few successful
reboots with eudev without using a init thingy. So, if I switch back to
udev, are you sure that my system is going to reboot? I have everything
but / and /boot on LVM. Point being, I don't want to switch back,
reboot and have a non-bootable system. I switched to grub2 and would
really not want to learn the hard way how to edit stuff, chrrot to fix
anything with it, although I need to test on that one day.
At least my guess was right on it being a *dev problem. What I saw from
google pointed in that direction.
Thanks.
Dale
:-) :-)
--
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] LVM2 compile error. Clock_gettime
2013-06-26 6:31 ` Dale
@ 2013-06-26 6:49 ` Samuli Suominen
2013-06-27 12:39 ` Dale
0 siblings, 1 reply; 13+ messages in thread
From: Samuli Suominen @ 2013-06-26 6:49 UTC (permalink / raw
To: gentoo-user
On 26/06/13 09:31, Dale wrote:
> Samuli Suominen wrote:
>> On 26/06/13 07:58, Dale wrote:
>>> I can't seem to get lvm2 to compile. I get this error:
>>>
>>> FILE=`echo lvchange.d | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
>>> DEPS=`echo ../make.tmpl ../VERSION ../Makefile
>>> ../include/.symlinks_created | sed -e 's/\\//\\\\\\//g'`; \
>>> x86_64-pc-linux-gnu-gcc -MM -I. -I../include
>>> -DLVM_SHARED_PATH=\"/usr/sbin/lvm\" -DHAVE_CONFIG_H -DDM_IOCTLS -o
>>> lvchange.d lvchange.c; \
>>> sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g"
>>> lvchange.d; \
>>> [ -s lvchange.d ] || rm -f lvchange.d
>>> /bin/mkdir -p ./; \
>>> set -e; \
>>> FILE=`echo formats.d | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
>>> DEPS=`echo ../make.tmpl ../VERSION ../Makefile
>>> ../include/.symlinks_created | sed -e 's/\\//\\\\\\//g'`; \
>>> x86_64-pc-linux-gnu-gcc -MM -I. -I../include
>>> -DLVM_SHARED_PATH=\"/usr/sbin/lvm\" -DHAVE_CONFIG_H -DDM_IOCTLS -o
>>> formats.d formats.c; \
>>> sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g"
>>> formats.d; \
>>> [ -s formats.d ] || rm -f formats.d
>>> /bin/mkdir -p ./; \
>>> set -e; \
>>> FILE=`echo dumpconfig.d | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
>>> DEPS=`echo ../make.tmpl ../VERSION ../Makefile
>>> ../include/.symlinks_created | sed -e 's/\\//\\\\\\//g'`; \
>>> x86_64-pc-linux-gnu-gcc -MM -I. -I../include
>>> -DLVM_SHARED_PATH=\"/usr/sbin/lvm\" -DHAVE_CONFIG_H -DDM_IOCTLS -o
>>> dumpconfig.d dumpconfig.c; \
>>> sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g"
>>> dumpconfig.d; \
>>> [ -s dumpconfig.d ] || rm -f dumpconfig.d
>>> make[1]: Leaving directory
>>> `/var/tmp/portage/sys-fs/lvm2-2.02.98/work/LVM2.2.02.98/tools'
>>> make[1]: Entering directory
>>> `/var/tmp/portage/sys-fs/lvm2-2.02.98/work/LVM2.2.02.98/tools'
>>> x86_64-pc-linux-gnu-gcc -c -I. -I../include
>>> -DLVM_SHARED_PATH=\"/usr/sbin/lvm\" -DHAVE_CONFIG_H -DDM_IOCTLS -Wall
>>> -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes
>>> -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn
>>> -Wformat-security -Wredundant-decls -Wpointer-arith -march=native -O2
>>> -pipe -march=native -O2 -pipe -fPIC -O2 -march=native -O2 -pipe -fPIC
>>> -O2 dmsetup.c -o dmsetup.o
>>> x86_64-pc-linux-gnu-gcc -shared -Wl,-soname,libdevmapper-event.so.1.02 \
>>> -march=native -O2 -pipe -march=native -O2 -pipe -fPIC -O2
>>> -march=native -O2 -pipe -fPIC -O2 -march=native -O2 -pipe -fPIC -O2
>>> -Wl,-O1 -Wl,--as-needed -Wl,--version-script,.export.sym -L../../libdm
>>> -L../../lib -L../../libdaemon/client -L../../daemons/dmeventd
>>> libdevmapper-event.o -ldevmapper -o libdevmapper-event.so.1.02
>>> rm -f libdevmapper-event.a
>>> x86_64-pc-linux-gnu-ar rs libdevmapper-event.a libdevmapper-event.o
>>> x86_64-pc-linux-gnu-ar: creating libdevmapper-event.a
>>> ln -s -f libdevmapper-event.so.1.02 libdevmapper-event.so
>>> x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -march=native -O2 -pipe
>>> -fPIC -O2 -march=native -O2 -pipe -fPIC -O2 -march=native -O2 -pipe
>>> -fPIC -O2 -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -L./libdm
>>> -L./lib -L./libdaemon/client -L./daemons/dmeventd -Wl,-O1
>>> -Wl,--as-needed -O2 -L../libdm -L../lib -L../libdaemon/client
>>> -L../daemons/dmeventd -Wl,-O1 -Wl,--as-needed -O2 -L../../libdm
>>> -L../../lib -L../../libdaemon/client -L../../daemons/dmeventd
>>> -Wl,--export-dynamic -L. -o dmeventd dmeventd.o \
>>> -ldl -ldevmapper-event -lpthread -ldevmapper -rdynamic
>>> x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -march=native -O2 -pipe
>>> -fPIC -O2 -march=native -O2 -pipe -fPIC -O2 -march=native -O2 -pipe
>>> -fPIC -O2 -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -L./libdm
>>> -L./lib -L./libdaemon/client -L./daemons/dmeventd -Wl,-O1
>>> -Wl,--as-needed -O2 -L../libdm -L../lib -L../libdaemon/client
>>> -L../daemons/dmeventd -Wl,-O1 -Wl,--as-needed -O2 -L../../libdm
>>> -L../../lib -L../../libdaemon/client -L../../daemons/dmeventd
>>> -Wl,--export-dynamic -Wl,--no-export-dynamic -static -L.
>>> -L../../libdm/ioctl -o dmeventd.static \
>>> dmeventd.o -ldl -ldevmapper-event -lpthread -ldevmapper -ludev
>>> dmeventd.o: In function `_register_for_event':
>>> dmeventd.c:(.text+0xfb1): warning: Using 'dlopen' in statically linked
>>> applications requires at runtime the shared libraries from the glibc
>>> version used for linking
>>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(libudev-util.o):
>>>
>>> In function `util_lookup_group':
>>> (.text+0x4d6): warning: Using 'getgrnam_r' in statically linked
>>> applications requires at runtime the shared libraries from the glibc
>>> version used for linking
>>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(libudev-util.o):
>>>
>>> In function `util_lookup_user':
>>> (.text+0x3a3): warning: Using 'getpwnam_r' in statically linked
>>> applications requires at runtime the shared libraries from the glibc
>>> version used for linking
>>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(util.o):
>>>
>>> In function `now':
>>> (.text+0x148): undefined reference to `clock_gettime'
>>> collect2: ld returned 1 exit status
>>> make[2]: *** [dmeventd.static] Error 1
>>> make[2]: Leaving directory
>>> `/var/tmp/portage/sys-fs/lvm2-2.02.98/work/LVM2.2.02.98/daemons/dmeventd'
>>>
>>> make[1]: *** [dmeventd.device-mapper] Error 2
>>> make[1]: Leaving directory
>>> `/var/tmp/portage/sys-fs/lvm2-2.02.98/work/LVM2.2.02.98/daemons'
>>> make: *** [daemons.device-mapper] Error 2
>>> make: *** Waiting for unfinished jobs....
>>> x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -march=native -O2 -pipe
>>> -fPIC -O2 -march=native -O2 -pipe -fPIC -O2 -Wl,-O1 -Wl,--as-needed
>>> -Wl,-O1 -Wl,--as-needed -O2 -L./libdm -L./lib -L./libdaemon/client
>>> -L./daemons/dmeventd -Wl,-O1 -Wl,--as-needed -O2 -L../libdm -L../lib
>>> -L../libdaemon/client -L../daemons/dmeventd -L../libdm \
>>> -o dmsetup dmsetup.o -ldevmapper -ludev
>>> x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -march=native -O2 -pipe
>>> -fPIC -O2 -march=native -O2 -pipe -fPIC -O2 -Wl,-O1 -Wl,--as-needed
>>> -Wl,-O1 -Wl,--as-needed -O2 -L./libdm -L./lib -L./libdaemon/client
>>> -L./daemons/dmeventd -Wl,-O1 -Wl,--as-needed -O2 -L../libdm -L../lib
>>> -L../libdaemon/client -L../daemons/dmeventd -Wl,--no-export-dynamic
>>> -static -L../libdm/ioctl \
>>> -o dmsetup.static dmsetup.o -ldevmapper -ludev -ludev
>>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(libudev-util.o):
>>>
>>> In function `util_lookup_group':
>>> (.text+0x4d6): warning: Using 'getgrnam_r' in statically linked
>>> applications requires at runtime the shared libraries from the glibc
>>> version used for linking
>>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(libudev-util.o):
>>>
>>> In function `util_lookup_user':
>>> (.text+0x3a3): warning: Using 'getpwnam_r' in statically linked
>>> applications requires at runtime the shared libraries from the glibc
>>> version used for linking
>>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libudev.a(util.o):
>>>
>>> In function `now':
>>> (.text+0x148): undefined reference to `clock_gettime'
>>> collect2: ld returned 1 exit status
>>> make[1]: *** [dmsetup.static] Error 1
>>> make[1]: Leaving directory
>>> `/var/tmp/portage/sys-fs/lvm2-2.02.98/work/LVM2.2.02.98/tools'
>>> make: *** [tools.device-mapper] Error 2
>>> * ERROR: sys-fs/lvm2-2.02.98 failed (compile phase):
>>> * emake failed
>>>
>>>
>>> The short error is this:
>>>
>>> (.text+0x148): undefined reference to `clock_gettime'
>>>
>>> I googled and it seems udev is supposed to deal with this. I'm using
>>> eudev. I have tried a masked version of lvm2 to see if it has a fix but
>>> same error. I'm on the latest eudev except for the *9999 version. This
>>> is current version of eudev:
>>>
>>> [IP-] [ ] sys-fs/eudev-1.0:0
>>>
>>> Current installed gcc:
>>>
>>> [IP-] [ ] sys-devel/gcc-4.4.7:4.4.7
>>> [IP-] [ ] sys-devel/gcc-4.5.4:4.5.4
>>> [IP-] [ ] sys-devel/gcc-4.6.3:4.6.3
>>>
>>> I'm set to use 4.6.3 gcc according to gcc-config. This is part of a
>>> emerge -e world hoping to fix the seamonkey/firefox issue, hoping.
>>> Everything else compiled except googleearth and ppp. I'm not using
>>> those at the moment so I'm not worried about those. Maybe later.
>>>
>>> Thoughts? Ideas?
>>
>> With sys-fs/udev-204 installed I get:
>>
>> $ pkg-config --libs --static libudev
>> -ludev -lrt
>> $ grep lrt /usr/lib64/pkgconfig/libudev.pc
>> Libs.private: -lrt
>>
>> In which the -lrt is the important bit. It's required for clock_gettime.
>>
>> So either eudev is broken and doesn't contain proper Libs.private: in
>> libudev.pc file, or sys-fs/lvm2's build system is broken and doesn't
>> query proper Libs.private: from libudev.pc when building lvm2 with
>> static.
>>
>> For the record. There is no reason to use sys-fs/eudev at this time,
>> it doesn't bring anything to the table sys-fs/udev doesn't have. In
>> fact, sys-fs/eudev has broken USE="+rule-generator" which leads to
>> random interface names.
>>
>> - Samuli
>>
>>
>
> I switched when all the separate /usr uproar happened. I no longer have
> a init thingy either. I cleaned all that out after a few successful
> reboots with eudev without using a init thingy. So, if I switch back to
> udev, are you sure that my system is going to reboot? I have everything
> but / and /boot on LVM. Point being, I don't want to switch back,
> reboot and have a non-bootable system. I switched to grub2 and would
> really not want to learn the hard way how to edit stuff, chrrot to fix
> anything with it, although I need to test on that one day.
>
> At least my guess was right on it being a *dev problem. What I saw from
> google pointed in that direction.
sys-fs/udev-197, 200, 204. --- will install to / instead of /usr so it
will work with sep. /usr just like eudev does, or just like udev-171 used to
basically the only thing to look out for is the network interface names,
you can add extra entry to grub that boots with net.ifnames=0 kernel
parameter, or create empty file /etc/udev/rules.d/80-net-name-slot.rules
if you don't like the new names
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] LVM2 compile error. Clock_gettime
2013-06-26 6:49 ` Samuli Suominen
@ 2013-06-27 12:39 ` Dale
2013-06-29 1:59 ` Walter Dnes
0 siblings, 1 reply; 13+ messages in thread
From: Dale @ 2013-06-27 12:39 UTC (permalink / raw
To: gentoo-user
Samuli Suominen wrote:
>
> sys-fs/udev-197, 200, 204. --- will install to / instead of /usr so it
> will work with sep. /usr just like eudev does, or just like udev-171
> used to
>
> basically the only thing to look out for is the network interface
> names, you can add extra entry to grub that boots with net.ifnames=0
> kernel parameter, or create empty file
> /etc/udev/rules.d/80-net-name-slot.rules if you don't like the new names
>
>
Someone else ran into the same thing and it appears they use udev. So
switching wouldn't help anyway.
https://bugs.gentoo.org/show_bug.cgi?id=370217
Dale
:-) :-)
--
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] LVM2 compile error. Clock_gettime
2013-06-27 12:39 ` Dale
@ 2013-06-29 1:59 ` Walter Dnes
2013-06-29 2:44 ` Dale
0 siblings, 1 reply; 13+ messages in thread
From: Walter Dnes @ 2013-06-29 1:59 UTC (permalink / raw
To: gentoo-user
On Thu, Jun 27, 2013 at 07:39:39AM -0500, Dale wrote
> Someone else ran into the same thing and it appears they use udev. So
> switching wouldn't help anyway.
>
> https://bugs.gentoo.org/show_bug.cgi?id=370217
Your bug-report comment shows...
sys-fs/lvm2-2.02.97-r1 USE="lvm1 readline static thin udev (-clvm) (-cman) (-selinux) -static-libs"
Other comments note that unsetting "static" allows it to build. Try
unsetting the "static" flag for lvm2 in package.use, i.e...
sys-fs/lvm2 -static
Does that build for you?
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] LVM2 compile error. Clock_gettime
2013-06-29 1:59 ` Walter Dnes
@ 2013-06-29 2:44 ` Dale
2013-06-29 9:27 ` Neil Bothwick
2013-06-29 13:07 ` Bruce Hill
0 siblings, 2 replies; 13+ messages in thread
From: Dale @ 2013-06-29 2:44 UTC (permalink / raw
To: gentoo-user
Walter Dnes wrote:
> On Thu, Jun 27, 2013 at 07:39:39AM -0500, Dale wrote
>
>> Someone else ran into the same thing and it appears they use udev. So
>> switching wouldn't help anyway.
>>
>> https://bugs.gentoo.org/show_bug.cgi?id=370217
> Your bug-report comment shows...
> sys-fs/lvm2-2.02.97-r1 USE="lvm1 readline static thin udev (-clvm) (-cman) (-selinux) -static-libs"
>
> Other comments note that unsetting "static" allows it to build. Try
> unsetting the "static" flag for lvm2 in package.use, i.e...
>
> sys-fs/lvm2 -static
>
> Does that build for you?
>
It might would but I can't recall WHY I set it to that. If I set it
that way in package.use, which is rare for me, then I had to have a good
reason. I need to start making notes on this stuff. ;-)
It will likely be fixed pretty soon so as long as I don't have to
upgrade, I should be OK with the one installed now. It was just a
recompile from emerge -e world but I found it odd that it worked before
but not the other day.
If I have to tho, I'll keep that in mind.
Thanks much.
Dale
:-) :-)
--
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] LVM2 compile error. Clock_gettime
2013-06-29 2:44 ` Dale
@ 2013-06-29 9:27 ` Neil Bothwick
2013-06-29 9:53 ` Dale
2013-06-29 13:07 ` Bruce Hill
1 sibling, 1 reply; 13+ messages in thread
From: Neil Bothwick @ 2013-06-29 9:27 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 740 bytes --]
On Fri, 28 Jun 2013 21:44:34 -0500, Dale wrote:
> > Other comments note that unsetting "static" allows it to build. Try
> > unsetting the "static" flag for lvm2 in package.use, i.e...
> >
> > sys-fs/lvm2 -static
> >
> > Does that build for you?
> It might would but I can't recall WHY I set it to that. If I set it
> that way in package.use, which is rare for me, then I had to have a good
> reason. I need to start making notes on this stuff. ;-)
You need static if you are using lvm in an initramfs. Whatever the
reason, if you remove it the ebuild that told you to add it in the first
place will remind you next time you update @world.
--
Neil Bothwick
There's too much blood in my caffeine system.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] LVM2 compile error. Clock_gettime
2013-06-29 9:27 ` Neil Bothwick
@ 2013-06-29 9:53 ` Dale
2013-06-29 13:11 ` Bruce Hill
0 siblings, 1 reply; 13+ messages in thread
From: Dale @ 2013-06-29 9:53 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1125 bytes --]
Neil Bothwick wrote:
> On Fri, 28 Jun 2013 21:44:34 -0500, Dale wrote:
>
>>> Other comments note that unsetting "static" allows it to build. Try
>>> unsetting the "static" flag for lvm2 in package.use, i.e...
>>>
>>> sys-fs/lvm2 -static
>>>
>>> Does that build for you?
>
>> It might would but I can't recall WHY I set it to that. If I set it
>> that way in package.use, which is rare for me, then I had to have a good
>> reason. I need to start making notes on this stuff. ;-)
>
> You need static if you are using lvm in an initramfs. Whatever the
> reason, if you remove it the ebuild that told you to add it in the first
> place will remind you next time you update @world.
>
>
Now that you mention it, it may have been when the separate /usr init
thingy was going on that I had to add it. That could be it. Well, if I
have to upgrade before they have a fix, I'll give it a shot and see what
happens. I suspect it will be fixed at some point and most likely in
the next update anyway.
Dale
:-) :-)
--
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!
[-- Attachment #2: Type: text/html, Size: 1829 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] LVM2 compile error. Clock_gettime
2013-06-29 2:44 ` Dale
2013-06-29 9:27 ` Neil Bothwick
@ 2013-06-29 13:07 ` Bruce Hill
2013-06-30 5:32 ` Dale
1 sibling, 1 reply; 13+ messages in thread
From: Bruce Hill @ 2013-06-29 13:07 UTC (permalink / raw
To: gentoo-user
On Fri, Jun 28, 2013 at 09:44:34PM -0500, Dale wrote:
> Walter Dnes wrote:
> > On Thu, Jun 27, 2013 at 07:39:39AM -0500, Dale wrote
> >
> >> Someone else ran into the same thing and it appears they use udev. So
> >> switching wouldn't help anyway.
> >>
> >> https://bugs.gentoo.org/show_bug.cgi?id=370217
> > Your bug-report comment shows...
> > sys-fs/lvm2-2.02.97-r1 USE="lvm1 readline static thin udev (-clvm) (-cman) (-selinux) -static-libs"
> >
> > Other comments note that unsetting "static" allows it to build. Try
> > unsetting the "static" flag for lvm2 in package.use, i.e...
> >
> > sys-fs/lvm2 -static
> >
> > Does that build for you?
> >
>
>
> It might would but I can't recall WHY I set it to that. If I set it
> that way in package.use, which is rare for me, then I had to have a good
> reason. I need to start making notes on this stuff. ;-)
>
> It will likely be fixed pretty soon so as long as I don't have to
> upgrade, I should be OK with the one installed now. It was just a
> recompile from emerge -e world but I found it odd that it worked before
> but not the other day.
>
> If I have to tho, I'll keep that in mind.
You might want to run "enalyze rebuild use" to get an idea of what USE flags
you have which do not match the default settings. Over the course of time the
defaults change, and our need for certain options change, so it's good to run
this and check any USE flags for situations such as yours above, where one
would say, "I can't recall WHY I set it to that." If you can't find a reason
then it's best to stick with the default settings most of the time. This is
all that command will do on your system:
mingdao@server ~ $ enalyze rebuild use
-- Scanning installed packages for USE flag settings that
do not match the default settings
-- preparing pkgs for file entries
- Saving file: /home/mingdao/package.use.test
- Done
Bruce
--
Happy Penguin Computers >')
126 Fenco Drive ( \
Tupelo, MS 38801 ^^
support@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] LVM2 compile error. Clock_gettime
2013-06-29 9:53 ` Dale
@ 2013-06-29 13:11 ` Bruce Hill
2013-06-30 2:45 ` Dale
0 siblings, 1 reply; 13+ messages in thread
From: Bruce Hill @ 2013-06-29 13:11 UTC (permalink / raw
To: gentoo-user
On Sat, Jun 29, 2013 at 04:53:47AM -0500, Dale wrote:
>
> Now that you mention it, it may have been when the separate /usr init
> thingy was going on that I had to add it. That could be it. Well, if I
> have to upgrade before they have a fix, I'll give it a shot and see what
> happens. I suspect it will be fixed at some point and most likely in
> the next update anyway.
>
> Dale
You need to get over that "it will be fixed at some point", and believe it
when every one tells you that separate /usr without an initrd is working fine
with present stable udev. Here's proof on a wee fileserver, which has neavuh
had an initrd and always had a separate /usr:
mingdao@server ~ $ eix sys-fs/udev
[I] sys-fs/udev
Available versions: 197-r8^t 200^t 204^t **9999^t {{acl doc +firmware-loader gudev hwdb introspection keymap +kmod +openrc selinux static-libs}}
Installed versions: 204^t(02:40:22 PM 06/26/2013)(acl firmware-loader kmod openrc -doc -gudev -hwdb -introspection -keymap -selinux -static-libs)
Homepage: http://www.freedesktop.org/wiki/Software/systemd
Description: Linux dynamic and persistent device naming support (aka userspace devfs)
[I] sys-fs/udev-init-scripts
Available versions: 23^t 25^t 26^t **9999^t
Installed versions: 26^t(02:40:36 PM 06/26/2013)
Homepage: http://www.gentoo.org
Description: udev startup scripts for openrc
Found 2 matches.
mingdao@server ~ $ df -hT
Filesystem Type Size Used Avail Use% Mounted on
rootfs rootfs 2.0G 109M 1.9G 6% /
/dev/root xfs 2.0G 109M 1.9G 6% /
devtmpfs devtmpfs 3.0G 4.0K 3.0G 1% /dev
tmpfs tmpfs 3.0G 592K 3.0G 1% /run
shm tmpfs 3.0G 0 3.0G 0% /dev/shm
/dev/mapper/system-var xfs 10G 717M 9.3G 8% /var
/dev/mapper/system-usr xfs 10G 4.4G 5.7G 44% /usr
/dev/mapper/system-home xfs 6.0G 5.8G 251M 96% /home
/dev/mapper/storage-photos xfs 500G 19G 482G 4% /photos
/dev/mapper/storage-backups xfs 500G 262G 239G 53% /backups
/dev/mapper/storage-offload fuseblk 300G 234G 67G 78% /offload
/dev/mapper/storage-peter xfs 25G 1.7G 24G 7% /peter
/dev/mapper/storage-jeremiah xfs 10G 3.6G 6.5G 36% /jeremiah
mingdao@server ~ $ ls -l /boot/
total 25156
lrwxrwxrwx 1 root root 17 Jan 10 13:26 System.map -> System.map-3.4.24
-rw-r--r-- 1 root root 2205716 Jan 10 13:25 System.map-3.4.24
-rw-r--r-- 1 root root 1812882 Sep 6 2012 System.map-3.4.9-gentoo
-rw-r--r-- 1 root root 1823240 Aug 9 2012 System.map-3.5.0
-rw-r--r-- 1 root root 1823619 Aug 16 2012 System.map-3.5.2
lrwxrwxrwx 1 root root 23 Dec 28 2012 System.map.old -> System.map-3.4.9-gentoo
-rw-r--r-- 1 root root 512 Feb 21 2012 boot.0800
-rw-r--r-- 1 root root 512 Feb 21 2012 boot.0810
-rw-r--r-- 1 root root 512 Feb 21 2012 boot.0820
-rw-r--r-- 1 root root 512 Feb 21 2012 boot.0830
lrwxrwxrwx 1 root root 13 Jan 10 13:26 config -> config-3.4.24
-rw-r--r-- 1 root root 62528 Jan 10 13:25 config-3.4.24
-rw-r--r-- 1 root root 63522 Sep 6 2012 config-3.4.9-gentoo
-rw-r--r-- 1 root root 64644 Aug 9 2012 config-3.5.0
-rw-r--r-- 1 root root 64644 Aug 16 2012 config-3.5.2
lrwxrwxrwx 1 root root 19 Dec 28 2012 config.old -> config-3.4.9-gentoo
lrwxrwxrwx 1 root root 14 Jan 10 13:25 vmlinuz -> vmlinuz-3.4.24
-rw-r--r-- 1 root root 4671120 Jan 10 13:24 vmlinuz-3.4.24
-rw-r--r-- 1 root root 4349568 Sep 6 2012 vmlinuz-3.4.9-gentoo
-rw-r--r-- 1 root root 4388464 Aug 9 2012 vmlinuz-3.5.0
-rw-r--r-- 1 root root 4390672 Aug 16 2012 vmlinuz-3.5.2
lrwxrwxrwx 1 root root 20 Dec 28 2012 vmlinuz.old -> vmlinuz-3.4.9-gentoo
mingdao@server ~ $ cat /etc/lilo.conf
# Faster, but won't work on all systems:
compact
# Should work for most systems, and do not have the sector limit:
lba32
default = Gentoo
# MBR to install LILO to:
boot = /dev/md0
raid-extra-boot = mbr-only
map = /boot/.map
install = /boot/boot-menu.b # Note that for lilo-22.5.5 or later you
# do not need boot-{text,menu,bmp}.b in
# /boot, as they are linked into the lilo
# binary.
menu-scheme=Wb
prompt
# If you always want to see the prompt with a 15 second timeout:
timeout=50
append="panic=10 nomce dolvm domdadm rootfstype=xfs"
#
# End LILO global section
#
#
# Linux bootable partition config begins
#
image = /boot/vmlinuz
root = /dev/md0
label = Gentoo
read-only # Partitions should be mounted read-only for checking
image = /boot/vmlinuz.old
root = /dev/md0
label = Gentoo-def
read-only # Partitions should be mounted read-only for checking
#
# Linux bootable partition config ends
#
mingdao@server ~ $
Get over it and go back to udev :-)
Bruce
--
Happy Penguin Computers >')
126 Fenco Drive ( \
Tupelo, MS 38801 ^^
support@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] LVM2 compile error. Clock_gettime
2013-06-29 13:11 ` Bruce Hill
@ 2013-06-30 2:45 ` Dale
0 siblings, 0 replies; 13+ messages in thread
From: Dale @ 2013-06-30 2:45 UTC (permalink / raw
To: gentoo-user
Bruce Hill wrote:
> On Sat, Jun 29, 2013 at 04:53:47AM -0500, Dale wrote:
>> Now that you mention it, it may have been when the separate /usr init
>> thingy was going on that I had to add it. That could be it. Well, if I
>> have to upgrade before they have a fix, I'll give it a shot and see what
>> happens. I suspect it will be fixed at some point and most likely in
>> the next update anyway.
>>
>> Dale
> You need to get over that "it will be fixed at some point", and believe it
> when every one tells you that separate /usr without an initrd is working fine
> with present stable udev. Here's proof on a wee fileserver, which has neavuh
> had an initrd and always had a separate /usr:
>
> mingdao@server ~ $ eix sys-fs/udev
> [I] sys-fs/udev
> Available versions: 197-r8^t 200^t 204^t **9999^t {{acl doc +firmware-loader gudev hwdb introspection keymap +kmod +openrc selinux static-libs}}
> Installed versions: 204^t(02:40:22 PM 06/26/2013)(acl firmware-loader kmod openrc -doc -gudev -hwdb -introspection -keymap -selinux -static-libs)
> Homepage: http://www.freedesktop.org/wiki/Software/systemd
> Description: Linux dynamic and persistent device naming support (aka userspace devfs)
>
> [I] sys-fs/udev-init-scripts
> Available versions: 23^t 25^t 26^t **9999^t
> Installed versions: 26^t(02:40:36 PM 06/26/2013)
> Homepage: http://www.gentoo.org
> Description: udev startup scripts for openrc
>
> Found 2 matches.
> mingdao@server ~ $ df -hT
> Filesystem Type Size Used Avail Use% Mounted on
> rootfs rootfs 2.0G 109M 1.9G 6% /
> /dev/root xfs 2.0G 109M 1.9G 6% /
> devtmpfs devtmpfs 3.0G 4.0K 3.0G 1% /dev
> tmpfs tmpfs 3.0G 592K 3.0G 1% /run
> shm tmpfs 3.0G 0 3.0G 0% /dev/shm
> /dev/mapper/system-var xfs 10G 717M 9.3G 8% /var
> /dev/mapper/system-usr xfs 10G 4.4G 5.7G 44% /usr
> /dev/mapper/system-home xfs 6.0G 5.8G 251M 96% /home
> /dev/mapper/storage-photos xfs 500G 19G 482G 4% /photos
> /dev/mapper/storage-backups xfs 500G 262G 239G 53% /backups
> /dev/mapper/storage-offload fuseblk 300G 234G 67G 78% /offload
> /dev/mapper/storage-peter xfs 25G 1.7G 24G 7% /peter
> /dev/mapper/storage-jeremiah xfs 10G 3.6G 6.5G 36% /jeremiah
> mingdao@server ~ $ ls -l /boot/
> total 25156
> lrwxrwxrwx 1 root root 17 Jan 10 13:26 System.map -> System.map-3.4.24
> -rw-r--r-- 1 root root 2205716 Jan 10 13:25 System.map-3.4.24
> -rw-r--r-- 1 root root 1812882 Sep 6 2012 System.map-3.4.9-gentoo
> -rw-r--r-- 1 root root 1823240 Aug 9 2012 System.map-3.5.0
> -rw-r--r-- 1 root root 1823619 Aug 16 2012 System.map-3.5.2
> lrwxrwxrwx 1 root root 23 Dec 28 2012 System.map.old -> System.map-3.4.9-gentoo
> -rw-r--r-- 1 root root 512 Feb 21 2012 boot.0800
> -rw-r--r-- 1 root root 512 Feb 21 2012 boot.0810
> -rw-r--r-- 1 root root 512 Feb 21 2012 boot.0820
> -rw-r--r-- 1 root root 512 Feb 21 2012 boot.0830
> lrwxrwxrwx 1 root root 13 Jan 10 13:26 config -> config-3.4.24
> -rw-r--r-- 1 root root 62528 Jan 10 13:25 config-3.4.24
> -rw-r--r-- 1 root root 63522 Sep 6 2012 config-3.4.9-gentoo
> -rw-r--r-- 1 root root 64644 Aug 9 2012 config-3.5.0
> -rw-r--r-- 1 root root 64644 Aug 16 2012 config-3.5.2
> lrwxrwxrwx 1 root root 19 Dec 28 2012 config.old -> config-3.4.9-gentoo
> lrwxrwxrwx 1 root root 14 Jan 10 13:25 vmlinuz -> vmlinuz-3.4.24
> -rw-r--r-- 1 root root 4671120 Jan 10 13:24 vmlinuz-3.4.24
> -rw-r--r-- 1 root root 4349568 Sep 6 2012 vmlinuz-3.4.9-gentoo
> -rw-r--r-- 1 root root 4388464 Aug 9 2012 vmlinuz-3.5.0
> -rw-r--r-- 1 root root 4390672 Aug 16 2012 vmlinuz-3.5.2
> lrwxrwxrwx 1 root root 20 Dec 28 2012 vmlinuz.old -> vmlinuz-3.4.9-gentoo
> mingdao@server ~ $ cat /etc/lilo.conf
> # Faster, but won't work on all systems:
> compact
> # Should work for most systems, and do not have the sector limit:
> lba32
> default = Gentoo
> # MBR to install LILO to:
> boot = /dev/md0
> raid-extra-boot = mbr-only
> map = /boot/.map
>
> install = /boot/boot-menu.b # Note that for lilo-22.5.5 or later you
> # do not need boot-{text,menu,bmp}.b in
> # /boot, as they are linked into the lilo
> # binary.
>
> menu-scheme=Wb
> prompt
> # If you always want to see the prompt with a 15 second timeout:
> timeout=50
> append="panic=10 nomce dolvm domdadm rootfstype=xfs"
>
> #
> # End LILO global section
> #
>
> #
> # Linux bootable partition config begins
> #
> image = /boot/vmlinuz
> root = /dev/md0
> label = Gentoo
> read-only # Partitions should be mounted read-only for checking
> image = /boot/vmlinuz.old
> root = /dev/md0
> label = Gentoo-def
> read-only # Partitions should be mounted read-only for checking
> #
> # Linux bootable partition config ends
> #
>
> mingdao@server ~ $
>
>
> Get over it and go back to udev :-)
>
> Bruce
Thing is, I don't want to switch then have someone mess things up and
have to go back and switch again. As it is, lvm is working fine. It
was just a failed recompile during a emerge -e world, nothing major like
a failed upgrade or anything. I posted to see what the problem is so I
could report it. Since it is reported already, I'm fine with waiting.
I'm not going to get anything new even after it compiles.
Also, Lennart messed up udev and as long as I can stay away from it, I
plan too. If someone posts that he sees the error in going the way he
was, then I'll revisit it then. I just don't want to be switching back
and forth when it is not really needed. I also don't want systemd stuff
here either since I don't use it.
I might also add, it fails in the same way with plain udev. Even if I
switch back to udev, it will still fail. It really comes down to a
error from a upgraded gcc from my recollection. From what I recall, I
could just switch to a older gcc and compile with it.
Dale
:-) :-)
--
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] LVM2 compile error. Clock_gettime
2013-06-29 13:07 ` Bruce Hill
@ 2013-06-30 5:32 ` Dale
0 siblings, 0 replies; 13+ messages in thread
From: Dale @ 2013-06-30 5:32 UTC (permalink / raw
To: gentoo-user
Bruce Hill wrote:
> You might want to run "enalyze rebuild use" to get an idea of what USE
> flags you have which do not match the default settings. Over the
> course of time the defaults change, and our need for certain options
> change, so it's good to run this and check any USE flags for
> situations such as yours above, where one would say, "I can't recall
> WHY I set it to that." If you can't find a reason then it's best to
> stick with the default settings most of the time. This is all that
> command will do on your system: mingdao@server ~ $ enalyze rebuild use
> -- Scanning installed packages for USE flag settings that do not match
> the default settings -- preparing pkgs for file entries - Saving file:
> /home/mingdao/package.use.test - Done Bruce
Ran that and the list is actually pretty short. I go with defaults
unless it is something that is specific to my setup. Such as -gnome or
kde since I don't use the former but do use the later. Sometimes when I
emerge something that conflicts, I have to pick one over the other and
portage lets me know that. That usually goes in package.use which is
also a small file.
So, doesn't seem to help much here. Did find a new command tho. ;-)
Thanks
Dale
:-) :-)
--
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2013-06-30 5:33 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-26 4:58 [gentoo-user] LVM2 compile error. Clock_gettime Dale
2013-06-26 5:20 ` Samuli Suominen
2013-06-26 6:31 ` Dale
2013-06-26 6:49 ` Samuli Suominen
2013-06-27 12:39 ` Dale
2013-06-29 1:59 ` Walter Dnes
2013-06-29 2:44 ` Dale
2013-06-29 9:27 ` Neil Bothwick
2013-06-29 9:53 ` Dale
2013-06-29 13:11 ` Bruce Hill
2013-06-30 2:45 ` Dale
2013-06-29 13:07 ` Bruce Hill
2013-06-30 5:32 ` Dale
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox