Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root ~ $ rpmbuild --rebuild lin_tape-3.0.16-1.src.rpm ELEMENTS-DEFAULT
- Installing lin_tape-3.0.16-1.src.rpm
- Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lqGFW1
- + umask 022
- + cd /root/rpmbuild/BUILD
- + cd /root/rpmbuild/BUILD
- + rm -rf lin_tape-3.0.16
- + /usr/bin/gzip -dc /root/rpmbuild/SOURCES/lin_tape-3.0.16.tgz
- + /usr/bin/tar -xf -
- + STATUS=0
- + '[' 0 -ne 0 ']'
- + cd lin_tape-3.0.16
- + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
- + exit 0
- Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NbjokU
- + umask 022
- + cd /root/rpmbuild/BUILD
- + cd lin_tape-3.0.16
- ++ echo x86_64-redhat-linux-gnu
- ++ cut -f 1 -d -
- + p=x86_64
- + '[' x86_64 == i386 ']'
- + '[' x86_64 == i586 ']'
- + '[' x86_64 == i686 ']'
- + '[' x86_64 == ppc64 ']'
- + '[' x86_64 == powerpc ']'
- + '[' x86_64 == powerpc64 ']'
- + '[' x86_64 == s390 ']'
- + '[' x86_64 == s390x ']'
- + '[' x86_64 == ia64 ']'
- + '[' x86_64 == x86_64 ']'
- + proc=AMD
- + make KERNEL=4.11.6-ELEMENTS PROC=x86_64 driver
- make -C /lib/modules/4.11.6-ELEMENTS/build SUBDIRS=/root/rpmbuild/BUILD/lin_tape-3.0.16 PWD=/root/rpmbuild/BU ILD/lin_tape-3.0.16 clean
- make[1]: Entering directory `/usr/src/kernels/linux-4.11.6'
- make[1]: Leaving directory `/usr/src/kernels/linux-4.11.6'
- mkdir bldtmp
- make KERNEL=4.11.6-ELEMENTS compileclean lin_tape.ko
- make[1]: Entering directory `/root/rpmbuild/BUILD/lin_tape-3.0.16'
- rm -f *.o
- export PWD
- make -C /lib/modules/4.11.6-ELEMENTS/build SUBDIRS=/root/rpmbuild/BUILD/lin_tape-3.0.16 PWD=/root/rpmbuild/BU ILD/lin_tape-3.0.16 modules
- make[2]: Entering directory `/usr/src/kernels/linux-4.11.6'
- CC [M] /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.o
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:255:2: error: unknown field ‘owner’ specified in initializer
- .owner = THIS_MODULE,
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:255:2: warning: missing braces around initializer [-Wmissing-brac es]
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:255:2: warning: (near initialization for ‘st_template.gendrv’) [- Wmissing-braces]
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:255:2: warning: initialization from incompatible pointer type [en abled by default]
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:255:2: warning: (near initialization for ‘st_template.gendrv.nam ’) [enabled by default]
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c: In function ‘st_chk_result’:
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:480:4: warning: passing argument 1 of ‘__scsi_print_sense’ from i ncompatible pointer type [enabled by default]
- __scsi_print_sense(name, SRpnt->sense, SCSI_SENSE_BUFFERSIZE);
- ^
- In file included from /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:79:0:
- ./include/scsi/scsi_dbg.h:18:13: note: expected ‘const struct scsi_device *’ but argument is of type ‘char *’
- extern void __scsi_print_sense(const struct scsi_device *, const char *name,
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:480:4: warning: passing argument 3 of ‘__scsi_print_sense’ makes pointer from integer without a cast [enabled by default]
- __scsi_print_sense(name, SRpnt->sense, SCSI_SENSE_BUFFERSIZE);
- ^
- In file included from /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:79:0:
- ./include/scsi/scsi_dbg.h:18:13: note: expected ‘const unsigned char *’ but argument is of type ‘int’
- extern void __scsi_print_sense(const struct scsi_device *, const char *name,
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:480:4: error: too few arguments to function ‘__scsi_print_sense’
- __scsi_print_sense(name, SRpnt->sense, SCSI_SENSE_BUFFERSIZE);
- ^
- In file included from /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:79:0:
- ./include/scsi/scsi_dbg.h:18:13: note: declared here
- extern void __scsi_print_sense(const struct scsi_device *, const char *name,
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c: In function ‘st_allocate_request’:
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:538:3: error: implicit declaration of function ‘signal_pending’ [ -Werror=implicit-function-declaration]
- if (signal_pending(current))
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c: In function ‘st_scsi_execute_end’:
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:559:37: error: ‘struct request’ has no member named ‘resid_len’
- STp->buffer->cmdstat.residual = req->resid_len;
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c: In function ‘st_scsi_execute’:
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:612:5: error: ‘struct request’ has no member named ‘cmd_type’
- req->cmd_type = REQ_TYPE_BLOCK_PC;
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:612:18: error: ‘REQ_TYPE_BLOCK_PC’ undeclared (first use in this function)
- req->cmd_type = REQ_TYPE_BLOCK_PC;
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:612:18: note: each undeclared identifier is reported only once fo r each function it appears in
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:613:20: error: ‘REQ_QUIET’ undeclared (first use in this function )
- req->cmd_flags |= REQ_QUIET;
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:627:5: error: ‘struct request’ has no member named ‘cmd_len’
- req->cmd_len = COMMAND_SIZE(cmd[0]);
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:628:12: error: ‘struct request’ has no member named ‘cmd’
- memset(req->cmd, 0, BLK_MAX_CDB);
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:629:12: error: ‘struct request’ has no member named ‘cmd’
- memcpy(req->cmd, cmd, req->cmd_len);
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:629:27: error: ‘struct request’ has no member named ‘cmd_len’
- memcpy(req->cmd, cmd, req->cmd_len);
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:630:5: error: ‘struct request’ has no member named ‘sense’
- req->sense = SRpnt->sense;
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:631:5: error: ‘struct request’ has no member named ‘sense_len’
- req->sense_len = 0;
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c: In function ‘st_ioctl’:
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:3513:2: error: implicit declaration of function ‘scsi_nonblockabl e_ioctl’ [-Werror=implicit-function-declaration]
- retval = scsi_nonblockable_ioctl(STp->device, cmd_in, p,
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c: At top level:
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:4810:2: error: unknown field ‘dev_attrs’ specified in initializer
- .dev_attrs = st_dev_attrs,
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:4810:2: warning: initialization from incompatible pointer type [e nabled by default]
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:4810:2: warning: (near initialization for ‘st_sysfs_class.owner’) [enabled by default]
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c: In function ‘sgl_map_user_pages’:
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:5214:3: warning: passing argument 1 of ‘get_user_pages’ makes int eger from pointer without a cast [enabled by default]
- NULL);
- ^
- In file included from /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:50:0:
- ./include/linux/mm.h:1308:6: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct ’
- long get_user_pages(unsigned long start, unsigned long nr_pages,
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:5214:3: warning: passing argument 2 of ‘get_user_pages’ makes int eger from pointer without a cast [enabled by default]
- NULL);
- ^
- In file included from /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:50:0:
- ./include/linux/mm.h:1308:6: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
- long get_user_pages(unsigned long start, unsigned long nr_pages,
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:5214:3: warning: passing argument 4 of ‘get_user_pages’ makes poi nter from integer without a cast [enabled by default]
- NULL);
- ^
- In file included from /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:50:0:
- ./include/linux/mm.h:1308:6: note: expected ‘struct page **’ but argument is of type ‘int’
- long get_user_pages(unsigned long start, unsigned long nr_pages,
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:5214:3: warning: passing argument 5 of ‘get_user_pages’ makes poi nter from integer without a cast [enabled by default]
- NULL);
- ^
- In file included from /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:50:0:
- ./include/linux/mm.h:1308:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘int’
- long get_user_pages(unsigned long start, unsigned long nr_pages,
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:5214:3: error: too many arguments to function ‘get_user_pages’
- NULL);
- ^
- In file included from /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:50:0:
- ./include/linux/mm.h:1308:6: note: declared here
- long get_user_pages(unsigned long start, unsigned long nr_pages,
- ^
- /root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.c:5235:4: error: implicit declaration of function ‘page_cache_relea se’ [-Werror=implicit-function-declaration]
- page_cache_release(pages[j]);
- ^
- cc1: some warnings being treated as errors
- make[3]: *** [/root/rpmbuild/BUILD/lin_tape-3.0.16/stmp.o] Error 1
- make[2]: *** [_module_/root/rpmbuild/BUILD/lin_tape-3.0.16] Error 2
- make[2]: Leaving directory `/usr/src/kernels/linux-4.11.6'
- make[1]: *** [lin_tape.ko] Error 2
- make[1]: Leaving directory `/root/rpmbuild/BUILD/lin_tape-3.0.16'
- make: *** [bldtmp/lin_tape-4.11.6-ELEMENTS.ko] Error 2
- error: Bad exit status from /var/tmp/rpm-tmp.NbjokU (%build)
- RPM build errors:
- Bad exit status from /var/tmp/rpm-tmp.NbjokU (%build)
- root ~ exitcode 1 $ grep| less /var/log/messages ELEMENTS-DEFAULT
- Usage: grep [OPTION]... PATTERN [FILE]...
- Try 'grep --help' for more information.
- Nov 20 03:34:01 ELEMENTS-DEFAULT systemd: Removed slice user-0.slice.
- Nov 20 03:34:01 ELEMENTS-DEFAULT systemd: Stopping user-0.slice.
- Nov 20 03:37:07 ELEMENTS-DEFAULT dhclient[732]: DHCPREQUEST on eno1 to 192.168.77.110 port 67 (xid=0x6dbed328)
- Nov 20 03:37:07 ELEMENTS-DEFAULT dhclient[732]: DHCPACK from 192.168.77.110 (xid=0x6dbed328)
- Nov 20 03:37:07 ELEMENTS-DEFAULT NetworkManager[687]: <info> [1511145427.1479] dhcp4 (eno1): address 192.168.73.59
- Nov 20 03:37:07 ELEMENTS-DEFAULT NetworkManager[687]: <info> [1511145427.1479] dhcp4 (eno1): plen 21 (255.255.248.0)
- Nov 20 03:37:07 ELEMENTS-DEFAULT NetworkManager[687]: <info> [1511145427.1479] dhcp4 (eno1): gateway 192.168.77.1
- Nov 20 03:37:07 ELEMENTS-DEFAULT NetworkManager[687]: <info> [1511145427.1479] dhcp4 (eno1): server identifier 192.168.77.110
- Nov 20 03:37:07 ELEMENTS-DEFAULT NetworkManager[687]: <info> [1511145427.1479] dhcp4 (eno1): lease time 600
- Nov 20 03:37:07 ELEMENTS-DEFAULT NetworkManager[687]: <info> [1511145427.1479] dhcp4 (eno1): nameserver '192.168.77.100'
- Nov 20 03:37:07 ELEMENTS-DEFAULT NetworkManager[687]: <info> [1511145427.1479] dhcp4 (eno1): domain name 'syslink.intern'
- Nov 20 03:37:07 ELEMENTS-DEFAULT NetworkManager[687]: <info> [1511145427.1479] dhcp4 (eno1): state changed bound -> bound
- Nov 20 03:37:07 ELEMENTS-DEFAULT dbus-daemon: dbus[679]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
- Nov 20 03:37:07 ELEMENTS-DEFAULT dbus[679]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
- Nov 20 03:37:07 ELEMENTS-DEFAULT dhclient[732]: bound to 192.168.73.59 -- renewal in 290 seconds.
- Nov 20 03:37:07 ELEMENTS-DEFAULT systemd: Starting Network Manager Script Dispatcher Service...
- Nov 20 03:37:07 ELEMENTS-DEFAULT dbus-daemon: dbus[679]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
- Nov 20 03:37:07 ELEMENTS-DEFAULT dbus[679]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
- Nov 20 03:37:07 ELEMENTS-DEFAULT systemd: Started Network Manager Script Dispatcher Service.
- Nov 20 03:37:07 ELEMENTS-DEFAULT nm-dispatcher: req:1 'dhcp4-change' [eno1]: new request (4 scripts)
- Nov 20 03:37:07 ELEMENTS-DEFAULT nm-dispatcher: req:1 'dhcp4-change' [eno1]: start running ordered scripts...
- Nov 20 03:40:01 ELEMENTS-DEFAULT systemd: Created slice user-0.slice.
- Nov 20 03:40:01 ELEMENTS-DEFAULT systemd: Starting user-0.slice.
- Nov 20 03:40:01 ELEMENTS-DEFAULT systemd: Started Session 615 of user root.
- Nov 20 03:40:01 ELEMENTS-DEFAULT systemd: Starting Session 615 of user root.
- Nov 20 03:40:01 ELEMENTS-DEFAULT systemd: Removed slice user-0.slice.
- Nov 20 03:40:01 ELEMENTS-DEFAULT systemd: Stopping user-0.slice.
- Nov 20 03:41:57 ELEMENTS-DEFAULT dhclient[732]: DHCPREQUEST on eno1 to 192.168.77.110 port 67 (xid=0x6dbed328)
- Nov 20 03:41:57 ELEMENTS-DEFAULT dhclient[732]: DHCPACK from 192.168.77.110 (xid=0x6dbed328)
- Nov 20 03:41:57 ELEMENTS-DEFAULT NetworkManager[687]: <info> [1511145717.9983] dhcp4 (eno1): address 192.168.73.59
- Nov 20 03:41:57 ELEMENTS-DEFAULT NetworkManager[687]: <info> [1511145717.9983] dhcp4 (eno1): plen 21 (255.255.248.0)
- Nov 20 03:41:57 ELEMENTS-DEFAULT NetworkManager[687]: <info> [1511145717.9983] dhcp4 (eno1): gateway 192.168.77.1
- Nov 20 03:41:57 ELEMENTS-DEFAULT NetworkManager[687]: <info> [1511145717.9983] dhcp4 (eno1): server identifier 192.168.77.110
- Nov 20 03:41:57 ELEMENTS-DEFAULT NetworkManager[687]: <info> [1511145717.9983] dhcp4 (eno1): lease time 600
- Nov 20 03:41:57 ELEMENTS-DEFAULT NetworkManager[687]: <info> [1511145717.9983] dhcp4 (eno1): nameserver '192.168.77.100'
- Nov 20 03:41:57 ELEMENTS-DEFAULT NetworkManager[687]: <info> [1511145717.9983] dhcp4 (eno1): domain name 'syslink.intern'
- Nov 20 03:41:57 ELEMENTS-DEFAULT NetworkManager[687]: <info> [1511145717.9983] dhcp4 (eno1): state changed bound -> bound
- Nov 20 03:41:57 ELEMENTS-DEFAULT dbus[679]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
- Nov 20 03:41:57 ELEMENTS-DEFAULT dbus-daemon: dbus[679]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
- Nov 20 03:41:57 ELEMENTS-DEFAULT dhclient[732]: bound to 192.168.73.59 -- renewal in 269 seconds.
- Nov 20 03:41:58 ELEMENTS-DEFAULT systemd: Starting Network Manager Script Dispatcher Service...
- Nov 20 03:41:58 ELEMENTS-DEFAULT dbus-daemon: dbus[679]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
- Nov 20 03:41:58 ELEMENTS-DEFAULT dbus[679]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
- Nov 20 03:41:58 ELEMENTS-DEFAULT systemd: Started Network Manager Script Dispatcher Service.
- Nov 20 03:41:58 ELEMENTS-DEFAULT nm-dispatcher: req:1 'dhcp4-change' [eno1]: new request (4 scripts)
- Nov 20 03:41:58 ELEMENTS-DEFAULT nm-dispatcher: req:1 'dhcp4-change' [eno1]: start running ordered scripts...
- Nov 20 03:46:27 ELEMENTS-DEFAULT dhclient[732]: DHCPREQUEST on eno1 to 192.168.77.110 port 67 (xid=0x6dbed328)
Add Comment
Please, Sign In to add comment