Hi I recently updated my ports tree and all sorts of fun stuff broke including zoneminder
Here is the output of a make:
[root@zfsbsd64 /usr/ports/multimedia/zoneminder]# make clean
===> Cleaning for zoneminder-1.22.3,1
[root@zfsbsd64 /usr/ports/multimedia/zoneminder]# make install
===> Vulnerability check disabled, database not found
===> Extracting for zoneminder-1.22.3,1
=> MD5 Checksum OK for ZoneMinder-1.22.3.tar.gz.
=> SHA256 Checksum OK for ZoneMinder-1.22.3.tar.gz.
===> zoneminder-1.22.3,1 depends on file: /usr/local/bin/perl5.8.9 - found
===> Patching for zoneminder-1.22.3,1
===> zoneminder-1.22.3,1 depends on file: /usr/local/bin/perl5.8.9 - found
===> Applying FreeBSD patches for zoneminder-1.22.3,1
===> zoneminder-1.22.3,1 depends on file: /usr/local/bin/mysqld_safe - found
===> zoneminder-1.22.3,1 depends on file: /usr/local/bin/php-config - found
===> zoneminder-1.22.3,1 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/mach/DBI.pm - found
===> zoneminder-1.22.3,1 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/mach/DBD/mysql.pm - found
===> zoneminder-1.22.3,1 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/Date/Manip.pm - found
===> zoneminder-1.22.3,1 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/LWP.pm - found
===> zoneminder-1.22.3,1 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/Archive/Zip.pm - found
===> zoneminder-1.22.3,1 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/Archive/Tar.pm - found
===> zoneminder-1.22.3,1 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/MIME/Lite.pm - found
===> zoneminder-1.22.3,1 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/MIME/Entity.pm - found
===> zoneminder-1.22.3,1 depends on file: /usr/local/bin/perl5.8.9 - found
===> zoneminder-1.22.3,1 depends on shared library: jpeg.9 - found
===> zoneminder-1.22.3,1 depends on shared library: netpbm.1 - found
===> zoneminder-1.22.3,1 depends on shared library: pcre.0 - found
===> zoneminder-1.22.3,1 depends on shared library: avutil.1 - found
===> Configuring for zoneminder-1.22.3,1
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
test: localhost: unexpected operator
test: zm: unexpected operator
test: zmuser: unexpected operator
test: zmpass: unexpected operator
configure: WARNING: You can call configure with the --with-libarch option.
This tells configure where to find architecture specific libraries.
The default of 'lib' is usually ok but 64 bit machines may require lib64.
e.g. --with-libarch=lib or --with-libarch=lib64
configure: WARNING: You can call configure with the --enable-debug=<yes> or --disable-debug option.
This tells configure whether to compile ZoneMinder with debug included. Although debug is included
by default it is not output unless explicitly switched on elsewhere. These checks may induce a
small penalty on performance and if you are after squeezing the maximum possible performance out
of ZoneMinder you may use this switch to prevent debug from being compiled in.
e.g. --enable-debug=yes or --disable-debug
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for siginfo_t... yes
checking for struct sigcontext... yes
checking for struct sigcontext.eip... no
checking for ucontext_t... no
checking how to run the C++ preprocessor... c++ -E
checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking whether round is declared... yes
checking whether strsignal is declared... yes
checking whether MD5 is declared... yes
checking whether backtrace is declared... yes
checking for jpeg_start_compress in -ljpeg... yes
checking for compress in -lz... yes
checking for dlsym in -ldl... yes
checking for mysql_init in -lmysqlclient... yes
checking for MD5 in -lcrypto... yes
checking for pcre_compile in -lpcre... yes
checking for ff_gcd in -lavutil... yes
checking for avcodec_init in -lavcodec... yes
checking for av_new_stream in -lavformat... yes
checking for perl... perl
checking for perl version greater than or equal to 5.6.0... ok
checking for perl module Sys::Syslog... ok
checking for perl module DBI... ok
checking for perl module DBD::mysql... ok
checking for perl module Getopt::Long... ok
checking for perl module Time::HiRes... ok
checking for perl module Date::Manip... ok
checking for perl module LWP::UserAgent... ok
checking for perl module Device::SerialPort... no
configure: WARNING: Device::SerialPort is required for RS232/RS485 PTZ camera control
checking for perl module Net::FTP... ok
checking for perl module Archive::Tar... no
configure: WARNING: Archive::Tar may be required for automatic event uploading
checking for perl module Archive::Zip... ok
checking for perl module Net::SMTP... ok
checking for perl module MIME::Lite... ok
checking for perl module MIME::Entity... ok
checking for perl module X10::ActiveHome... no
configure: WARNING: X10::ActiveHome is required for X.10 support
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating web/Makefile
config.status: creating web/graphics/Makefile
config.status: creating scripts/Makefile
config.status: creating db/Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating web/Makefile
config.status: creating web/graphics/Makefile
config.status: creating scripts/Makefile
config.status: creating db/Makefile
config.status: creating zm.conf
config.status: creating src/zm_config.h
config.status: creating web/zm_config.php
config.status: creating scripts/zm
config.status: creating db/zm_create.sql
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating web/Makefile
config.status: creating web/graphics/Makefile
config.status: creating scripts/Makefile
config.status: creating db/Makefile
config.status: creating zm.conf
config.status: creating src/zm_config.h
config.status: creating web/zm_config.php
config.status: creating scripts/zm
config.status: creating db/zm_create.sql
config.status: creating scripts/ZoneMinder/lib/ZoneMinder/Base.pm
config.status: creating scripts/ZoneMinder/lib/ZoneMinder/Config.pm
config.status: creating scripts/ZoneMinder/lib/ZoneMinder/ConfigAdmin.pm
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
checking for scripts/ZoneMinder/Makefile... no
Checking if your kit is complete...
Looks good
Writing Makefile for ZoneMinder
===> Building for zoneminder-1.22.3,1
/bin/cp /usr/ports/multimedia/zoneminder/files/videodev.h /usr/ports/multimedia/zoneminder/work/ZoneMinder-1.22.3/src
/bin/cp /usr/ports/multimedia/zoneminder/files/zm_fbsd_camera.cpp /usr/ports/multimedia/zoneminder/work/ZoneMinder-1.22.3/src
/bin/cp /usr/ports/multimedia/zoneminder/files/zm_fbsd_camera.h /usr/ports/multimedia/zoneminder/work/ZoneMinder-1.22.3/src
make all-recursive
Making all in src
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -I/usr/local/include -I/usr/local/include -I/usr/local/include/ -MT zmc.o -MD -MP -MF ".deps/zmc.Tpo" -c -o zmc.o zmc.cpp; then mv -f ".deps/zmc.Tpo" ".deps/zmc.Po"; else rm -f ".deps/zmc.Tpo"; exit 1; fi
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -I/usr/local/include -I/usr/local/include -I/usr/local/include/ -MT zm.o -MD -MP -MF ".deps/zm.Tpo" -c -o zm.o zm.cpp; then mv -f ".deps/zm.Tpo" ".deps/zm.Po"; else rm -f ".deps/zm.Tpo"; exit 1; fi
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -I/usr/local/include -I/usr/local/include -I/usr/local/include/ -MT zm_db.o -MD -MP -MF ".deps/zm_db.Tpo" -c -o zm_db.o zm_db.cpp; then mv -f ".deps/zm_db.Tpo" ".deps/zm_db.Po"; else rm -f ".deps/zm_db.Tpo"; exit 1; fi
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -I/usr/local/include -I/usr/local/include -I/usr/local/include/ -MT zm_config.o -MD -MP -MF ".deps/zm_config.Tpo" -c -o zm_config.o zm_config.cpp; then mv -f ".deps/zm_config.Tpo" ".deps/zm_config.Po"; else rm -f ".deps/zm_config.Tpo"; exit 1; fi
zm_config.cpp:27: warning: deprecated conversion from string constant to 'char*'
zm_config.cpp:27: warning: deprecated conversion from string constant to 'char*'
zm_config.cpp:27: warning: deprecated conversion from string constant to 'char*'
zm_config.cpp:27: warning: deprecated conversion from string constant to 'char*'
zm_config.cpp:27: warning: deprecated conversion from string constant to 'char*'
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -I/usr/local/include -I/usr/local/include -I/usr/local/include/ -MT zm_coord.o -MD -MP -MF ".deps/zm_coord.Tpo" -c -o zm_coord.o zm_coord.cpp; then mv -f ".deps/zm_coord.Tpo" ".deps/zm_coord.Po"; else rm -f ".deps/zm_coord.Tpo"; exit 1; fi
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -I/usr/local/include -I/usr/local/include -I/usr/local/include/ -MT zm_box.o -MD -MP -MF ".deps/zm_box.Tpo" -c -o zm_box.o zm_box.cpp; then mv -f ".deps/zm_box.Tpo" ".deps/zm_box.Po"; else rm -f ".deps/zm_box.Tpo"; exit 1; fi
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -I/usr/local/include -I/usr/local/include -I/usr/local/include/ -MT zm_poly.o -MD -MP -MF ".deps/zm_poly.Tpo" -c -o zm_poly.o zm_poly.cpp; then mv -f ".deps/zm_poly.Tpo" ".deps/zm_poly.Po"; else rm -f ".deps/zm_poly.Tpo"; exit 1; fi
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -I/usr/local/include -I/usr/local/include -I/usr/local/include/ -MT zm_image.o -MD -MP -MF ".deps/zm_image.Tpo" -c -o zm_image.o zm_image.cpp; then mv -f ".deps/zm_image.Tpo" ".deps/zm_image.Po"; else rm -f ".deps/zm_image.Tpo"; exit 1; fi
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -I/usr/local/include -I/usr/local/include -I/usr/local/include/ -MT zm_event.o -MD -MP -MF ".deps/zm_event.Tpo" -c -o zm_event.o zm_event.cpp; then mv -f ".deps/zm_event.Tpo" ".deps/zm_event.Po"; else rm -f ".deps/zm_event.Tpo"; exit 1; fi
In file included from /usr/local/include/ffmpeg/avformat.h:40,
from zm_mpeg.h:29,
from zm_event.cpp:30:
/usr/local/include/libavcodec/avcodec.h:2353: warning: 'ImgReSampleContext' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:2347)
/usr/local/include/libavcodec/avcodec.h:2363: warning: 'ImgReSampleContext' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:2347)
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -I/usr/local/include -I/usr/local/include -I/usr/local/include/ -MT zm_zone.o -MD -MP -MF ".deps/zm_zone.Tpo" -c -o zm_zone.o zm_zone.cpp; then mv -f ".deps/zm_zone.Tpo" ".deps/zm_zone.Po"; else rm -f ".deps/zm_zone.Tpo"; exit 1; fi
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -I/usr/local/include -I/usr/local/include -I/usr/local/include/ -MT zm_camera.o -MD -MP -MF ".deps/zm_camera.Tpo" -c -o zm_camera.o zm_camera.cpp; then mv -f ".deps/zm_camera.Tpo" ".deps/zm_camera.Po"; else rm -f ".deps/zm_camera.Tpo"; exit 1; fi
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -I/usr/local/include -I/usr/local/include -I/usr/local/include/ -MT zm_fbsd_camera.o -MD -MP -MF ".deps/zm_fbsd_camera.Tpo" -c -o zm_fbsd_camera.o zm_fbsd_camera.cpp; then mv -f ".deps/zm_fbsd_camera.Tpo" ".deps/zm_fbsd_camera.Po"; else rm -f ".deps/zm_fbsd_camera.Tpo"; exit 1; fi
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -I/usr/local/include -I/usr/local/include -I/usr/local/include/ -MT zm_remote_camera.o -MD -MP -MF ".deps/zm_remote_camera.Tpo" -c -o zm_remote_camera.o zm_remote_camera.cpp; then mv -f ".deps/zm_remote_camera.Tpo" ".deps/zm_remote_camera.Po"; else rm -f ".deps/zm_remote_camera.Tpo"; exit 1; fi
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -I/usr/local/include -I/usr/local/include -I/usr/local/include/ -MT zm_file_camera.o -MD -MP -MF ".deps/zm_file_camera.Tpo" -c -o zm_file_camera.o zm_file_camera.cpp; then mv -f ".deps/zm_file_camera.Tpo" ".deps/zm_file_camera.Po"; else rm -f ".deps/zm_file_camera.Tpo"; exit 1; fi
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -I/usr/local/include -I/usr/local/include -I/usr/local/include/ -MT zm_monitor.o -MD -MP -MF ".deps/zm_monitor.Tpo" -c -o zm_monitor.o zm_monitor.cpp; then mv -f ".deps/zm_monitor.Tpo" ".deps/zm_monitor.Po"; else rm -f ".deps/zm_monitor.Tpo"; exit 1; fi
In file included from /usr/local/include/ffmpeg/avformat.h:40,
from zm_mpeg.h:29,
from zm_monitor.cpp:26:
/usr/local/include/libavcodec/avcodec.h:2353: warning: 'ImgReSampleContext' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:2347)
/usr/local/include/libavcodec/avcodec.h:2363: warning: 'ImgReSampleContext' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:2347)
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -I/usr/local/include -I/usr/local/include -I/usr/local/include/ -MT zm_user.o -MD -MP -MF ".deps/zm_user.Tpo" -c -o zm_user.o zm_user.cpp; then mv -f ".deps/zm_user.Tpo" ".deps/zm_user.Po"; else rm -f ".deps/zm_user.Tpo"; exit 1; fi
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -I/usr/local/include -I/usr/local/include -I/usr/local/include/ -MT zm_mpeg.o -MD -MP -MF ".deps/zm_mpeg.Tpo" -c -o zm_mpeg.o zm_mpeg.cpp; then mv -f ".deps/zm_mpeg.Tpo" ".deps/zm_mpeg.Po"; else rm -f ".deps/zm_mpeg.Tpo"; exit 1; fi
In file included from /usr/local/include/ffmpeg/avformat.h:40,
from zm_mpeg.h:29,
from zm_mpeg.cpp:24:
/usr/local/include/libavcodec/avcodec.h:2353: warning: 'ImgReSampleContext' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:2347)
/usr/local/include/libavcodec/avcodec.h:2363: warning: 'ImgReSampleContext' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:2347)
zm_mpeg.cpp: In destructor 'VideoStream::~VideoStream()':
zm_mpeg.cpp:280: error: cannot convert 'ByteIOContext**' to 'ByteIOContext*' for argument '1' to 'int url_fclose(ByteIOContext*)'
zm_mpeg.cpp: In member function 'double VideoStream::EncodeFrame(uint8_t*, int, bool, unsigned int)':
zm_mpeg.cpp:308: warning: 'img_convert' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:2515)
zm_mpeg.cpp:310: warning: 'img_convert' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:2515)
*** Error code 1
Stop in /usr/ports/multimedia/zoneminder/work/ZoneMinder-1.22.3/src.
*** Error code 1
Stop in /usr/ports/multimedia/zoneminder/work/ZoneMinder-1.22.3.
*** Error code 1
Stop in /usr/ports/multimedia/zoneminder/work/ZoneMinder-1.22.3.
*** Error code 1
Stop in /usr/ports/multimedia/zoneminder.
I'm kinda stuck as to what the problem could be.