Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Jayman2000/5c2cf9b79db33b105fd42ece5738e0e5 to your computer and use it in GitHub Desktop.
Save Jayman2000/5c2cf9b79db33b105fd42ece5738e0e5 to your computer and use it in GitHub Desktop.
A log used to report an issue with Nixpkgs: <https://github.com/NixOS/nixpkgs/issues/295717>
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/47b4cqhk9waii1yx3y8wapklzzwld1m2-vhba-module-20211218.tar.xz
source root is vhba-module-20211218
setting SOURCE_DATE_EPOCH to timestamp 1639826332 of file vhba-module-20211218/vhba.c
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
build flags: SHELL=/nix/store/r9h133c9m8f6jnlsqzwf89zg9w0w78s8-bash-5.2-p15/bin/bash O=\$\(buildRoot\) CC=/nix/store/ihhhd1r1a2wb4ndm24rnm83rfnjw5n0z-gcc-wrapper-12.3.0/bin/cc HOSTCC=/nix/store/ihhhd1r1a2wb4ndm24rnm83rfnjw5n0z-gcc-wrapper-12.3.0/bin/cc HOSTLD=/nix/store/0fp4c5pbk6lmlk59bv4hhxch3py2dq6h-binutils-wrapper-2.40/bin/ld ARCH=x86_64 KDIR=/nix/store/i15w9h8lqawhw918sz6sgd8vb8rfv6cc-linux-6.8-dev/lib/modules/6.8.0/build INSTALL_MOD_PATH=\$\(out\)
make -C /nix/store/i15w9h8lqawhw918sz6sgd8vb8rfv6cc-linux-6.8-dev/lib/modules/6.8.0/build M=/build/vhba-module-20211218 modules
make[1]: Entering directory '/nix/store/i15w9h8lqawhw918sz6sgd8vb8rfv6cc-linux-6.8-dev/lib/modules/6.8.0/build'
CC [M] /build/vhba-module-20211218/vhba.o
/build/vhba-module-20211218/vhba.c:145:6: error: no previous prototype for 'devnum_to_bus_and_id' [-Werror=missing-prototypes]
145 | void devnum_to_bus_and_id(unsigned int devnum, unsigned int *bus, unsigned int *id)
| ^~~~~~~~~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:151:14: error: no previous prototype for 'bus_and_id_to_devnum' [-Werror=missing-prototypes]
151 | unsigned int bus_and_id_to_devnum(unsigned int bus, unsigned int id)
| ^~~~~~~~~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:156:21: error: no previous prototype for 'vhba_device_alloc' [-Werror=missing-prototypes]
156 | struct vhba_device *vhba_device_alloc (void)
| ^~~~~~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:176:6: error: no previous prototype for 'vhba_device_put' [-Werror=missing-prototypes]
176 | void vhba_device_put (struct vhba_device *vdev)
| ^~~~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:183:21: error: no previous prototype for 'vhba_device_get' [-Werror=missing-prototypes]
183 | struct vhba_device *vhba_device_get (struct vhba_device *vdev)
| ^~~~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:190:5: error: no previous prototype for 'vhba_device_queue' [-Werror=missing-prototypes]
190 | int vhba_device_queue (struct vhba_device *vdev, struct scsi_cmnd *cmd)
| ^~~~~~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:219:5: error: no previous prototype for 'vhba_device_dequeue' [-Werror=missing-prototypes]
219 | int vhba_device_dequeue (struct vhba_device *vdev, struct scsi_cmnd *cmd)
| ^~~~~~~~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:274:6: error: no previous prototype for 'vhba_scan_devices_add' [-Werror=missing-prototypes]
274 | void vhba_scan_devices_add (struct vhba_host *vhost, int bus, int id)
| ^~~~~~~~~~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:287:6: error: no previous prototype for 'vhba_scan_devices_remove' [-Werror=missing-prototypes]
287 | void vhba_scan_devices_remove (struct vhba_host *vhost, int bus, int id)
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:300:6: error: no previous prototype for 'vhba_scan_devices' [-Werror=missing-prototypes]
300 | void vhba_scan_devices (struct work_struct *work)
| ^~~~~~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:348:5: error: no previous prototype for 'vhba_add_device' [-Werror=missing-prototypes]
348 | int vhba_add_device (struct vhba_device *vdev)
| ^~~~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:382:5: error: no previous prototype for 'vhba_remove_device' [-Werror=missing-prototypes]
382 | int vhba_remove_device (struct vhba_device *vdev)
| ^~~~~~~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:403:21: error: no previous prototype for 'vhba_lookup_device' [-Werror=missing-prototypes]
403 | struct vhba_device *vhba_lookup_device (int devnum)
| ^~~~~~~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:474:5: error: no previous prototype for 'vhba_queuecommand' [-Werror=missing-prototypes]
474 | int vhba_queuecommand (struct Scsi_Host *shost, struct scsi_cmnd *cmd)
| ^~~~~~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:508:5: error: no previous prototype for 'vhba_abort' [-Werror=missing-prototypes]
508 | int vhba_abort (struct scsi_cmnd *cmd)
| ^~~~~~~~~~
/build/vhba-module-20211218/vhba.c:551:9: error: no previous prototype for 'do_request' [-Werror=missing-prototypes]
551 | ssize_t do_request (struct vhba_device *vdev, unsigned long metatag, struct scsi_cmnd *cmd, char __user *buf, size_t buf_len)
| ^~~~~~~~~~
/build/vhba-module-20211218/vhba.c:617:9: error: no previous prototype for 'do_response' [-Werror=missing-prototypes]
617 | ssize_t do_response (struct vhba_device *vdev, unsigned long metatag, struct scsi_cmnd *cmd, const char __user *buf, size_t buf_len, struct vhba_response *res)
| ^~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:693:22: error: no previous prototype for 'next_command' [-Werror=missing-prototypes]
693 | struct vhba_command *next_command (struct vhba_device *vdev)
| ^~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:710:22: error: no previous prototype for 'match_command' [-Werror=missing-prototypes]
710 | struct vhba_command *match_command (struct vhba_device *vdev, __u32 metatag)
| ^~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:727:22: error: no previous prototype for 'wait_command' [-Werror=missing-prototypes]
727 | struct vhba_command *wait_command (struct vhba_device *vdev, unsigned long flags)
| ^~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:754:9: error: no previous prototype for 'vhba_ctl_read' [-Werror=missing-prototypes]
754 | ssize_t vhba_ctl_read (struct file *file, char __user *buf, size_t buf_len, loff_t *offset)
| ^~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:799:9: error: no previous prototype for 'vhba_ctl_write' [-Werror=missing-prototypes]
799 | ssize_t vhba_ctl_write (struct file *file, const char __user *buf, size_t buf_len, loff_t *offset)
| ^~~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:852:6: error: no previous prototype for 'vhba_ctl_ioctl' [-Werror=missing-prototypes]
852 | long vhba_ctl_ioctl (struct file *file, unsigned int cmd, unsigned long arg)
| ^~~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:886:6: error: no previous prototype for 'vhba_ctl_compat_ioctl' [-Werror=missing-prototypes]
886 | long vhba_ctl_compat_ioctl (struct file *file, unsigned int cmd, unsigned long arg)
| ^~~~~~~~~~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:893:14: error: no previous prototype for 'vhba_ctl_poll' [-Werror=missing-prototypes]
893 | unsigned int vhba_ctl_poll (struct file *file, poll_table *wait)
| ^~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:910:5: error: no previous prototype for 'vhba_ctl_open' [-Werror=missing-prototypes]
910 | int vhba_ctl_open (struct inode *inode, struct file *file)
| ^~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:942:5: error: no previous prototype for 'vhba_ctl_release' [-Werror=missing-prototypes]
942 | int vhba_ctl_release (struct inode *inode, struct file *file)
| ^~~~~~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:998:5: error: no previous prototype for 'vhba_probe' [-Werror=missing-prototypes]
998 | int vhba_probe (struct platform_device *pdev)
| ^~~~~~~~~~
/build/vhba-module-20211218/vhba.c:1052:5: error: no previous prototype for 'vhba_remove' [-Werror=missing-prototypes]
1052 | int vhba_remove (struct platform_device *pdev)
| ^~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:1068:6: error: no previous prototype for 'vhba_release' [-Werror=missing-prototypes]
1068 | void vhba_release (struct device * dev)
| ^~~~~~~~~~~~
/build/vhba-module-20211218/vhba.c:1090:12: error: no previous prototype for 'vhba_init' [-Werror=missing-prototypes]
1090 | int __init vhba_init (void)
| ^~~~~~~~~
/build/vhba-module-20211218/vhba.c:1115:13: error: no previous prototype for 'vhba_exit' [-Werror=missing-prototypes]
1115 | void __exit vhba_exit(void)
| ^~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [/nix/store/i15w9h8lqawhw918sz6sgd8vb8rfv6cc-linux-6.8-dev/lib/modules/6.8.0/source/scripts/Makefile.build:243: /build/vhba-module-20211218/vhba.o] Error 1
make[2]: *** [/nix/store/i15w9h8lqawhw918sz6sgd8vb8rfv6cc-linux-6.8-dev/lib/modules/6.8.0/source/Makefile:1921: /build/vhba-module-20211218] Error 2
make[1]: *** [/nix/store/i15w9h8lqawhw918sz6sgd8vb8rfv6cc-linux-6.8-dev/lib/modules/6.8.0/source/Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/nix/store/i15w9h8lqawhw918sz6sgd8vb8rfv6cc-linux-6.8-dev/lib/modules/6.8.0/build'
make: *** [Makefile:14: modules] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment