rkd77 / elinks

Fork of elinks
Other
339 stars 35 forks source link

0.15.1: meson `gssapi=true` -> build fails #185

Closed kloczek closed 2 years ago

kloczek commented 2 years ago

meson execution:

+ /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . x86_64-redhat-linux-gnu -D 256-colors=true -D 88-colors=false -D backtrace=true -D bittorrent=true -D bookmarks=true -D brotli=false -D bzlib=false -D cgi=false -D combining=false -D cookies=true -D css=true -D data=true -D dgi=false -D exmode=false -D fastmem=false -D finger=false -D formhist=true -D fsp=false -D ftp=true -D gemini=false -D gettext=false -D globhist=true -D gnutls=false -D gopher=false -D gpm=true -D gssapi=true -D guile=false -D html-highlight=false -D idn=true -D ipv6=true -D largefile=true -D leds=true -D libevent=false -D libev=false -D luapkg=lua -D lzma=false -D mailcap=true -D marks=true -D mimetypes=true -D mouse=true -D nls=true -D nntp=false -D no-root=false -D openssl=true -D own-libc=false -D perl=false -D python=false -D quickjs=false -D reproducible=false -D ruby=false -D small=false -D smb=false -D sm-scripting=false -D spidermonkey=false -D static=false -D sysmouse=false -D terminfo=false -D tre=false -D true-color=false -D uri-rewrite=true -D utf-8=true -D withdebug=false -D xbel=true -D x=false -D xml=false -D xterm=false -D zlib=true -D zstd=true
The Meson build system
Version: 0.63.1
Source dir: /home/tkloczko/rpmbuild/BUILD/elinks-0.15.1
Build dir: /home/tkloczko/rpmbuild/BUILD/elinks-0.15.1/x86_64-redhat-linux-gnu
Build type: native build
Project name: elinks
Project version: 0.16.GIT
C compiler for the host machine: /usr/bin/gcc (gcc 12.1.1 "gcc (GCC) 12.1.1 20220810 (Red Hat 12.1.1-4)")
C linker for the host machine: /usr/bin/gcc ld.bfd 2.38-23
C++ compiler for the host machine: /usr/bin/g++ (gcc 12.1.1 "g++ (GCC) 12.1.1 20220810 (Red Hat 12.1.1-4)")
C++ linker for the host machine: /usr/bin/g++ ld.bfd 2.38-23
Host machine cpu family: x86_64
Host machine cpu: x86_64
WARNING: You should add the boolean check kwarg to the run_command call.
         It currently defaults to false,
         but it will default to true in future releases of meson.
         See also: https://github.com/mesonbuild/meson/issues/9300
Has header "wchar.h" : YES
Has header "wctype.h" : YES
Has header "fcntl.h" : YES
Has header "libgen.h" : YES
Has header "unistd.h" : YES
Has header "arpa/inet.h" : YES
Has header "netinet/in_systm.h" : YES
Has header "netinet/in_system.h" : NO
Has header "netinet/ip.h" : YES
Has header "netdb.h" : YES
Has header "netinet/in.h" : YES
Has header "netinet/in6_var.h" : NO
Has header "ifaddrs.h" : YES
Has header "sys/cygwin.h" : NO
Has header "io.h" : NO
Has header "sys/fmutex.h" : NO
Has header "sys/ioctl.h" : YES
Has header "sys/sockio.h" : NO
Has header "sys/resource.h" : YES
Has header "sys/select.h" : YES
Has header "sys/socket.h" : YES
Has header "sys/utsname.h" : YES
Has header "net/if.h" : YES
Has header "stdint.h" : YES
Has header "inttypes.h" : YES
Has header "pwd.h" : YES
Has header "termios.h" : YES
Has header "poll.h" : YES
Has header "sys/types.h" : YES
Has header "gpm.h" : YES
Has header "idna.h" : YES
Has header "event.h" : NO
Has header "alloca.h" : YES
Has header "stdalign.h" : YES
Has header "term.h" : YES
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency zlib found: YES 1.2.11.zlib-ng
Run-time dependency openssl found: YES 3.0.5
Run-time dependency libzstd found: YES 1.5.2
Run-time dependency libidn found: YES 1.41
Run-time dependency lua found: YES 5.4.3
Run-time dependency expat found: YES 2.4.8
Library gpm found: YES
Checking if "GCC atomic builtins required -latomic" : links: YES
Has header "sys/un.h" : YES
Checking for function "mmap" : YES
Checking for function "strftime" : YES
Checking for function "strptime" : YES
Checking for function "atoll" : YES
Checking for function "gethostbyaddr" : YES
Checking for function "herror" : YES
Checking for function "strerror" : YES
Checking for function "popen" : YES
Checking for function "uname" : YES
Checking for function "access" : YES
Checking for function "chmod" : YES
Checking for function "alarm" : YES
Checking for function "timegm" : YES
Checking for function "mremap" : YES
Checking for function "strcasecmp" : YES
Checking for function "strncasecmp" : YES
Checking for function "strcasestr" : YES
Checking for function "memmove" : YES
Checking for function "bcopy" : YES
Checking for function "stpcpy" : YES
Checking for function "strdup" : YES
Checking for function "index" : YES
Checking for function "isdigit" : YES
Checking for function "mempcpy" : YES
Checking for function "memrchr" : YES
Checking for function "snprintf" : YES
Checking for function "vsnprintf" : YES
Checking for function "asprintf" : YES
Checking for function "vasprintf" : YES
Checking for function "getifaddrs" : YES
Checking for function "getpwnam" : YES
Checking for function "inet_aton" : YES
Checking for function "inet_pton" : YES
Checking for function "inet_ntop" : YES
Checking for function "fflush" : YES
Checking for function "fsync" : YES
Checking for function "fseeko" : YES
Checking for function "ftello" : YES
Checking for function "sigaction" : YES
Checking for function "gettimeofday" : YES
Checking for function "clock_gettime" : YES
Checking for function "setenv" : YES
Checking for function "putenv" : YES
Checking for function "unsetenv" : YES
Checking for function "getuid" : YES
Checking for function "geteuid" : YES
Checking for function "wcwidth" : YES
Checking for function "fork" : YES
Checking for function "getpid" : YES
Checking for function "setpgid" : YES
Checking for function "getpgid" : YES
Checking for function "setpgrp" : YES
Checking for function "getpgrp" : YES
Checking for function "raise" : YES
Checking for function "kill" : YES
Checking for function "fpathconf" : YES
Checking for function "poll" : YES
Checking for function "event_base_set" : NO
Checking for function "event_get_version" : NO
Checking for function "event_get_method" : NO
Checking for function "event_base_free" : NO
Checking for function "event_base_new" : NO
Checking for function "event_reinit" : NO
Checking for function "event_base_get_method" : NO
Checking for function "event_reinit" : NO (cached)
Checking for function "event_config_set_flag" : NO
Checking for function "event_get_struct_event_size" : NO
Checking for function "RAND_add" with dependency openssl: YES
Checking for function "RAND_bytes" with dependency openssl: YES
Checking for function "ASN1_STRING_get0_data" with dependency openssl: YES
Library iconv found: NO
Checking for function "nl_langinfo" : YES
Checking for function "iconv" with dependency -liconv: YES
Checking for function "alloca" : YES
Checking for function "rb_errinfo" : NO
Checking for function "gnutls_priority_set_direct" : NO
Checking for function "gnutls_certificate_set_x509_system_trust" : NO
Checking for function "mkstemps" : YES
Checking for function "strtoul" : YES
Checking for size of "char" : 1
Checking for size of "short" : 2
Checking for size of "int" : 4
Checking for size of "long" : 8
Checking for size of "long long" : 8
Checking for size of "off_t" : 8
Configuring config.h using configuration
Program msgfmt found: YES (/usr/bin/msgfmt)
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Compiler for C supports arguments -Wno-builtin-declaration-mismatch: YES
Configuring elinks.spec using configuration
Configuring hooks.lua using configuration
Configuring Doxyfile using configuration
Program dblatex found: NO
Program doxygen found: NO
Program pod2html found: YES (/usr/bin/pod2html)
Program xmlto found: NO
Build targets in project: 60

elinks 0.16.GIT

  User defined options
    auto_features : enabled
    bindir        : /usr/bin
    buildtype     : plain
    datadir       : /usr/share
    includedir    : /usr/include
    infodir       : /usr/share/info
    libdir        : /usr/lib64
    libexecdir    : /usr/libexec
    localedir     : /usr/share/locale
    localstatedir : /var
    mandir        : /usr/share/man
    prefix        : /usr
    sbindir       : /usr/sbin
    sharedstatedir: /var/lib
    sysconfdir    : /etc
    wrap_mode     : nodownload
    256-colors    : true
    88-colors     : false
    backtrace     : true
    bittorrent    : true
    bookmarks     : true
    brotli        : false
    bzlib         : false
    cgi           : false
    combining     : false
    cookies       : true
    css           : true
    data          : true
    dgi           : false
    exmode        : false
    fastmem       : false
    finger        : false
    formhist      : true
    fsp           : false
    ftp           : true
    gemini        : false
    gettext       : false
    globhist      : true
    gnutls        : false
    gopher        : false
    gpm           : true
    gssapi        : true
    guile         : false
    html-highlight: false
    idn           : true
    ipv6          : true
    largefile     : true
    leds          : true
    libev         : false
    libevent      : false
    luapkg        : lua
    lzma          : false
    mailcap       : true
    marks         : true
    mimetypes     : true
    mouse         : true
    nls           : true
    nntp          : false
    no-root       : false
    openssl       : true
    own-libc      : false
    perl          : false
    python        : false
    quickjs       : false
    reproducible  : false
    ruby          : false
    sm-scripting  : false
    small         : false
    smb           : false
    spidermonkey  : false
    static        : false
    sysmouse      : false
    terminfo      : false
    tre           : false
    true-color    : false
    uri-rewrite   : true
    utf-8         : true
    withdebug     : false
    x             : false
    xbel          : true
    xml           : false
    xterm         : false
    zlib          : true
    zstd          : true

And build fails with:

[243/243] /usr/bin/g++  -o src/elinks src/elinks.p/bookmarks_backend_xbel.c.o src/elinks.p/bookmarks_backend_common.c.o src/elinks.p/bookmarks_backend_default.c.o src/elinks.p/bookmarks_bookmarks.c.o src/elinks.p/bookmarks_dialogs.c.o src/elinks.p/cookies_cookies.c.o src/elinks.p/cookies_dialogs.c.o src/elinks.p/cookies_path.c.o src/elinks.p/cookies_parser.c.o src/elinks.p/formhist_formhist.c.o src/elinks.p/formhist_dialogs.c.o src/elinks.p/globhist_globhist.c.o src/elinks.p/globhist_dialogs.c.o src/elinks.p/scripting_lua_lua.c.o src/elinks.p/scripting_lua_hooks.c.o src/elinks.p/scripting_lua_core.c.o src/elinks.p/scripting_scripting.c.o src/elinks.p/bfu_button.c.o src/elinks.p/bfu_checkbox.c.o src/elinks.p/bfu_dialog.c.o src/elinks.p/bfu_group.c.o src/elinks.p/bfu_hierbox.c.o src/elinks.p/bfu_hotkey.c.o src/elinks.p/bfu_inpfield.c.o src/elinks.p/bfu_inphist.c.o src/elinks.p/bfu_listbox.c.o src/elinks.p/bfu_listmenu.c.o src/elinks.p/bfu_menu.c.o src/elinks.p/bfu_msgbox.c.o src/elinks.p/bfu_style.c.o src/elinks.p/bfu_text.c.o src/elinks.p/bfu_widget.c.o src/elinks.p/bfu_leds.c.o src/elinks.p/cache_cache.cpp.o src/elinks.p/cache_dialogs.c.o src/elinks.p/config_cmdline.c.o src/elinks.p/config_conf.c.o src/elinks.p/config_dialogs.c.o src/elinks.p/config_domain.c.o src/elinks.p/config_home.c.o src/elinks.p/config_kbdbind.c.o src/elinks.p/config_options.c.o src/elinks.p/config_opttypes.c.o src/elinks.p/config_timer.c.o src/elinks.p/config_urlhist.c.o src/elinks.p/dialogs_document.c.o src/elinks.p/dialogs_download.c.o src/elinks.p/dialogs_edit.c.o src/elinks.p/dialogs_info.cpp.o src/elinks.p/dialogs_menu.c.o src/elinks.p/dialogs_options.c.o src/elinks.p/dialogs_progress.c.o src/elinks.p/dialogs_status.c.o src/elinks.p/document_css_apply.c.o src/elinks.p/document_css_css.c.o src/elinks.p/document_css_parser.c.o src/elinks.p/document_css_property.c.o src/elinks.p/document_css_scanner.c.o src/elinks.p/document_css_stylesheet.c.o src/elinks.p/document_css_value.c.o src/elinks.p/document_gemini_renderer.c.o src/elinks.p/document_html_parser_forms.c.o src/elinks.p/document_html_parser_general.c.o src/elinks.p/document_html_parser_link.c.o src/elinks.p/document_html_parser_parse.c.o src/elinks.p/document_html_parser_stack.c.o src/elinks.p/document_html_parser_table.c.o src/elinks.p/document_html_frames.c.o src/elinks.p/document_html_iframes.c.o src/elinks.p/document_html_parse-meta-refresh.c.o src/elinks.p/document_html_parser.c.o src/elinks.p/document_html_renderer.c.o src/elinks.p/document_html_tables.c.o src/elinks.p/document_plain_renderer.c.o src/elinks.p/document_docdata.c.o src/elinks.p/document_document.cpp.o src/elinks.p/document_format.c.o src/elinks.p/document_forms.c.o src/elinks.p/document_options.c.o src/elinks.p/document_refresh.c.o src/elinks.p/document_renderer.cpp.o src/elinks.p/encoding_gzip.c.o src/elinks.p/encoding_zstd.c.o src/elinks.p/encoding_encoding.c.o src/elinks.p/intl_gettext_bindtextdom.c.o src/elinks.p/intl_gettext_dcgettext.c.o src/elinks.p/intl_gettext_dcigettext.c.o src/elinks.p/intl_gettext_dcngettext.c.o src/elinks.p/intl_gettext_dgettext.c.o src/elinks.p/intl_gettext_dngettext.c.o src/elinks.p/intl_gettext_explodename.c.o src/elinks.p/intl_gettext_finddomain.c.o src/elinks.p/intl_gettext_gettext.c.o src/elinks.p/intl_gettext_intl-compat.c.o src/elinks.p/intl_gettext_l10nflist.c.o src/elinks.p/intl_gettext_libintl.c.o src/elinks.p/intl_gettext_loadmsgcat.c.o src/elinks.p/intl_gettext_localcharset.c.o src/elinks.p/intl_gettext_localealias.c.o src/elinks.p/intl_gettext_ngettext.c.o src/elinks.p/intl_gettext_plural.c.o src/elinks.p/intl_gettext_textdomain.c.o src/elinks.p/intl_charsets.c.o src/elinks.p/intl_width.c.o src/elinks.p/main_interlink.c.o src/elinks.p/main_event.c.o src/elinks.p/main_main.c.o src/elinks.p/main_module.cpp.o src/elinks.p/main_select.c.o src/elinks.p/main_timer.cpp.o src/elinks.p/main_version.c.o src/elinks.p/mime_backend_mailcap.c.o src/elinks.p/mime_backend_mimetypes.c.o src/elinks.p/mime_backend_common.c.o src/elinks.p/mime_backend_default.c.o src/elinks.p/mime_dialogs.c.o src/elinks.p/mime_mime.c.o src/elinks.p/network_ssl_match-hostname.c.o src/elinks.p/network_ssl_ssl.c.o src/elinks.p/network_ssl_socket.c.o src/elinks.p/network_connection.c.o src/elinks.p/network_dns.c.o src/elinks.p/network_progress.c.o src/elinks.p/network_socket.c.o src/elinks.p/network_state.c.o src/elinks.p/osdep_unix_unix.c.o src/elinks.p/osdep_unix_bsd.c.o src/elinks.p/osdep_getifaddrs.c.o src/elinks.p/osdep_newwin.c.o src/elinks.p/osdep_osdep.c.o src/elinks.p/osdep_signals.c.o src/elinks.p/osdep_stub.c.o src/elinks.p/osdep_sysname.c.o src/elinks.p/protocol_bittorrent_bencoding.c.o src/elinks.p/protocol_bittorrent_bittorrent.c.o src/elinks.p/protocol_bittorrent_common.c.o src/elinks.p/protocol_bittorrent_connection.c.o src/elinks.p/protocol_bittorrent_dialogs.c.o src/elinks.p/protocol_bittorrent_peerconnect.c.o src/elinks.p/protocol_bittorrent_peerwire.c.o src/elinks.p/protocol_bittorrent_piececache.c.o src/elinks.p/protocol_bittorrent_tracker.c.o src/elinks.p/protocol_ftp_ftp.c.o src/elinks.p/protocol_ftp_parse.c.o src/elinks.p/protocol_rewrite_rewrite.c.o src/elinks.p/protocol_auth_auth.c.o src/elinks.p/protocol_auth_dialogs.c.o src/elinks.p/protocol_auth_digest.c.o src/elinks.p/protocol_file_file.c.o src/elinks.p/protocol_file_mailcap.c.o src/elinks.p/protocol_http_http_negotiate.c.o src/elinks.p/protocol_http_blacklist.c.o src/elinks.p/protocol_http_codes.c.o src/elinks.p/protocol_http_http.c.o src/elinks.p/protocol_http_post.c.o src/elinks.p/protocol_data.c.o src/elinks.p/protocol_about.c.o src/elinks.p/protocol_common.c.o src/elinks.p/protocol_date.c.o src/elinks.p/protocol_header.c.o src/elinks.p/protocol_protocol.cpp.o src/elinks.p/protocol_proxy.c.o src/elinks.p/protocol_uri.c.o src/elinks.p/protocol_user.c.o src/elinks.p/session_download.c.o src/elinks.p/session_history.c.o src/elinks.p/session_location.c.o src/elinks.p/session_session.cpp.o src/elinks.p/session_task.c.o src/elinks.p/terminal_mouse.c.o src/elinks.p/terminal_color.c.o src/elinks.p/terminal_draw.c.o src/elinks.p/terminal_event.c.o src/elinks.p/terminal_hardio.c.o src/elinks.p/terminal_kbd.c.o src/elinks.p/terminal_screen.c.o src/elinks.p/terminal_tab.c.o src/elinks.p/terminal_terminal.cpp.o src/elinks.p/terminal_window.c.o src/elinks.p/util_qs_parse_qs_parse.c.o src/elinks.p/util_fastfind.c.o src/elinks.p/util_scanner.c.o src/elinks.p/util_base64.c.o src/elinks.p/util_color.c.o src/elinks.p/util_conv.c.o src/elinks.p/util_env.c.o src/elinks.p/util_error.c.o src/elinks.p/util_file.c.o src/elinks.p/util_hash.c.o src/elinks.p/util_md5.c.o src/elinks.p/util_memlist.c.o src/elinks.p/util_memory.c.o src/elinks.p/util_random.c.o src/elinks.p/util_secsave.c.o src/elinks.p/util_snprintf.c.o src/elinks.p/util_string.c.o src/elinks.p/util_time.c.o src/elinks.p/viewer_dump_dump.c.o src/elinks.p/viewer_text_marks.c.o src/elinks.p/viewer_text_draw.c.o src/elinks.p/viewer_text_form.cpp.o src/elinks.p/viewer_text_link.cpp.o src/elinks.p/viewer_text_search.c.o src/elinks.p/viewer_text_textarea.c.o src/elinks.p/viewer_text_view.c.o src/elinks.p/viewer_text_vs.cpp.o src/elinks.p/viewer_action.cpp.o src/elinks.p/viewer_timer.c.o src/elinks.p/viewer_viewer.c.o src/elinks.p/vernum.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,--start-group /usr/lib64/libz.so /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libzstd.so /usr/lib64/libidn.so /usr/lib64/liblua.so /usr/lib64/libexpat.so /usr/lib/gcc/x86_64-redhat-linux/12/../../../../lib64/libgpm.so -Wl,--end-group
FAILED: src/elinks
/usr/bin/g++  -o src/elinks src/elinks.p/bookmarks_backend_xbel.c.o src/elinks.p/bookmarks_backend_common.c.o src/elinks.p/bookmarks_backend_default.c.o src/elinks.p/bookmarks_bookmarks.c.o src/elinks.p/bookmarks_dialogs.c.o src/elinks.p/cookies_cookies.c.o src/elinks.p/cookies_dialogs.c.o src/elinks.p/cookies_path.c.o src/elinks.p/cookies_parser.c.o src/elinks.p/formhist_formhist.c.o src/elinks.p/formhist_dialogs.c.o src/elinks.p/globhist_globhist.c.o src/elinks.p/globhist_dialogs.c.o src/elinks.p/scripting_lua_lua.c.o src/elinks.p/scripting_lua_hooks.c.o src/elinks.p/scripting_lua_core.c.o src/elinks.p/scripting_scripting.c.o src/elinks.p/bfu_button.c.o src/elinks.p/bfu_checkbox.c.o src/elinks.p/bfu_dialog.c.o src/elinks.p/bfu_group.c.o src/elinks.p/bfu_hierbox.c.o src/elinks.p/bfu_hotkey.c.o src/elinks.p/bfu_inpfield.c.o src/elinks.p/bfu_inphist.c.o src/elinks.p/bfu_listbox.c.o src/elinks.p/bfu_listmenu.c.o src/elinks.p/bfu_menu.c.o src/elinks.p/bfu_msgbox.c.o src/elinks.p/bfu_style.c.o src/elinks.p/bfu_text.c.o src/elinks.p/bfu_widget.c.o src/elinks.p/bfu_leds.c.o src/elinks.p/cache_cache.cpp.o src/elinks.p/cache_dialogs.c.o src/elinks.p/config_cmdline.c.o src/elinks.p/config_conf.c.o src/elinks.p/config_dialogs.c.o src/elinks.p/config_domain.c.o src/elinks.p/config_home.c.o src/elinks.p/config_kbdbind.c.o src/elinks.p/config_options.c.o src/elinks.p/config_opttypes.c.o src/elinks.p/config_timer.c.o src/elinks.p/config_urlhist.c.o src/elinks.p/dialogs_document.c.o src/elinks.p/dialogs_download.c.o src/elinks.p/dialogs_edit.c.o src/elinks.p/dialogs_info.cpp.o src/elinks.p/dialogs_menu.c.o src/elinks.p/dialogs_options.c.o src/elinks.p/dialogs_progress.c.o src/elinks.p/dialogs_status.c.o src/elinks.p/document_css_apply.c.o src/elinks.p/document_css_css.c.o src/elinks.p/document_css_parser.c.o src/elinks.p/document_css_property.c.o src/elinks.p/document_css_scanner.c.o src/elinks.p/document_css_stylesheet.c.o src/elinks.p/document_css_value.c.o src/elinks.p/document_gemini_renderer.c.o src/elinks.p/document_html_parser_forms.c.o src/elinks.p/document_html_parser_general.c.o src/elinks.p/document_html_parser_link.c.o src/elinks.p/document_html_parser_parse.c.o src/elinks.p/document_html_parser_stack.c.o src/elinks.p/document_html_parser_table.c.o src/elinks.p/document_html_frames.c.o src/elinks.p/document_html_iframes.c.o src/elinks.p/document_html_parse-meta-refresh.c.o src/elinks.p/document_html_parser.c.o src/elinks.p/document_html_renderer.c.o src/elinks.p/document_html_tables.c.o src/elinks.p/document_plain_renderer.c.o src/elinks.p/document_docdata.c.o src/elinks.p/document_document.cpp.o src/elinks.p/document_format.c.o src/elinks.p/document_forms.c.o src/elinks.p/document_options.c.o src/elinks.p/document_refresh.c.o src/elinks.p/document_renderer.cpp.o src/elinks.p/encoding_gzip.c.o src/elinks.p/encoding_zstd.c.o src/elinks.p/encoding_encoding.c.o src/elinks.p/intl_gettext_bindtextdom.c.o src/elinks.p/intl_gettext_dcgettext.c.o src/elinks.p/intl_gettext_dcigettext.c.o src/elinks.p/intl_gettext_dcngettext.c.o src/elinks.p/intl_gettext_dgettext.c.o src/elinks.p/intl_gettext_dngettext.c.o src/elinks.p/intl_gettext_explodename.c.o src/elinks.p/intl_gettext_finddomain.c.o src/elinks.p/intl_gettext_gettext.c.o src/elinks.p/intl_gettext_intl-compat.c.o src/elinks.p/intl_gettext_l10nflist.c.o src/elinks.p/intl_gettext_libintl.c.o src/elinks.p/intl_gettext_loadmsgcat.c.o src/elinks.p/intl_gettext_localcharset.c.o src/elinks.p/intl_gettext_localealias.c.o src/elinks.p/intl_gettext_ngettext.c.o src/elinks.p/intl_gettext_plural.c.o src/elinks.p/intl_gettext_textdomain.c.o src/elinks.p/intl_charsets.c.o src/elinks.p/intl_width.c.o src/elinks.p/main_interlink.c.o src/elinks.p/main_event.c.o src/elinks.p/main_main.c.o src/elinks.p/main_module.cpp.o src/elinks.p/main_select.c.o src/elinks.p/main_timer.cpp.o src/elinks.p/main_version.c.o src/elinks.p/mime_backend_mailcap.c.o src/elinks.p/mime_backend_mimetypes.c.o src/elinks.p/mime_backend_common.c.o src/elinks.p/mime_backend_default.c.o src/elinks.p/mime_dialogs.c.o src/elinks.p/mime_mime.c.o src/elinks.p/network_ssl_match-hostname.c.o src/elinks.p/network_ssl_ssl.c.o src/elinks.p/network_ssl_socket.c.o src/elinks.p/network_connection.c.o src/elinks.p/network_dns.c.o src/elinks.p/network_progress.c.o src/elinks.p/network_socket.c.o src/elinks.p/network_state.c.o src/elinks.p/osdep_unix_unix.c.o src/elinks.p/osdep_unix_bsd.c.o src/elinks.p/osdep_getifaddrs.c.o src/elinks.p/osdep_newwin.c.o src/elinks.p/osdep_osdep.c.o src/elinks.p/osdep_signals.c.o src/elinks.p/osdep_stub.c.o src/elinks.p/osdep_sysname.c.o src/elinks.p/protocol_bittorrent_bencoding.c.o src/elinks.p/protocol_bittorrent_bittorrent.c.o src/elinks.p/protocol_bittorrent_common.c.o src/elinks.p/protocol_bittorrent_connection.c.o src/elinks.p/protocol_bittorrent_dialogs.c.o src/elinks.p/protocol_bittorrent_peerconnect.c.o src/elinks.p/protocol_bittorrent_peerwire.c.o src/elinks.p/protocol_bittorrent_piececache.c.o src/elinks.p/protocol_bittorrent_tracker.c.o src/elinks.p/protocol_ftp_ftp.c.o src/elinks.p/protocol_ftp_parse.c.o src/elinks.p/protocol_rewrite_rewrite.c.o src/elinks.p/protocol_auth_auth.c.o src/elinks.p/protocol_auth_dialogs.c.o src/elinks.p/protocol_auth_digest.c.o src/elinks.p/protocol_file_file.c.o src/elinks.p/protocol_file_mailcap.c.o src/elinks.p/protocol_http_http_negotiate.c.o src/elinks.p/protocol_http_blacklist.c.o src/elinks.p/protocol_http_codes.c.o src/elinks.p/protocol_http_http.c.o src/elinks.p/protocol_http_post.c.o src/elinks.p/protocol_data.c.o src/elinks.p/protocol_about.c.o src/elinks.p/protocol_common.c.o src/elinks.p/protocol_date.c.o src/elinks.p/protocol_header.c.o src/elinks.p/protocol_protocol.cpp.o src/elinks.p/protocol_proxy.c.o src/elinks.p/protocol_uri.c.o src/elinks.p/protocol_user.c.o src/elinks.p/session_download.c.o src/elinks.p/session_history.c.o src/elinks.p/session_location.c.o src/elinks.p/session_session.cpp.o src/elinks.p/session_task.c.o src/elinks.p/terminal_mouse.c.o src/elinks.p/terminal_color.c.o src/elinks.p/terminal_draw.c.o src/elinks.p/terminal_event.c.o src/elinks.p/terminal_hardio.c.o src/elinks.p/terminal_kbd.c.o src/elinks.p/terminal_screen.c.o src/elinks.p/terminal_tab.c.o src/elinks.p/terminal_terminal.cpp.o src/elinks.p/terminal_window.c.o src/elinks.p/util_qs_parse_qs_parse.c.o src/elinks.p/util_fastfind.c.o src/elinks.p/util_scanner.c.o src/elinks.p/util_base64.c.o src/elinks.p/util_color.c.o src/elinks.p/util_conv.c.o src/elinks.p/util_env.c.o src/elinks.p/util_error.c.o src/elinks.p/util_file.c.o src/elinks.p/util_hash.c.o src/elinks.p/util_md5.c.o src/elinks.p/util_memlist.c.o src/elinks.p/util_memory.c.o src/elinks.p/util_random.c.o src/elinks.p/util_secsave.c.o src/elinks.p/util_snprintf.c.o src/elinks.p/util_string.c.o src/elinks.p/util_time.c.o src/elinks.p/viewer_dump_dump.c.o src/elinks.p/viewer_text_marks.c.o src/elinks.p/viewer_text_draw.c.o src/elinks.p/viewer_text_form.cpp.o src/elinks.p/viewer_text_link.cpp.o src/elinks.p/viewer_text_search.c.o src/elinks.p/viewer_text_textarea.c.o src/elinks.p/viewer_text_view.c.o src/elinks.p/viewer_text_vs.cpp.o src/elinks.p/viewer_action.cpp.o src/elinks.p/viewer_timer.c.o src/elinks.p/viewer_viewer.c.o src/elinks.p/vernum.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,--start-group /usr/lib64/libz.so /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libzstd.so /usr/lib64/libidn.so /usr/lib64/liblua.so /usr/lib64/libexpat.so /usr/lib/gcc/x86_64-redhat-linux/12/../../../../lib64/libgpm.so -Wl,--end-group
/usr/bin/ld: /tmp/cc0CLS49.lto.o: warning: relocation against `GSS_C_NT_HOSTBASED_SERVICE' in read-only section `.text.http_negotiate_get_name.isra.0'
/usr/bin/ld: /tmp/cc0CLS49.lto.o: in function `http_negotiate_create_context':
/home/tkloczko/rpmbuild/BUILD/elinks-0.15.1/x86_64-redhat-linux-gnu/../src/protocol/http/http_negotiate.c:188: undefined reference to `gss_init_sec_context'
/usr/bin/ld: /tmp/cc0CLS49.lto.o: in function `http_negotiate_get_name.isra.0':
/home/tkloczko/rpmbuild/BUILD/elinks-0.15.1/x86_64-redhat-linux-gnu/../src/protocol/http/http_negotiate.c:132: undefined reference to `GSS_C_NT_HOSTBASED_SERVICE'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/elinks-0.15.1/x86_64-redhat-linux-gnu/../src/protocol/http/http_negotiate.c:132: undefined reference to `gss_import_name'
/usr/bin/ld: /tmp/cc0CLS49.lto.o: in function `http_negotiate_cleanup':
/home/tkloczko/rpmbuild/BUILD/elinks-0.15.1/x86_64-redhat-linux-gnu/../src/protocol/http/http_negotiate.c:85: undefined reference to `gss_delete_sec_context'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/elinks-0.15.1/x86_64-redhat-linux-gnu/../src/protocol/http/http_negotiate.c:92: undefined reference to `gss_release_name'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/elinks-0.15.1/x86_64-redhat-linux-gnu/../src/protocol/http/http_negotiate.c:88: undefined reference to `gss_release_buffer'
/usr/bin/ld: /tmp/cc0CLS49.lto.o: in function `http_send_header':
/home/tkloczko/rpmbuild/BUILD/elinks-0.15.1/x86_64-redhat-linux-gnu/../src/protocol/http/http_negotiate.c:85: undefined reference to `gss_delete_sec_context'
/usr/bin/ld: /tmp/cc0CLS49.lto.o:/home/tkloczko/rpmbuild/BUILD/elinks-0.15.1/x86_64-redhat-linux-gnu/../src/protocol/http/http_negotiate.c:88: undefined reference to `gss_release_buffer'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Looks like krb5 libraries are missing on linking.

rkd77 commented 2 years ago

I checked Debian and Fedora. Now it is compilable, did not check whether it works.

kloczek commented 2 years ago

Fedora uses gnue automake/autoconf/libtool https://src.fedoraproject.org/rpms/elinks/blob/rawhide/f/elinks.spec

kloczek commented 2 years ago

From elinks debian/rules

#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs

%:
        dh $@

override_dh_auto_configure:
        dh_auto_configure --  --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc/elinks --with-lzma --without-openssl --without
-x --enable-finger --with-gnutls=/usr --enable-nntp --enable-88-colors --enable-256-colors --enable-leds --enable-html-highlight --enable-fsp --disable-smb --with-perl --wi
thout-guile --without-python --without-ruby --with-gssapi --enable-cgi --enable-exmode --enable-bittorrent --disable-debug --enable-combining --with-terminfo --with-libev

override_dh_auto_build:
        make V=1
        # Build docs:
        dh_auto_build --no-parallel --builddir doc -- all-docs

override_dh_installexamples:
        dh_installexamples --exclude=.gitignore

So Debian uses GNU auto tools as well.

kloczek commented 2 years ago

Tested 0f865aac and it works with that commit. Thank you 👍 Closing.