From nobody Tue Jan 30 20:59:51 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TPcxN1jqhz57ZFV for ; Tue, 30 Jan 2024 20:59:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TPcxM6BF2z4mBR for ; Tue, 30 Jan 2024 20:59:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706648391; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Ek7x9+8JNA2ovcEbuxl23n0gcV0ELeO5m7HQkFBaJTk=; b=K+hEPIenlBH2gQe6yB7w80UMLcvfkUX0xSUfXiR876xk7QexwwvM1nMcm847NmTxGo0LNd Ys/sWHE63iZpJ+ahAoA6O1KPUl+VTXDkAt2ERqhyEjQGQBC8ZUPIGTmHPjXM/xm5F97cm8 UiszErtWUlwrFLj09g3Lw4dpKC5sNHU22r0ThJ2l9nOp2r5rJBc517Zq2a96B3Ioo7FpaV WxxDdmuCeiLV5ZYvE+uVoDWJYltIvzFVaKBFXanjUpNvieTeMUdDdfgSYPv7QjZO+aEqpe ZQGUwsH4cqJqQzm551G6fytRjlFX4gNtr+5vJsPuHRkLmczYWEjtGTUEWT1peA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706648391; a=rsa-sha256; cv=none; b=Nt8KG1DzoSG4UjSoSEabryarUPFDkWqmAznuwf9+EdkAguU7womCVY9lsozjwbkawxbIp7 yjhu4Urs9jxFqHdoE2h9otJZR3MXcjicLQF4dtKiuTk5n+7RFA2qZuz5tKoOlixlsxR7BN e7EAteC/dt+i9unkd0DtWDMX5MPXOmmM6L6CdUyaJAR5Xop+CVqn1pUSIjG8BkkqqCjN5+ 87c1KAPLjrRUz2aB2w3LEydvAvzwP11FHnoBtDU8WFYJTXte08lU3Ey/gx80LYkA9eQ8Zl ccSLJ2ywjn3sIjTEtxlYm2SX5HiuBdxzha83gzeu3dUR0tsGl5ajAf7stLDx6Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TPcxM599Zzqhy for ; Tue, 30 Jan 2024 20:59:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 40UKxpm8036946 for ; Tue, 30 Jan 2024 20:59:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40UKxpWP036945 for ports-bugs@FreeBSD.org; Tue, 30 Jan 2024 20:59:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 276740] sysutils/syslog-ng: build fails when "IPv6 protocol support" config option is disabled Date: Tue, 30 Jan 2024 20:59:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@shaunc.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276740 Bug ID: 276740 Summary: sysutils/syslog-ng: build fails when "IPv6 protocol support" config option is disabled Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: cy@FreeBSD.org Reporter: freebsd@shaunc.com Assignee: cy@FreeBSD.org Flags: maintainer-feedback?(cy@FreeBSD.org) Overview: Hi, one of the configuration options presented for syslog-ng is "IPv6 proto= col support." Beginning with version 4.6.0, when this option is disabled, the b= uild complains about undefined symbols (g_sockaddr_inet6_check and g_sockaddr_inet6_is_v4_mapped), then fails.=20 Not sure whether this is a port issue or something upstream; figured I'd st= art here first. Thanks! System: FreeBSD 13.2-RELEASE-p9 releng/13.2-n254652-c78c31d2ef40 amd64 Steps to reproduce: [root@host ~]# cd /usr/ports/sysutils/syslog-ng [root@host syslog-ng]# make clean =3D=3D=3D> Cleaning for syslog-ng-4.6.0 [root@host syslog-ng]# make config uncheck the "IPv6 protocol support" option, hit Enter to save (specifically, my config only has "DOCS" and "JSON" enabled) [root@host syslog-ng]# make ... ...snip some successful build output... ... syslog-ng Open Source Edition 4.6.0 configured Edition settings: Release type : stable Pretty version : 4 Combined vers. : 4 (4.6.0) Package name : syslog-ng Compiler options: compiler : cc compiler options : -O2 -g -pthread -O2 -pipe -march=3Damdfam1= 0=20 -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -pthre= ad -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=3DGLIB_VERSION_2_68 -I$(top_srcdir)/lib/eventlo= g/src -I$(top_builddir)/lib/eventlog/src -I/usr/local/include -I/usr/include=20=20 -I/usr/local/include -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 ObjC compiler : clang C++ enabled : no linker flags : -fstack-protector-strong prefix : /usr/local linking mode : dynamic embedded crypto : no __thread keyword : yes Test dependencies: Criterion : no Unit tests : no Submodules: ivykis : system Features: Forced server mode : yes Debug symbols : no GCC profiling : no Memtrace : no IPV6 support : no spoof-source support : no tcp-wrapper support : no Linux capability support : no Env wrapper support : no systemd support : no (unit dir: none) systemd-journal support : no JSON support : yes Build options: Generate manual pages : yes Install manual pages : yes Modules: Module search path : ${exec_prefix}/lib/syslog-ng Sun STREAMS support (module): no Darwin OSL support (module) : no OpenBSD syslog (module) : no SQL support (module) : no PACCT module (EXPERIMENTAL) : no MongoDB destination (module): no JSON support (module) : yes SMTP support (module) : no HTTP support (module) : no AMQP destination (module) : no STOMP destination (module) : yes MQTT (module) : no GRPC (module) : no Cloud Auth (module) : no GEOIP2 support (module) : no Redis support (module) : no Kafka support (module) : no Riemann destination (module): no, microseconds: no Python : no (pkg-config package: none, packages: non= e) Python modules : no Java : no Java modules : no afsnmp module : no eBPF module : no native bindings : auto Example modules : yes =3D=3D=3D> Building for syslog-ng-4.6.0 gmake[2]: Entering directory '/usr/ports/sysutils/syslog-ng/work/syslog-ng-4.6.0' ... ...snip some successful build output... ... libtool: compile: cc -DHAVE_CONFIG_H -I. -I./lib -I./modules -I./lib -I./modules -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=3DGLIB_VERSIO= N_2_68 -I./lib/eventlog/src -I./lib/eventlog/src -I/usr/local/include -I/usr/inclu= de -I/usr/local/include -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -Wshadow -Wno-stack-protector -Wno-unused-parameter -Wno-variadic-macros -O2 -g -pthread -O2 -pipe -march=3Damdfam10 -fstack-protector-strong -fno-strict-aliasing -MT lib/template/libsyslog_ng_la-macros.lo -MD -MP -MF lib/template/.deps/libsyslog_ng_la-macros.Tpo -c lib/template/macros.c -fP= IC -DPIC -o lib/template/.libs/libsyslog_ng_la-macros.o lib/template/macros.c:280:7: warning: implicit declaration of function 'g_sockaddr_inet6_check' is invalid in C99 [-Wimplicit-function-declaration] if (g_sockaddr_inet6_check(msg->saddr)) ^ lib/template/macros.c:282:11: warning: implicit declaration of function 'g_sockaddr_inet6_is_v4_mapped' is invalid in C99 [-Wimplicit-function-declaration] if (g_sockaddr_inet6_is_v4_mapped(msg->saddr)) ^ 2 warnings generated. ... ...snip some successful build output... ... libtool: link: cc -Wshadow -Wno-stack-protector -Wno-unused-parameter -Wno-variadic-macros -O2 -g -O2 -pipe -march=3Damdfam10 -fstack-protector-s= trong -fno-strict-aliasing -fstack-protector-strong -o modules/correlation/pdbtool/.libs/pdbtool modules/correlation/pdbtool/pdbtool-pdbtool.o -Wl,--export-dynamic=20 ./lib/.libs/libsyslog-ng.so ./modules/correlation/.libs/libsyslog-ng-patterndb.a /usr/ports/sysutils/syslog-ng/work/syslog-ng-4.6.0/lib/.libs/libsyslog-ng.so -L/usr/local/lib /usr/ports/sysutils/syslog-ng/work/syslog-ng-4.6.0/lib/eventlog/src/.libs/l= ibevtlog.so /usr/ports/sysutils/syslog-ng/work/syslog-ng-4.6.0/lib/secret-storage/.libs= /libsecret-storage.so -L/usr/lib -lcrypto -lssl -lm -lrt -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl ./lib/eventlog/src/.libs/libevtlog.so ./lib/secret-storage/.libs/libsecret-storage.so -lpcre2-8 -lregex -ldl -liv= ykis -pthread -Wl,-rpath -Wl,/usr/local/lib ld: error: ./lib/.libs/libsyslog-ng.so: undefined reference to g_sockaddr_inet6_check [--no-allow-shlib-undefined] ld: error: ./lib/.libs/libsyslog-ng.so: undefined reference to g_sockaddr_inet6_is_v4_mapped [--no-allow-shlib-undefined] cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[4]: *** [Makefile:17093: modules/correlation/pdbtool/pdbtool] Error 1 gmake[3]: *** [Makefile:29058: all-recursive] Error 1 gmake[2]: *** [Makefile:12537: all] Error 2 gmake[2]: Leaving directory '/usr/ports/sysutils/syslog-ng/work/syslog-ng-4.6.0' *** Error code 1 Stop. make[1]: stopped in /usr/ports/sysutils/syslog-ng *** Error code 1 Stop. make: stopped in /usr/ports/sysutils/syslog-ng --=20 You are receiving this mail because: You are the assignee for the bug.=