Re: prt-get listinst PROBLEM (fwd)
Always reply to the list and not just the person so everyone gets to see the conversation especially in this case as this is an odd problem. -Daryl ---------- Forwarded message ---------- From: r_00_t@openmailbox.org To: Daryl F <wyatt@prairieturtle.ca> Date: Sat, 27 Dec 2014 11:23:27 Subject: Re: prt-get listinst PROBLEM User-Agent: Roundcube Webmail/1.0.4 On 2014-12-26 19:17, Daryl F wrote:
On Fri, 26 Dec 2014, r_00_t@openmailbox.org wrote:
Hello; I want to report a problem with my *** prt-get listinst ***. It doesn't report a thing. just returns a prompt. prt-get list says *** no matching package found ***.
cat /var/lib/pkg/db ===> https://gist.githubusercontent.com/anonymous/5ca36339ee67c070e7bf/raw/stdin....
strace -f prt-get listinst > strace.log 2>&1' ===> https://gist.github.com/anonymous/ffbf0fc257f56050838c
prt-get listorphans ====> https://gist.github.com/anonymous/88445c6144be57aab434
pkginfo -i works. I pkgmk -u -d in prt-get port and no luck. Thanks for looking into it _______________________________________________ CRUX mailing list CRUX@lists.crux.nu http://lists.crux.nu/mailman/listinfo/crux
During strace -f prt-get listinst I get:
open("/usr/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3,"\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@0\6\0\0\0\0\0"...,832) = 832
Compare with yours:
open("/usr/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3,"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\246\5\0\0\0\0\0"...,832) = 832
Have you updated to gcc-4.8.4 that recently came out? I have.
See if your library matches this:
$ readelf -h /usr/lib/libstdc++.so.6 ELF Header: Magic: 7f 45 4c 46 02 01 01 03 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - GNU ABI Version: 0 Type: DYN (Shared object file) Machine: Advanced Micro Devices X86-64 Version: 0x1 Entry point address: 0x63040 Start of program headers: 64 (bytes into file) Start of section headers: 3676536 (bytes into file) Flags: 0x0 Size of this header: 64 (bytes) Size of program headers: 56 (bytes) Number of program headers: 7 Size of section headers: 64 (bytes) Number of section headers: 38 Section header string table index: 35
I ran strace on my system and it seems to read the entire db, sorts it, then starts writing the sorted list to stdout.
I suspect your libstdc++ is corrupt.
HTH, -Daryl Well I did build my gcc again (4.8.4) but it is still the same with prt-get
On Sat, 27 Dec 2014, Daryl F wrote:
Always reply to the list and not just the person so everyone gets to see the conversation especially in this case as this is an odd problem.
-Daryl
---------- Forwarded message ---------- From: r_00_t@openmailbox.org To: Daryl F <wyatt@prairieturtle.ca> Date: Sat, 27 Dec 2014 11:23:27 Subject: Re: prt-get listinst PROBLEM User-Agent: Roundcube Webmail/1.0.4
On 2014-12-26 19:17, Daryl F wrote:
On Fri, 26 Dec 2014, r_00_t@openmailbox.org wrote:
Hello; I want to report a problem with my *** prt-get listinst ***. It doesn't report a thing. just returns a prompt. prt-get list says *** no matching package found ***.
cat /var/lib/pkg/db ===> https://gist.githubusercontent.com/anonymous/5ca36339ee67c070e7bf/raw/stdin....
strace -f prt-get listinst > strace.log 2>&1' ===> https://gist.github.com/anonymous/ffbf0fc257f56050838c
prt-get listorphans ====> https://gist.github.com/anonymous/88445c6144be57aab434
pkginfo -i works. I pkgmk -u -d in prt-get port and no luck. Thanks for looking into it _______________________________________________ CRUX mailing list CRUX@lists.crux.nu http://lists.crux.nu/mailman/listinfo/crux
During strace -f prt-get listinst I get:
open("/usr/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3,"\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@0\6\0\0\0\0\0"...,832) = 832
Compare with yours:
open("/usr/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3,"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\246\5\0\0\0\0\0"...,832) = 832
Have you updated to gcc-4.8.4 that recently came out? I have.
See if your library matches this:
$ readelf -h /usr/lib/libstdc++.so.6 ELF Header: Magic: 7f 45 4c 46 02 01 01 03 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - GNU ABI Version: 0 Type: DYN (Shared object file) Machine: Advanced Micro Devices X86-64 Version: 0x1 Entry point address: 0x63040 Start of program headers: 64 (bytes into file) Start of section headers: 3676536 (bytes into file) Flags: 0x0 Size of this header: 64 (bytes) Size of program headers: 56 (bytes) Number of program headers: 7 Size of section headers: 64 (bytes) Number of section headers: 38 Section header string table index: 35
I ran strace on my system and it seems to read the entire db, sorts it, then starts writing the sorted list to stdout.
I suspect your libstdc++ is corrupt.
HTH, -Daryl Well I did build my gcc again (4.8.4) but it is still the same with prt-get
Did you try comparing the ELF header using readelf? -Daryl
participants (1)
-
Daryl F