Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2020 07:11:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 243603] security/clamav: Doesn't build: [use of undeclared identifier 'lzxd_decompress']
Message-ID:  <bug-243603-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243603

            Bug ID: 243603
           Summary: security/clamav: Doesn't build: [use of undeclared
                    identifier 'lzxd_decompress']
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: admin@vladiom.com.ua

[...]
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../libclammspack -I.. -I./=
nsis
-DWARN_DLOPEN_FAIL -I/usr/local/include -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=3D64 -Wno-unused-parameter
-I../libclammspack/mspack -O2 -pipe -fstack-protector-strong
-fno-strict-aliasing -c ../libclammspack/mspack/cabc.c  -fPIC -DPIC -o
.libs/libclammspack_la-cabc.o
/bin/sh ../libtool  --tag=3DCC   --mode=3Dcompile cc -DHAVE_CONFIG_H -I. -I=
..
-I../libclammspack  -I.. -I./nsis  -DWARN_DLOPEN_FAIL -I/usr/local/include
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=3D64
-Wno-unused-parameter -I../libclammspack/mspack -O2 -pipe=20
-fstack-protector-strong -fno-strict-aliasing   -c -o libclammspack_la-cabd=
.lo
`test -f '../libclammspack/mspack/cabd.c' || echo
'./'`../libclammspack/mspack/cabd.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../libclammspack -I.. -I./=
nsis
-DWARN_DLOPEN_FAIL -I/usr/local/include -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=3D64 -Wno-unused-parameter
-I../libclammspack/mspack -O2 -pipe -fstack-protector-strong
-fno-strict-aliasing -c ../libclammspack/mspack/cabd.c  -fPIC -DPIC -o
.libs/libclammspack_la-cabd.o
../libclammspack/mspack/cabd.c:1181:53: error: use of undeclared identifier
'lzxd_decompress'; did you mean 'qtmd_decompress'?
    self->d->decompress =3D (int (*)(void *, off_t)) &lzxd_decompress;
                                                    ^~~~~~~~~~~~~~~
                                                    qtmd_decompress
../libclammspack/mspack/qtm.h:116:12: note: 'qtmd_decompress' declared here
extern int qtmd_decompress(struct qtmd_stream *qtm, off_t out_bytes);
           ^
../libclammspack/mspack/cabd.c:1182:22: warning: implicit declaration of
function 'lzxd_init' is invalid in C99 [-Wimplicit-function-declaration]
    self->d->state =3D lzxd_init(&self->d->sys, fh, fh, (int) (ct >> 8) & 0=
x1f,
0,
                     ^
../libclammspack/mspack/cabd.c:1182:20: warning: incompatible integer to
pointer conversion assigning to 'void *' from 'int' [-Wint-conversion]
    self->d->state =3D lzxd_init(&self->d->sys, fh, fh, (int) (ct >> 8) & 0=
x1f,
0,
                   ^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libclammspack/mspack/cabd.c:1198:32: warning: implicit declaration of
function 'lzxd_free' is invalid in C99 [-Wimplicit-function-declaration]
  case cffoldCOMPTYPE_LZX:     lzxd_free((struct lzxd_stream *)
self->d->state);    break;
                               ^
../libclammspack/mspack/cabd.c:1272:11: warning: implicit declaration of
function 'lzxd_set_output_length' is invalid in C99
[-Wimplicit-function-declaration]
          lzxd_set_output_length((struct lzxd_stream *) self->d->state,
self->d->outlen);
          ^
4 warnings and 1 error generated.
gmake[5]: *** [Makefile:3760: libclammspack_la-cabd.lo] Error 1
gmake[5]: Leaving directory
'/usr/ports/security/clamav/work/clamav-0.102.1/libclamav'
gmake[4]: *** [Makefile:4320: all-recursive] Error 1
gmake[4]: Leaving directory
'/usr/ports/security/clamav/work/clamav-0.102.1/libclamav'
gmake[3]: *** [Makefile:1463: all] Error 2
gmake[3]: Leaving directory
'/usr/ports/security/clamav/work/clamav-0.102.1/libclamav'
gmake[2]: *** [Makefile:853: all-recursive] Error 1
gmake[2]: Leaving directory '/usr/ports/security/clamav/work/clamav-0.102.1'
gmake[1]: *** [Makefile:649: all] Error 2
gmake[1]: Leaving directory '/usr/ports/security/clamav/work/clamav-0.102.1'
*** Error code 1

Stop.
make: stopped in /usr/ports/security/clamav

# uname -srm
FreeBSD 12.1-RELEASE-p1 amd64

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243603-7788>