Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Oct 2013 19:13:33 GMT
From:      Jim Pirzyk <pirzyk@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182612: newly built ports report problems when verifying with 'pkg_info -g'
Message-ID:  <201310031913.r93JDXGR025555@oldred.freebsd.org>
Resent-Message-ID: <201310031920.r93JK0Ar092129@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182612
>Category:       ports
>Synopsis:       newly built ports report problems when verifying with 'pkg_info -g'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 03 19:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jim Pirzyk
>Release:        9.2-RELEASE
>Organization:
>Environment:
FreeBSD amigo.home.pirzyk.org 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013     root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
After I just built a new version of clamav (but does happen with several other ports as well), pkg_info complains about missing files, but only when run as root:

sudo pkg_info -g clamav-0.98_1 
Password:
Information for clamav-0.98_1:

Mismatched Checksums:
pkg_info: /usr/local/+COMMENT doesn't exist
pkg_info: /usr/local/+DESC doesn't exist
pkg_info: /usr/local/+INSTALL doesn't exist
pkg_info: /usr/local/+DEINSTALL doesn't exist
pkg_info: /usr/local/+MTREE_DIRS doesn't exist

As non-root it does not mention these missing files.  I have found out in further investigation that it seems to be related to any port that has a pkg-plist file included in the tree.  Ones that generate the pkg-plist within the Makefile do not seem to exhibit this problem.  I have attached the +CONTENTS file from /var/db/pkg/clamav-0.98_1
>How-To-Repeat:
See above
>Fix:


Patch attached with submission follows:

@comment PKG_FORMAT_REVISION:1.1
@name clamav-0.98_1
@comment ORIGIN:security/clamav
@cwd /usr/local
@pkgdep libltdl-2.4.2_1
@comment DEPORIGIN:devel/libltdl
@pkgdep libiconv-1.14_1
@comment DEPORIGIN:converters/libiconv
@pkgdep unzoo-4.4_2
@comment DEPORIGIN:archivers/unzoo
@pkgdep lha-1.14i_6
@comment DEPORIGIN:archivers/lha
@pkgdep arj-3.10.22_4
@comment DEPORIGIN:archivers/arj
@pkgdep arc-5.21p
@comment DEPORIGIN:archivers/arc
@conflicts clamav-devel-[0-9]*
@conflicts clamav-milter-[0-9]*
@owner root
@group wheel
share/licenses/clamav-0.98_1/catalog.mk
@comment MD5:01891862e6074cad63c354b65a987655
share/licenses/clamav-0.98_1/LICENSE
@comment MD5:7c8bc065d0f852d117a249dd54579660
share/licenses/clamav-0.98_1/GPLv2
@comment MD5:b234ee4d69f5fce4486a80fdaf4a4263
@comment $FreeBSD: security/clamav/pkg-plist 328486 2013-09-27 14:49:28Z garga $
bin/clamav-config
@comment MD5:54254b17b6178bc18203bfba920879ee
bin/clambc
@comment MD5:17c03ed1a9a2a136179987d56f288205
bin/clamconf
@comment MD5:1f9318b35d84e9c751912fc828f3fcb3
bin/clamdtop
@comment MD5:13babbbc05da3e5f93faf2a126e405d8
bin/clamscan
@comment MD5:6ae12c01aac398d9c759268719c30e06
bin/clamdscan
@comment MD5:84316af4b53e61ab12f531e6c78770e8
bin/freshclam
@comment MD5:1dc6764274172bd9abc06ee595f6bfe2
bin/sigtool
@comment MD5:76ecf32a596ede5e5b2fff468967dc06
sbin/clamav-milter
@comment MD5:d10329c283141d632733fd6877b97c20
sbin/clamd
@comment MD5:4b8955382d18e1aaa4ef57513f8ac2d2
include/clamav.h
@comment MD5:36e6332a1db11a3f85a32004a281dd97
include/clamav-config.h
@comment MD5:5e6602caae7c975eaaaf6b50cf09f2cf
lib/libclamav.la
@comment MD5:6b65e8e4c0afd1ef901a38c5197a52e2
lib/libclamav.so
@comment MD5:d11f916bd85e644d8feae0b50535f083
lib/libclamav.so.7
@comment MD5:d9dacdca9b6485973dcb92f0893dd0b9
lib/libclamunrar.la
@comment MD5:1a91b9deb22293dc414997f7b9d5b5bf
lib/libclamunrar.so
@comment MD5:3005dfb7317d98cfc8cf78afd1a69a7a
lib/libclamunrar.so.7
@comment MD5:da65736ee85f1b159c0e92e7972f2099
lib/libclamunrar_iface.la
@comment MD5:25be99fb7e5163129d3868edefb8a711
lib/libclamunrar_iface.so
@comment MD5:4e37f9c02296da6fda664e771cc2818c
lib/libclamunrar_iface.so.7
@comment MD5:82d7e9a9656819152c0a291600c78a2b
libdata/pkgconfig/libclamav.pc
@comment MD5:9f248e25f0d26f29a49f8ae6759cd9ab
man/man1/clambc.1.gz
@comment MD5:62eaed0c9486fa43abc0a022635c6fa2
man/man1/clamconf.1.gz
@comment MD5:6a7c03bd64a25503af5148af3b50915a
man/man1/clamdscan.1.gz
@comment MD5:dd8a5d2760d6ece0baad18c66daeec9b
man/man1/clamdtop.1.gz
@comment MD5:3efa37ad06f465c202ccb9d9e9eeab5a
man/man1/clamscan.1.gz
@comment MD5:367a6dcca38e66949763bc37b9ee0339
man/man1/freshclam.1.gz
@comment MD5:81a3a1207f93c62ccc49796464f6bc31
man/man1/sigtool.1.gz
@comment MD5:a24a384e60d56c7b9a8f8aa7d65ea02e
man/man5/clamav-milter.conf.5.gz
@comment MD5:a5af3f7294d42b11fc1d67da22c2095a
man/man5/clamd.conf.5.gz
@comment MD5:8c306569011a24c6bde15cd590ef58d4
man/man5/freshclam.conf.5.gz
@comment MD5:718e3f59e13d3a9baa3db1d43c8a3ada
man/man8/clamav-milter.8.gz
@comment MD5:f40aee9aa2e4a553f795b9a0d2603405
man/man8/clamd.8.gz
@comment MD5:62d755cf353842cfb522ecd912113907
@unexec if cmp -s %D/etc/clamd.conf %D/etc/clamd.conf.sample; then rm -f %D/etc/clamd.conf; fi
etc/clamd.conf.sample
@comment MD5:b2d83052566a4d43994e22e916f2d2a5
@exec [ -f %B/clamd.conf ] || cp %B/%f %B/clamd.conf
@unexec if cmp -s %D/etc/freshclam.conf %D/etc/freshclam.conf.sample; then rm -f %D/etc/freshclam.conf; fi
etc/freshclam.conf.sample
@comment MD5:5e63e87b12b2afac6e922c7386e348a0
@exec [ -f %B/freshclam.conf ] || cp %B/%f %B/freshclam.conf
@unexec if cmp -s %D/etc/clamav-milter.conf %D/etc/clamav-milter.conf.sample; then rm -f %D/etc/clamav-milter.conf; fi
etc/clamav-milter.conf.sample
@comment MD5:8d8f992b845f1698af5fe600a4dbef13
@exec [ -f %B/clamav-milter.conf ] || cp %B/%f %B/clamav-milter.conf
@exec /sbin/ldconfig -m /usr/local/lib
@unexec /sbin/ldconfig -R
@comment OPTIONS:+ARC +ARJ +DOCS -EXPERIMENTAL +ICONV +IPV6 -LDAP +LHA +LLVM +MILTER -STDERR +TESTS +UNRAR +UNZOO
@cwd /usr/local
etc/rc.d/clamav-clamd
@comment MD5:33b38860ebed0bb3395cf1ff1ebf26b0
etc/rc.d/clamav-freshclam
@comment MD5:35d12d6950bbb056390951167eb9db5a
etc/rc.d/clamav-milter
@comment MD5:f83bfe4a97853ef86de7d1048760ed74
@cwd /usr/local
@dirrm share/licenses/clamav-0.98_1
@unexec rmdir %D/share/licenses 2>/dev/null || true
share/doc/clamav/ChangeLog
@comment MD5:eb00cdae1ce79671ea68a9b1391b3b6f
share/doc/clamav/NEWS
@comment MD5:90dffa84dd4e9ad82143f70fe3fe4b79
share/doc/clamav/html/node3.html
@comment MD5:f6d066354b1f15b056131e278a03bd9f
share/doc/clamav/html/node20.html
@comment MD5:eb46c24f53dc12d7a071aca3945dfe71
share/doc/clamav/html/node11.html
@comment MD5:e1f8e2247796dfa02f3eaf69d94b0eee
share/doc/clamav/html/contents.png
@comment MD5:dae943ab34099532093204563de601fe
share/doc/clamav/html/node38.html
@comment MD5:27b3bcd5c26317a9152ad51dc5ce905f
share/doc/clamav/html/node42.html
@comment MD5:f8ce7c5b80ffc1c50370511d4ac3fd4b
share/doc/clamav/html/node15.html
@comment MD5:be442ebadb1a1582c8ec2448c6f5b00b
share/doc/clamav/html/node7.html
@comment MD5:1c07f1d5a652ab2b74ba794a0ae81461
share/doc/clamav/html/node24.html
@comment MD5:4f59b90e33bc44c24b395aa5f4395448
share/doc/clamav/html/node46.html
@comment MD5:611a6580c376973ba0c4a68154118675
share/doc/clamav/html/index.html
@comment MD5:9b5156c852fec59a4efd79e035bbd1e4
share/doc/clamav/html/next_g.png
@comment MD5:73065c0aad0bc15cc1fbb7cb36ff2692
share/doc/clamav/html/up.png
@comment MD5:cc743a5f1d28bc932517d75f3384dc5a
share/doc/clamav/html/node30.html
@comment MD5:eea9e6c036d090245a7945a1dbec0e9f
share/doc/clamav/html/clam.png
@comment MD5:1527a3ef9b50dc74741f2438ae4a06cf
share/doc/clamav/html/node28.html
@comment MD5:332a8e1d3ff63e707577fc70861ae1af
share/doc/clamav/html/node52.html
@comment MD5:5ac4af36dbc3385a3a115ada1ceac94a
share/doc/clamav/html/node19.html
@comment MD5:e272e6d1b138b5ae9fbc91318eed143e
share/doc/clamav/html/next.png
@comment MD5:55a55b7ecbca37eee0c95800bdb588bb
share/doc/clamav/html/node34.html
@comment MD5:8a5338bab0ae0c696bd8b2f346a1172a
share/doc/clamav/html/node56.html
@comment MD5:96d6453251f9dbe750a478fdbdbaa1e6
share/doc/clamav/html/node31.html
@comment MD5:2b74857f7ebc8c3492ecec764376282c
share/doc/clamav/html/node62.html
@comment MD5:27c3cafca6ebd0f2b20458e4ecd4af17
share/doc/clamav/html/node29.html
@comment MD5:80296ed758bff9ec3872dc459473b07d
share/doc/clamav/html/node18.html
@comment MD5:6bea1dc669add41a8cf6e46e3ea94283
share/doc/clamav/html/node53.html
@comment MD5:48c9bb568c2fb36b789198c56c43ff3d
share/doc/clamav/html/node35.html
@comment MD5:d5c70962b2a9488cee9ab553b7619a13
share/doc/clamav/html/node57.html
@comment MD5:0e68846e4ad173f96ef3ae373886b462
share/doc/clamav/html/prev_g.png
@comment MD5:90157f6fbe6db7c436a642a1c593e1e6
share/doc/clamav/html/node21.html
@comment MD5:3a1774bf0fdcd941ff21c010a87ce1d0
share/doc/clamav/html/node2.html
@comment MD5:a0642bd5cb35bc1094ef59fddc073b66
share/doc/clamav/html/node10.html
@comment MD5:53173aa42d137ca853d4d5999fc0aaf6
share/doc/clamav/html/node39.html
@comment MD5:1bb47cc21253ce1e811f83fb74ac2ab5
share/doc/clamav/html/node43.html
@comment MD5:b2c8eaab22f6d507add1a7a4c26b3d38
share/doc/clamav/html/node14.html
@comment MD5:8d4d312d44ac24d42d144b8068cdb1a2
share/doc/clamav/html/clamdoc.html
@comment MD5:9b5156c852fec59a4efd79e035bbd1e4
share/doc/clamav/html/img1.png
@comment MD5:676e14aabd731df963cd0b35268ea65f
share/doc/clamav/html/node25.html
@comment MD5:9b56ab268030401e14f797a377da73cd
share/doc/clamav/html/node6.html
@comment MD5:1150067693925838bc85360ba6bdb536
share/doc/clamav/html/node47.html
@comment MD5:2a4187dc34e418554c62affd1be9a07d
share/doc/clamav/html/clamdoc.css
@comment MD5:d5d9022e4e91f5c51487b6dd987b4ae5
share/doc/clamav/html/node33.html
@comment MD5:ef1e925c731a5caebe0515903de9f3ec
share/doc/clamav/html/node49.html
@comment MD5:4d1f050ef23c198161412f1c9604fea8
share/doc/clamav/html/node60.html
@comment MD5:40b2a39568b035975847f69c8726cc88
share/doc/clamav/html/node8.html
@comment MD5:4402576f8467fb6e1efbf9d6d9c1aacb
share/doc/clamav/html/node51.html
@comment MD5:ae544b40e70e3000eee3d48c6ed8c3a0
share/doc/clamav/html/up_g.png
@comment MD5:d8a4d29ef30068010a0e78045b0a4d9a
share/doc/clamav/html/img2.png
@comment MD5:529a41f40d32633736d9a7abb9ac21fa
share/doc/clamav/html/node37.html
@comment MD5:1bf1458a5e23096fec2446f60020b189
share/doc/clamav/html/node55.html
@comment MD5:c3469df38c29f4e1e19f1763534f402e
share/doc/clamav/html/node23.html
@comment MD5:92d88009ea5e03e944183da40a9731fa
share/doc/clamav/html/node59.html
@comment MD5:ff588e42b657ebe576f7e0bb33bc14ab
share/doc/clamav/html/node12.html
@comment MD5:28c927b87053e343776e6e46a24a6978
share/doc/clamav/html/node41.html
@comment MD5:a9fcb99bd2a266e4ec49b8c4453692ab
share/doc/clamav/html/prev.png
@comment MD5:b8e7094b02b1d67a49071d437044238b
share/doc/clamav/html/node16.html
@comment MD5:39fc1af03ee37bc1e62d95910f3b8c2f
share/doc/clamav/html/node4.html
@comment MD5:452fd4d22cd8deb2bc27b22f15b2d5f6
share/doc/clamav/html/node27.html
@comment MD5:bad462f52ea937ef12e0b254965219d6
share/doc/clamav/html/node45.html
@comment MD5:7667903aa8ab4de311ea53a381362c62
share/doc/clamav/html/node22.html
@comment MD5:6be804c241ada5647157c0d28a7ef53a
share/doc/clamav/html/node1.html
@comment MD5:d6e7a9dc990ec3e7ed9fb4d6a6593af1
share/doc/clamav/html/node13.html
@comment MD5:b7c55c0122d152b9226f85e58d72e66d
share/doc/clamav/html/node58.html
@comment MD5:4dda729209601243f76f60d5fe06b681
share/doc/clamav/html/img4.png
@comment MD5:24808407dec87780607b2a687996a850
share/doc/clamav/html/node40.html
@comment MD5:8439372f12f7a674845f1ca74c926690
share/doc/clamav/html/img3.png
@comment MD5:8a3d9fd96d699264fcf409ad7f4d6914
share/doc/clamav/html/node17.html
@comment MD5:be9feb08c07c4221a10a3e631b62d3af
share/doc/clamav/html/node26.html
@comment MD5:634c2e40ba3c0144702d924b9b5d23e3
share/doc/clamav/html/node5.html
@comment MD5:ba96476f9e9917a5ddebf7c6e1d4fc2a
share/doc/clamav/html/node44.html
@comment MD5:5ad05d77bb71141148eda6b61b314c8e
share/doc/clamav/html/footnode.html
@comment MD5:7aef560c364bee2d6e2decbe80b72742
share/doc/clamav/html/node32.html
@comment MD5:1cc24e0015ebadeb7f70676da081ada0
share/doc/clamav/html/node48.html
@comment MD5:44889c6d26aac6e66cb987e7b2a891d7
share/doc/clamav/html/node9.html
@comment MD5:4dc4c46d942bcadc56874666d18d83dc
share/doc/clamav/html/node61.html
@comment MD5:e5188977becd12da6c97e7229e1ec25e
share/doc/clamav/html/node50.html
@comment MD5:707f3d55f7b9cd436cc5dd3a9e8bc92a
share/doc/clamav/html/node36.html
@comment MD5:cd79eab10c88d4aaa1cb08e355314acc
share/doc/clamav/html/node54.html
@comment MD5:28ccd2aefb23d198522d566cee33f310
@dirrm share/doc/clamav/html
@dirrm share/doc/clamav
@ignore
+COMMENT
@comment MD5:07ebbbca19ab81cdcc3045447b840364
@ignore
+DESC
@comment MD5:1aabd017ab2631382f6f674787fd6dda
@ignore
+INSTALL
@comment MD5:dc02e37d72596f45b4da6381be37fb0e
@ignore
+DEINSTALL
@comment MD5:365bef94f27471550bf0f55d94bb30c3
@ignore
+MTREE_DIRS
@comment MD5:29e598c13f628675de6567504f34d86f
@mtree +MTREE_DIRS


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310031913.r93JDXGR025555>