Re: FreeBSD Port: libv4l-1.18.0 error upgrade
On Sat, 18 Apr 2020, Hans Petter Selasky wrote: On 2020-04-18 16:12, Marcin Cieslak wrote: On Fri, 17 Apr 2020, Hans Petter Selasky wrote: On 2020-04-17 12:52, Alex V. Petrov wrote: Making all in libdvbv5 gmake[4]: Entering directory '/usr/ports/multimedia/libv4l/work/v4l-utils-1.18.0/lib/libdvbv5' You need to deinstall the libv4l package first. Only then it will build due to confliciting header file include order! Can this be improved upon somehow? Like pushing build directory include directories first? Yes, see: https://svnweb.freebsd.org/changeset/ports/531931 thanks - it works. I was able to build libv4l 1.18.0 having 1.6.3_4 installed without issues! Marcin smime.p7s Description: S/MIME Cryptographic Signature
Re: FreeBSD Port: libv4l-1.18.0 error upgrade
On 2020-04-18 16:12, Marcin Cieslak wrote: On Fri, 17 Apr 2020, Hans Petter Selasky wrote: On 2020-04-17 12:52, Alex V. Petrov wrote: Making all in libdvbv5 gmake[4]: Entering directory '/usr/ports/multimedia/libv4l/work/v4l-utils-1.18.0/lib/libdvbv5' You need to deinstall the libv4l package first. Only then it will build due to confliciting header file include order! Can this be improved upon somehow? Like pushing build directory include directories first? Yes, see: https://svnweb.freebsd.org/changeset/ports/531931 --HPS ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: FreeBSD Port: libv4l-1.18.0 error upgrade
On Fri, 17 Apr 2020, Hans Petter Selasky wrote: On 2020-04-17 12:52, Alex V. Petrov wrote: Making all in libdvbv5 gmake[4]: Entering directory '/usr/ports/multimedia/libv4l/work/v4l-utils-1.18.0/lib/libdvbv5' You need to deinstall the libv4l package first. Only then it will build due to confliciting header file include order! Can this be improved upon somehow? Like pushing build directory include directories first? Marcin smime.p7s Description: S/MIME Cryptographic Signature
Re: FreeBSD Port: libv4l-1.18.0 error upgrade
17.04.2020 18:05, Hans Petter Selasky пишет: > On 2020-04-17 12:52, Alex V. Petrov wrote: >> Making all in libdvbv5 >> gmake[4]: Entering directory >> '/usr/ports/multimedia/libv4l/work/v4l-utils-1.18.0/lib/libdvbv5' > > You need to deinstall the libv4l package first. Only then it will build > due to confliciting header file include order! > > --HPS > Yes, It's worked. Thank you. -- - Alex. ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: FreeBSD Port: libv4l-1.18.0 error upgrade
On 2020-04-17 12:52, Alex V. Petrov wrote: Making all in libdvbv5 gmake[4]: Entering directory '/usr/ports/multimedia/libv4l/work/v4l-utils-1.18.0/lib/libdvbv5' You need to deinstall the libv4l package first. Only then it will build due to confliciting header file include order! --HPS ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: FreeBSD Port: libv4l-1.18.0 error upgrade
## Alex V. Petrov (alexvpet...@gmail.com): > ../../lib/include/libdvbv5/dvb-dev.h:258:8: error: unknown type name > 'dvb_logfunc_priv'; did you mean 'dvb_logfunc'? > > dvb_logfunc_priv logfunc, void *logpriv); > > ^~~~ > > dvb_logfunc > /usr/local/include/libdvbv5/dvb-log.h:45:16: note: 'dvb_logfunc' > declared here There's your problem: it's picking up headers from the old version. Remove the old version first (or better: use a clean environment for building, just like poudriere provides). libv4l (yes, 1.18.0) built just fine here in poudriere. Regards, Christoph -- Spare Space ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
FreeBSD Port: libv4l-1.18.0 error upgrade
Making all in libdvbv5 gmake[4]: Entering directory '/usr/ports/multimedia/libv4l/work/v4l-utils-1.18.0/lib/libdvbv5' /bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/local/include -pthread -I../../lib/include -Wall -Wpointer-arith -D_GNU_SOURCE -I../../contrib/freebsd/include -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT libdvbv5_la-compat-soname.lo -MD -MP -MF .deps/libdvbv5_la-compat-soname.Tpo -c -o libdvbv5_la-compat-soname.lo `test -f 'compat-soname.c' || echo './'`compat-soname.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/local/include -pthread -I../../lib/include -Wall -Wpointer-arith -D_GNU_SOURCE -I../../contrib/freebsd/include -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT libdvbv5_la-compat-soname.lo -MD -MP -MF .deps/libdvbv5_la-compat-soname.Tpo -c compat-soname.c -fPIC -DPIC -o .libs/libdvbv5_la-compat-soname.o In file included from compat-soname.c:22: ../../lib/include/libdvbv5/dvb-dev.h:258:8: error: unknown type name 'dvb_logfunc_priv'; did you mean 'dvb_logfunc'? dvb_logfunc_priv logfunc, void *logpriv); ^~~~ dvb_logfunc /usr/local/include/libdvbv5/dvb-log.h:45:16: note: 'dvb_logfunc' declared here typedef void (*dvb_logfunc)(int level, const char *fmt, ...) __attribute__ (( format( printf, 2, 3 ))); ^ 1 error generated. gmake[4]: *** [Makefile:944: libdvbv5_la-compat-soname.lo] Error 1 gmake[4]: Leaving directory '/usr/ports/multimedia/libv4l/work/v4l-utils-1.18.0/lib/libdvbv5' gmake[3]: *** [Makefile:472: all-recursive] Error 1 gmake[3]: Leaving directory '/usr/ports/multimedia/libv4l/work/v4l-utils-1.18.0/lib' gmake[2]: *** [Makefile:590: all-recursive] Error 1 gmake[2]: Leaving directory '/usr/ports/multimedia/libv4l/work/v4l-utils-1.18.0' gmake[1]: *** [Makefile:517: all] Error 2 gmake[1]: Leaving directory '/usr/ports/multimedia/libv4l/work/v4l-utils-1.18.0' *** Error code 1 Stop. make: stopped in /usr/ports/multimedia/libv4l -- - Alex. ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"