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"
FreeBSD ports you maintain which are out of date
Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/po...@freebsd.org.html Port| Current version | New version +-+ devel/poco | 1.7.0 | poco-1.7.1-release +-+ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt Thanks. ___ 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: ALTABI - where is this variable documented?
I try to fetch freebsd:10:x86:64 binary packages from a CURRENT host for further processing. I got a hint using pkg with -o ALTABI=... -o ABI=... set to the specific ABI. I try to find some explanations what I'm doing by studying the documentation of pkg, pkg.conf, pkg-repo, and pkg-fetch. But I'm unable to find any documentation/explanation about ALTABI. Can someone shed some light onto my clouded view? Is there a manpage where all pkg-related variables are gathered an listed? Thanks in advance and kind regards, Oliver P.S. Please CC me as I'm not subsribing this specific list. Thanks. ___ 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"