[Bug 196720] devel/libhtp fails to compile due to missing function iconvctl() and missing constants ICONV_SET_TRANSLITERATE and ICONV_SET_DISCARD_ILSEQ

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 14 12:12:44 UTC 2015


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 at FreeBSD.org
          Reporter: Trond.Endrestol at ximalas.info
          Assignee: koobs at FreeBSD.org
             Flags: maintainer-feedback?(koobs at 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 at FreeBSD.org> ---
Auto-assigned to maintainer koobs at FreeBSD.org

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


More information about the freebsd-ports-bugs mailing list