Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2023 12:32:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 271131] net/asterisk18: utils.c:99:12: error: static declaration of 'gethostbyname_r' follows non-static declaration
Message-ID:  <bug-271131-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 271131
           Summary: net/asterisk18: utils.c:99:12: error: static
                    declaration of 'gethostbyname_r' follows non-static
                    declaration
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ohartmann@walstatt.org

CURRENT host running poudriere for 13-STABLE jails.
CURRENT: 14.0-CURRENT #30 main-n262556-82bc33d5ad2: Tue Apr 25 22:53:05 CEST
2023

Building of net/asterisk18 fails due to the error shown below.

SAME ERROR STRUCK DOWN net/asterisk16!

=3D>> Building net/asterisk18
build started at Sat Apr 29 11:18:12 UTC 2023
port directory: /usr/ports/net/asterisk18
package name: asterisk18-18.17.1_1
building for: FreeBSD host.der 13.2-STABLE FreeBSD 13.2-STABLE 1302505 amd64
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  10576 Apr 25 15:38
/usr/ports/net/asterisk18/Makefile
Ports top last git commit: 5493ec9d4041
Ports top unclean checkout: no
Port dir last git commit: feb1fa34f58e
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.99.20220831
Host OSVERSION: 1400088
Jail OSVERSION: 1302505
Job Id: 01

---Begin Environment---
SHELL=3D/bin/csh
OSVERSION=3D1302505
UNAME_v=3DFreeBSD 13.2-STABLE 1302505
UNAME_r=3D13.2-STABLE
BLOCKSIZE=3DK
MAIL=3D/var/mail/root
MM_CHARSET=3DUTF-8
LANG=3DC.UTF-8
STATUS=3D1
HOME=3D/root
PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/b=
in
LOCALBASE=3D/usr/local
USER=3Droot
POUDRIERE_NAME=3Dpoudriere-git
LIBEXECPREFIX=3D/usr/local/libexec/poudriere
POUDRIERE_VERSION=3D3.3.99.20220831
MAKEOBJDIRPREFIX=3D/pool/sources/13-STABLE/obj/
MASTERMNT=3D/pool/poudriere/data/.m/13-amd64-head-default/ref
LC_COLLATE=3DC
POUDRIERE_BUILD_TYPE=3Dbulk
PACKAGE_BUILDING=3Dyes
SAVED_TERM=3Dscreen
OUTPUT_REDIRECTED_STDERR=3D4
OUTPUT_REDIRECTED=3D1
PWD=3D/pool/poudriere/data/.m/13-amd64-head-default/01/.p
OUTPUT_REDIRECTED_STDOUT=3D3
P_PORTS_FEATURES=3DFLAVORS SELECTED_OPTIONS
MASTERNAME=3D13-amd64-head-default
SCRIPTPREFIX=3D/usr/local/share/poudriere
SCRIPTNAME=3Dbulk.sh
OLDPWD=3D/pool/poudriere/data/.m/13-amd64-head-default/ref/.p/pool
POUDRIERE_PKGNAME=3Dpoudriere-git-3.3.99.20220831
SCRIPTPATH=3D/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=3D/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=3D
PKGENV=3D
FLAVOR=3D
DEPENDS_ARGS=3D
MAKE_ARGS=3D
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
=3D=3D=3D> The following configuration options are available for
asterisk18-18.17.1_1:
     ASTVERSION=3Doff: Install astversion (requires bash)
     BACKTRACE=3Doff: Stack backtrace support via (lib)execinfo
     CURL=3Don: Data transfer support via cURL
     DAHDI=3Don: DAHDI support
     EXCHANGE=3Doff: Exchange calendar support
     FREETDS=3Don: FreeTDS library support
     G729=3Don: Install G.729 format sounds for Music-on-Hold (MoH)
     GEOLOCATION=3Doff: Enable SIP Geolocation support
     LDAP=3Don: LDAP protocol support
     LUA=3Don: Lua scripting language support
     MACRO=3Don: Enable app_macro (deprecated)
     MP3PLAYER=3Don: Install MP3 Player for Music-On-Hold (mpg123)
     OOH323=3Doff: ooh323 support
     OPTIMIZED_CFLAGS=3Don: Use extra compiler optimizations
     PJSIP=3Don: Build the PJSIP based SIP channel
     PORTAUDIO=3Don: PortAudio library support
     RADIUS=3Don: RADIUS protocol support
     SNMP=3Don: SNMP network protocol support
     SPANDSP=3Don: SpanDSP faxing support
     SRTP=3Don: SecureRTP support
     SYSINFO=3Doff: Use devel/libsysinfo to get system information
     URIPARSER=3Don: Use RFC 3986 compliant uriparser library
     XMLDOC=3Don: Build and install XML documentation
     XMPP=3Don: XMPP/GTALK support
=3D=3D=3D=3D> Menuselect Interface Backend: you have to choose at least one=
 of them
     NCURSES=3Doff: Console (text) interface support
     NEWT=3Don: Newt User Interface
=3D=3D=3D=3D> Encoder/Decoder (Codec) Support
     GSM=3Don: GSM codec support
     NEWG711=3Doff: New G711 Codec
     OPUS=3Don: Opus Codec
     SPEEX=3Don: Speex audio format support
     VORBIS=3Don: Ogg Vorbis audio codec support
=3D=3D=3D=3D> Database Support
     MYSQL=3Don: MySQL database support
     ODBC=3Don: ODBC database backend
     PGSQL=3Don: PostgreSQL database support
=3D=3D=3D> Use 'make config' to modify these settings
---End OPTIONS List---

[...]
cc -o version.o -c version.c -MD -MT version.o -MF .version.o.d -MP -pthread
-I/wrkdirs/usr/ports/net/asterisk18/work/asterisk-18.17.1/include -O2 -pipe=
=20
-I/usr/local/include/lua54 -DLIBICONV_PLUG -DLDAP_DEPRECATED
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing=
=20=20
-I/usr/local/include/libxml2 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -fblocks  -isystem /usr/local/include -O3
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -march=3Dnative -DAST_MODULE=3D\"co=
re\"
-DAST_IN_CORE -O2 -pipe  -I/usr/local/include/lua54 -DLIBICONV_PLUG
-DLDAP_DEPRECATED -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -Wno-unused-value -Wno-parentheses-equality=20
cc -o xml.o -c xml.c -MD -MT xml.o -MF .xml.o.d -MP -pthread
-I/wrkdirs/usr/ports/net/asterisk18/work/asterisk-18.17.1/include -O2 -pipe=
=20
-I/usr/local/include/lua54 -DLIBICONV_PLUG -DLDAP_DEPRECATED
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing=
=20=20
-I/usr/local/include/libxml2 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -fblocks  -isystem /usr/local/include -O3
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -march=3Dnative -DAST_MODULE=3D\"co=
re\"
-DAST_IN_CORE -O2 -pipe  -I/usr/local/include/lua54 -DLIBICONV_PLUG
-DLDAP_DEPRECATED -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -Wno-unused-value -Wno-parentheses-equality=20
utils.c:99:12: error: static declaration of 'gethostbyname_r' follows
non-static declaration
static int gethostbyname_r (const char *name, struct hostent *ret, char *bu=
f,

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271131-7788>