Re: "pkg check -B" drop shlibs from local.sqlite on -stable
On 16.03.2016 12:47, Miroslav Lachman wrote: > Andrey Chernov wrote on 03/16/2016 06:50: >> On recent -stable and pkg 1.6.4: >> >> 1# pkg check -d >> Checking all packages: 100% >> 2# pkg check -B >> Checking all packages: 100% >> 3# pkg check -d >> Checking all packages: 100% >> firefox has require a missing libraries: libgdk_pixbuf-2.0.so.0 >> gtk-update-icon-cache has require a missing libraries: >> libgdk_pixbuf-2.0.so.0 >> gtk2 has require a missing libraries: libgdk_pixbuf-2.0.so.0 >> gtk3 has require a missing libraries: libgdk_pixbuf-2.0.so.0 >> libnotify has require a missing libraries: libgdk_pixbuf-2.0.so.0 >> nspluginwrapper has require a missing libraries: libgdk_pixbuf-2.0.so.0 >> >> Well, I can repair it using: >> >> 1# sqlite3 /var/db/pkg/local.sqlite "select * from shlibs where >> name='libgdk_pixbuf-2.0.so.0';" >> 81|libgdk_pixbuf-2.0.so.0 >> 2# sqlite3 /var/db/pkg/local.sqlite "select * from packages where >> name='gdk-pixbuf2';" >> 4207|graphics/gdk-pixbuf2|gdk-pixbuf2|2.32.3|... >> ... >> 3# sqlite3 /var/db/pkg/local.sqlite "insert into pkg_shlibs_provided >> values(4207,81);" >> 4# pkg check -d >> Checking all packages: 100% >> >> but it repeats again after the next "pkg check -B". >> Please fix. > > I cannot reproduce it on 10.2. But I have a question - is there some > change in functionality of -B? Because I noticed changes in manpage > description. > It was "reanalyse shared libraries of installed packages" and now > it is "regenerates thelibrarydependency metadata for a package > by extracting library requirement information from the binary ELF files > in the package" > Different words for the same thing or was it changed? I must add that all above mentioned programs are working and the library is in place. Reinstalling programs and lib does not help against "pkg check -B" damage. ELF files are nice too, example: /usr/local/bin/gtk-update-icon-cache: libgdk_pixbuf-2.0.so.0 => /usr/local/lib/libgdk_pixbuf-2.0.so.0 (0x2807c000) libgobject-2.0.so.0 => /usr/local/lib/libgobject-2.0.so.0 (0x2809a000) libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x280d9000) libintl.so.8 => /usr/local/lib/libintl.so.8 (0x281cd000) libc.so.7 => /lib/libc.so.7 (0x281d6000) libgmodule-2.0.so.0 => /usr/local/lib/libgmodule-2.0.so.0 (0x28349000) libgio-2.0.so.0 => /usr/local/lib/libgio-2.0.so.0 (0x2834c000) libpng16.so.16 => /usr/local/lib/libpng16.so.16 (0x2848f000) libm.so.5 => /lib/libm.so.5 (0x284c2000) libthr.so.3 => /lib/libthr.so.3 (0x284ec000) libffi.so.6 => /usr/local/lib/libffi.so.6 (0x2850d000) libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x28514000) libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x28608000) libz.so.6 => /lib/libz.so.6 (0x2868) lrwxr-xr-x 1 root wheel 29 Mar 15 19:00 /usr/local/lib/libgdk_pixbuf-2.0.so.0 -> libgdk_pixbuf-2.0.so.0.3200.3 -rwxr-xr-x 1 root wheel 122044 Mar 15 19:00 /usr/local/lib/libgdk_pixbuf-2.0.so.0.3200.3 -- http://ache.vniz.net/ ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: "pkg check -B" drop shlibs from local.sqlite on -stable
Andrey Chernov wrote on 03/16/2016 06:50: On recent -stable and pkg 1.6.4: 1# pkg check -d Checking all packages: 100% 2# pkg check -B Checking all packages: 100% 3# pkg check -d Checking all packages: 100% firefox has require a missing libraries: libgdk_pixbuf-2.0.so.0 gtk-update-icon-cache has require a missing libraries: libgdk_pixbuf-2.0.so.0 gtk2 has require a missing libraries: libgdk_pixbuf-2.0.so.0 gtk3 has require a missing libraries: libgdk_pixbuf-2.0.so.0 libnotify has require a missing libraries: libgdk_pixbuf-2.0.so.0 nspluginwrapper has require a missing libraries: libgdk_pixbuf-2.0.so.0 Well, I can repair it using: 1# sqlite3 /var/db/pkg/local.sqlite "select * from shlibs where name='libgdk_pixbuf-2.0.so.0';" 81|libgdk_pixbuf-2.0.so.0 2# sqlite3 /var/db/pkg/local.sqlite "select * from packages where name='gdk-pixbuf2';" 4207|graphics/gdk-pixbuf2|gdk-pixbuf2|2.32.3|... ... 3# sqlite3 /var/db/pkg/local.sqlite "insert into pkg_shlibs_provided values(4207,81);" 4# pkg check -d Checking all packages: 100% but it repeats again after the next "pkg check -B". Please fix. I cannot reproduce it on 10.2. But I have a question - is there some change in functionality of -B? Because I noticed changes in manpage description. It was "reanalyse shared libraries of installed packages" and now it is "regenerates the library dependency metadata for a package by extracting library requirement information from the binary ELF files in the package" Different words for the same thing or was it changed? I used 'pkg check -Ba' after each upgrade or install to be sure everything is OK. Miroslav Lachman ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
"pkg check -B" drop shlibs from local.sqlite on -stable
On recent -stable and pkg 1.6.4: 1# pkg check -d Checking all packages: 100% 2# pkg check -B Checking all packages: 100% 3# pkg check -d Checking all packages: 100% firefox has require a missing libraries: libgdk_pixbuf-2.0.so.0 gtk-update-icon-cache has require a missing libraries: libgdk_pixbuf-2.0.so.0 gtk2 has require a missing libraries: libgdk_pixbuf-2.0.so.0 gtk3 has require a missing libraries: libgdk_pixbuf-2.0.so.0 libnotify has require a missing libraries: libgdk_pixbuf-2.0.so.0 nspluginwrapper has require a missing libraries: libgdk_pixbuf-2.0.so.0 Well, I can repair it using: 1# sqlite3 /var/db/pkg/local.sqlite "select * from shlibs where name='libgdk_pixbuf-2.0.so.0';" 81|libgdk_pixbuf-2.0.so.0 2# sqlite3 /var/db/pkg/local.sqlite "select * from packages where name='gdk-pixbuf2';" 4207|graphics/gdk-pixbuf2|gdk-pixbuf2|2.32.3|... ... 3# sqlite3 /var/db/pkg/local.sqlite "insert into pkg_shlibs_provided values(4207,81);" 4# pkg check -d Checking all packages: 100% but it repeats again after the next "pkg check -B". Please fix. -- http://ache.vniz.net/ ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"