[prev in list] [next in list] [prev in thread] [next in thread] 

List:       scst-devel
Subject:    Re: [Scst-devel] SCST RPM fails to build on Oracle Linux 7.9 kernel version 4.14.35-2025.402.2.1.el7
From:       Gilbert Standen <gilstanden () hotmail ! com>
Date:       2020-11-20 19:48:58
Message-ID: SN6PR01MB40648FD60049CB766AA4C94ECAFF0 () SN6PR01MB4064 ! prod ! exchangelabs ! com
[Download RAW message or body]

Confirmed:  r9184 also SUCCESFULLY FIXES the issues here with Oracle Linux 7.9 UEK4 \
version 4.14.35-2025.402.2.1.el7uek.x86_64 #2 SMP

[root@o76sv1 scst-files]# rpm -qa | grep scst
scst-4.14.35-2025.402.2.1.el7uek.x86_64-3.5.0.9184-1.el7.x86_64
scstadmin-1.0.0-1.x86_64
scst-4.14.35-2025.402.2.1.el7uek.x86_64-debuginfo-3.5.0.9184-1.el7.x86_64
[root@o76sv1 scst-files]# ps -ef | grep scst
root      2411     2  0 13:44 ?        00:00:00 [scst_release_ac]
root      2428     2  0 13:44 ?        00:00:00 [scst_uid]
root      2444     2  0 13:44 ?        00:00:00 [scstd0]
root      2445     2  0 13:44 ?        00:00:00 [scst_initd]
root      2447     2  0 13:44 ?        00:00:00 [scst_mgmtd]
root      2502     2  0 13:44 ?        00:00:00 [scst_usr_cleanu]
root      2535     1  0 13:44 ?        00:00:00 iscsi-scstd
root      6279  9094  0 13:48 pts/5    00:00:00 grep --color=auto scst
[root@o76sv1 scst-files]# sudo service scst status
SCST status: OK
[root@o76sv1 scst-files]# uname -a
Linux o76sv1 4.14.35-2025.402.2.1.el7uek.x86_64 #2 SMP Fri Oct 23 22:27:16 PDT 2020 \
x86_64 x86_64 x86_64 GNU/Linux [root@o76sv1 scst-files]# cat /etc/oracle-release
Oracle Linux Server release 7.9
[root@o76sv1 scst-files]#
________________________________
From: Gilbert Standen
Sent: Wednesday, November 18, 2020 8:59 PM
To: scst-devel@lists.sourceforge.net <scst-devel@lists.sourceforge.net>
Subject: SCST RPM fails to build on Oracle Linux 7.9 kernel version \
4.14.35-2025.402.2.1.el7uek.x86_64 #2 SMP

Hi Bart,

On Oracle Linux 7.9 kernel version 4.14.35-2025.402.2.1.el7uek.x86_64 #2 SMP getting \
this error stack when trying to build SCST RPM (UEK4 again, as before, except this \
time on Oracle Linux 7).  I tried the build with both the github/bvanassche source, \
and the r9182 trunk from Sourceforge and got the same results (wasn't sure if these \
two sources were at the same revision, so I tried them both).

If this is again the issue of needing to do the three exports, lmk and I will pass \
that on to Avi at Oracle Linux team.  Oracle was not going to make any changes on the \
UEK4 for OL6 which is EOL, but it sounded like they would make the necessary exports \
if it was affecting OL7.

The reason I'm testing all these kernel versions and OS version this week is that \
I've not done any development for about 9 months because my wife passed away in \
March.  I just started doing some development work again a few days ago and I've been \
checking all OS supported by Orabuntu-LXC to verify that Orabuntu-LXC and our SCST \
deployer are still working properly on all versions.  So as a result I did run into a \
few OS and kernel combos that SCST did not build on, so I've been passing them along \
to you on scst-devel list as I find them.

Thanks, Gil

=======================================================
Make SCST from source...
=======================================================

cd scst && make 2perf
make[1]: Entering directory `/opt/olxc/home/scst-files/scst-latest/scst'
make[1]: Leaving directory `/opt/olxc/home/scst-files/scst-latest/scst'
cd scst && make all
make[1]: Entering directory `/opt/olxc/home/scst-files/scst-latest/scst'
cd src && make all
make[2]: Entering directory `/opt/olxc/home/scst-files/scst-latest/scst/src'
echo "/* Autogenerated, don't edit */" >../include/scst_itf_ver.h
echo "" >>../include/scst_itf_ver.h
echo -n "#define SCST_INTF_VER " >>../include/scst_itf_ver.h
echo "\"`sha1sum ../include/scst.h|awk '{printf $1}'`\"" >>../include/scst_itf_ver.h
echo -n "#define SCST_CONST_INTF_VER " >>../include/scst_itf_ver.h
echo "\"`sha1sum ../include/scst_const.h|awk '{printf $1}'`\"" \
>>../include/scst_itf_ver.h echo -n "#define DEV_USER_INTF_VER " \
> > >>../include/scst_itf_ver.h
echo "\"`sha1sum ../include/scst_user.h|awk '{printf $1}'`\"" \
>>../include/scst_itf_ver.h make -C certs \
> > KDIR=/lib/modules/4.14.35-2025.402.2.1.el7uek.x86_64/build \
  CC=cc
make[3]: Entering directory `/opt/olxc/home/scst-files/scst-latest/scst/src/certs'
openssl req -new -nodes -utf8 -sha512 -days 365000 \
-batch -x509 -config x509.genkey -outform DER -out scst_module_key.der \
-keyout scst_module_key.priv
Generating a 4096 bit RSA private key
...................++
...................................................................................... \
..........................................................................................++
 writing new private key to 'scst_module_key.priv'
-----
chmod 600 scst_module_key.der
make[3]: Leaving directory `/opt/olxc/home/scst-files/scst-latest/scst/src/certs'
make -C /lib/modules/4.14.35-2025.402.2.1.el7uek.x86_64/build \
M=/opt/olxc/home/scst-files/scst-latest/scst/src \  CC=cc
make[3]: Entering directory `/usr/src/kernels/4.14.35-2025.402.2.1.el7uek.x86_64'
Makefile:974: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, \
libelf-devel or elfutils-libelf-devel"  AR      \
/opt/olxc/home/scst-files/scst-latest/scst/src/built-in.o  CC [M]  \
/opt/olxc/home/scst-files/scst-latest/scst/src/scst_copy_mgr.o In file included from \
                /opt/olxc/home/scst-files/scst-latest/scst/src/../include/scst.h:64:0,
                
                 from \
                /opt/olxc/home/scst-files/scst-latest/scst/src/scst_copy_mgr.c:17:
/opt/olxc/home/scst-files/scst-latest/scst/src/../include/backport.h:852:21: error: \
static declaration of ‘kobj_ns_grab_current’ follows non-static declaration  static \
inline void *kobj_ns_grab_current(enum kobj_ns_type type)  ^
In file included from ./include/linux/sysfs.h:21:0,
                 from ./include/linux/kobject.h:21,
                 from ./include/linux/device.h:17,
                 from ./include/linux/genhd.h:66,
                 from ./include/linux/blkdev.h:11,
                 from \
                /opt/olxc/home/scst-files/scst-latest/scst/src/../include/scst.h:37,
                 from \
                /opt/olxc/home/scst-files/scst-latest/scst/src/scst_copy_mgr.c:17:
./include/linux/kobject_ns.h:55:7: note: previous declaration of \
‘kobj_ns_grab_current’ was here  void *kobj_ns_grab_current(enum kobj_ns_type type);
       ^
In file included from \
                /opt/olxc/home/scst-files/scst-latest/scst/src/../include/scst.h:64:0,
                
                 from \
                /opt/olxc/home/scst-files/scst-latest/scst/src/scst_copy_mgr.c:17:
/opt/olxc/home/scst-files/scst-latest/scst/src/../include/backport.h:858:20: error: \
static declaration of ‘kobj_ns_drop’ follows non-static declaration  static inline \
void kobj_ns_drop(enum kobj_ns_type type, void *ns)  ^
In file included from ./include/linux/sysfs.h:21:0,
                 from ./include/linux/kobject.h:21,
                 from ./include/linux/device.h:17,
                 from ./include/linux/genhd.h:66,
                 from ./include/linux/blkdev.h:11,
                 from \
                /opt/olxc/home/scst-files/scst-latest/scst/src/../include/scst.h:37,
                 from \
                /opt/olxc/home/scst-files/scst-latest/scst/src/scst_copy_mgr.c:17:
./include/linux/kobject_ns.h:58:6: note: previous declaration of ‘kobj_ns_drop’ was \
here  void kobj_ns_drop(enum kobj_ns_type type, void *ns);
      ^
make[4]: *** [/opt/olxc/home/scst-files/scst-latest/scst/src/scst_copy_mgr.o] Error 1
make[3]: *** [_module_/opt/olxc/home/scst-files/scst-latest/scst/src] Error 2
make[3]: Leaving directory `/usr/src/kernels/4.14.35-2025.402.2.1.el7uek.x86_64'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/olxc/home/scst-files/scst-latest/scst/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/olxc/home/scst-files/scst-latest/scst'
make: *** [scst] Error 2
make scst-rpm
make[1]: Entering directory `/opt/olxc/home/scst-files/scst-latest'
name=scst && \
rpmtopdir=/usr/src/packages && \
make scst-dist-gzip && \
for d in BUILD RPMS SOURCES SPECS SRPMS; do \
  mkdir -p ${rpmtopdir}/$d; \
done && \
cp scst-3.5.0.7983.tar.bz2 ${rpmtopdir}/SOURCES && \
sed -e "s/@rpm_version@/3.5.0.7983/g" \
    -e "s|@depmod@|/sbin/depmod|g" \
<${name}.spec.in >${name}.spec && \
MAKE="make" rpmbuild --define="%_topdir ${rpmtopdir}" \
    \
    \
    -ba ${name}.spec && \
rm -f ${name}-3.5.0.7983.tar.bz2
make[2]: Entering directory `/opt/olxc/home/scst-files/scst-latest'
[ -n "j" ] && [ -n "bz2" ] && [ -n "3.5.0.7983" ] && [ -n "grep -E \
'^doc/|^fcst/|^iscsi-scst/|^Makefile|^qla2x00t(|_git)/|^scripts/|^scst.spec|^scst/|^scst_local/|^srpt/|^usr/|^scstadmin/'" \
] && name=scst && mkdir "${name}-3.5.0.7983" && { { scripts/list-source-files && if [ \
-e debian/changelog ]; then echo debian/changelog; fi; } | grep -E \
'^doc/|^fcst/|^iscsi-scst/|^Makefile|^qla2x00t(|_git)/|^scripts/|^scst.spec|^scst/|^scst_local/|^srpt/|^usr/|^scstadmin/' \
| tar -T- -cf- | tar -C "${name}-3.5.0.7983" -xf-; } && rm -f \
"${name}-3.5.0.7983.tar.bz2" && tar -cj -f "${name}-3.5.0.7983.tar.bz2" \
"${name}-3.5.0.7983" && rm -rf "${name}-3.5.0.7983" make[2]: Leaving directory \
`/opt/olxc/home/scst-files/scst-latest' kdir=%{kdir} \
kversion=4.14.35-2025.402.2.1.el7uek.x86_64 kernel_rpm=kernel-uek
krpmver=4.14.35-2025.402.2.1.el7uek
kernel_devel_rpm=kernel-uek-devel
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QccslB
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf scst-3.5.0.7983
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/scst-3.5.0.7983.tar.bz2
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd scst-3.5.0.7983
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bvwDSs
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd scst-3.5.0.7983
+ export KVER=4.14.35-2025.402.2.1.el7uek.x86_64
+ KVER=4.14.35-2025.402.2.1.el7uek.x86_64
+ export PREFIX=/usr
+ PREFIX=/usr
+ export BUILD_2X_MODULE=y CONFIG_SCSI_QLA_FC=y CONFIG_SCSI_QLA2XXX_TARGET=y
+ BUILD_2X_MODULE=y
+ CONFIG_SCSI_QLA_FC=y
+ CONFIG_SCSI_QLA2XXX_TARGET=y
+ make 2release
make[2]: Entering directory `/usr/src/packages/BUILD/scst-3.5.0.7983'
cd scst && make 2release
make[3]: Entering directory `/usr/src/packages/BUILD/scst-3.5.0.7983/scst'
make[3]: Leaving directory `/usr/src/packages/BUILD/scst-3.5.0.7983/scst'
make[2]: Leaving directory `/usr/src/packages/BUILD/scst-3.5.0.7983'
+ for d in scst fcst iscsi-scst qla2x00t/qla2x00-target scst_local srpt
+ make -C scst
make[2]: Entering directory `/usr/src/packages/BUILD/scst-3.5.0.7983/scst'
cd src && make all
make[3]: Entering directory `/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src'
echo "/* Autogenerated, don't edit */" >../include/scst_itf_ver.h
echo "" >>../include/scst_itf_ver.h
echo -n "#define SCST_INTF_VER " >>../include/scst_itf_ver.h
echo "\"`sha1sum ../include/scst.h|awk '{printf $1}'`\"" >>../include/scst_itf_ver.h
echo -n "#define SCST_CONST_INTF_VER " >>../include/scst_itf_ver.h
echo "\"`sha1sum ../include/scst_const.h|awk '{printf $1}'`\"" \
>>../include/scst_itf_ver.h echo -n "#define DEV_USER_INTF_VER " \
> > >>../include/scst_itf_ver.h
echo "\"`sha1sum ../include/scst_user.h|awk '{printf $1}'`\"" \
>>../include/scst_itf_ver.h make -C certs \
> > KDIR=/lib/modules/4.14.35-2025.402.2.1.el7uek.x86_64/build \
  CC=cc
make[4]: Entering directory `/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/certs'
openssl req -new -nodes -utf8 -sha512 -days 365000 \
-batch -x509 -config x509.genkey -outform DER -out scst_module_key.der \
-keyout scst_module_key.priv
Generating a 4096 bit RSA private key
.............++
..............................................................................++
writing new private key to 'scst_module_key.priv'
-----
chmod 600 scst_module_key.der
make[4]: Leaving directory `/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/certs'
make -C /lib/modules/4.14.35-2025.402.2.1.el7uek.x86_64/build \
M=/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src \  CC=cc
make[4]: Entering directory `/usr/src/kernels/4.14.35-2025.402.2.1.el7uek.x86_64'
Makefile:974: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, \
libelf-devel or elfutils-libelf-devel"  AR      \
/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/built-in.o  CC [M]  \
/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/scst_copy_mgr.o In file included \
                from \
                /usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/../include/scst.h:64:0,
                
                 from \
                /usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/scst_copy_mgr.c:17:
/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/../include/backport.h:852:21: error: \
static declaration of 'kobj_ns_grab_current' follows non-static declaration  static \
inline void *kobj_ns_grab_current(enum kobj_ns_type type)  ^
In file included from ./include/linux/sysfs.h:21:0,
                 from ./include/linux/kobject.h:21,
                 from ./include/linux/device.h:17,
                 from ./include/linux/genhd.h:66,
                 from ./include/linux/blkdev.h:11,
                 from \
                /usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/../include/scst.h:37,
                
                 from \
                /usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/scst_copy_mgr.c:17:
./include/linux/kobject_ns.h:55:7: note: previous declaration of \
'kobj_ns_grab_current' was here  void *kobj_ns_grab_current(enum kobj_ns_type type);
       ^
In file included from \
                /usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/../include/scst.h:64:0,
                
                 from \
                /usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/scst_copy_mgr.c:17:
/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/../include/backport.h:858:20: error: \
static declaration of 'kobj_ns_drop' follows non-static declaration  static inline \
void kobj_ns_drop(enum kobj_ns_type type, void *ns)  ^
In file included from ./include/linux/sysfs.h:21:0,
                 from ./include/linux/kobject.h:21,
                 from ./include/linux/device.h:17,
                 from ./include/linux/genhd.h:66,
                 from ./include/linux/blkdev.h:11,
                 from \
                /usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/../include/scst.h:37,
                
                 from \
                /usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/scst_copy_mgr.c:17:
./include/linux/kobject_ns.h:58:6: note: previous declaration of 'kobj_ns_drop' was \
here  void kobj_ns_drop(enum kobj_ns_type type, void *ns);
      ^
make[5]: *** [/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/scst_copy_mgr.o] Error \
1 make[4]: *** [_module_/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src] Error 2
make[4]: Leaving directory `/usr/src/kernels/4.14.35-2025.402.2.1.el7uek.x86_64'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/packages/BUILD/scst-3.5.0.7983/scst'
error: Bad exit status from /var/tmp/rpm-tmp.bvwDSs (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.bvwDSs (%build)
make[1]: *** [scst-rpm] Error 1
make[1]: Leaving directory `/opt/olxc/home/scst-files/scst-latest'
make: *** [rpm] Error 2
Installing the scst package...
Loaded plugins: ulninfo
Skipping: scst*, filename does not end in .rpm.
Nothing to do
Installing the scstadmin package...
Loaded plugins: ulninfo
Skipping: scstadmin*, filename does not end in .rpm.
Nothing to do
Failed to execute operation: No such file or directory
Redirecting to /bin/systemctl start scst.service
Failed to start scst.service: Unit not found.
Redirecting to /bin/systemctl status scst.service
Unit scst.service could not be found.


[Attachment #3 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} \
</style> </head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: \
rgb(0, 0, 0);"> Confirmed:&nbsp; r9184 also SUCCESFULLY FIXES the issues here with \
Oracle Linux 7.9 UEK4 version 4.14.35-2025.402.2.1.el7uek.x86_64 #2 SMP</div> <div \
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, \
0);"> <br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: \
rgb(0, 0, 0);"> <span style="font-family: &quot;Courier New&quot;, monospace; \
font-size: 10pt;">[root@o76sv1 scst-files]# rpm -qa | grep scst</span> <div><span \
style="font-family: &quot;Courier New&quot;, monospace; font-size: \
10pt;">scst-4.14.35-2025.402.2.1.el7uek.x86_64-3.5.0.9184-1.el7.x86_64</span></div> \
<div><span style="font-family: &quot;Courier New&quot;, monospace; font-size: \
10pt;">scstadmin-1.0.0-1.x86_64</span></div> <div><span style="font-family: \
&quot;Courier New&quot;, monospace; font-size: \
10pt;">scst-4.14.35-2025.402.2.1.el7uek.x86_64-debuginfo-3.5.0.9184-1.el7.x86_64</span></div>
 <div><span style="font-family: &quot;Courier New&quot;, monospace; font-size: \
10pt;">[root@o76sv1 scst-files]# ps -ef | grep scst</span></div> <div><span \
style="font-family: &quot;Courier New&quot;, monospace; font-size: 10pt;">root &nbsp; \
&nbsp; &nbsp;2411 &nbsp; &nbsp; 2 &nbsp;0 13:44 ? &nbsp; &nbsp; &nbsp; &nbsp;00:00:00 \
[scst_release_ac]</span></div> <div><span style="font-family: &quot;Courier \
New&quot;, monospace; font-size: 10pt;">root &nbsp; &nbsp; &nbsp;2428 &nbsp; &nbsp; 2 \
&nbsp;0 13:44 ? &nbsp; &nbsp; &nbsp; &nbsp;00:00:00 [scst_uid]</span></div> \
<div><span style="font-family: &quot;Courier New&quot;, monospace; font-size: \
10pt;">root &nbsp; &nbsp; &nbsp;2444 &nbsp; &nbsp; 2 &nbsp;0 13:44 ? &nbsp; &nbsp; \
&nbsp; &nbsp;00:00:00 [scstd0]</span></div> <div><span style="font-family: \
&quot;Courier New&quot;, monospace; font-size: 10pt;">root &nbsp; &nbsp; &nbsp;2445 \
&nbsp; &nbsp; 2 &nbsp;0 13:44 ? &nbsp; &nbsp; &nbsp; &nbsp;00:00:00 \
[scst_initd]</span></div> <div><span style="font-family: &quot;Courier New&quot;, \
monospace; font-size: 10pt;">root &nbsp; &nbsp; &nbsp;2447 &nbsp; &nbsp; 2 &nbsp;0 \
13:44 ? &nbsp; &nbsp; &nbsp; &nbsp;00:00:00 [scst_mgmtd]</span></div> <div><span \
style="font-family: &quot;Courier New&quot;, monospace; font-size: 10pt;">root &nbsp; \
&nbsp; &nbsp;2502 &nbsp; &nbsp; 2 &nbsp;0 13:44 ? &nbsp; &nbsp; &nbsp; &nbsp;00:00:00 \
[scst_usr_cleanu]</span></div> <div><span style="font-family: &quot;Courier \
New&quot;, monospace; font-size: 10pt;">root &nbsp; &nbsp; &nbsp;2535 &nbsp; &nbsp; 1 \
&nbsp;0 13:44 ? &nbsp; &nbsp; &nbsp; &nbsp;00:00:00 iscsi-scstd</span></div> \
<div><span style="font-family: &quot;Courier New&quot;, monospace; font-size: \
10pt;">root &nbsp; &nbsp; &nbsp;6279 &nbsp;9094 &nbsp;0 13:48 pts/5 &nbsp; \
&nbsp;00:00:00 grep --color=auto scst</span></div> <div><span style="font-family: \
&quot;Courier New&quot;, monospace; font-size: 10pt;">[root@o76sv1 scst-files]# sudo \
service scst status</span></div> <div><span style="font-family: &quot;Courier \
New&quot;, monospace; font-size: 10pt;">SCST status: OK</span></div> <div><span \
style="font-family: &quot;Courier New&quot;, monospace; font-size: \
10pt;">[root@o76sv1 scst-files]# uname -a</span></div> <div><span style="font-family: \
&quot;Courier New&quot;, monospace; font-size: 10pt;">Linux o76sv1 \
4.14.35-2025.402.2.1.el7uek.x86_64 #2 SMP Fri Oct 23 22:27:16 PDT 2020 x86_64 x86_64 \
x86_64 GNU/Linux</span></div> <div><span style="font-family: &quot;Courier New&quot;, \
monospace; font-size: 10pt;">[root@o76sv1 scst-files]# cat /etc/oracle-release \
</span></div> <div><span style="font-family: &quot;Courier New&quot;, monospace; \
font-size: 10pt;">Oracle Linux Server release 7.9</span></div> <span \
style="font-family: &quot;Courier New&quot;, monospace; font-size: \
10pt;">[root@o76sv1 scst-files]#</span><br> </div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" \
style="font-size:11pt" color="#000000"><b>From:</b> Gilbert Standen<br> <b>Sent:</b> \
Wednesday, November 18, 2020 8:59 PM<br> <b>To:</b> scst-devel@lists.sourceforge.net \
&lt;scst-devel@lists.sourceforge.net&gt;<br> <b>Subject:</b> SCST RPM fails to build \
on Oracle Linux 7.9 kernel version 4.14.35-2025.402.2.1.el7uek.x86_64 #2 SMP</font> \
<div>&nbsp;</div> </div>
<style type="text/css" style="display:none">
<!--
p
	{margin-top:0;
	margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> Hi Bart,</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> On Oracle Linux 7.9 kernel version \
4.14.35-2025.402.2.1.el7uek.x86_64 #2 SMP getting this error stack when trying to \
build SCST RPM (UEK4 again, as before, except this time on Oracle Linux 7).&nbsp; I \
tried the build with both the github/bvanassche source, and the  r9182 trunk from \
Sourceforge and got the same results (wasn't sure if these two sources were at the \
same revision, so I tried them both). <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> If this is again the issue of needing to do the three exports, lmk \
and I will pass that on to Avi at Oracle Linux team.&nbsp; Oracle was not going to \
make any changes on the UEK4 for OL6 which is EOL, but it sounded like they would \
make the necessary exports if  it was affecting OL7.</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> The reason I'm testing all these kernel versions and OS version \
this week is that I've not done any development for about 9 months because my wife \
passed away in March.&nbsp; I just started doing some development work again a few \
days ago and I've been checking  all OS supported by Orabuntu-LXC to verify that \
Orabuntu-LXC and our SCST deployer are still working properly on all versions.&nbsp; \
So as a result I did run into a few OS and kernel combos that SCST did not build on, \
so I've been passing them along to you on scst-devel  list as I find them.<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> Thanks, Gil<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> =======================================================
<div>Make SCST from source... &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div> \
<div>=======================================================</div> <div><br>
</div>
<div>cd scst &amp;&amp; make 2perf</div>
<div>make[1]: Entering directory `/opt/olxc/home/scst-files/scst-latest/scst'</div>
<div>make[1]: Leaving directory `/opt/olxc/home/scst-files/scst-latest/scst'</div>
<div>cd scst &amp;&amp; make all</div>
<div>make[1]: Entering directory `/opt/olxc/home/scst-files/scst-latest/scst'</div>
<div>cd src &amp;&amp; make all</div>
<div>make[2]: Entering directory \
`/opt/olxc/home/scst-files/scst-latest/scst/src'</div> <div>echo &quot;/* \
Autogenerated, don't edit */&quot; &gt;../include/scst_itf_ver.h</div> <div>echo \
&quot;&quot; &gt;&gt;../include/scst_itf_ver.h</div> <div>echo -n &quot;#define \
SCST_INTF_VER &quot; &gt;&gt;../include/scst_itf_ver.h</div> <div>echo \
&quot;\&quot;`sha1sum ../include/scst.h|awk '{printf $1}'`\&quot;&quot; \
&gt;&gt;../include/scst_itf_ver.h</div> <div>echo -n &quot;#define \
SCST_CONST_INTF_VER &quot; &gt;&gt;../include/scst_itf_ver.h</div> <div>echo \
&quot;\&quot;`sha1sum ../include/scst_const.h|awk '{printf $1}'`\&quot;&quot; \
&gt;&gt;../include/scst_itf_ver.h</div> <div>echo -n &quot;#define DEV_USER_INTF_VER \
&quot; &gt;&gt;../include/scst_itf_ver.h</div> <div>echo &quot;\&quot;`sha1sum \
../include/scst_user.h|awk '{printf $1}'`\&quot;&quot; \
&gt;&gt;../include/scst_itf_ver.h</div> <div>make -C certs \
KDIR=/lib/modules/4.14.35-2025.402.2.1.el7uek.x86_64/build \</div> <div>&nbsp; \
CC=cc</div> <div>make[3]: Entering directory \
`/opt/olxc/home/scst-files/scst-latest/scst/src/certs'</div> <div>openssl req -new \
-nodes -utf8 -sha512 -days 365000 \</div> <div>-batch -x509 -config x509.genkey \
-outform DER -out scst_module_key.der \</div> <div>-keyout scst_module_key.priv</div>
<div>Generating a 4096 bit RSA private key</div>
<div>...................++</div>
<div>................................................................................. \
...............................................................................................++</div>
 <div>writing new private key to 'scst_module_key.priv'</div>
<div>-----</div>
<div>chmod 600 scst_module_key.der</div>
<div>make[3]: Leaving directory \
`/opt/olxc/home/scst-files/scst-latest/scst/src/certs'</div> <div>make -C \
/lib/modules/4.14.35-2025.402.2.1.el7uek.x86_64/build \
M=/opt/olxc/home/scst-files/scst-latest/scst/src \</div> <div>&nbsp; CC=cc</div>
<div>make[3]: Entering directory \
`/usr/src/kernels/4.14.35-2025.402.2.1.el7uek.x86_64'</div> <div>Makefile:974: \
&quot;Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel \
or elfutils-libelf-devel&quot;</div> <div>&nbsp; AR &nbsp; &nbsp; \
&nbsp;/opt/olxc/home/scst-files/scst-latest/scst/src/built-in.o</div> <div>&nbsp; CC \
[M] &nbsp;/opt/olxc/home/scst-files/scst-latest/scst/src/scst_copy_mgr.o</div> \
<div>In file included from \
/opt/olxc/home/scst-files/scst-latest/scst/src/../include/scst.h:64:0,</div> \
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from \
/opt/olxc/home/scst-files/scst-latest/scst/src/scst_copy_mgr.c:17:</div> \
<div>/opt/olxc/home/scst-files/scst-latest/scst/src/../include/backport.h:852:21: \
error: static declaration of ‘kobj_ns_grab_current’ follows non-static \
declaration</div> <div>&nbsp;static inline void *kobj_ns_grab_current(enum \
kobj_ns_type type)</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp;^</div> <div>In file included from \
./include/linux/sysfs.h:21:0,</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp;from ./include/linux/kobject.h:21,</div> <div>&nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from \
./include/linux/device.h:17,</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp;from ./include/linux/genhd.h:66,</div> <div>&nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from ./include/linux/blkdev.h:11,</div> \
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from \
/opt/olxc/home/scst-files/scst-latest/scst/src/../include/scst.h:37,</div> \
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from \
/opt/olxc/home/scst-files/scst-latest/scst/src/scst_copy_mgr.c:17:</div> \
<div>./include/linux/kobject_ns.h:55:7: note: previous declaration of \
‘kobj_ns_grab_current’ was here</div> <div>&nbsp;void *kobj_ns_grab_current(enum \
kobj_ns_type type);</div> <div>&nbsp; &nbsp; &nbsp; &nbsp;^</div>
<div>In file included from \
/opt/olxc/home/scst-files/scst-latest/scst/src/../include/scst.h:64:0,</div> \
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from \
/opt/olxc/home/scst-files/scst-latest/scst/src/scst_copy_mgr.c:17:</div> \
<div>/opt/olxc/home/scst-files/scst-latest/scst/src/../include/backport.h:858:20: \
error: static declaration of ‘kobj_ns_drop’ follows non-static declaration</div> \
<div>&nbsp;static inline void kobj_ns_drop(enum kobj_ns_type type, void *ns)</div> \
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^</div> \
<div>In file included from ./include/linux/sysfs.h:21:0,</div> <div>&nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from \
./include/linux/kobject.h:21,</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp;from ./include/linux/device.h:17,</div> <div>&nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from ./include/linux/genhd.h:66,</div> \
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from \
./include/linux/blkdev.h:11,</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp;from \
/opt/olxc/home/scst-files/scst-latest/scst/src/../include/scst.h:37,</div> \
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from \
/opt/olxc/home/scst-files/scst-latest/scst/src/scst_copy_mgr.c:17:</div> \
<div>./include/linux/kobject_ns.h:58:6: note: previous declaration of ‘kobj_ns_drop’ \
was here</div> <div>&nbsp;void kobj_ns_drop(enum kobj_ns_type type, void *ns);</div>
<div>&nbsp; &nbsp; &nbsp; ^</div>
<div>make[4]: *** [/opt/olxc/home/scst-files/scst-latest/scst/src/scst_copy_mgr.o] \
Error 1</div> <div>make[3]: *** \
[_module_/opt/olxc/home/scst-files/scst-latest/scst/src] Error 2</div> <div>make[3]: \
Leaving directory `/usr/src/kernels/4.14.35-2025.402.2.1.el7uek.x86_64'</div> \
<div>make[2]: *** [all] Error 2</div> <div>make[2]: Leaving directory \
`/opt/olxc/home/scst-files/scst-latest/scst/src'</div> <div>make[1]: *** [all] Error \
2</div> <div>make[1]: Leaving directory \
`/opt/olxc/home/scst-files/scst-latest/scst'</div> <div>make: *** [scst] Error \
2</div> <div>make scst-rpm</div>
<div>make[1]: Entering directory `/opt/olxc/home/scst-files/scst-latest'</div>
<div>name=scst &amp;&amp; \</div>
<div>rpmtopdir=/usr/src/packages &amp;&amp; \</div>
<div>make scst-dist-gzip &amp;&amp; \</div>
<div>for d in BUILD RPMS SOURCES SPECS SRPMS; do \</div>
<div>&nbsp; mkdir -p ${rpmtopdir}/$d; \</div>
<div>done &amp;&amp; \</div>
<div>cp scst-3.5.0.7983.tar.bz2 ${rpmtopdir}/SOURCES &amp;&amp; \</div>
<div>sed -e &quot;s/@rpm_version@/3.5.0.7983/g&quot; \</div>
<div>&nbsp; &nbsp; -e &quot;s|@depmod@|/sbin/depmod|g&quot; \</div>
<div>&lt;${name}.spec.in &gt;${name}.spec &amp;&amp; \</div>
<div>MAKE=&quot;make&quot; rpmbuild --define=&quot;%_topdir ${rpmtopdir}&quot; \
\</div> <div>&nbsp; &nbsp; \</div>
<div>&nbsp; &nbsp; \</div>
<div>&nbsp; &nbsp; -ba ${name}.spec &amp;&amp; \</div>
<div>rm -f ${name}-3.5.0.7983.tar.bz2</div>
<div>make[2]: Entering directory `/opt/olxc/home/scst-files/scst-latest'</div>
<div>[ -n &quot;j&quot; ] &amp;&amp; [ -n &quot;bz2&quot; ] &amp;&amp; [ -n \
&quot;3.5.0.7983&quot; ] &amp;&amp; [ -n &quot;grep -E \
'^doc/|^fcst/|^iscsi-scst/|^Makefile|^qla2x00t(|_git)/|^scripts/|^scst.spec|^scst/|^scst_local/|^srpt/|^usr/|^scstadmin/'&quot; \
] &amp;&amp; name=scst &amp;&amp; mkdir &quot;${name}-3.5.0.7983&quot; &amp;&amp; { { \
scripts/list-source-files  &amp;&amp; if [ -e debian/changelog ]; then echo \
debian/changelog; fi; } | grep -E \
'^doc/|^fcst/|^iscsi-scst/|^Makefile|^qla2x00t(|_git)/|^scripts/|^scst.spec|^scst/|^scst_local/|^srpt/|^usr/|^scstadmin/' \
                | tar -T- -cf- | tar -C &quot;${name}-3.5.0.7983&quot; -xf-; } \
                &amp;&amp; rm
 -f &quot;${name}-3.5.0.7983.tar.bz2&quot; &amp;&amp; tar -cj -f \
&quot;${name}-3.5.0.7983.tar.bz2&quot; &quot;${name}-3.5.0.7983&quot; &amp;&amp; rm \
-rf &quot;${name}-3.5.0.7983&quot;</div> <div>make[2]: Leaving directory \
`/opt/olxc/home/scst-files/scst-latest'</div> <div>kdir=%{kdir} \
kversion=4.14.35-2025.402.2.1.el7uek.x86_64</div> <div>kernel_rpm=kernel-uek</div>
<div>krpmver=4.14.35-2025.402.2.1.el7uek</div>
<div>kernel_devel_rpm=kernel-uek-devel</div>
<div>Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QccslB</div>
<div>+ umask 022</div>
<div>+ cd /usr/src/packages/BUILD</div>
<div>+ cd /usr/src/packages/BUILD</div>
<div>+ rm -rf scst-3.5.0.7983</div>
<div>+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/scst-3.5.0.7983.tar.bz2</div>
<div>+ /usr/bin/tar -xf -</div>
<div>+ STATUS=0</div>
<div>+ '[' 0 -ne 0 ']'</div>
<div>+ cd scst-3.5.0.7983</div>
<div>+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .</div>
<div>+ exit 0</div>
<div>Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bvwDSs</div>
<div>+ umask 022</div>
<div>+ cd /usr/src/packages/BUILD</div>
<div>+ cd scst-3.5.0.7983</div>
<div>+ export KVER=4.14.35-2025.402.2.1.el7uek.x86_64</div>
<div>+ KVER=4.14.35-2025.402.2.1.el7uek.x86_64</div>
<div>+ export PREFIX=/usr</div>
<div>+ PREFIX=/usr</div>
<div>+ export BUILD_2X_MODULE=y CONFIG_SCSI_QLA_FC=y \
CONFIG_SCSI_QLA2XXX_TARGET=y</div> <div>+ BUILD_2X_MODULE=y</div>
<div>+ CONFIG_SCSI_QLA_FC=y</div>
<div>+ CONFIG_SCSI_QLA2XXX_TARGET=y</div>
<div>+ make 2release</div>
<div>make[2]: Entering directory `/usr/src/packages/BUILD/scst-3.5.0.7983'</div>
<div>cd scst &amp;&amp; make 2release</div>
<div>make[3]: Entering directory `/usr/src/packages/BUILD/scst-3.5.0.7983/scst'</div>
<div>make[3]: Leaving directory `/usr/src/packages/BUILD/scst-3.5.0.7983/scst'</div>
<div>make[2]: Leaving directory `/usr/src/packages/BUILD/scst-3.5.0.7983'</div>
<div>+ for d in scst fcst iscsi-scst qla2x00t/qla2x00-target scst_local srpt</div>
<div>+ make -C scst</div>
<div>make[2]: Entering directory `/usr/src/packages/BUILD/scst-3.5.0.7983/scst'</div>
<div>cd src &amp;&amp; make all</div>
<div>make[3]: Entering directory \
`/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src'</div> <div>echo &quot;/* \
Autogenerated, don't edit */&quot; &gt;../include/scst_itf_ver.h</div> <div>echo \
&quot;&quot; &gt;&gt;../include/scst_itf_ver.h</div> <div>echo -n &quot;#define \
SCST_INTF_VER &quot; &gt;&gt;../include/scst_itf_ver.h</div> <div>echo \
&quot;\&quot;`sha1sum ../include/scst.h|awk '{printf $1}'`\&quot;&quot; \
&gt;&gt;../include/scst_itf_ver.h</div> <div>echo -n &quot;#define \
SCST_CONST_INTF_VER &quot; &gt;&gt;../include/scst_itf_ver.h</div> <div>echo \
&quot;\&quot;`sha1sum ../include/scst_const.h|awk '{printf $1}'`\&quot;&quot; \
&gt;&gt;../include/scst_itf_ver.h</div> <div>echo -n &quot;#define DEV_USER_INTF_VER \
&quot; &gt;&gt;../include/scst_itf_ver.h</div> <div>echo &quot;\&quot;`sha1sum \
../include/scst_user.h|awk '{printf $1}'`\&quot;&quot; \
&gt;&gt;../include/scst_itf_ver.h</div> <div>make -C certs \
KDIR=/lib/modules/4.14.35-2025.402.2.1.el7uek.x86_64/build \</div> <div>&nbsp; \
CC=cc</div> <div>make[4]: Entering directory \
`/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/certs'</div> <div>openssl req -new \
-nodes -utf8 -sha512 -days 365000 \</div> <div>-batch -x509 -config x509.genkey \
-outform DER -out scst_module_key.der \</div> <div>-keyout scst_module_key.priv</div>
<div>Generating a 4096 bit RSA private key</div>
<div>.............++</div>
<div>..............................................................................++</div>
 <div>writing new private key to 'scst_module_key.priv'</div>
<div>-----</div>
<div>chmod 600 scst_module_key.der</div>
<div>make[4]: Leaving directory \
`/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/certs'</div> <div>make -C \
/lib/modules/4.14.35-2025.402.2.1.el7uek.x86_64/build \
M=/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src \</div> <div>&nbsp; CC=cc</div>
<div>make[4]: Entering directory \
`/usr/src/kernels/4.14.35-2025.402.2.1.el7uek.x86_64'</div> <div>Makefile:974: \
&quot;Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel \
or elfutils-libelf-devel&quot;</div> <div>&nbsp; AR &nbsp; &nbsp; \
&nbsp;/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/built-in.o</div> <div>&nbsp; \
CC [M] &nbsp;/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/scst_copy_mgr.o</div> \
<div>In file included from \
/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/../include/scst.h:64:0,</div> \
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from \
/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/scst_copy_mgr.c:17:</div> \
<div>/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/../include/backport.h:852:21: \
error: static declaration of 'kobj_ns_grab_current' follows non-static \
declaration</div> <div>&nbsp;static inline void *kobj_ns_grab_current(enum \
kobj_ns_type type)</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp;^</div> <div>In file included from \
./include/linux/sysfs.h:21:0,</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp;from ./include/linux/kobject.h:21,</div> <div>&nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from \
./include/linux/device.h:17,</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp;from ./include/linux/genhd.h:66,</div> <div>&nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from ./include/linux/blkdev.h:11,</div> \
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from \
/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/../include/scst.h:37,</div> \
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from \
/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/scst_copy_mgr.c:17:</div> \
<div>./include/linux/kobject_ns.h:55:7: note: previous declaration of \
'kobj_ns_grab_current' was here</div> <div>&nbsp;void *kobj_ns_grab_current(enum \
kobj_ns_type type);</div> <div>&nbsp; &nbsp; &nbsp; &nbsp;^</div>
<div>In file included from \
/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/../include/scst.h:64:0,</div> \
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from \
/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/scst_copy_mgr.c:17:</div> \
<div>/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/../include/backport.h:858:20: \
error: static declaration of 'kobj_ns_drop' follows non-static declaration</div> \
<div>&nbsp;static inline void kobj_ns_drop(enum kobj_ns_type type, void *ns)</div> \
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^</div> \
<div>In file included from ./include/linux/sysfs.h:21:0,</div> <div>&nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from \
./include/linux/kobject.h:21,</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp;from ./include/linux/device.h:17,</div> <div>&nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from ./include/linux/genhd.h:66,</div> \
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from \
./include/linux/blkdev.h:11,</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp;from \
/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/../include/scst.h:37,</div> \
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from \
/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/scst_copy_mgr.c:17:</div> \
<div>./include/linux/kobject_ns.h:58:6: note: previous declaration of 'kobj_ns_drop' \
was here</div> <div>&nbsp;void kobj_ns_drop(enum kobj_ns_type type, void *ns);</div>
<div>&nbsp; &nbsp; &nbsp; ^</div>
<div>make[5]: *** [/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src/scst_copy_mgr.o] \
Error 1</div> <div>make[4]: *** \
[_module_/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src] Error 2</div> \
<div>make[4]: Leaving directory \
`/usr/src/kernels/4.14.35-2025.402.2.1.el7uek.x86_64'</div> <div>make[3]: *** [all] \
Error 2</div> <div>make[3]: Leaving directory \
`/usr/src/packages/BUILD/scst-3.5.0.7983/scst/src'</div> <div>make[2]: *** [all] \
Error 2</div> <div>make[2]: Leaving directory \
`/usr/src/packages/BUILD/scst-3.5.0.7983/scst'</div> <div>error: Bad exit status from \
/var/tmp/rpm-tmp.bvwDSs (%build)</div> <div><br>
</div>
<div><br>
</div>
<div>RPM build errors:</div>
<div>&nbsp; &nbsp; Bad exit status from /var/tmp/rpm-tmp.bvwDSs (%build)</div>
<div>make[1]: *** [scst-rpm] Error 1</div>
<div>make[1]: Leaving directory `/opt/olxc/home/scst-files/scst-latest'</div>
<div>make: *** [rpm] Error 2</div>
<div>Installing the scst package...</div>
<div>Loaded plugins: ulninfo</div>
<div>Skipping: scst*, filename does not end in .rpm.</div>
<div>Nothing to do</div>
<div>Installing the scstadmin package...</div>
<div>Loaded plugins: ulninfo</div>
<div>Skipping: scstadmin*, filename does not end in .rpm.</div>
<div>Nothing to do</div>
<div>Failed to execute operation: No such file or directory</div>
<div>Redirecting to /bin/systemctl start scst.service</div>
<div>Failed to start scst.service: Unit not found.</div>
<div>Redirecting to /bin/systemctl status scst.service</div>
<div>Unit scst.service could not be found.</div>
<br>
<br>
</div>
</div>
</body>
</html>


[Attachment #4 (--===============5660811443618986610==)]


_______________________________________________
Scst-devel mailing list
https://lists.sourceforge.net/lists/listinfo/scst-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic