Solved Problem building Ekiga 4

Code:
FreeBSD fbsd12 12.0-RELEASE-p5 FreeBSD 12.0-RELEASE-p5 GENERIC  i386

It die during build like this.

Code:
I../lib/engine/components/x-videooutput -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/libxml2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include -DPTRACING=1 -D_REENTRANT -fexceptions -I/usr/local/include -I/usr/local/include/opal -DPTRACING=1 -D_REENTRANT -fexceptions -I/usr/local/include -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -Wall -Wextra -Winit-self -Wswitch-default -Wswitch-enum -Wstrict-aliasing=2 -Wfloat-equal -Wshadow -MT xvwindow.lo -MD -MP -MF .deps/xvwindow.Tpo -c ../lib/gui/xvwindow.cpp  -fPIC -DPIC -o .libs/xvwindow.o
In file included from ../lib/gui/xvwindow.cpp:39:
In file included from ../lib/gui/xvwindow.h:54:
../lib/gui/xwindow.h:247:3: error: unknown type name 'PColourConverter'
  PColourConverter* _colorConverter;
  ^
In file included from ../lib/gui/xwindow.cpp:39:
../lib/gui/xwindow.h:247:3: error: unknown type name 'PColourConverter'
  PColourConverter* _colorConverter;
  ^
../lib/gui/xvwindow.cpp:169:8: error: cannot initialize object parameter of type
      'XWindow' with an expression of type 'XVWindow'
  if (!CreateAtomsAndWindow(gc, x, y, windowWidth, windowHeight)) {
       ^~~~~~~~~~~~~~~~~~~~
../lib/gui/xvwindow.cpp:241:13: error: cannot initialize object parameter of
      type 'XWindow' with an expression of type 'XVWindow'
  _wmType = GetWMType ();
            ^~~~~~~~~
../lib/gui/xvwindow.cpp:242:3: error: cannot initialize object parameter of type
      'XWindow' with an expression of type 'XVWindow'
  CalculateSize (windowWidth, windowHeight, true);
  ^~~~~~~~~~~~~
../lib/gui/xvwindow.cpp:392:95: warning: illegal character encoding in string
      literal [-Winvalid-source-encoding]
  ...Adaptor: %s, type: %s%s%s%s%s, ports: %ld, first port:<A0>%ld", i,
                                                           ^~~~
../lib/gui/xwindow.cpp:266:3: error: unknown type name 'PVideoFrameInfo'
  PVideoFrameInfo srcFrameInfo, dstFrameInfo;
  ^
../lib/gui/xwindow.cpp:268:3: error: use of undeclared identifier
      'dstFrameInfo'; did you mean 'srcFrameInfo'?
  dstFrameInfo.SetFrameSize(_imageWidth,_imageHeight);
  ^~~~~~~~~~~~
  srcFrameInfo
../lib/gui/xwindow.cpp:266:19: note: 'srcFrameInfo' declared here
  PVideoFrameInfo srcFrameInfo, dstFrameInfo;
                  ^
../lib/gui/xvwindow.cpp:522:17: warning: illegal character encoding in string
      literal [-Winvalid-source-encoding]
    PTRACE(4, " <A0>name: <A0> <A0> <A0> " << xvattributes [j].name);
                ^~~~      ~~~~ ~~~~ ~~~~
/usr/local/include/ptlib/object.h:532:51: note: expanded from macro 'PTRACE'
      PTrace::Begin(level, __FILE__, __LINE__) << args << PTrace::End; \
                                                  ^
../lib/gui/xvwindow.cpp:523:17:../lib/gui/xwindow.cpp:269:3: error: use of undeclared identifier
      'dstFrameInfo'; did you mean 'srcFrameInfo'?
  dstFrameInfo.SetColourFormat(_colorFormat);
  ^~~~~~~~~~~~
  srcFrameInfo
../lib/gui/xwindow.cpp:266:19: note: 'srcFrameInfo' declared here
  PVideoFrameInfo srcFrameInfo, dstFrameInfo;
                  ^
 warning: illegal character encoding in string
      literal [-Winvalid-source-encoding]
    PTRACE(4, " <A0>flags: <A0> <A0> " << ((xvattributes [j].flags & XvG...
                ^~~~       ~~~~ ~~~~
/usr/local/include/ptlib/object.h:532:51: note: expanded from macro 'PTRACE'
      PTrace::Begin(level, __FILE__, __LINE__) << args << PTrace::End; \
                                                  ^
../lib/gui/xvwindow.cpp:524:17: warning: illegal character encoding in string
      literal [-Winvalid-source-encoding]
    PTRACE(4, " <A0>min_color: <A0>" << xvattributes [j].min_value);
                ^~~~           ~~~~
/usr/local/include/ptlib/object.h:532:51: ../lib/gui/xwindow.cpp:270:21: error: use of undeclared identifier
      'PColourConverter'
  _colorConverter = PColourConverter::Create(srcFrameInfo, dstFrameInfo);
                    ^
note: expanded from macro 'PTRACE'
      PTrace::Begin(level, __FILE__, __LINE__) << args << PTrace::End; \
                                                  ^
../lib/gui/xwindow.cpp:270:60: error: use of undeclared identifier../lib/gui/xvwindow.cpp:525:17: warning: illegal character encoding in string
      literal [-Winvalid-source-encoding]
    PTRACE(4, " <A0>max_color: <A0>" << xvattributes [j].max_value);
                ^~~~           ~~~~
/usr/local/include/ptlib/object.h:532:51: note: expanded from macro 'PTRACE'
      PTrace::Begin(level, __FILE__, __LINE__) << args << PTrace::End; \
                                                  ^

      'dstFrameInfo'
  _colorConverter = PColourConverter::Create(srcFrameInfo, dstFrameInfo);
                                                           ^
In file included from ../lib/gui/xwindow.cpp:39:
../lib/gui/xwindow.h:247:21: warning: private field '_colorConverter' is not
      used [-Wunused-private-field]
  PColourConverter* _colorConverter;
                    ^
1 warning and 6 errors generated.
gmake[5]: *** [Makefile:1773: xwindow.lo] Error 1
gmake[5]: *** Attesa per i processi non terminati....
5 warnings and 4 errors generated.
gmake[5]: *** [Makefile:1780: xvwindow.lo] Error 1
gmake[5]: uscita dalla directory "/ports/net-im/ekiga/work/ekiga-4.0.1/lib"
gmake[4]: *** [Makefile:1264: all] Error 2
gmake[4]: uscita dalla directory "/ports/net-im/ekiga/work/ekiga-4.0.1/lib"
gmake[3]: *** [Makefile:575: all-recursive] Error 1
gmake[3]: uscita dalla directory "/ports/net-im/ekiga/work/ekiga-4.0.1"
gmake[2]: *** [Makefile:458: all] Error 2
gmake[2]: uscita dalla directory "/ports/net-im/ekiga/work/ekiga-4.0.1"
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
I have no idea. Where should I look?
 
Well, weird for sure, it now build, after 20 days from original issue. It happen. I see they (maintainers) did bump Egika version up a bit, so they probably fixed it.

In the meantime old version of Ekiga worked fine even if it wasn't updated from long time according with the rest of the system.

So, yes, it is solved, then I don't know who and how solved it.
 
Back
Top