lvm2/device-mapper from HEAD on Ac

2006-05-23 Thread Elan Ruusamäe
anyone else encounter this?

21:19:22 root[pts/[EMAIL PROTECTED] ~# gdb --args lvdisplay
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i686-pld-linux...Using host libthread_db library 
/lib/tls/libthread_db.so.1.

(gdb) run
Starting program: /sbin/lvdisplay
File descriptor 3 left open
File descriptor 4 left open
File descriptor 5 left open

Program received signal SIGSEGV, Segmentation fault.
0xb7e383a7 in _IO_vfscanf () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb7e383a7 in _IO_vfscanf () from /lib/tls/libc.so.6
#1  0xb7e4532d in vsscanf () from /lib/tls/libc.so.6
#2  0xb7e409dd in sscanf () from /lib/tls/libc.so.6
#3  0xb7fc75a3 in _get_proc_number (file=0xb7fcba08 /proc/devices, 
name=0xb7fcba16 device-mapper, number=0x0)
at ioctl/libdm-iface.c:156
#4  0xb7fc7b86 in _create_dm_bitset () at ioctl/libdm-iface.c:269
#5  0xb7fc7d98 in _open_control () at ioctl/libdm-iface.c:312
#6  0xb7fc9f85 in dm_task_run (dmt=0x80e6a00) at ioctl/libdm-iface.c:1625
#7  0xb7fc8020 in _check_version (version=0xbf8f94f0 
žÌû·e(Â\006\200\225\217¿\båÿ·\026Ç\004\b³, size=64, log_suppress=0)
at ioctl/libdm-iface.c:790
#8  0xb7fc80c7 in dm_check_version () at ioctl/libdm-iface.c:812
#9  0xb7fc0332 in dm_task_create (type=6) at libdm-common.c:104
#10 0x080a1d58 in _setup_task (name=0x0,
uuid=0x80e4dd8 
LVM-25DAUCuFGPO7S9HL7pbvJQp4Npg9AbOxIG4z5nVBm1wZDB2yMfQg7bWatblreDHs, 
event_nr=0x0, task=0)
at activate/dev_manager.c:101
#11 0x080a1e27 in _info_run (name=0x0, dlid=0x0, info=0xbf8f96b0, mknodes=0, 
with_open_count=1, mem=0x0, uuid_out=0x0)
at activate/dev_manager.c:129
#12 0x080a203c in _info (name=0x80e4dc8 lvm-mp3,
dlid=0x80e4dd8 
LVM-25DAUCuFGPO7S9HL7pbvJQp4Npg9AbOxIG4z5nVBm1wZDB2yMfQg7bWatblreDHs, 
mknodes=0, with_open_count=1,
info=0xbf8f96b0, mem=0x0, uuid_out=0x0) at activate/dev_manager.c:161
#13 0x080a2105 in dev_manager_info (mem=0x0, name=0x0, lv=0x0, with_mknodes=0, 
with_open_count=0, info=0x0)
at activate/dev_manager.c:189
#14 0x0806f0c3 in _lv_info (cmd=0x80d1188, lv=0x80e4b48, with_mknodes=0, 
info=0xbf8f97a0, with_open_count=0)
at activate/activate.c:371
#15 0x0806f19c in lv_info (cmd=0x0, lv=0x0, info=0x0, with_open_count=0) at 
activate/activate.c:393
#16 0x0807b08d in lvdisplay_full (cmd=0x80d1188, lv=0x80e4b48, handle=0x0) at 
display/display.c:368
#17 0x08056653 in _lvdisplay_single (cmd=0x80d1188, lv=0x80e4b48, handle=0x0) 
at lvdisplay.c:27
#18 0x08064b6b in process_each_lv_in_vg (cmd=0x80d1188, vg=0x1, 
arg_lvnames=0xbf8f98a0, tags=0xbf8f98c0, handle=0x0,
process_single=0x80565d0 _lvdisplay_single) at toollib.c:150
#19 0x08064ec8 in process_each_lv (cmd=0x80d1188, argc=0, argv=0xbf8f9a18, 
lock_type=33, handle=0x0,
process_single=0x80565d0 _lvdisplay_single) at toollib.c:342
#20 0x0805681a in lvdisplay (cmd=0x80d1188, argc=0, argv=0xbf8f9a18) at 
lvdisplay.c:57
#21 0x0805a42f in _run_command (cmd=0x80d1188, argc=0, argv=0xbf8f9a18) at 
lvmcmdline.c:872
#22 0x0805b620 in lvm2_main (argc=1, argv=0xbf8f9a14, is_static=0) at 
lvmcmdline.c:1432
#23 0x0806e85f in main (argc=0, argv=0x0) at lvm.c:20
(gdb)

-- 
glen
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPECS: rpm.spec - R: rc-scripts (/etc/sysconfig) - rel 1.4

2006-05-23 Thread Bartosz Taudul
On Wed, May 24, 2006 at 02:32:45AM +0300, Elan Ruusamäe wrote:
 that's a bad dep. /etc/sysconfig is processed anyway as root from %post 
 scripts
 
 as well we don't require pkgconfig in packages providing .pc files.

Yes, it's a bad dependency, but without it there are problems with
upgrading rpm on builders:

error: Failed dependencies:
/etc/sysconfig is needed by rpm-base-4.4.6-1.2.i686

wolf
-- 
  Bartek   .  - Jak doskonale udało wam się zapomnieć...
  Taudul   :  
  .:
w o l f @ p l d - l i n u x . o r g.:. http://wolf.valkyrie.one.pl/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPECS: rpm.spec - R: rc-scripts (/etc/sysconfig) - rel 1.4

2006-05-23 Thread Paweł Sikora
On Wednesday 24 May 2006 01:32, Elan Ruusamäe wrote:

 as well we don't require pkgconfig in packages providing .pc files.

...and we have an *orphaned* dirs.
freaky time has ended. abandom all hope, Th will asimilate U.
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPECS: rpm.spec - R: rc-scripts (/etc/sysconfig) - rel 1.4

2006-05-23 Thread Elan Ruusamäe
On Wednesday 24 May 2006 02:49, Paweł Sikora wrote:
 On Wednesday 24 May 2006 01:32, Elan Ruusamäe wrote:
  as well we don't require pkgconfig in packages providing .pc files.

 ...and we have an *orphaned* dirs.
 freaky time has ended. abandom all hope, Th will asimilate U.
bring it into FHS package?

-- 
glen
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPECS: rpm.spec - R: rc-scripts (/etc/sysconfig) - rel 1.4

2006-05-23 Thread Elan Ruusamäe
On Wednesday 24 May 2006 02:41, Bartosz Taudul wrote:
 On Wed, May 24, 2006 at 02:32:45AM +0300, Elan Ruusamäe wrote:
  that's a bad dep. /etc/sysconfig is processed anyway as root from %post
  scripts
 
  as well we don't require pkgconfig in packages providing .pc files.

 Yes, it's a bad dependency, but without it there are problems with
 upgrading rpm on builders:

 error: Failed dependencies:
 /etc/sysconfig is needed by rpm-base-4.4.6-1.2.i686
that's something new in rpm?

ac rpm doesn't automatically require parent dir deps. altho i rather like this 
feature.

-- 
glen
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPECS: rpm.spec - R: rc-scripts (/etc/sysconfig) - rel 1.4

2006-05-23 Thread Bartosz Taudul
On Wed, May 24, 2006 at 03:07:51AM +0300, Elan Ruusamäe wrote:
  /etc/sysconfig is needed by rpm-base-4.4.6-1.2.i686
 that's something new in rpm?
Yes, it appeared in 4.4.6.

wolf
-- 
  Bartek   .  - Stare porzekadła, przysłowia są takie dobre, bo zawsze można
  Taudul   :wybrać to które pasuje.
  .:
w o l f @ p l d - l i n u x . o r g.:. http://wolf.valkyrie.one.pl/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPECS: rpm.spec - R: rc-scripts (/etc/sysconfig) - rel 1.4

2006-05-23 Thread Jakub Bogusz
On Wed, May 24, 2006 at 01:41:39AM +0200, Bartosz Taudul wrote:
 On Wed, May 24, 2006 at 02:32:45AM +0300, Elan Ruusamäe wrote:
  that's a bad dep. /etc/sysconfig is processed anyway as root from %post 
  scripts
  
  as well we don't require pkgconfig in packages providing .pc files.

It appears it's time to move dirs for optional files to common package
(filesystem).

 Yes, it's a bad dependency, but without it there are problems with
 upgrading rpm on builders:

 error: Failed dependencies:
 /etc/sysconfig is needed by rpm-base-4.4.6-1.2.i686

Anyway such dependencies should be handled by poldek, which needs
update to be compatible with rpm 4.4.6.


-- 
Jakub Boguszhttp://qboosh.cs.net.pl/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en