Here is the last bit of the log. Everything up until this point is normal:
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.72970
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd clamav-0.96.2
+ '[' -n /var/tmp/clamav-toaster-0.96.2-root -a
/var/tmp/clamav-toaster-0.96.2-root '!=' / ']'
+ rm -rf /var/tmp/clamav-toaster-0.96.2-root
+ '[' -d /usr/src/redhat/BUILD/clamav-0.96.2 ']'
+ rm -rf /usr/src/redhat/BUILD/clamav-0.96.2
+ '[' -f /var/tmp/clamav-0.96.2-gcc ']'
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.83436
+ umask 022
+ cd /usr/src/redhat/BUILD
+ rm -rf clamav-0.96.2
+ exit 0
Installing clamav-toaster-0.96.2-1.3.37 in the sandbox ...
Preparing...
##################################################
clamav-toaster warning: /etc/freshclam.conf created as
/etc/freshclam.conf.rpmnew
##################################################
error: unpacking of archive failed on file /usr/share/clamav: cpio:
chown failed - Inappropriate ioctl for device
Thanks,
Scott
On 1/22/11 1:41 PM, Bruno De Leone wrote:
"Inappropriate ioctl for device" looks like the script is not being
able to write on the drive
"see /mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log for
more details"
paste the log file here, there might be more important information there
On Sat, Jan 22, 2011 at 5:14 PM, Scott Hughes
<[email protected] <mailto:[email protected]>> wrote:
I am having a strange build issue with the latest clam AV
package. I think I have seen a similar issue come across the list
but I cannot find it. Here are the details:
Installing clamav-toaster-0.96.2-1.3.37 in the sandbox ...
Preparing...
##################################################
clamav-toaster warning: /etc/freshclam.conf created
as /etc/freshclam.conf.rpmnew
##################################################
error: unpacking of archive failed on file /usr/share/clamav:
cpio: chown failed - Inappropriate ioctl for device
<end of log messages>
qtp-build-rpms - see
/mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log for more
details
Build failed, Exiting.
Any ideas?
Thanks,
Scott