Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2014 00:15:08 +0600
From:      Sergey Maltsev <core.dumped.sm@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/190206: The port net-im/licq-icq doesn't build
Message-ID:  <CAC-s=RQ4ryL6jydy6O5x-30DdvQtr9BAK6o==Ux0Ji-N_y0paw@mail.gmail.com>
Resent-Message-ID: <201405251820.s4PIK0wR041158@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         190206
>Category:       ports
>Synopsis:       The port net-im/licq-icq doesn't build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 25 18:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Maltsev
>Release:        FreeBSD 10.0-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD computer.planet-a.ru 10.0-RELEASE-p3 FreeBSD
10.0-RELEASE-p3 #0: Tue May 13 18:31:10 UTC 2014
root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
I tried build the latest version of port net-im/licq-qt-gui. This port
depends on another ports: net-im/licq and net-im/licq-icq.
The port net-im/licq successfully built and installed:
# pkg info | grep licq
licq-base-1.8.0_2              A popular ICQ-compatible plugin-based program
But the port net-im/licq-icq doesn't build.

>How-To-Repeat:
      cd /usr/ports/net-im/licq-qt-gui && make
      or
      cd /usr/ports/net-im/licq-icq && make
      ........

===>  Staging for licq-qt4-gui-1.8.0_1
===>   licq-qt4-gui-1.8.0_1 depends on file:
/usr/local/lib/licq/protocol_icq.so - not found
===>    Verifying install for /usr/local/lib/licq/protocol_icq.so in
/usr/ports/net-im/licq-icq
===>  License GPLv2 accepted by the user
===>  Found saved configuration for licq-icq-1.8.0_1
===>   licq-icq-1.8.0_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by licq-icq-1.8.0_1 for building
===>  Extracting for licq-icq-1.8.0_1
=> SHA256 Checksum OK for licq-1.8.0.tar.bz2.
===>  Patching for licq-icq-1.8.0_1
===>  Applying FreeBSD patches for licq-icq-1.8.0_1
===>   licq-icq-1.8.0_1 depends on executable: licq - found
===>   licq-icq-1.8.0_1 depends on file: /usr/local/bin/cmake - found
===>   licq-icq-1.8.0_1 depends on shared library: libboost_regex.so - found
===>  Configuring for licq-icq-1.8.0_1
===>  Performing in-source build
/bin/mkdir -p /usr/ports/net-im/licq-icq/work/licq-1.8.0/plugins/icq
-- The C compiler identification is Clang 3.3.0
-- The CXX compiler identification is Clang 3.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Licq headers: /usr/local/include
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Found Threads: TRUE
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   regex
-- Checking to see if CXX compiler accepts flag -Wall
-- Checking to see if CXX compiler accepts flag -Wall - yes
-- Checking to see if CXX compiler accepts flag -Wextra
-- Checking to see if CXX compiler accepts flag -Wextra - yes
-- Creating
/usr/ports/net-im/licq-icq/work/licq-1.8.0/plugins/icq/pluginversion.h
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_FLAGS_DEBUG
    CMAKE_C_FLAGS_DEBUG
    CMAKE_C_FLAGS_RELEASE
    CMAKE_EXE_LINKER_FLAGS
    CMAKE_SHARED_LINKER_FLAGS


-- Build files have been written to:
/usr/ports/net-im/licq-icq/work/licq-1.8.0/plugins/icq
===>  Building for licq-icq-1.8.0_1
Scanning dependencies of target protocol_icq
[  5%] Building CXX object src/CMakeFiles/protocol_icq.dir/buffer.cpp.o
[ 10%] Building CXX object
src/CMakeFiles/protocol_icq.dir/chat.cpp.o

[ 15%] Building CXX object
src/CMakeFiles/protocol_icq.dir/codes.cpp.o

[ 21%] Building CXX object
src/CMakeFiles/protocol_icq.dir/factory.cpp.o

[ 26%] Building CXX object
src/CMakeFiles/protocol_icq.dir/filetransfer.cpp.o

In file included from
/usr/ports/net-im/licq-icq/work/licq-1.8.0/plugins/icq/src/filetransfer.cpp:20:
In file included from
/usr/ports/net-im/licq-icq/work/licq-1.8.0/plugins/icq/src/filetransfer.h:23:
/usr/local/include/licq/icq/filetransfer.h:142:3: error: unknown type name
'time_t'
  time_t BatchStartTime() { return m_nBatchStartTime; }
  ^
/usr/local/include/licq/icq/filetransfer.h:154:3: error: unknown type name
'time_t'
  time_t StartTime() { return m_nStartTime; }
  ^
/usr/local/include/licq/icq/filetransfer.h:181:3: error: unknown type name
'time_t'
  time_t m_nStartTime, m_nBatchStartTime;
  ^
/usr/ports/net-im/licq-icq/work/licq-1.8.0/plugins/icq/src/filetransfer.cpp:1105:8:
error: cannot initialize object parameter
      of type 'const Licq::IcqFileTransferManager' with an expression of
type 'CFileTransferManager'
      (aka 'LicqIcq::FileTransferManager')
  if (!ftman->isReceiver())
       ^~~~~
/usr/ports/net-im/licq-icq/work/licq-1.8.0/plugins/icq/src/filetransfer.cpp:1113:13:
error: cannot initialize object parameter
      of type 'const Licq::IcqFileTransferManager' with an expression of
type 'CFileTransferManager'
      (aka 'LicqIcq::FileTransferManager')
  else if (!ftman->isReceiver())
            ^~~~~
/usr/ports/net-im/licq-icq/work/licq-1.8.0/plugins/icq/src/filetransfer.cpp:1270:25:
error: cannot initialize object parameter
      of type 'const Licq::IcqFileTransferManager' with an expression of
type 'LicqIcq::FileTransferManager'
  Licq::UserId userId = rc->m->userId();
                        ^~~~~
6 errors generated.
*** Error code 1

Stop.
make[6]: stopped in /usr/ports/net-im/licq-icq/work/licq-1.8.0/plugins/icq
*** Error code 1

Stop.
make[5]: stopped in /usr/ports/net-im/licq-icq/work/licq-1.8.0/plugins/icq
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/net-im/licq-icq/work/licq-1.8.0/plugins/icq
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/net-im/licq-icq
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/net-im/licq-icq
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net-im/licq-qt-gui
*** Error code 1

Stop.
make: stopped in /usr/ports/net-im/licq-qt-gui

>Fix:

--001a11c246dc56cacd04fa3d713f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">&gt;Submitter-Id:=C2=A0 current-users<br>&gt;Originator:=
=C2=A0=C2=A0=C2=A0 Sergey Maltsev<br>&gt;Organization:=C2=A0 <br>&gt;Confid=
ential:=C2=A0 no <br>&gt;Synopsis:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 The port n=
et-im/licq-icq doesn&#39;t build<br>&gt;Severity:=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0 non-critical<br>
&gt;Priority:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 low<br>&gt;Category:=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 ports<br>&gt;Class:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 sw-bug<br>&gt;Release:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
FreeBSD 10.0-RELEASE-p3 amd64<br>&gt;Environment:<br>System: FreeBSD <a hre=
f=3D"http://computer.planet-a.ru">computer.planet-a.ru</a>; 10.0-RELEASE-p3 =
FreeBSD 10.0-RELEASE-p3 #0: Tue May 13 18:31:10 UTC 2014 root@amd64-builder=
.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64<br>
&gt;Description:<br>I tried build the latest version of port net-im/licq-qt=
-gui. This port depends on another ports: net-im/licq and net-im/licq-icq.<=
br>The port net-im/licq successfully built and installed: <br># pkg info | =
grep licq<br>
licq-base-1.8.0_2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 A popular ICQ-compatible plugin-based program<br>But =
the port net-im/licq-icq doesn&#39;t build. <br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 <br>&gt;How-To-Repeat:<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 cd=
 /usr/ports/net-im/licq-qt-gui &amp;&amp; make<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 or <br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 cd /us=
r/ports/net-im/licq-icq &amp;&amp; make<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 .=
.......<br><br>=3D=3D=3D&gt;=C2=A0 Staging for licq-qt4-gui-1.8.0_1<br>=3D=
=3D=3D&gt;=C2=A0=C2=A0 licq-qt4-gui-1.8.0_1 depends on file: /usr/local/lib=
/licq/protocol_icq.so - not found<br>
=3D=3D=3D&gt;=C2=A0=C2=A0=C2=A0 Verifying install for /usr/local/lib/licq/p=
rotocol_icq.so in /usr/ports/net-im/licq-icq<br>=3D=3D=3D&gt;=C2=A0 License=
 GPLv2 accepted by the user<br>=3D=3D=3D&gt;=C2=A0 Found saved configuratio=
n for licq-icq-1.8.0_1<br>=3D=3D=3D&gt;=C2=A0=C2=A0 licq-icq-1.8.0_1 depend=
s on file: /usr/local/sbin/pkg - found<br>
=3D=3D=3D&gt; Fetching all distfiles required by licq-icq-1.8.0_1 for build=
ing<br>=3D=3D=3D&gt;=C2=A0 Extracting for licq-icq-1.8.0_1<br>=3D&gt; SHA25=
6 Checksum OK for licq-1.8.0.tar.bz2.<br>=3D=3D=3D&gt;=C2=A0 Patching for l=
icq-icq-1.8.0_1<br>=3D=3D=3D&gt;=C2=A0 Applying FreeBSD patches for licq-ic=
q-1.8.0_1<br>
=3D=3D=3D&gt;=C2=A0=C2=A0 licq-icq-1.8.0_1 depends on executable: licq - fo=
und<br>=3D=3D=3D&gt;=C2=A0=C2=A0 licq-icq-1.8.0_1 depends on file: /usr/loc=
al/bin/cmake - found<br>=3D=3D=3D&gt;=C2=A0=C2=A0 licq-icq-1.8.0_1 depends =
on shared library: libboost_regex.so - found<br>
=3D=3D=3D&gt;=C2=A0 Configuring for licq-icq-1.8.0_1<br>=3D=3D=3D&gt;=C2=A0=
 Performing in-source build<br>/bin/mkdir -p /usr/ports/net-im/licq-icq/wor=
k/licq-1.8.0/plugins/icq<br>-- The C compiler identification is Clang 3.3.0=
<br>-- The CXX compiler identification is Clang 3.3.0<br>
-- Check for working C compiler: /usr/bin/cc<br>-- Check for working C comp=
iler: /usr/bin/cc -- works<br>-- Detecting C compiler ABI info<br>-- Detect=
ing C compiler ABI info - done<br>-- Check for working CXX compiler: /usr/b=
in/c++<br>
-- Check for working CXX compiler: /usr/bin/c++ -- works<br>-- Detecting CX=
X compiler ABI info<br>-- Detecting CXX compiler ABI info - done<br>-- Foun=
d Licq headers: /usr/local/include<br>-- Looking for include file pthread.h=
<br>
-- Looking for include file pthread.h - found<br>-- Found Threads: TRUE=C2=
=A0 <br>-- Boost version: 1.55.0<br>-- Found the following Boost libraries:=
<br>--=C2=A0=C2=A0 regex<br>-- Checking to see if CXX compiler accepts flag=
 -Wall<br>-- Checking to see if CXX compiler accepts flag -Wall - yes<br>
-- Checking to see if CXX compiler accepts flag -Wextra<br>-- Checking to s=
ee if CXX compiler accepts flag -Wextra - yes<br>-- Creating /usr/ports/net=
-im/licq-icq/work/licq-1.8.0/plugins/icq/pluginversion.h<br>-- Configuring =
done<br>
-- Generating done<br>CMake Warning:<br>=C2=A0 Manually-specified variables=
 were not used by the project:<br><br>=C2=A0=C2=A0=C2=A0 CMAKE_CXX_FLAGS_DE=
BUG<br>=C2=A0=C2=A0=C2=A0 CMAKE_C_FLAGS_DEBUG<br>=C2=A0=C2=A0=C2=A0 CMAKE_C=
_FLAGS_RELEASE<br>=C2=A0=C2=A0=C2=A0 CMAKE_EXE_LINKER_FLAGS<br>
=C2=A0=C2=A0=C2=A0 CMAKE_SHARED_LINKER_FLAGS<br><br><br>-- Build files have=
 been written to: /usr/ports/net-im/licq-icq/work/licq-1.8.0/plugins/icq<br=
>Release-Note:
>Audit-Trail:
>Unformatted:
 --001a11c246dc56cacd04fa3d713f
 Content-Type: text/plain; charset=UTF-8
 
 >=3D=3D=3D&gt;=C2=A0 Building for licq-icq-1.8.0_1<br>Scanning dependencies=
  of target protocol_icq<br>
 [=C2=A0 5%] Building CXX object src/CMakeFiles/protocol_icq.dir/buffer.cpp.=
 o<br>[ 10%] Building CXX object src/CMakeFiles/protocol_icq.dir/chat.cpp.o=
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
 =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
 =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <br>[ 15%] Building CXX object src/CMa=
 keFiles/protocol_icq.dir/codes.cpp.o=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
 =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
 =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <br>
 [ 21%] Building CXX object src/CMakeFiles/protocol_icq.dir/factory.cpp.o=C2=
 =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
 =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
 =A0=C2=A0=C2=A0 <br>[ 26%] Building CXX object src/CMakeFiles/protocol_icq.=
 dir/filetransfer.cpp.o=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
 =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
 =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 =C2=A0=C2=A0 <br>
 In file included from /usr/ports/net-im/licq-icq/work/licq-1.8.0/plugins/ic=
 q/src/filetransfer.cpp:20:<br>In file included from /usr/ports/net-im/licq-=
 icq/work/licq-1.8.0/plugins/icq/src/filetransfer.h:23:<br>/usr/local/includ=
 e/licq/icq/filetransfer.h:142:3: error: unknown type name &#39;time_t&#39;<=
 br>
 =C2=A0 time_t BatchStartTime() { return m_nBatchStartTime; }<br>=C2=A0 ^<br=
 >/usr/local/include/licq/icq/filetransfer.h:154:3: error: unknown type name=
  &#39;time_t&#39;<br>=C2=A0 time_t StartTime() { return m_nStartTime; }<br>=
 =C2=A0 ^<br>/usr/local/include/licq/icq/filetransfer.h:181:3: error: unknow=
 n type name &#39;time_t&#39;<br>
 =C2=A0 time_t m_nStartTime, m_nBatchStartTime;<br>=C2=A0 ^<br>/usr/ports/ne=
 t-im/licq-icq/work/licq-1.8.0/plugins/icq/src/filetransfer.cpp:1105:8: erro=
 r: cannot initialize object parameter<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 of =
 type &#39;const Licq::IcqFileTransferManager&#39; with an expression of typ=
 e &#39;CFileTransferManager&#39;<br>
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (aka &#39;LicqIcq::FileTransferManager&#39;)=
 <br>=C2=A0 if (!ftman-&gt;isReceiver())<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 =C2=A0 ^~~~~<br>/usr/ports/net-im/licq-icq/work/licq-1.8.0/plugins/icq/src/=
 filetransfer.cpp:1113:13: error: cannot initialize object parameter<br>
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 of type &#39;const Licq::IcqFileTransferMana=
 ger&#39; with an expression of type &#39;CFileTransferManager&#39;<br>=C2=
 =A0=C2=A0=C2=A0=C2=A0=C2=A0 (aka &#39;LicqIcq::FileTransferManager&#39;)<br=
 >=C2=A0 else if (!ftman-&gt;isReceiver())<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^~~~~<br>
 /usr/ports/net-im/licq-icq/work/licq-1.8.0/plugins/icq/src/filetransfer.cpp=
 :1270:25: error: cannot initialize object parameter<br>=C2=A0=C2=A0=C2=A0=
 =C2=A0=C2=A0 of type &#39;const Licq::IcqFileTransferManager&#39; with an e=
 xpression of type &#39;LicqIcq::FileTransferManager&#39;<br>
 =C2=A0 Licq::UserId userId =3D rc-&gt;m-&gt;userId();<br>=C2=A0=C2=A0=C2=A0=
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
 =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^~~~~<br>6 errors generated.<=
 br>*** Error code 1<br><br>Stop.<br>make[6]: stopped in /usr/ports/net-im/l=
 icq-icq/work/licq-1.8.0/plugins/icq<br>*** Error code 1<br>
 <br>Stop.<br>make[5]: stopped in /usr/ports/net-im/licq-icq/work/licq-1.8.0=
 /plugins/icq<br>*** Error code 1<br><br>Stop.<br>make[4]: stopped in /usr/p=
 orts/net-im/licq-icq/work/licq-1.8.0/plugins/icq<br>*** Error code 1<br>
 <br>Stop.<br>make[3]: stopped in /usr/ports/net-im/licq-icq<br>*** Error co=
 de 1<br><br>Stop.<br>make[2]: stopped in /usr/ports/net-im/licq-icq<br>*** =
 Error code 1<br><br>Stop.<br>make[1]: stopped in /usr/ports/net-im/licq-qt-=
 gui<br>
 *** Error code 1<br><br>Stop.<br>make: stopped in /usr/ports/net-im/licq-qt=
 -gui<br><br>&gt;Fix:<br><br></div>
 
 --001a11c246dc56cacd04fa3d713f--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAC-s=RQ4ryL6jydy6O5x-30DdvQtr9BAK6o==Ux0Ji-N_y0paw>