Hi,

I am trying to build the aacraid-1.2.1-x driver in ClearOS 7.3 (Centos 7.3 derivative) and I'm getting the following errors:

Installing aacraid-kmod-1.2.1-6.el7.elrepo.src.rpm
warning: aacraid-kmod-1.2.1-6.el7.elrepo.src.rpm: Header V4 DSA/SHA1 Signature, key ID baadae52: NOKEY

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NXEMsi
+ umask 022
+ cd /home/build/rpmbuild/BUILD
+ cd /home/build/rpmbuild/BUILD
+ rm -rf aacraid-1.2.1-40700
+ /usr/bin/mkdir -p aacraid-1.2.1-40700
+ cd aacraid-1.2.1-40700
+ /usr/bin/gzip -dc /home/build/rpmbuild/SOURCES/aacraid-linux-src-1.2.1-40700.tgz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ rpm2cpio aacraid-1.2.1-40700.src.rpm
+ /usr/bin/cpio -Bcdimu
46 blocks
+ /usr/bin/mkdir aacraid_source
+ pushd aacraid_source
+ /usr/bin/tar -zxf ../aacraid_source.tgz
+ /usr/bin/chmod 664 CHANGELOG Makefile README README.ServeRAID TODO VMware-3.0.1.c VMware-3.0.2.c VMware-3.0.c VMware-3.5.c VMware.c aachba.c aacraid.h commctrl.c comminit.c commsup.c compat.h csmi.c csmi.h dpcsup.c frey.c fwdebug.c fwdebug.h linit.c nark.c rkt.c rx.c sa.c src.c
+ popd
+ echo 'override aacraid * weak-updates/aacraid'
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8F8I2M
+ umask 022
+ cd /home/build/rpmbuild/BUILD
+ cd aacraid-1.2.1-40700
+ KSRC=/usr/src/kernels/3.10.0-514.26.2.v7.x86_64
+ /usr/bin/make -C /usr/src/kernels/3.10.0-514.26.2.v7.x86_64 -j4 modules M=/home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source
make: Entering directory `/usr/src/kernels/3.10.0-514.26.2.v7.x86_64'
  CC [M]  /home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/linit.o
  CC [M]  /home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/aachba.o
  CC [M]  /home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/commctrl.o
  CC [M]  /home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/comminit.o
/home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/aachba.c: In function 'aac_scsi_cmd':
/home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/aachba.c:3956:10: error: 'SERVICE_ACTION_IN' undeclared (first use in this function)
     case SERVICE_ACTION_IN:
          ^
/home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/aachba.c:3956:10: note: each undeclared identifier is reported only once for each function it appears in
/home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/aachba.c: In function 'busy_disk':
/home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/aachba.c:4799:8: error: used struct type value where scalar is required
    && (device->device_busy
        ^
make[1]: *** [/home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/aachba.o] Error 1
make[1]: *** Waiting for unfinished jobs....
/home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/linit.c: In function 'aac_eh_abort':
/home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/linit.c:1332:7: error: 'SERVICE_ACTION_IN' undeclared (first use in this function)
  case SERVICE_ACTION_IN:
       ^
/home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/linit.c:1332:7: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [/home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/linit.o] Error 1
make: *** [_module_/home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source] Error 2
make: Leaving directory `/usr/src/kernels/3.10.0-514.26.2.v7.x86_64'
error: Bad exit status from /var/tmp/rpm-tmp.8F8I2M (%build)


RPM build errors:
    aacraid-kmod-1.2.1-6.el7.elrepo.src.rpm: Header V4 DSA/SHA1 Signature, key ID baadae52: NOKEY

    Bad exit status from /var/tmp/rpm-tmp.8F8I2M (%build)

I've removed the group XXX does not exist lines. I get the same issue with the -4, -5 and -6 files. Have you any ideas what is going wrong?

The kernel already has the 1.2-1 module which may be OK, but someone is having difficulty with an Adaptec 2610SA card and I'm trying different angles.

Thanks,

Nick
_______________________________________________
elrepo mailing list
elrepo@lists.elrepo.org
http://lists.elrepo.org/mailman/listinfo/elrepo

Reply via email to