FreeBSD Bugzilla – Attachment 153887 Details for
Bug 198345
[PATCH] net/pipsecd: Replace deprecated des_ and fix LibreSSL build
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Poudriere build log of net/pipsecd
pipsecd-19991014_2.log (text/plain), 40.68 KB, created by
Bernard Spil
on 2015-03-06 10:19:50 UTC
(
hide
)
Description:
Poudriere build log of net/pipsecd
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2015-03-06 10:19:50 UTC
Size:
40.68 KB
patch
obsolete
>====>> Building net/pipsecd >build started at Tue Mar 3 08:12:45 EST 2015 >port directory: /usr/ports/net/pipsecd >building for: FreeBSD builds.pcbsd.org 11.0-CURRENTMAR2015 FreeBSD 11.0-CURRENTMAR2015 amd64 >maintained by: cy@FreeBSD.org >ident warning: no id keywords in /usr/local/poudriere/data/.m/pcbsd-110-CURRENTMAR2015-11current/ref/../09//usr/ports/net/pipsecd/Makefile >Makefile ident: >Poudriere version: 3.1.1 >Host OSVERSION: 1100062 >Jail OSVERSION: 1100062 > >---Begin Environment--- >OSVERSION=1100062 >UNAME_v=FreeBSD 11.0-CURRENTMAR2015 >UNAME_r=11.0-CURRENTMAR2015 >BLOCKSIZE=K >MAIL=/var/mail/root >STATUS=1 >SAVED_TERM=su >MASTERMNT=/usr/local/poudriere/data/.m/pcbsd-110-CURRENTMAR2015-11current/ref >FORCE_PACKAGE=yes >GIT_URL=--depth 1 https://github.com/pcbsd/freebsd-ports.git >PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin >POUDRIERE_BUILD_TYPE=bulk >PKGNAME=pipsecd-19991014_2 >OLDPWD=/ >PWD=/usr/local/poudriere/data/.m/pcbsd-110-CURRENTMAR2015-11current/ref/.p/pool >MASTERNAME=pcbsd-110-CURRENTMAR2015-11current >USER=root >HOME=/root >POUDRIERE_VERSION=3.1.1 >LOCALBASE=/usr/local >PACKAGE_BUILDING=yes >---End Environment--- > >---Begin OPTIONS List--- >===> The following configuration options are available for pipsecd-19991014_2: > DOCS=on: Build and/or install documentation >===> Use 'make config' to modify these settings >---End OPTIONS List--- > >--CONFIGURE_ARGS-- > >--End CONFIGURE_ARGS-- > >--CONFIGURE_ENV-- >XDG_DATA_HOME=/wrkdirs/usr/ports/net/pipsecd/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/pipsecd/work HOME=/wrkdirs/usr/ports/net/pipsecd/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh >--End CONFIGURE_ENV-- > >--MAKE_ENV-- >XDG_DATA_HOME=/wrkdirs/usr/ports/net/pipsecd/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/pipsecd/work HOME=/wrkdirs/usr/ports/net/pipsecd/work TMPDIR="/tmp" OPENSSLLIB=/usr/local/lib OPENSSLINC=/usr/local/include OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl NO_PIE=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -Wl,-rpath,/usr/local/lib -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing " MANPREFIX="/usr/local" 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 0644" BSD_INSTALL_MAN="install -o root -g wheel -m 444" >--End MAKE_ENV-- > >--PLIST_SUB-- >OSREL=11.0 >PREFIX=%D >LOCALBASE=/usr/local >RESETPREFIX=/usr/local >PORTDOCS="" >PORTEXAMPLES="" >LIB32DIR=lib >DOCSDIR="share/doc/pipsecd" >EXAMPLESDIR="share/examples/pipsecd" >DATADIR="share/pipsecd" >WWWDIR="www/pipsecd" >ETCDIR="etc/pipsecd" >--End PLIST_SUB-- > >--SUB_LIST-- >PREFIX=/usr/local >LOCALBASE=/usr/local >DATADIR=/usr/local/share/pipsecd >DOCSDIR=/usr/local/share/doc/pipsecd >EXAMPLESDIR=/usr/local/share/examples/pipsecd >WWWDIR=/usr/local/www/pipsecd >ETCDIR=/usr/local/etc/pipsecd >--End SUB_LIST-- > >---Begin make.conf--- ># Uncomment this if you want to do port builds with no interaction >#BATCH=yes > ># Keep KDE4 in /usr/local, fixes sharing of icons / mime and others >KDE4_PREFIX=/usr/local > ># Enable PKGNG >WITH_PKGNG=yes >USE_PACKAGE_DEPENDS=yes >BATCH=yes >WRKDIRPREFIX=/wrkdirs >PORTSDIR=/usr/ports >PACKAGES=/packages >DISTDIR=/distfiles >#### /usr/local/etc/poudriere.d/pcbsd-110-CURRENTMAR2015-make.conf #### >BATCH=yes >KDE4_PREFIX=/usr/local >USE_QT=yes >WITH_DVD_DEVICE=/dev/cd0 >WITH_CDROM_DEVICE=/dev/cd0 >WITH_GPGSM=yes >WITH_PRINTER_APPLET=yes >WITH_ACPI_PM=yes >WITH_PLASMA_PYTHON=yes >WITH_PLASMA_RUBY=yes >WITH_VDPAU=yes >WITH_GALLIUM=YES > ># Build ports against security/libressl >WITH_OPENSSL_PORT= yes >OPENSSL_PORT= security/libressl > >#Openoffice Language Options >ALL_LOCALIZED_LANGS=YES > ># Set the default ruby version >RUBY_DEFAULT=2.0 > ># Use texlive as the default TEX impl >TEX_DEFAULT=texlive > ># Setup pkgng >WITH_PKGNG=yes >DEFAULT_MIRROR_TYPE=2 > ># Set us on Linux base c6 >OVERRIDE_LINUX_BASE_PORT=c6 >OVERRIDE_LINUX_NONBASE_PORTS=c6 > ># Enable building i386 wine packages >WINE_CROSS_BUILD=yes > ># Enable universal optionsng >OPTIONS_SET=GPGSM KDE_PHONON MTP PRINTER_APPLET SCDAEMON SVRLOC PLASMA_PYTHON PLASMA_RUBY SWAT ACPI_PM NEW_XORG KMS VDPAU PKGNG CUPS SSL LAME ># Disable some universal optionng >OPTIONS_UNSET=JAVA NOUVEAU > ># ----- Special options tweaking ----- ># Configuration for www/bigbluebutton >.if ${.CURDIR:M${PORTSDIR}/www/tomcat6} != "" > HTTP_PORT=8080 >.endif > ># INDIVIDUAL PORT OPTIONS (for PBI's etc..) >#PLEASE: Keep this in alphabetical order!! > >aria2_SET=CA_BUNDLE >audacious-plugins_SET=FLAC VORBIS AMIDI WAVPACK SNDFILE FFAUDIO MMS GIO >aumix_SET=GTK2 >bitcoin_SET=UPNP >blender_SET=PLAYER SNDFILE >blinkensisters_SET=ADDONS SDL_MIXER SDL_NET >boinc-client_SET=SKINS >ca_root_nss_SET=ETCSYMLINK >centerim_SET=GG LJ RSS GPGME JABBER IRC AIM YAHOO MSN FRIBIDI MULTIBYTE >claws-mail_SET=BOGOFILTER GPGME SPAMASSASSIN >conky_SET=XFT LUA LUA_CAIRO LUA_IMLIB2 IMLIB2 >cups-base_SET=XPDF >cups-base_UNSET=GHOSTSCRIPT >curl_SET=COOKIES >denemo_SET=LILYPOND >dovecot_SET=MYSQL PGSQL SQLITE LDAP >easytag_SET=WAVEPACK >ffmpeg_SET=X11GRAB SDL >firefox_SET=GTK3 >firefox_UNSET=GTK2 >firefox-pulse_SET=GTK3 >firefox-pulse_UNSET=GTK2 >freeciv_SET=SDL >freetype2_SET=LCD_FILTERING >fvwm-crystal_UNSET=XSCREENSAVER >gajim_SET=CRYPTO KEYRING >gcc_SET=JAVA >gcc47_SET=JAVA >gcc48_SET=JAVA >gcc49_SET=JAVA >gdb_SET=PYTHON >git_SET=SVN GUI >gmusicbrowser_SET=GSTREAMER >gnome2_SET=XSCREENSAVER PAM KERBEROS >gnome3_SET=MAPI >gnomebaker_SET=DVD >gnupg_SET=GPGSM >gpgme_SET=GPGSM >graveman_SET=MP3 OGG DVD >grip_SET=FAAC FLAC GOGO >grub2-pcbsd_SET=MKFONT FUSE >gthumb_SET=EXIV2 >gwget_UNSET=EPIPHANY >hal_SET=FIXED_MOUNTPOINTS >hplip_SET=SNMP SCAN XSANE FAX >icewm_SET=BEASTIE >idesk_SET=SN >ike_SET=QTGUI NATT LDAP >jasperserver_SET=XLS >k3b_SET=SOX NORMALIZE TRANSCODE >kde-workspace_UNSET=GSTREAMER >kde-workspace_SET=VLC PYTHON RUBY >kde4_UNSET=KDEEDU KDEGAMES KDESDK KDETOYS KDEWEBDEV >kmymoney-kde4_SET=KBANKING OFX >kopete_SET=WEBCAM >krdc_SET=FREERDP >libdmapsharing_SET=AVAHI >libreoffice_SET=SYSTRAY KDE4 GTK3 >libxine_SET=LIBBLURAY VAAPI WAVPACK SMB XVMC >linux-defcon_SET=NVIDIA >lyx_SET=ASPELL >mp3info_SET=GTK2 >mediatomb_UNSET=MYSQL >mplayer_SET=OTCHAIN VDPAU SDL SMB GIF OPENJPEG LIBMNG AMR_NB AMR_WB GSM SCHROEDINGER BLUERAY FRIBIDI CDIO V4L RTMP >mpqc_UNSET=DOCS >musicpd_SET=LAME SHOUTCAST AAC >mutt_SET=ASPELL GPGME SMTP TRASH_PATCH NNTP SIDEBAR_PATCH >mythtv_SET=BINDINGS LIRC >nginx_SET=HTTP_FLV HTTP_SSL PASSENGER >nvidia-driver_SET=ACPI_PM >openvpn_SET=PW_SAVE >perl-5.14_SET=THREADS >php5_SET=APACHE FPM >pidgin_SET=GNUTLS >pinentry_SET=GTK2 >pinentry_UNSET=TTY >postfix_SET=MYSQL TLS DOVECOT >pspp_SET=GUI >qemu_SET=KQEMU >quodlibet_SET=EXTENSIONS >rasqal_SET=MPFR >redmine_SET=POSTGRESQL PASSENGER >redmine_UNSET=THIN >rpm5_UNSET=DOCS >rocksndiamonds-data_SET=RnD_jue >rubygem-activerecord=PGSQL SQLITE3 >rubygem-passenger=NGINX >rubygem-rails=FCGI PASSENGER >rxvt-unicode_SET=256_COLOR >samba36_SET=ADS WINBIND ACL_SUPPORT PAM_SMBPASS AIO_SUPPORT EXP_MODULES LDAP >samba36-libsmbclient_SET=ADS >samba41_SET=ADS WINBIND ACL_SUPPORT PAM_SMBPASS AIO_SUPPORT EXP_MODULES LDAP >samba41-libsmbclient_SET=ADS >sbcl_SET=THREADS >ssvnc_SET=ULTRAFTP >sylpheed_SET=GPGME >Terminal_SET=DBUS >testdisk_SET=NTFS NTFS3G >tortoisehg2_SET=NAUTILUS >truecrypt_SET=X11 >tsclient_SET=TIGHTVNC XNEST >ucspi-tcp_SET=SSL >ucspi-tcp_UNSET=IPV6 >vavoom_SET=LAUNCHER >vim_SET=WITH_OPTIONS WITH_VIM_OPTIONS >virtualbox_SET=VNC WEBSERVICE VDE >virtualbox-ose_SET=GUESTADDITIONS VNC WEBSERVICE >virtualbox-ose-kmod_SET=VIMAGE >virtualbox-ose-additions_SET=OPENGL X11 >vlc_SET=FLUID LIVEMEDIA SAMBA ZVBI AALIB ASS CACA DIRAC GOOM PORTAUDIO SCHROED SHOUTCAST >vlc_UNSET=MATROSKA >w3m_SET=M17N >webfonts_SET=MSWINDOWS_LICENSE >weechat_SET=TCL ASPELL GNUTLS LUA PERL PYTHON RUBY COLOR256 >weechat-devel_SET=TCL ASPELL GNUTLS PERL PYTHON RUBY COLOR256 >weechat-devel_UNSET=LUA >wine_SET=HAL OPENAL CUPS >wine-devel_SET=HAL OPENAL CUPS GECKO MONO >xawtv_SET=QUICKTIME DV ZVBI >xbindkeys_SET=TCLTK >kodi_SET=NONFREE WEBSERVER VDPAU LIBBLURAY OSS MLIRC >xcdroast_SET=NONROOT >xchat_SET=TCL PYTHON >xfce4_UNSET=NOTIFY >xfce4-print_UNSET=LPR >xmms2_SET=MODPLUG MUSEPACK MMS SAMBA FAM ICES >xpilot-ng-client_SET=SOUND >xsane_SET=GIMP >xterm_SET=DECTERM PCRE >DISABLE_MAKE_JOBS=poudriere >---End make.conf--- >=======================<phase: check-sanity >============================ >=========================================================================== >=======================<phase: pkg-depends >============================ >===> pipsecd-19991014_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.4.12.txz >[builds.pcbsd.org] Installing pkg-1.4.12... >[builds.pcbsd.org] Extracting pkg-1.4.12... done >Message for pkg-1.4.12: > If you are upgrading from the old package format, first run: > > # pkg2ng >===> Returning to build of pipsecd-19991014_2 >=========================================================================== >=======================<phase: fetch-depends >============================ >=========================================================================== >=======================<phase: fetch >============================ >===> Fetching all distfiles required by pipsecd-19991014_2 for building >=========================================================================== >=======================<phase: checksum >============================ >===> Fetching all distfiles required by pipsecd-19991014_2 for building >=> SHA256 Checksum OK for pipsec-19991014.tar.gz. >=========================================================================== >=======================<phase: extract-depends>============================ >=========================================================================== >=======================<phase: extract >============================ >===> Fetching all distfiles required by pipsecd-19991014_2 for building >===> Extracting for pipsecd-19991014_2 >=> SHA256 Checksum OK for pipsec-19991014.tar.gz. >=========================================================================== >=======================<phase: patch-depends >============================ >=========================================================================== >=======================<phase: patch >============================ >===> Patching for pipsecd-19991014_2 >===> Applying FreeBSD patches for pipsecd-19991014_2 >=========================================================================== >=======================<phase: build-depends >============================ >===> pipsecd-19991014_2 depends on file: /usr/local/lib/libcrypto.so.30 - not found >===> Verifying install for /usr/local/lib/libcrypto.so.30 in /usr/ports/security/libressl >===> Installing existing package /packages/All/libressl-2.1.3.txz >[builds.pcbsd.org] Installing libressl-2.1.3... >[builds.pcbsd.org] Extracting libressl-2.1.3... done >===> Returning to build of pipsecd-19991014_2 >=========================================================================== >=======================<phase: lib-depends >============================ >=========================================================================== >=======================<phase: configure >============================ >===> Configuring for pipsecd-19991014_2 >=========================================================================== >=======================<phase: build >============================ >===> Building for pipsecd-19991014_2 >cc -Wall -I/usr/local/include/openssl -I/usr/local/include -I/usr/local/include -g -O2 -pipe -fstack-protector -fno-strict-aliasing -o pipsecd tunip.c -L/usr/local/lib -lcrypto -DFILE_PREFIX=\"/usr/local\" >tunip.c:376:5: warning: incompatible pointer types initializing 'void (*)(hash_CTX *)' with an expression of type 'int (MD5_CTX *)' [-Wincompatible-pointer-types] > MD5_Init, MD5_Update, MD5_Final > ^~~~~~~~ >tunip.c:376:15: warning: incompatible pointer types initializing 'void (*)(hash_CTX *, const unsigned char *, unsigned int)' with an expression of type 'int (MD5_CTX *, const void *, size_t)' [-Wincompatible-pointer-types] > MD5_Init, MD5_Update, MD5_Final > ^~~~~~~~~~ >tunip.c:376:27: warning: incompatible pointer types initializing 'void (*)(unsigned char *, hash_CTX *)' with an expression of type 'int (unsigned char *, MD5_CTX *)' [-Wincompatible-pointer-types] > MD5_Init, MD5_Update, MD5_Final > ^~~~~~~~~ >tunip.c:381:5: warning: incompatible pointer types initializing 'void (*)(hash_CTX *)' with an expression of type 'int (SHA_CTX *)' [-Wincompatible-pointer-types] > SHA1_Init, SHA1_Update, SHA1_Final > ^~~~~~~~~ >tunip.c:381:16: warning: incompatible pointer types initializing 'void (*)(hash_CTX *, const unsigned char *, unsigned int)' with an expression of type 'int (SHA_CTX *, const void *, size_t)' [-Wincompatible-pointer-types] > SHA1_Init, SHA1_Update, SHA1_Final > ^~~~~~~~~~~ >tunip.c:381:29: warning: incompatible pointer types initializing 'void (*)(unsigned char *, hash_CTX *)' with an expression of type 'int (unsigned char *, SHA_CTX *)' [-Wincompatible-pointer-types] > SHA1_Init, SHA1_Update, SHA1_Final > ^~~~~~~~~~ >tunip.c:386:5: warning: incompatible pointer types initializing 'void (*)(hash_CTX *)' with an expression of type 'int (RIPEMD160_CTX *)' [-Wincompatible-pointer-types] > RIPEMD160_Init, RIPEMD160_Update, RIPEMD160_Final > ^~~~~~~~~~~~~~ >tunip.c:386:21: warning: incompatible pointer types initializing 'void (*)(hash_CTX *, const unsigned char *, unsigned int)' with an expression of type 'int (RIPEMD160_CTX *, const void *, size_t)' [-Wincompatible-pointer-types] > RIPEMD160_Init, RIPEMD160_Update, RIPEMD160_Final > ^~~~~~~~~~~~~~~~ >tunip.c:386:39: warning: incompatible pointer types initializing 'void (*)(unsigned char *, hash_CTX *)' with an expression of type 'int (unsigned char *, RIPEMD160_CTX *)' [-Wincompatible-pointer-types] > RIPEMD160_Init, RIPEMD160_Update, RIPEMD160_Final > ^~~~~~~~~~~~~~~ >tunip.c:502:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if (strcmp(encap_meth[i].name, name) == 0) > ^~~~~~~~~~~~~~~~~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >tunip.c:502:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if (strcmp(encap_meth[i].name, name) == 0) > ^~~~ >/usr/include/string.h:80:39: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >tunip.c:514:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if (strcmp(cp->name, name) == 0) > ^~~~ >/usr/include/string.h:80:39: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >tunip.c:526:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if (strcmp(hp->name, name) == 0) > ^~~~ >/usr/include/string.h:80:39: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >tunip.c:543:37: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] > (struct sockaddr *)&encap->from, &encap->fromlen); > ^~~~~~~~~~~~~~~ >/usr/include/sys/socket.h:616:96: note: passing argument to parameter here >ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); > ^ >tunip.c:574:37: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] > (struct sockaddr *)&encap->from, &encap->fromlen); > ^~~~~~~~~~~~~~~ >/usr/include/sys/socket.h:616:96: note: passing argument to parameter here >ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); > ^ >tunip.c:624:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] > (struct sockaddr *)&encap->from, &encap->fromlen); > ^~~~~~~~~~~~~~~ >/usr/include/sys/socket.h:616:96: note: passing argument to parameter here >ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); > ^ >tunip.c:722:15: warning: unused variable 'i' [-Wunused-variable] > int sent, i; > ^ >tunip.c:771:17: warning: assigning to 'unsigned char *' from 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] > encap->name = "udp"; > ^ ~~~~~ >tunip.c:802:17: warning: assigning to 'unsigned char *' from 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] > encap->name = "ipah"; > ^ ~~~~~~ >tunip.c:833:17: warning: assigning to 'unsigned char *' from 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] > encap->name = "ipesp"; > ^ ~~~~~~~ >tunip.c:864:17: warning: assigning to 'unsigned char *' from 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] > encap->name = "icmp"; > ^ ~~~~~~ >tunip.c:909:52: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] > if (getsockname(fd, (struct sockaddr *)source, &addrlen) == -1) { > ^~~~~~~~ >/usr/include/sys/socket.h:612:74: note: passing argument to parameter here >int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); > ^ >tunip.c:956:52: warning: format specifies type 'int' but the argument has type 'unsigned char *' [-Wformat] > syslog(LOG_ERR, "illegal hex character '%c'", c); > ~~ ^ > %s >tunip.c:968:52: warning: format specifies type 'int' but the argument has type 'unsigned char *' [-Wformat] > syslog(LOG_ERR, "illegal hex character '%c'", c); > ~~ ^ > %s >tunip.c:997:18: warning: passing 'unsigned char [4096]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > while (fgets(line, sizeof line, cf) != NULL) { > ^~~~ >/usr/include/stdio.h:241:30: note: passing argument to parameter here >char *fgets(char * __restrict, int, FILE * __restrict); > ^ >tunip.c:1000:14: warning: passing 'unsigned char [4096]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > line[strlen(line)-1] = '\0'; > ^~~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >tunip.c:1004:18: warning: incompatible pointer types passing 'unsigned char **' to parameter of type 'char **' [-Wincompatible-pointer-types] > do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); > ^~~ >/usr/include/string.h:112:21: note: passing argument to parameter here >char *strsep(char **, const char *); > ^ >tunip.c:1004:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); > ^ ~~~~~~~~~~~~~~~~~~ >tunip.c:1008:19: warning: incompatible pointer types passing 'unsigned char **' to parameter of type 'char **' [-Wincompatible-pointer-types] > do arg2 = strsep(&lp, " \t"); while (arg2 && *arg2 == '\0'); > ^~~ >/usr/include/string.h:112:21: note: passing argument to parameter here >char *strsep(char **, const char *); > ^ >tunip.c:1008:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > do arg2 = strsep(&lp, " \t"); while (arg2 && *arg2 == '\0'); > ^ ~~~~~~~~~~~~~~~~~~ >tunip.c:1014:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if (strcmp(arg, "sa") == 0) { > ^~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >tunip.c:1048:19: warning: incompatible pointer types passing 'unsigned char **' to parameter of type 'char **' [-Wincompatible-pointer-types] > do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); > ^~~ >/usr/include/string.h:112:21: note: passing argument to parameter here >char *strsep(char **, const char *); > ^ >tunip.c:1048:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); > ^ ~~~~~~~~~~~~~~~~~~ >tunip.c:1051:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > arg2 = strchr(arg, '='); > ^~~ >/usr/include/string.h:76:26: note: passing argument to parameter here >char *strchr(const char *, int) __pure; > ^ >tunip.c:1051:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > arg2 = strchr(arg, '='); > ^ ~~~~~~~~~~~~~~~~ >tunip.c:1056:12: warning: assigning to 'unsigned char *' from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] > arg2 = ""; > ^ ~~ >tunip.c:1057:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if (strcmp(arg, "enc") == 0) { > ^~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >tunip.c:1064:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > } else if (strcmp(arg, "noiv") == 0) { > ^~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >tunip.c:1066:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > } else if (strcmp(arg, "dest") == 0) { > ^~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >tunip.c:1067:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > he = gethostbyname(arg2); > ^~~~ >/usr/include/netdb.h:221:43: note: passing argument to parameter here >struct hostent *gethostbyname(const char *); > ^ >tunip.c:1095:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > } else if (strcmp(arg, "ekey") == 0) { > ^~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >tunip.c:1101:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > } else if (strcmp(arg, "akey") == 0) { > ^~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >tunip.c:1107:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > } else if (strcmp(arg, "spi") == 0) { > ^~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >tunip.c:1108:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > sa->spi = atoi(arg2); > ^~~~ >/usr/include/stdlib.h:86:23: note: passing argument to parameter here >int atoi(const char *); > ^ >tunip.c:1109:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > } else if (strcmp(arg, "auth") == 0) { > ^~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >tunip.c:1145:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > } else if (strcmp(arg, "if") == 0) { > ^~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >tunip.c:1151:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > fd = open(arg2, O_RDWR); > ^~~~ >/usr/include/fcntl.h:305:22: note: passing argument to parameter here >int open(const char *, int, ...); > ^ >tunip.c:1153:10: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > perror(arg); > ^~~ >/usr/include/stdio.h:256:26: note: passing argument to parameter here >void perror(const char *); > ^ >tunip.c:1168:19: warning: incompatible pointer types passing 'unsigned char **' to parameter of type 'char **' [-Wincompatible-pointer-types] > do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); > ^~~ >/usr/include/string.h:112:21: note: passing argument to parameter here >char *strsep(char **, const char *); > ^ >tunip.c:1168:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); > ^ ~~~~~~~~~~~~~~~~~~ >tunip.c:1171:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > arg2 = strchr(arg, '='); > ^~~ >/usr/include/string.h:76:26: note: passing argument to parameter here >char *strchr(const char *, int) __pure; > ^ >tunip.c:1171:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > arg2 = strchr(arg, '='); > ^ ~~~~~~~~~~~~~~~~ >tunip.c:1176:12: warning: assigning to 'unsigned char *' from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] > arg2 = ""; > ^ ~~ >tunip.c:1177:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if (strcmp(arg, "local_spi") == 0) { > ^~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >tunip.c:1178:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > unsigned long spi = atoi(arg2); > ^~~~ >/usr/include/stdlib.h:86:23: note: passing argument to parameter here >int atoi(const char *); > ^ >tunip.c:1185:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > } else if (strcmp(arg, "remote_spi") == 0) { > ^~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >tunip.c:1186:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > unsigned long spi = atoi(arg2); > ^~~~ >/usr/include/stdlib.h:86:23: note: passing argument to parameter here >int atoi(const char *); > ^ >tunip.c:1215:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > } else if (strcmp(arg, "keepalive_recv") == 0) { > ^~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >tunip.c:1216:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > keepalive_recv = atoi(arg2); > ^~~~ >/usr/include/stdlib.h:86:23: note: passing argument to parameter here >int atoi(const char *); > ^ >tunip.c:1217:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > } else if (strcmp(arg, "keepalive_send") == 0) { > ^~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >tunip.c:1218:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > keepalive_send = atoi(arg2); > ^~~~ >/usr/include/stdlib.h:86:23: note: passing argument to parameter here >int atoi(const char *); > ^ >tunip.c:1219:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > } else if (strcmp(arg, "checkifaddr") == 0) { > ^~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >tunip.c:1220:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > check_ifaddr = atoi(arg2); > ^~~~ >/usr/include/stdlib.h:86:23: note: passing argument to parameter here >int atoi(const char *); > ^ >tunip.c:1299:32: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > hm->hash_Update(&hash_ctx, (char *)k_ipad, 64); > ^~~~~~~~~~~~~~ >tunip.c:1305:32: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > hm->hash_Update(&hash_ctx, (char *)k_opad, 64); > ^~~~~~~~~~~~~~ >tunip.c:1366:32: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > hm->hash_Update(&hash_ctx, ":::", 3); > ^~~~~ >tunip.c:1819:31: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'u_short *' (aka 'unsigned short *') [-Wincompatible-pointer-types] > eh->icmp_cksum = in_cksum(encap->buf+sizeof(struct ip), > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tunip.c:1876:13: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] > if (len < 0) { > ~~~ ^ ~ >tunip.c:2037:42: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'DES_cblock *' (aka 'unsigned char (*)[8]') [-Wincompatible-pointer-types] > DES_cbc_encrypt(t, t, len, &ek->des, iv, DES_ENCRYPT); > ^~ >/usr/local/include/openssl/des.h:122:59: note: passing argument to parameter 'ivec' here > long length,DES_key_schedule *schedule,DES_cblock *ivec, > ^ >tunip.c:2049:44: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'DES_cblock *' (aka 'unsigned char (*)[8]') [-Wincompatible-pointer-types] > DES_cbc_encrypt(ct, ct, len, &dk->des, iv, DES_DECRYPT); > ^~ >/usr/local/include/openssl/des.h:122:59: note: passing argument to parameter 'ivec' here > long length,DES_key_schedule *schedule,DES_cblock *ivec, > ^ >tunip.c:2060:21: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'const_DES_cblock *' (aka 'unsigned char (*)[8]') [-Wincompatible-pointer-types] > return DES_set_key(b, &k->des); > ^ >/usr/local/include/openssl/des.h:206:35: note: passing argument to parameter 'key' here >int DES_set_key(const_DES_cblock *key,DES_key_schedule *schedule); > ^ >tunip.c:2069:5: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'DES_cblock *' (aka 'unsigned char (*)[8]') [-Wincompatible-pointer-types] > iv, DES_ENCRYPT); > ^~ >/usr/local/include/openssl/des.h:162:40: note: passing argument to parameter 'ivec' here > DES_key_schedule *ks3,DES_cblock *ivec,int enc); > ^ >tunip.c:2077:5: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'DES_cblock *' (aka 'unsigned char (*)[8]') [-Wincompatible-pointer-types] > iv, DES_DECRYPT); > ^~ >/usr/local/include/openssl/des.h:162:40: note: passing argument to parameter 'ivec' here > DES_key_schedule *ks3,DES_cblock *ivec,int enc); > ^ >tunip.c:2085:21: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'const_DES_cblock *' (aka 'unsigned char (*)[8]') [-Wincompatible-pointer-types] > if (DES_set_key(b, &k->des3.k1) != 0) > ^ >/usr/local/include/openssl/des.h:206:35: note: passing argument to parameter 'key' here >int DES_set_key(const_DES_cblock *key,DES_key_schedule *schedule); > ^ >tunip.c:2087:21: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'const_DES_cblock *' (aka 'unsigned char (*)[8]') [-Wincompatible-pointer-types] > if (DES_set_key(b+8, &k->des3.k2) != 0) > ^~~ >/usr/local/include/openssl/des.h:206:35: note: passing argument to parameter 'key' here >int DES_set_key(const_DES_cblock *key,DES_key_schedule *schedule); > ^ >tunip.c:2089:21: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'const_DES_cblock *' (aka 'unsigned char (*)[8]') [-Wincompatible-pointer-types] > if (DES_set_key(b+16, &k->des3.k3) != 0) > ^~~~ >/usr/local/include/openssl/des.h:206:35: note: passing argument to parameter 'key' here >int DES_set_key(const_DES_cblock *key,DES_key_schedule *schedule); > ^ >tunip.c:2137:22: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'unsigned int' [-Wint-conversion] > tun_new(&tm_tun, NULL, 0); > ^~~~ >/usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' >#define NULL ((void *)0) > ^~~~~~~~~~~ >tunip.c:711:16: note: passing argument to parameter 'link_header_size' here > unsigned link_header_size, unsigned char *link_header) > ^ >tunip.c:2332:8: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] > peer - peers); > ^~~~~~~~~~~~ >78 warnings generated. >=========================================================================== >=======================<phase: run-depends >============================ >===> pipsecd-19991014_2 depends on file: /usr/local/lib/libcrypto.so.30 - found >=========================================================================== >=======================<phase: stage >============================ >===> Staging for pipsecd-19991014_2 >===> Generating temporary packing list >install -s -o root -g wheel -m 555 /wrkdirs/usr/ports/net/pipsecd/work/pipsec-19991014/pipsecd /wrkdirs/usr/ports/net/pipsecd/work/stage/usr/local/sbin >install -o root -g wheel -m 0644 /wrkdirs/usr/ports/net/pipsecd/work/pipsec-19991014/pipsecd.sh /wrkdirs/usr/ports/net/pipsecd/work/stage/usr/local/etc/rc.d >/bin/mkdir -p /wrkdirs/usr/ports/net/pipsecd/work/stage/usr/local/etc/ipsec >install -o root -g wheel -m 0644 /wrkdirs/usr/ports/net/pipsecd/work/pipsec-19991014/pipsecd.conf.sample /wrkdirs/usr/ports/net/pipsecd/work/stage/usr/local/etc/ipsec >/bin/mkdir -p /wrkdirs/usr/ports/net/pipsecd/work/stage/usr/local/share/doc/pipsecd >install -o root -g wheel -m 444 /wrkdirs/usr/ports/net/pipsecd/work/pipsec-19991014/README /wrkdirs/usr/ports/net/pipsecd/work/stage/usr/local/share/doc/pipsecd >install -o root -g wheel -m 444 /wrkdirs/usr/ports/net/pipsecd/work/pipsec-19991014/COPYRIGHT /wrkdirs/usr/ports/net/pipsecd/work/stage/usr/local/share/doc/pipsecd >install -o root -g wheel -m 444 /wrkdirs/usr/ports/net/pipsecd/work/pipsec-19991014/README.port /wrkdirs/usr/ports/net/pipsecd/work/stage/usr/local/share/doc/pipsecd >/usr/bin/strip /wrkdirs/usr/ports/net/pipsecd/work/stage/usr/local/sbin/pipsecd >====> Compressing man pages (compress-man) >=========================================================================== >=======================<phase: package >============================ >===> Building package for pipsecd-19991014_2 >/usr/local/lib/libcrypto.so.30.0.3 >=========================================================================== >====>> Cleaning up wrkdir >===> Cleaning for pipsecd-19991014_2 >build of net/pipsecd ended at Tue Mar 3 08:12:51 EST 2015 >build time: 00:00:06
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 198345
:
153886
| 153887