pkg_debunk

Aleksandar Simic asimic at gmail.com
Mon Jan 4 22:36:08 UTC 2010


Hello Eculp,

(not sniping the missing paths, my answer/question at the bottom)

2009/12/31 eculp <eculp at encontacto.net>:
> Quoting Doug Barton <dougb at FreeBSD.org>:
>
>> Aleksandar Simic wrote:
>>>
>>> running my tool I get these results:
>>>
>>> ./pkg_debunk.rb
>>> ca_root_nss-3.12.4:
>>>  missing /usr/local/etc/ssl/cert.pem
>>> ruby18-gems-1.3.5:
>>>  missing /usr/local/lib/ruby/gems/1.8/cache/sources-0.0.2.gem
>>>  missing /usr/local/lib/ruby/gems/1.8/gems/sources-0.0.2/lib/sources.rb
>>>  missing
>>> /usr/local/lib/ruby/gems/1.8/specifications/sources-0.0.2.gemspec
>>>
>>> With pkg_info:
>>>
>>> pkg_info -g ca_root_nss-3.12.4
>>>
>>> does not spot the missing /usr/local/etc/ssl/cert.pem.
>>>
>>> Looking at /var/db/pk/ca_root_nss-3.12.4/+CONTENTS for the above
>>> file, I can clearly see that its there in the spec but not on the system:
>>>
>>> etc/ssl/cert.pem
>>> @comment MD5:5b5db9a1ce7e4680ba1644ffe5c113b5
>>>
>>> It seems that "pkg_info -g" does not catch all the missing files.
>>
>> You missed a very important line:
>>
>> @cwd /
>> etc/ssl/cert.pem
>>
>> ls -l /etc/ssl/cert.pem
>> lrwxr-xr-x  1 root  wheel  38 Dec  8 14:58 /etc/ssl/cert.pem@ ->
>> /usr/local/share/certs/ca-root-nss.crt
>>
>> ls -l /usr/local/share/certs/ca-root-nss.crt
>> -r--r--r--  1 root  wheel  676281 Dec  8 14:58
>> /usr/local/share/certs/ca-root-nss.crt
>>
>> It's not actually missing. :)
>>
>> Not that I would in any way discourage you from your work, working on
>> ports tools is fun, and a great way to learn the system.
>>
>>
>> Doug
>
> I'm seeing something similar that I don't really understand.  I have
> successfully rebuilt all the ports that reported missing something twice and
> they still show them as missing.  I haven't really tried to check anything
> else.
>
> The following don't go away. :(
>
> open-motif-2.2.3_6:
>  missing /usr/local/man/man3/Object.3.gz
> docbook-4.3:
>  missing /usr/local/share/doc/docbook/ChangeLog
>  missing /usr/local/share/doc/docbook/README
> gsfonts-8.11_5:
>  missing /usr/local/share/ghostscript/fonts/Ryumin-Light
>  missing /usr/local/share/ghostscript/fonts/GothicBBB-Medium
>  missing /usr/local/share/ghostscript/fonts/STHeiti-Regular
>  missing /usr/local/share/ghostscript/fonts/STSong-Light
>  missing /usr/local/share/ghostscript/fonts/MSung-Light
> linux-realplayer-10.0.9.809.20070726:
>  missing /usr/local/usr/share/locale/de/LC_MESSAGES/realplay.mo
>  missing /usr/local/usr/share/locale/es/LC_MESSAGES/realplay.mo
>  missing /usr/local/usr/share/locale/fr/LC_MESSAGES/realplay.mo
>  missing /usr/local/usr/share/locale/hi/LC_MESSAGES/realplay.mo
>  missing /usr/local/usr/share/locale/it/LC_MESSAGES/realplay.mo
>  missing /usr/local/usr/share/locale/ja/LC_MESSAGES/realplay.mo
>  missing /usr/local/usr/share/locale/ko/LC_MESSAGES/realplay.mo
>  missing /usr/local/usr/share/locale/pl/LC_MESSAGES/realplay.mo
>  missing /usr/local/usr/share/locale/pt_BR/LC_MESSAGES/realplay.mo
>  missing /usr/local/usr/share/locale/zh_CN/LC_MESSAGES/realplay.mo
>  missing /usr/local/usr/share/locale/zh_TW/LC_MESSAGES/realplay.mo
> ghostscript8-8.70:
>  missing /usr/local/share/ghostscript/8.70/Resource/CIDFont
> can't find the contents for .pkgdb.db
> linux-f10-flashplugin-10.0r42:
>  missing /usr/local/usr/lib/libflashsupport.so
> can't find the contents for .testfile
> fusefs-kmod-0.3.9.p1.20080208_6:
>  missing /usr/local/fuse.ko
> qmake-3.3.8_1:
>  missing /usr/local/aix-g++-64/qmake.conf
>  missing /usr/local/aix-g++-64/qplatformdefs.h
>  missing /usr/local/aix-g++/qmake.conf
>  missing /usr/local/aix-g++/qplatformdefs.h
>  missing /usr/local/aix-xlc-64/qmake.conf
>  missing /usr/local/aix-xlc-64/qplatformdefs.h
>  missing /usr/local/aix-xlc/qmake.conf
>  missing /usr/local/aix-xlc/qplatformdefs.h
>  missing /usr/local/bsdi-g++/qmake.conf
>  missing /usr/local/bsdi-g++/qplatformdefs.h
>  missing /usr/local/cygwin-g++/qmake.conf
>  missing /usr/local/cygwin-g++/qplatformdefs.h
>  missing /usr/local/darwin-g++/qmake.conf
>  missing /usr/local/darwin-g++/qplatformdefs.h
>  missing /usr/local/dgux-g++/qmake.conf
>  missing /usr/local/dgux-g++/qplatformdefs.h
>  missing /usr/local/freebsd-g++/qmake.conf
>  missing /usr/local/freebsd-g++/qplatformdefs.h
>  missing /usr/local/freebsd-g++34/qmake.conf
>  missing /usr/local/freebsd-g++34/qplatformdefs.h
>  missing /usr/local/freebsd-icc/qmake.conf
>  missing /usr/local/freebsd-icc/qplatformdefs.h
>  missing /usr/local/hpux-acc-64/qmake.conf
>  missing /usr/local/hpux-acc-64/qplatformdefs.h
>  missing /usr/local/hpux-acc-o64/qmake.conf
>  missing /usr/local/hpux-acc-o64/qplatformdefs.h
>  missing /usr/local/hpux-acc/qmake.conf
>  missing /usr/local/hpux-acc/qplatformdefs.h
>  missing /usr/local/hpux-cc/qmake.conf
>  missing /usr/local/hpux-cc/qplatformdefs.h
>  missing /usr/local/hpux-g++-64/qmake.conf
>  missing /usr/local/hpux-g++-64/qplatformdefs.h
>  missing /usr/local/hpux-g++/qmake.conf
>  missing /usr/local/hpux-g++/qplatformdefs.h
>  missing /usr/local/hpuxi-acc-32/qmake.conf
>  missing /usr/local/hpuxi-acc-32/qplatformdefs.h
>  missing /usr/local/hpuxi-acc-64/qmake.conf
>  missing /usr/local/hpuxi-acc-64/qplatformdefs.h
>  missing /usr/local/hurd-g++/qmake.conf
>  missing /usr/local/hurd-g++/qplatformdefs.h
>  missing /usr/local/irix-cc-64/qmake.conf
>  missing /usr/local/irix-cc-64/qplatformdefs.h
>  missing /usr/local/irix-cc-o32/qmake.conf
>  missing /usr/local/irix-cc-o32/qplatformdefs.h
>  missing /usr/local/irix-cc/qmake.conf
>  missing /usr/local/irix-cc/qplatformdefs.h
>  missing /usr/local/irix-g++/qmake.conf
>  missing /usr/local/irix-g++/qplatformdefs.h
>  missing /usr/local/linux-cxx/qmake.conf
>  missing /usr/local/linux-cxx/qplatformdefs.h
>  missing /usr/local/linux-ecc-64/qmake.conf
>  missing /usr/local/linux-ecc-64/qplatformdefs.h
>  missing /usr/local/linux-g++-32/qmake.conf
>  missing /usr/local/linux-g++-32/qplatformdefs.h
>  missing /usr/local/linux-g++-64/qmake.conf
>  missing /usr/local/linux-g++-64/qplatformdefs.h
>  missing /usr/local/linux-g++/qmake.conf
>  missing /usr/local/linux-g++/qplatformdefs.h
>  missing /usr/local/linux-icc/qmake.conf
>  missing /usr/local/linux-icc/qplatformdefs.h
>  missing /usr/local/linux-kcc/qmake.conf
>  missing /usr/local/linux-kcc/qplatformdefs.h
>  missing /usr/local/linux-kylix/qmake.conf
>  missing /usr/local/linux-kylix/qplatformdefs.h
>  missing /usr/local/linux-pgcc/qmake.conf
>  missing /usr/local/linux-pgcc/qplatformdefs.h
>  missing /usr/local/lynxos-g++/qmake.conf
>  missing /usr/local/lynxos-g++/qplatformdefs.h
>  missing /usr/local/macx-g++/Info.plist.app
>  missing /usr/local/macx-g++/qmake.conf
>  missing /usr/local/macx-g++/qplatformdefs.h
>  missing /usr/local/macx-mwerks/README
>  missing /usr/local/macx-mwerks/mwerkstmpl.xml
>  missing /usr/local/macx-mwerks/qmake.conf
>  missing /usr/local/macx-mwerks/qplatformdefs.h
>  missing /usr/local/macx-pbuilder/Info.plist.app
>  missing /usr/local/macx-pbuilder/qmake.conf
>  missing /usr/local/macx-pbuilder/qplatformdefs.h
>  missing /usr/local/macx-xlc/qmake.conf
>  missing /usr/local/macx-xlc/qplatformdefs.h
>  missing /usr/local/netbsd-g++/qmake.conf
>  missing /usr/local/netbsd-g++/qplatformdefs.h
>  missing /usr/local/openbsd-g++/qmake.conf
>  missing /usr/local/openbsd-g++/qplatformdefs.h
>  missing /usr/local/qnx-g++/qmake.conf
>  missing /usr/local/qnx-g++/qplatformdefs.h
>  missing /usr/local/reliant-cds-64/qmake.conf
>  missing /usr/local/reliant-cds-64/qplatformdefs.h
>  missing /usr/local/reliant-cds/qmake.conf
>  missing /usr/local/reliant-cds/qplatformdefs.h
>  missing /usr/local/sco-cc/qmake.conf
>  missing /usr/local/sco-cc/qplatformdefs.h
>  missing /usr/local/sco-g++/qmake.conf
>  missing /usr/local/sco-g++/qplatformdefs.h
>  missing /usr/local/solaris-cc-64/qmake.conf
>  missing /usr/local/solaris-cc-64/qplatformdefs.h
>  missing /usr/local/solaris-cc/qmake.conf
>  missing /usr/local/solaris-cc/qplatformdefs.h
>  missing /usr/local/solaris-g++-64/qmake.conf
>  missing /usr/local/solaris-g++-64/qplatformdefs.h
>  missing /usr/local/solaris-g++/qmake.conf
>  missing /usr/local/solaris-g++/qplatformdefs.h
>  missing /usr/local/tru64-cxx/qmake.conf
>  missing /usr/local/tru64-cxx/qplatformdefs.h
>  missing /usr/local/tru64-g++/qmake.conf
>  missing /usr/local/tru64-g++/qplatformdefs.h
>  missing /usr/local/unixware-cc/qmake.conf
>  missing /usr/local/unixware-cc/qplatformdefs.h
>  missing /usr/local/unixware-g++/qmake.conf
>  missing /usr/local/unixware-g++/qplatformdefs.h
>  missing /usr/local/win32-borland/qmake.conf
>  missing /usr/local/win32-borland/qplatformdefs.h
>  missing /usr/local/win32-g++/qmake.conf
>  missing /usr/local/win32-g++/qplatformdefs.h
>  missing /usr/local/win32-g++/qtcrtentrypoint.cpp
>  missing /usr/local/win32-icc/qmake.conf
>  missing /usr/local/win32-icc/qplatformdefs.h
>  missing /usr/local/win32-icc/win32app.dsp
>  missing /usr/local/win32-icc/win32dll.dsp
>  missing /usr/local/win32-icc/win32lib.dsp
>  missing /usr/local/win32-msvc.net/qmake.conf
>  missing /usr/local/win32-msvc.net/qplatformdefs.h
>  missing /usr/local/win32-msvc/qmake.conf
>  missing /usr/local/win32-msvc/qplatformdefs.h
>  missing /usr/local/win32-msvc/win32app.dsp
>  missing /usr/local/win32-msvc/win32dll.dsp
>  missing /usr/local/win32-msvc/win32lib.dsp
>  missing /usr/local/win32-msvc2005/qmake.conf
>  missing /usr/local/win32-msvc2005/qplatformdefs.h
>  missing /usr/local/win32-watcom/qmake.conf
>  missing /usr/local/html/qmake.dcf
>  missing /usr/local/html/qmake-manual.html
>  missing /usr/local/html/qmake-manual-1.html
>  missing /usr/local/html/qmake-manual-2.html
>  missing /usr/local/html/qmake-manual-3.html
>  missing /usr/local/html/qmake-manual-4.html
>  missing /usr/local/html/qmake-manual-5.html
>  missing /usr/local/html/qmake-manual-6.html
>  missing /usr/local/html/qmake-manual-7.html
>  missing /usr/local/html/qmake-manual-8.html
> kdepimlibs-4.3.4:
>  missing /usr/local/kde4/lib/libgpgme++-pth.so
>  missing /usr/local/kde4/lib/libgpgme++-pth.so.2
>  missing /usr/local/kde4/lib/libgpgme++-pth.so.2.2.1
>
> I'll continue to look and check both the presence and the dependencies to
> see if I can figure out why although it won't be for a couple of days.


Are you getting those paths reported as missing only when using my
pkg_debunk script ? Or are they also not seen by pkg_info?

Thanks,
Aleksandar


More information about the freebsd-ports mailing list