pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40078: mail/clamav does not install properly on 64bit arch



>Number:         40078
>Category:       pkg
>Synopsis:       mail/clamav does not install properly on 64bit arch
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 01 17:10:05 +0000 2008
>Originator:     Piotr Meyer
>Release:        
>Organization:
>Environment:
Linux tester.smutek.pl 2.6.18-53.1.13.el5 #1 SMP Mon Feb 11 13:27:27 EST 2008 
x86_64 x86_64 x86_64 GNU/Linux
>Description:
Due to latest changes in clamav (current version 0.94.2), on 64bit systems, 
libraries are installed in ${PREFIX}/lib64 dirs. PLIST assumes following 
locations:

# grep lib/ PLIST
lib/libclamav.la
lib/libclamunrar.la
lib/libclamunrar_iface.la
lib/pkgconfig/libclamav.pc

And all, finally, causes:

# bmake package
...
pkg_create: can't stat `/usr/pkg/lib/libclamav.la'
pkg_create: can't stat `/usr/pkg/lib/libclamunrar.la'
pkg_create: can't stat `/usr/pkg/lib/libclamunrar_iface.la'
pkg_create: can't stat `/usr/pkg/lib/pkgconfig/libclamav.pc'
=> Registering installation for clamav-0.94.2
pkg_admin: clamav-0.94.2: File `/usr/pkg/lib/libclamav.la' is in +CONTENTS but 
not on filesystem!
pkg_admin: clamav-0.94.2: File `/usr/pkg/lib/libclamunrar.la' is in +CONTENTS 
but not on filesystem!
pkg_admin: clamav-0.94.2: File `/usr/pkg/lib/libclamunrar_iface.la' is in 
+CONTENTS but not on filesystem!
pkg_admin: clamav-0.94.2: File `/usr/pkg/lib/pkgconfig/libclamav.pc' is in 
+CONTENTS but not on filesystem!
clamav-0.94.2 requires installed package bzip2-1.0.5
clamav-0.94.2 requires installed package gmp-4.2.4nb1
=> Checking file-check results for clamav-0.94.2
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         /usr/pkg/lib/libclamav.la
ERROR:         /usr/pkg/lib/libclamunrar.la
ERROR:         /usr/pkg/lib/libclamunrar_iface.la
ERROR:         /usr/pkg/lib/pkgconfig/libclamav.pc
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         /usr/pkg/lib64/libclamav.a
ERROR:         /usr/pkg/lib64/libclamav.la
ERROR:         /usr/pkg/lib64/libclamav.so
ERROR:         /usr/pkg/lib64/libclamav.so.5
ERROR:         /usr/pkg/lib64/libclamav.so.5.0.4
ERROR:         /usr/pkg/lib64/libclamunrar.a
ERROR:         /usr/pkg/lib64/libclamunrar.la
ERROR:         /usr/pkg/lib64/libclamunrar.so
ERROR:         /usr/pkg/lib64/libclamunrar.so.5
ERROR:         /usr/pkg/lib64/libclamunrar.so.5.0.4
ERROR:         /usr/pkg/lib64/libclamunrar_iface.a
ERROR:         /usr/pkg/lib64/libclamunrar_iface.la
ERROR:         /usr/pkg/lib64/libclamunrar_iface.so
ERROR:         /usr/pkg/lib64/libclamunrar_iface.so.5
ERROR:         /usr/pkg/lib64/libclamunrar_iface.so.5.0.4
ERROR:         /usr/pkg/lib64/pkgconfig/libclamav.pc

It's probably connected with modifications mentioned in Changelog:

Mon Oct 20 17:23:12 EEST 2008 (edwin)
-------------------------------------
 * aclocal.m4, configure, configure.in, m4/acinclude.m4,
 m4/lib-prefix.m4: use -print-multi-os-directory to set default
 libdir (bb #1240)
 * WARNING: On a 64-bit multiarch OS, this will by
 default install libclamav into /usr/local/lib64, if your system uses
 /usr/local/lib for 32bit apps.  If the system uses /usr/local/lib
 for 64-bit apps and lib32 for 32bit apps, there is no change (unless
 you use -m32).

>How-To-Repeat:
Install latest pkgsrc on 64bit os, cd to mail/clamav and type 'bmake package'.
>Fix:
At this moment quick workaround is sufficient: adding to mail/clamav/Makefile 
following line:

CONFIGURE_ARGS+=        --libdir=${PREFIX}/lib





Home | Main Index | Thread Index | Old Index