Date: Fri, 21 Mar 2014 20:34:32 GMT From: pkg-fallout-builder@FreeBSD.org To: peter@vereshagin.org Cc: pkg-fallout@FreeBSD.org Subject: [REL - head-amd64-default][www/links-hacked] Failed for links-hacked-101110_2 in build Message-ID: <201403212034.s2LKYWVM076797@beefy2.isc.freebsd.org>
next in thread | raw e-mail | index | archive | help
You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: peter@vereshagin.org Last committer: bapt@FreeBSD.org Ident: $FreeBSD: head/www/links-hacked/Makefile 327776 2013-09-20 23:36:50Z bapt $ Log URL: http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-03-21_05h48m57s/logs/links-hacked-101110_2.log Build URL: http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-03-21_05h48m57s Log: ====>> Building www/links-hacked build started at Fri Mar 21 20:33:31 UTC 2014 port directory: /usr/ports/www/links-hacked building for: FreeBSD head-amd64-default-job-16 11.0-CURRENT FreeBSD 11.0-CURRENT r261447 amd64 maintained by: peter@vereshagin.org Makefile ident: $FreeBSD: head/www/links-hacked/Makefile 327776 2013-09-20 23:36:50Z bapt $ Poudriere version: 3.1-pre ---Begin Environment--- OSVERSION=1100007 UNAME_v=FreeBSD 11.0-CURRENT r261447 UNAME_r=11.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 MASTERMNT=/usr/local/poudriere/data/build/head-amd64-default/ref PKG_EXT=txz tpid=8776 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKGNAME=links-hacked-101110_2 PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f PKG_ADD=/usr/local/sbin/pkg-static add PWD=/root MASTERNAME=head-amd64-default USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes PKG_VERSION=/poudriere/pkg-static version PKG_BIN=/usr/local/sbin/pkg-static ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for links-hacked-101110_2: DIRECTFB=off: directfb driver support FORMSAVE=on: Enable forms saving FREETYPE=on: TrueType font rendering support JS=on: Enable Javascript (very basic) SVGALIB=off: SVGA graphics support X11=on: X11 (graphics) support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --with-ssl --without-pmshell --without-atheos --without-fb --enable-form-saving --enable-javascript --enable-graphics --without-svgalib --without-directfb --with-x --with-freetype --enable-form-saving --enable-javascript --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh AUTOMAKE=/usr/local/bin/automake-1.14 AUTOMAKE_DIR=/usr/local/share/automake-1.14 AUTOMAKE_VERSION=1.14 AUTOMAKE_APIVER=1.14 ACLOCAL=/usr/local/bin/aclocal-1.14 ACLOCAL_DIR=/usr/local/share/aclocal-1.14 AUTOCONF=/usr/local/bin/autoconf-2.69 AUTOCONF_DIR=/usr/local/share/autoconf-2.69 AUTOHEADER=/usr/local/bin/autoheader-2.69 AUTOIFNAMES=/usr/local/bin/ifnames-2.69 AUTOM4TE=/usr/local/bin/autom4te-2.69 AUTORECONF=/usr/local/bin/autoreconf-2.69 AUTOSCAN=/usr/local/bin/autoscan-2.69 AUTOUPDATE=/usr/local/bin/autoupdate-2.69 AUTOCONF_VERSION=2.69 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- TMPDIR="/tmp" TMPDIR="/tmp" OPENSSLLIB=/usr/lib OPENSSLINC=/usr/include OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl SHELL=/bin/sh NO_LINT=YES AUTOMAKE=/usr/local/bin/automake-1.14 AUTOMAKE_DIR=/usr/local/share/automake-1.14 AUTOMAKE_VERSION=1.14 AUTOMAKE_APIVER=1.14 ACLOCAL=/usr/local/bin/aclocal-1.14 ACLOCAL_DIR=/usr/local/share/aclocal-1.14 AUTOCONF=/usr/local/bin/autoconf-2.69 AUTOCONF_DIR=/usr/local/share/autoconf-2.69 AUTOHEADER=/usr/local/bin/autoheader-2.69 AUTOIFNAMES=/usr/local/bin/ifnames-2.69 AUTOM4TE=/usr/local/bin/autom4te-2.69 AUTORECONF=/usr/local/bin/autoreconf-2.69 AUTOSCAN=/usr/local/bin/autoscan-2.69 AUTOUPDATE=/usr/local/bin/autoupdate-2.69 AUTOCONF_VERSION=2.69 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib -lexecinfo -Wl,-rpath,/usr/lib:/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing" MANPREFIX="/usr/loc al" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" --End MAKE_ENV-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/links-hacked DOCSDIR=/usr/local/share/doc/links-hacked EXAMPLESDIR=/usr/local/share/examples/links-hacked WWWDIR=/usr/local/www/links-hacked ETCDIR=/usr/local/etc/links-hacked --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles #### /usr/local/etc/poudriere.d/make.conf #### WITH_PKGNG=yes NO_RESTRICTED=yes DISABLE_MAKE_JOBS=poudriere ---End make.conf--- ===> Cleaning for links-hacked-101110_2 =======================<phase: check-config >============================ =========================================================================== =======================<phase: pkg-depends >============================ ===> links-hacked-101110_2 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Installing existing package /packages/All/pkg-1.2.7.txz Installing pkg-1.2.7... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of links-hacked-101110_2 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> Fetching all distfiles required by links-hacked-101110_2 for building =========================================================================== =======================<phase: checksum >============================ ===> Fetching all distfiles required by links-hacked-101110_2 for building => SHA256 Checksum OK for links-hacked-101110.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> Fetching all distfiles required by links-hacked-101110_2 for building ===> Extracting for links-hacked-101110_2 => SHA256 Checksum OK for links-hacked-101110.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for links-hacked-101110_2 ===> Applying FreeBSD patches for links-hacked-101110_2 =========================================================================== =======================<phase: build-depends >============================ ===> links-hacked-101110_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Verifying install for /usr/local/libdata/pkgconfig/x11.pc in /usr/ports/x11/libX11 ===> Installing existing package /packages/All/libX11-1.6.2,1.txz Installing libX11-1.6.2,1...Installing kbproto-1.0.6... done Installing libXau-1.0.8...Installing xproto-7.0.25... done done Installing libXdmcp-1.1.1... done Installing libxcb-1.9.3...Installing libpthread-stubs-0.3_4... done Installing libxml2-2.8.0_3... done done done ===> Returning to build of links-hacked-101110_2 ===> links-hacked-101110_2 depends on file: /usr/local/libdata/pkgconfig/xproto.pc - found ===> links-hacked-101110_2 depends on file: /usr/local/bin/automake-1.14 - not found ===> Verifying install for /usr/local/bin/automake-1.14 in /usr/ports/devel/automake ===> Installing existing package /packages/All/automake-1.14.txz Installing automake-1.14...Installing autoconf-2.69...Installing autoconf-wrapper-20131203... done Installing m4-1.4.17_1,1... done Installing perl5-5.16.3_8... done done Installing automake-wrapper-20131203... done done ===> Returning to build of links-hacked-101110_2 ===> links-hacked-101110_2 depends on file: /usr/local/bin/autoconf-2.69 - found =========================================================================== =======================<phase: lib-depends >============================ ===> links-hacked-101110_2 depends on shared library: execinfo - found ===> links-hacked-101110_2 depends on shared library: gdbm - not found ===> Verifying install for gdbm in /usr/ports/databases/gdbm ===> Installing existing package /packages/All/gdbm-1.11.txz Installing gdbm-1.11...Installing gettext-0.18.3.1... done done ===> Returning to build of links-hacked-101110_2 ===> links-hacked-101110_2 depends on shared library: png15 - not found ===> Verifying install for png15 in /usr/ports/graphics/png ===> Installing existing package /packages/All/png-1.5.18.txz Installing png-1.5.18... done ===> Returning to build of links-hacked-101110_2 ===> links-hacked-101110_2 depends on shared library: jpeg.11 - not found ===> Verifying install for jpeg.11 in /usr/ports/graphics/jpeg ===> Installing existing package /packages/All/jpeg-8_4.txz Installing jpeg-8_4... done ===> Returning to build of links-hacked-101110_2 ===> links-hacked-101110_2 depends on shared library: tiff.4 - not found ===> Verifying install for tiff.4 in /usr/ports/graphics/tiff ===> Installing existing package /packages/All/tiff-4.0.3.txz Installing tiff-4.0.3...Installing freeglut-2.8.1...Installing libGLU-9.0.0...Installing libGL-9.1.7...Installing dri2proto-2.8... done Installing expat-2.1.0... done Installing libXdamage-1.1.4...Installing damageproto-1.2.1... done Installing libXfixes-5.0.1...Installing fixesproto-5.0... done done done Installing libXext-1.3.2,1...Installing xextproto-7.2.1... done done Installing libXxf86vm-1.1.3...Installing xf86vidmodeproto-2.3.1... done done Installing libdrm-2.4.50...Installing libpciaccess-0.13.2...Installing pciids-20140312... done done done done done Installing libICE-1.0.8,1... done Installing libXi-1.7.2,1...Installing inputproto-2.3... done done Installing libXrandr-1.4.2...Installing libXrender-0.9.8...Installing renderproto-0.11.1... done done Installing randrproto-1.4.0... done done done Installing jbigkit-1.6... done Installing libSM-1.2.2,1... done Installing libXmu-1.1.2,1...Installing libXt-1.1.4,1... done done done Since FreeBSD has new USB stack, freeglut normally doesn't build on FreeBSD 8 (yet). To workaround this a small patch adds one include file and comments out content of one function (only leaves return NULL). This might cause side effects. Joysticks do not work, and there might be ports that do not compile or applications that crash because of this. Do not hesitate to contact x11@FreeBSD.org if there are any issues and side effects because of this. <snip> { TEXT(T_SAVE_OPTIONS), "", TEXT(T_HK_SAVE_OPTIONS), MENU_FUNC write_config, NULL, 0, 0 }, ^~ menu.c:814:22: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_LANGUAGE), ">", TEXT(T_HK_LANGUAGE), MENU_FUNC menu_language_list, NULL, 1, 0 }, ^~~ menu.c:815:27: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_CHARACTER_SET), ">", TEXT(T_HK_CHARACTER_SET), MENU_FUNC charset_list, (void *)1, 1, 0 }, ^~~ menu.c:816:30: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_TERMINAL_OPTIONS), "", TEXT(T_HK_TERMINAL_OPTIONS), MENU_FUNC terminal_options, NULL, 0, 0 }, ^~ menu.c:823:22: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_LANGUAGE), ">", TEXT(T_HK_LANGUAGE), MENU_FUNC menu_language_list, NULL, 1, 0 }, ^~~ menu.c:824:35: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_OPTIONS_MANAGER),"", TEXT(T_HK_OPTIONS_MANAGER), MENU_FUNC menu_options_manager, 0, 0}, ^~ menu.c:825:36: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_FONTLIST_MANAGER),"", TEXT(T_HK_FONTLIST_MANAGER), MENU_FUNC menu_fontlist_manager, 0, 0}, ^~ menu.c:827:26: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_ASSOCIATIONS), "", TEXT(T_HK_ASSOCIATIONS), MENU_FUNC menu_assoc_manager, NULL, 0, 0 }, ^~ menu.c:828:29: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_FILE_EXTENSIONS), "", TEXT(T_HK_FILE_EXTENSIONS), MENU_FUNC menu_ext_manager, NULL, 0, 0 }, ^~ menu.c:829:31: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_BLOCKLIST_MANAGER), "", TEXT(T_HK_BLOCKLIST_MANAGER), MENU_FUNC menu_blocklist_manager, NULL, 0, 0 }, ^~ menu.c:830:4: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] { "", "", M_BAR, NULL, NULL, 0, 0 }, ^~ menu.c:830:8: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] { "", "", M_BAR, NULL, NULL, 0, 0 }, ^~ menu.c:831:26: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_SAVE_OPTIONS), "", TEXT(T_HK_SAVE_OPTIONS), MENU_FUNC write_config, NULL, 0, 0 }, ^~ menu.c:836:22: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_LANGUAGE), ">", TEXT(T_HK_LANGUAGE), MENU_FUNC menu_language_list, NULL, 1, 0 }, ^~~ menu.c:860:18: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_FILE), "", TEXT(T_HK_FILE), MENU_FUNC do_file_menu, NULL, 1, 1 }, ^~ menu.c:861:18: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_VIEW), "", TEXT(T_HK_VIEW), MENU_FUNC do_view_menu, NULL, 1, 1 }, ^~ menu.c:862:18: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_LINK), "", TEXT(T_HK_LINK), MENU_FUNC link_menu, NULL, 1, 1 }, ^~ menu.c:863:23: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_DOWNLOADS), "", TEXT(T_HK_DOWNLOADS), MENU_FUNC downloads_menu, NULL, 1, 1 }, ^~ menu.c:864:19: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_SETUP), "", TEXT(T_HK_SETUP), MENU_FUNC do_setup_menu, NULL, 1, 1 }, ^~ menu.c:865:18: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_HELP), "", TEXT(T_HK_HELP), MENU_FUNC do_menu, help_menu, 1, 1 }, ^~ menu.c:878:21: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_GO_BACK), "z", TEXT(T_HK_GO_BACK), MENU_FUNC menu_go_back, (void *)0, 0, 0 }, ^~~ menu.c:879:21: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_HISTORY), ">", TEXT(T_HK_HISTORY), MENU_FUNC history_menu, (void *)0, 1, 0 }, ^~~ menu.c:880:31: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_GO_FORWARD), "`", TEXT(T_HK_GO_FORWARD), MENU_FUNC menu_go_forward, (void *)0, 0, 0 }, ^~~ menu.c:881:20: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_RELOAD), "Ctrl-R", TEXT(T_HK_RELOAD), MENU_FUNC menu_reload, (void *)0, 0, 0 }, ^~~~~~~~ menu.c:882:18: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_STOP), "a", TEXT(T_HK_STOP), MENU_FUNC menu_stop, (void *)0, 0, 0 }, ^~~ menu.c:883:4: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] { "", "", M_BAR, NULL, NULL, 0, 0 }, ^~ menu.c:883:8: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] { "", "", M_BAR, NULL, NULL, 0, 0 }, ^~ menu.c:884:21: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_SAVE_AS), "", TEXT(T_HK_SAVE_AS), MENU_FUNC save_as, (void *)0, 0, 0 }, ^~ menu.c:885:38: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_COPY_URL_LOCATION), "", TEXT(T_HK_COPY_URL_LOCATION), MENU_FUNC send_copy_url_location, (void *)0, 0, 0 }, ^~ menu.c:886:30: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_CLOSE_TAB), "c", TEXT(T_HK_CLOSE_TAB), MENU_FUNC menu_close_tab, (void *)0, 0, 0 }, ^~~ menu.c:896:28: warning: initializing 'unsigned char *' with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_NEW_TAB), "", TEXT(T_HK_NEW_TAB), MENU_FUNC menu_new_tab, (void *)0, 0, 0 }, ^~ menu.c:897:30: warning: initializing 'unsigned char *' with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] { TEXT(T_CLOSE_TAB), "c", TEXT(T_HK_CLOSE_TAB), MENU_FUNC menu_close_tab, (void *)0, 0, 0 }, ^~~ menu.c:942:24: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return stracpy(""); ^~ ./links.h:427:71: note: expanded from macro 'stracpy' #define stracpy(s) debug_stracpy((unsigned char *)__FILE__, __LINE__, s) ^ ./links.h:422:84: note: passing argument to parameter 'src' here static inline unsigned char *debug_stracpy(unsigned char *f, int l, unsigned char *src) ^ menu.c:947:139: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] input_field(ses->term, NULL, TEXT(T_SAVE_URL), TEXT(T_ENTER_URL), TEXT(T_OK), TEXT(T_CANCEL), ses, &goto_url_history, MAX_INPUT_URL_LEN, "", 0, 0, NULL, (void (*)(void *, unsigned char *)) save_url, NULL); ^~ ./links.h:3093:173: note: passing argument to parameter here void input_field(struct terminal *, struct memory_list *, unsigned char *, unsigned char *, unsigned char *, unsigned char *, void *, struct history *, int, unsigned char *, int, int, int (*)(struct dialog_data *, struct dialog_item_data *), void (*)(void *, unsigned char *), void (*)(void *)); ^ menu.c:959:25: warning: passing 'char [27]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (options_get("network_download_directory")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./links.h:4054:48: note: passing argument to parameter here unsigned char *options_get(unsigned char *); ^ menu.c:960:52: warning: passing 'char [27]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] add_to_str(&def, &dfl, options_get("network_download_directory")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./links.h:4054:48: note: passing argument to parameter here unsigned char *options_get(unsigned char *); ^ menu.c:961:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (*def && !dir_sep(def[strlen(def) - 1])) add_chr_to_str(&def, &dfl, '/'); ^~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ menu.c:971:146: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] input_field(ses->term, NULL, TEXT(T_SEARCH_BACK), TEXT(T_SEARCH_FOR_TEXT), TEXT(T_OK), TEXT(T_CANCEL), ses, &search_history, MAX_INPUT_URL_LEN, "", 0, 0, NULL, (void (*)(void *, unsigned char *)) search_for_back, NULL); ^~ ./links.h:3093:173: note: passing argument to parameter here void input_field(struct terminal *, struct memory_list *, unsigned char *, unsigned char *, unsigned char *, unsigned char *, void *, struct history *, int, unsigned char *, int, int, int (*)(struct dialog_data *, struct dialog_item_data *), void (*)(void *, unsigned char *), void (*)(void *)); ^ menu.c:976:141: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] input_field(ses->term, NULL, TEXT(T_SEARCH), TEXT(T_SEARCH_FOR_TEXT), TEXT(T_OK), TEXT(T_CANCEL), ses, &search_history, MAX_INPUT_URL_LEN, "", 0, 0, NULL, (void (*)(void *, unsigned char *)) search_for, NULL); ^~ ./links.h:3093:173: note: passing argument to parameter here void input_field(struct terminal *, struct memory_list *, unsigned char *, unsigned char *, unsigned char *, unsigned char *, void *, struct history *, int, unsigned char *, int, int, int (*)(struct dialog_data *, struct dialog_item_data *), void (*)(void *, unsigned char *), void (*)(void *)); ^ menu.c:994:138: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] input_field(ses->term, NULL, TEXT(T_PRINT_TO_FILE), TEXT(T_SAVE_TO_FILE), TEXT(T_OK), TEXT(T_CANCEL), ses, &print_history, MAX_STR_LEN, "", 0, 0, NULL, (void (*)(void *, unsigned char *)) print_to_file, NULL); ^~ ./links.h:3093:173: note: passing argument to parameter here void input_field(struct terminal *, struct memory_list *, unsigned char *, unsigned char *, unsigned char *, unsigned char *, void *, struct history *, int, unsigned char *, int, int, int (*)(struct dialog_data *, struct dialog_item_data *), void (*)(void *, unsigned char *), void (*)(void *)); ^ menu.c:1032:13: warning: implicit declaration of function 'check_dialog' is invalid in C99 [-Wimplicit-function-declaration] if (check_dialog(dlg)) return 1; ^ menu.c:1095:34: error: non-void function 'dialog_goto_url_menu' should return a value [-Wreturn-type] if (!(mi = new_menu(1))) return; ^ menu.c:1098:77: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-pointer-cast] add_to_menu(&mi, TEXT(T_CURRENT_WINDOW), "", "", MENU_FUNC set_val, (void*)i++, 0); ^ menu.c:1098:50: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] add_to_menu(&mi, TEXT(T_CURRENT_WINDOW), "", "", MENU_FUNC set_val, (void*)i++, 0); ^~ ./links.h:3050:71: note: passing argument to parameter here void add_to_menu(struct menu_item **, unsigned char *, unsigned char *, unsigned char *, void (*)(struct terminal *, void *, void *), void *, int); ^ menu.c:1098:54: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] add_to_menu(&mi, TEXT(T_CURRENT_WINDOW), "", "", MENU_FUNC set_val, (void*)i++, 0); ^~ ./links.h:3050:88: note: passing argument to parameter here void add_to_menu(struct menu_item **, unsigned char *, unsigned char *, unsigned char *, void (*)(struct terminal *, void *, void *), void *, int); ^ menu.c:1102:83: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-pointer-cast] add_to_menu(&mi, oi->text, "", oi->hk, MENU_FUNC set_val, (void*)i++, 0); ^ menu.c:1102:52: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] add_to_menu(&mi, oi->text, "", oi->hk, MENU_FUNC set_val, (void*)i++, 0); ^~ ./links.h:3050:71: note: passing argument to parameter here void add_to_menu(struct menu_item **, unsigned char *, unsigned char *, unsigned char *, void (*)(struct terminal *, void *, void *), void *, int); ^ menu.c:1127:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else strcpy(field, url); ^~~~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ 192 warnings and 1 error generated. *** Error code 1 Stop. make[3]: stopped in /wrkdirs/usr/ports/www/links-hacked/work/links-hacked-101110 *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/www/links-hacked/work/links-hacked-101110 *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/www/links-hacked/work/links-hacked-101110 *** Error code 1 Stop. make: stopped in /usr/ports/www/links-hacked ===> Cleaning for links-hacked-101110_2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403212034.s2LKYWVM076797>