Alright, I successfully rolled my first RPM. However, I noticed the following in the build output:
Code: Select all
make[2]: Entering directory `/home/abauer/rpmbuild/BUILD/zoneminder-1.26.0beta/src'
make[2]: stat: /root/zm/libjpeg-turbo-1.2.1/jconfig.h: Permission denied
make[2]: stat: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h: Permission denied
make[2]: stat: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h: Permission denied
make[2]: stat: /root/zm/libjpeg-turbo-1.2.1/jerror.h: Permission denied
Since rpmbuild exited with status 0, I am not sure if these matter or not.
That's weird it is looking under the root folder for libjpeg-turbo. On my system, those libraries are found under /usr/include, where one might expect it.
If I grep for where the source makes reference to /root/zm, I see these:
Code: Select all
[abauer@vmcentos zoneminder-1.26.0beta]$grep -r \/root\/zm ./
./src/.deps/zm_event.Po: /usr/include/setjmp.h jinclude.h /root/zm/libjpeg-turbo-1.2.1/jconfig.h \
./src/.deps/zm_event.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zm_event.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zm_event.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_rgb.h zm_coord.h zm_box.h \
./src/.deps/zm_event.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zm_event.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zm_event.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zm_event.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
./src/.deps/zm_ffmpeg_camera.Po: /usr/include/setjmp.h jinclude.h /root/zm/libjpeg-turbo-1.2.1/jconfig.h \
./src/.deps/zm_ffmpeg_camera.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zm_ffmpeg_camera.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zm_ffmpeg_camera.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_rgb.h zm_coord.h zm_box.h \
./src/.deps/zm_ffmpeg_camera.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zm_ffmpeg_camera.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zm_ffmpeg_camera.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zm_ffmpeg_camera.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
./src/.deps/zmc.Po: /usr/include/setjmp.h jinclude.h /root/zm/libjpeg-turbo-1.2.1/jconfig.h \
./src/.deps/zmc.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zmc.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zmc.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_rgb.h zm_box.h \
./src/.deps/zmc.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zmc.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zmc.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zmc.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
./src/.deps/zm_file_camera.Po: /usr/include/setjmp.h jinclude.h /root/zm/libjpeg-turbo-1.2.1/jconfig.h \
./src/.deps/zm_file_camera.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zm_file_camera.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zm_file_camera.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_rgb.h zm_coord.h zm_box.h \
./src/.deps/zm_file_camera.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zm_file_camera.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zm_file_camera.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zm_file_camera.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
./src/.deps/zm_monitor.Po: /usr/include/setjmp.h jinclude.h /root/zm/libjpeg-turbo-1.2.1/jconfig.h \
./src/.deps/zm_monitor.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zm_monitor.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zm_monitor.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_rgb.h zm_box.h zm_poly.h \
./src/.deps/zm_monitor.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zm_monitor.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zm_monitor.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zm_monitor.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
./src/.deps/zm_remote_camera.Po: /root/zm/libjpeg-turbo-1.2.1/jconfig.h /usr/include/stdlib.h \
./src/.deps/zm_remote_camera.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zm_remote_camera.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zm_remote_camera.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_rgb.h zm_coord.h zm_box.h \
./src/.deps/zm_remote_camera.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zm_remote_camera.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zm_remote_camera.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zm_remote_camera.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
./src/.deps/zm_detector.Po: /root/zm/libjpeg-turbo-1.2.1/jconfig.h /usr/include/stdlib.h \
./src/.deps/zm_detector.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zm_detector.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zm_detector.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_rgb.h zm_coord.h zm_box.h \
./src/.deps/zm_detector.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zm_detector.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zm_detector.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zm_detector.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
./src/.deps/zmf.Po: /usr/include/setjmp.h jinclude.h /root/zm/libjpeg-turbo-1.2.1/jconfig.h \
./src/.deps/zmf.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zmf.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zmf.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_rgb.h zm_box.h \
./src/.deps/zmf.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zmf.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zmf.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zmf.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
./src/.deps/zm_jpeg.Po: /root/zm/libjpeg-turbo-1.2.1/jconfig.h \
./src/.deps/zm_jpeg.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zm_jpeg.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zm_jpeg.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_logger.h /usr/include/unistd.h \
./src/.deps/zm_jpeg.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zm_jpeg.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zm_jpeg.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zm_jpeg.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
./src/.deps/zm_remote_camera_rtsp.Po: /usr/include/setjmp.h jinclude.h /root/zm/libjpeg-turbo-1.2.1/jconfig.h \
./src/.deps/zm_remote_camera_rtsp.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zm_remote_camera_rtsp.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zm_remote_camera_rtsp.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_rgb.h zm_coord.h zm_box.h \
./src/.deps/zm_remote_camera_rtsp.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zm_remote_camera_rtsp.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zm_remote_camera_rtsp.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zm_remote_camera_rtsp.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
./src/.deps/zm_stream.Po: /usr/include/setjmp.h jinclude.h /root/zm/libjpeg-turbo-1.2.1/jconfig.h \
./src/.deps/zm_stream.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zm_stream.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zm_stream.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_rgb.h zm_box.h zm_poly.h \
./src/.deps/zm_stream.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zm_stream.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zm_stream.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zm_stream.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
./src/.deps/zm_image.Po: /root/zm/libjpeg-turbo-1.2.1/jconfig.h /usr/include/stdlib.h \
./src/.deps/zm_image.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zm_image.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zm_image.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_rgb.h zm_coord.h zm_box.h \
./src/.deps/zm_image.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zm_image.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zm_image.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zm_image.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
./src/.deps/zma.Po: /usr/include/setjmp.h jinclude.h /root/zm/libjpeg-turbo-1.2.1/jconfig.h \
./src/.deps/zma.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zma.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zma.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_rgb.h zm_box.h \
./src/.deps/zma.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zma.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zma.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zma.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
./src/.deps/zmstreamer.Po: /usr/include/setjmp.h jinclude.h /root/zm/libjpeg-turbo-1.2.1/jconfig.h \
./src/.deps/zmstreamer.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zmstreamer.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zmstreamer.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_rgb.h zm_box.h \
./src/.deps/zmstreamer.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zmstreamer.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zmstreamer.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zmstreamer.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
./src/.deps/zm_zone.Po: /usr/include/setjmp.h jinclude.h /root/zm/libjpeg-turbo-1.2.1/jconfig.h \
./src/.deps/zm_zone.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zm_zone.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zm_zone.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_mem_utils.h zm_utils.h \
./src/.deps/zm_zone.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zm_zone.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zm_zone.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zm_zone.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
./src/.deps/zm_image_analyser.Po: /root/zm/libjpeg-turbo-1.2.1/jconfig.h /usr/include/stdlib.h \
./src/.deps/zm_image_analyser.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zm_image_analyser.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zm_image_analyser.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_rgb.h zm_coord.h zm_box.h \
./src/.deps/zm_image_analyser.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zm_image_analyser.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zm_image_analyser.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zm_image_analyser.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
./src/.deps/zm_remote_camera_http.Po: /root/zm/libjpeg-turbo-1.2.1/jconfig.h /usr/include/stdlib.h \
./src/.deps/zm_remote_camera_http.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zm_remote_camera_http.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zm_remote_camera_http.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_rgb.h zm_coord.h zm_box.h \
./src/.deps/zm_remote_camera_http.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zm_remote_camera_http.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zm_remote_camera_http.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zm_remote_camera_http.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
./src/.deps/zms.Po: /usr/include/setjmp.h jinclude.h /root/zm/libjpeg-turbo-1.2.1/jconfig.h \
./src/.deps/zms.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zms.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zms.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_rgb.h zm_box.h \
./src/.deps/zms.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zms.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zms.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zms.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
./src/.deps/zm_camera.Po: /usr/include/setjmp.h jinclude.h /root/zm/libjpeg-turbo-1.2.1/jconfig.h \
./src/.deps/zm_camera.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zm_camera.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zm_camera.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_rgb.h zm_coord.h zm_box.h \
./src/.deps/zm_camera.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zm_camera.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zm_camera.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zm_camera.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
./src/.deps/zm_local_camera.Po: /usr/include/setjmp.h jinclude.h /root/zm/libjpeg-turbo-1.2.1/jconfig.h \
./src/.deps/zm_local_camera.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zm_local_camera.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zm_local_camera.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_rgb.h zm_coord.h zm_box.h \
./src/.deps/zm_local_camera.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zm_local_camera.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zm_local_camera.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zm_local_camera.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
./src/.deps/zmu.Po: /usr/include/setjmp.h jinclude.h /root/zm/libjpeg-turbo-1.2.1/jconfig.h \
./src/.deps/zmu.Po: /root/zm/libjpeg-turbo-1.2.1/jpeglib.h \
./src/.deps/zmu.Po: /root/zm/libjpeg-turbo-1.2.1/jmorecfg.h \
./src/.deps/zmu.Po: /root/zm/libjpeg-turbo-1.2.1/jerror.h zm_rgb.h zm_box.h \
./src/.deps/zmu.Po:/root/zm/libjpeg-turbo-1.2.1/jconfig.h:
./src/.deps/zmu.Po:/root/zm/libjpeg-turbo-1.2.1/jpeglib.h:
./src/.deps/zmu.Po:/root/zm/libjpeg-turbo-1.2.1/jmorecfg.h:
./src/.deps/zmu.Po:/root/zm/libjpeg-turbo-1.2.1/jerror.h:
These .Po files are new. They seem to be static... they weren't dynamically generated at build time. Can someone educate me on what these files are for?
UPDATE: Going to try to delete the src/.deps folder this evening and see if a new set of dependencies are auto-generated for my system.
UPDATE2: Yes, that did it. Simply deleting the .deps folder made the issue go away. Interesting that the .deps folder didn't get recreated; yet everything compiled cleanly.