Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2015 12:12:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 196720] devel/libhtp fails to compile due to missing function iconvctl() and missing constants ICONV_SET_TRANSLITERATE and ICONV_SET_DISCARD_ILSEQ
Message-ID:  <bug-196720-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 196720
           Summary: devel/libhtp fails to compile due to missing function
                    iconvctl() and missing constants
                    ICONV_SET_TRANSLITERATE and ICONV_SET_DISCARD_ILSEQ
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: koobs@FreeBSD.org
          Reporter: Trond.Endrestol@ximalas.info
          Assignee: koobs@FreeBSD.org
             Flags: maintainer-feedback?(koobs@FreeBSD.org)

I'm trying to compile security/suricata, and ran into problems when compiling
devel/libhtp.

No matter if I configure security/suricata to use suricata's builtin libhtp or
to use devel/libhtp, both attempts fail with error messages such as:

--- htp_transcoder.lo ---
htp_transcoder.c:68:5: warning: implicit declaration of function 'iconvctl' is
invalid in C99 [-Wimplicit-function-declaration]
    iconvctl(cd, ICONV_SET_TRANSLITERATE, &iconv_param);
    ^
htp_transcoder.c:68:18: error: use of undeclared identifier
'ICONV_SET_TRANSLITERATE'
    iconvctl(cd, ICONV_SET_TRANSLITERATE, &iconv_param);
                 ^
htp_transcoder.c:70:18: error: use of undeclared identifier
'ICONV_SET_DISCARD_ILSEQ'
    iconvctl(cd, ICONV_SET_DISCARD_ILSEQ, &iconv_param);
                 ^
1 warning and 2 errors generated.
*** [htp_transcoder.lo] Error code 1

make[3]: stopped in
/usr/ports/workdirs/usr/ports/devel/libhtp/work/OISF-libhtp-4cb1b99/htp

I even recompiled devel/libiconv and everything depending on that library,
before attempting to compile devel/libhtp, but to no avail.

My ports tree is currently at r377002, and the installed devel/libiconv is
1.14_6.

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer koobs@FreeBSD.org

-- 
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-196720-13>