From nobody Thu Mar 24 11:11:29 2022 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 C47FF1A4429B for ; Thu, 24 Mar 2022 11:11:30 +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 4KPMwy0RLHz4nqf for ; Thu, 24 Mar 2022 11:11:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 E32FC16E03 for ; Thu, 24 Mar 2022 11:11:29 +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 22OBBTMQ038618 for ; Thu, 24 Mar 2022 11:11:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22OBBTb4038617 for ports-bugs@FreeBSD.org; Thu, 24 Mar 2022 11:11:29 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 262756] net/ntopng: broken ports build due to missing symbols from glib Date: Thu, 24 Mar 2022 11:11:29 +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: franco@opnsense.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: madpilot@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 attachments.created 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648120290; 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=QnDKsIXx/ChJ2MSomDZ4NUexq7wejY15BbxKc4vqlXs=; b=H9IQjw/LuyF48ihHpv2jaD9KDTN0J1D9kPPhqIu3k9S3CoM4gEb4CLIpH03YWYy1qXFIeE H30Xu0x59nEL9sMfIn43sPgr5Z6HwdCzft7n9UJeWmLnuFvALtbtkDgLn4FllsY7Ukd6zo YOXcuYnMAN0+NBnS4pYOXpHUoIRtAFCJMRffHWQ0Cvq0ERf7+pqiM5zuAimmO/GHuzdQMt b8ccKrzlmWb6ziXWv/cQKRrYqG3P6CSo5StIY7RyyjcpvdqyaeRYpNOdblndt1cOEqxfxS tEGXz6Se7HCLdKslHw5yeEbO6J2Gl2XTrRr48xuUL5HCapGkBhnW6LeAhNiIeQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648120290; a=rsa-sha256; cv=none; b=qMsOoYoH89IsPy58szzZGzAnhOGbYA3ukyCBLqlNx/FYzJbJXInsW5r4hGwBYhbCnqkE3d yFzlJW0Eghn9ZBqjc8SY5clRyl057vGG8zLfoSCSEfl6oHSQJS+6DSzK4C65Ssqeryp2YL HFuJhsLhRfTG1Az5y1Bhm12rmuw3RoYVD8HOmd0hl/I2Iz1JSqQBcTZMNRIuW54P8buxnv iE95SPEvQeFNPHs4sZvlUfUjh60GTGJI3qZtm2tlQ1gY6VbwGDsr65riyxi390gaGpfUrS bM6LOR9JfxvLj7yrmxjARrvSiffSt04mF4Eo+wULxgnKnT0Kl86NGf0uHjh6BA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262756 Bug ID: 262756 Summary: net/ntopng: broken ports build due to missing symbols from glib Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: madpilot@FreeBSD.org Reporter: franco@opnsense.org Assignee: madpilot@FreeBSD.org Flags: maintainer-feedback?(madpilot@FreeBSD.org) Attachment #232674 maintainer-approval? Flags: Created attachment 232674 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D232674&action= =3Dedit glib addition A plain ports tree build in a clean 13-STABLE chroot fails with: clang++ -O2 -pipe -fstack-protector-strong -DLDAP_DEPRECATED -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include=20 -std=3Dc++0x -Wl,-rpath,/usr/local/lib -fstack-protector-strong=20=20 src/AddressResolution.o src/AddressTree.o src/AlertCounter.o=20 src/AlertableEntity.o src/AlertsQueue.o src/AutonomousSystem.o=20 src/AutonomousSystemHash.o src/Bitmap128.o src/Bitmask.o src/Bloom.o=20 src/BroadcastDomains.o src/Check.o src/ChecksLoader.o src/Condvar.o=20 src/ContainerStats.o src/ContinuousPing.o src/ContinuousPingStats.o=20 src/CountriesHash.o src/Country.o src/DB.o src/DSCPStats.o src/DnsStats= .o=20 src/DummyInterface.o src/ElasticSearch.o src/EthStats.o=20 src/ExportInterface.o src/Fingerprint.o src/Flow.o src/FlowAlert.o=20 src/FlowAlertsLoader.o src/FlowCheck.o src/FlowChecksExecutor.o=20 src/FlowChecksLoader.o src/FlowGrouper.o src/FlowHash.o src/FlowRiskAler= ts.o src/FlowStats.o src/FlowTrafficStats.o src/FrequentStringItems.o=20 src/GenericHash.o src/GenericHashEntry.o src/GenericTrafficElement.o=20 src/Geolocation.o src/HTTPserver.o src/HTTPstats.o src/Host.o=20 src/HostAlert.o src/HostAlertableEntity.o src/HostCheck.o=20 src/HostChecksExecutor.o src/HostChecksLoader.o src/HostHash.o=20 src/HostPoolStats.o src/HostPools.o src/HostStats.o src/ICMPinfo.o=20 src/ICMPstats.o src/IEC104Stats.o src/InfluxDBTimeseriesExporter.o=20 src/InterarrivalStats.o src/InterfaceStatsHash.o src/IpAddress.o=20 src/L4Stats.o src/ListeningPorts.o src/LocalHost.o src/LocalHostStats.o= =20 src/LocalTrafficStats.o src/LuaEngine.o src/LuaEngineInterface.o=20 src/LuaEngineNetwork.o src/LuaEngineNtop.o src/MDNS.o src/Mac.o=20 src/MacHash.o src/MacManufacturers.o src/MacStats.o src/MostVisitedList.= o=20 src/Mutex.o src/MySQLDB.o src/NetworkDiscovery.o src/NetworkInterface.o= =20 src/NetworkStats.o src/Ntop.o src/NtopGlobals.o src/ObservationPoint.o=20 src/ObservationPointHash.o src/OperatingSystem.o src/OperatingSystemHash.= o=20 src/OtherAlertableEntity.o src/PF_RINGInterface.o src/PacketDumper.o=20 src/PacketDumperTuntap.o src/PacketStats.o src/Paginator.o src/ParsedFlo= w.o=20 src/ParsedFlowCore.o src/ParsedeBPF.o src/ParserInterface.o=20 src/PartializableFlowTrafficStats.o src/PcapInterface.o=20 src/PeriodicActivities.o src/PeriodicScript.o src/Ping.o src/Prefs.o=20 src/ProtoStats.o src/RRDTimeseriesExporter.o src/RecipientQueues.o=20 src/Recipients.o src/Redis.o src/RemoteHost.o src/RoundTripStats.o=20 src/RwLock.o src/SNMP.o src/SQLiteAlertStore.o src/SQLiteStoreManager.o= =20 src/Score.o src/ScoreStats.o src/SerializableElement.o src/StatsManager.= o=20 src/SyslogCollectorInterface.o src/SyslogDump.o src/SyslogLuaEngine.o=20 src/SyslogParserInterface.o src/SyslogStats.o src/TcpFlowStats.o=20 src/TcpPacketStats.o src/ThreadPool.o src/ThreadedActivity.o=20 src/ThreadedActivityStats.o src/ThroughputStats.o src/TimelineExtract.o=20 src/TimeseriesExporter.o src/Trace.o src/TrafficStats.o src/Utils.o=20 src/VLAN.o src/VLANAddressTree.o src/VLANHash.o src/ViewInterface.o=20 src/ViewScoreStats.o src/VirtualHost.o src/VirtualHostHash.o=20 src/ZCCollectorInterface.o src/ZMQCollectorInterface.o=20 src/ZMQParserInterface.o src/ZMQPublisher.o src/main.o src/nDPIStats.o=20 src/flow_checks/BlacklistedCountry.o src/flow_checks/BlacklistedFlow.o=20 src/flow_checks/BroadcastNonUDPTraffic.o=20 src/flow_checks/DeviceProtocolNotAllowed.o=20 src/flow_checks/ExternalAlertCheck.o src/flow_checks/FlowRisk.o=20 src/flow_checks/IECUnexpectedTypeId.o src/flow_checks/LowGoodputFlow.o=20 src/flow_checks/NotPurged.o src/flow_checks/RemoteAccess.o=20 src/flow_checks/RemoteToLocalInsecureProto.o src/flow_checks/RemoteToRemot= e.o=20 src/flow_checks/TCPNoDataExchanged.o src/flow_checks/TCPZeroWindow.o=20 src/flow_checks/UDPUnidirectional.o src/flow_checks/UnexpectedServer.o=20 src/flow_checks/WebMining.o src/flow_alerts/BlacklistedCountryAlert.o=20 src/flow_alerts/BlacklistedFlowAlert.o=20 src/flow_alerts/BroadcastNonUDPTrafficAlert.o=20 src/flow_alerts/DeviceProtocolNotAllowedAlert.o=20 src/flow_alerts/ElephantFlowAlert.o src/flow_alerts/ExternalAlertCheckAler= t.o=20 src/flow_alerts/FlowRiskBinaryApplicationTransferAlert.o=20 src/flow_alerts/FlowRiskKnownProtocolOnNonStandardPortAlert.o=20 src/flow_alerts/FlowRiskSSHObsoleteClientAlert.o=20 src/flow_alerts/FlowRiskSSHObsoleteServerAlert.o=20 src/flow_alerts/FlowRiskSimpleAlert.o=20 src/flow_alerts/FlowRiskSuspiciousDGADomainAlert.o=20 src/flow_alerts/FlowRiskTLSCertificateSelfSignedAlert.o=20 src/flow_alerts/FlowRiskTLSOldProtocolVersionAlert.o=20 src/flow_alerts/IECInvalidTransitionAlert.o=20 src/flow_alerts/IECUnexpectedTypeIdAlert.o=20 src/flow_alerts/LongLivedFlowAlert.o src/flow_alerts/LowGoodputFlowAlert.o= =20 src/flow_alerts/PeriodicityChangedAlert.o src/flow_alerts/RemoteAccessAler= t.o=20 src/flow_alerts/RemoteToLocalInsecureProtoAlert.o=20 src/flow_alerts/TLSMaliciousSignatureAlert.o=20 src/flow_alerts/UnexpectedServerAlert.o src/host_checks/CountriesContacts.= o=20 src/host_checks/DNSServerContacts.o src/host_checks/DNSTraffic.o=20 src/host_checks/DangerousHost.o src/host_checks/DomainNamesContacts.o=20 src/host_checks/FlowFlood.o src/host_checks/FlowHits.o=20 src/host_checks/ICMPFlood.o src/host_checks/NTPServerContacts.o=20 src/host_checks/NTPTraffic.o src/host_checks/P2PTraffic.o=20 src/host_checks/PktThreshold.o src/host_checks/RemoteConnection.o=20 src/host_checks/SMTPServerContacts.o src/host_checks/SYNFlood.o=20 src/host_checks/SYNScan.o src/host_checks/ScoreThreshold.o=20 src/host_checks/ServerContacts.o src/host_alerts/CountriesContactsAlert.o= =20 src/host_alerts/DNSServerContactsAlert.o src/host_alerts/DNSTrafficAlert.o= =20 src/host_alerts/DangerousHostAlert.o=20 src/host_alerts/DomainNamesContactsAlert.o src/host_alerts/FlowHitsAlert.o= =20 src/host_alerts/NTPServerContactsAlert.o src/host_alerts/NTPTrafficAlert.o= =20 src/host_alerts/P2PTrafficAlert.o src/host_alerts/PktThresholdAlert.o=20 src/host_alerts/RemoteConnectionAlert.o=20 src/host_alerts/SMTPServerContactsAlert.o=20 src/host_alerts/ServerContactsAlert.o -Wall -Wl,-Bstatic -L/usr/local/lib -lndpi -lrrd -lm -lgcrypt -Wl,-Bdynamic -lpcap -llua-5.4 -L/usr/local/lib -lrrd /usr/local/lib/libjson-c.a -lmaxminddb -lsqlite3 /usr/local/lib/mysql/libmysqlclient.a -lexpat -L/usr/local/lib -lssl -lssl -lcrypto -Wl,-rpath,/usr/local/lib -fstack-protector-strong -L/usr/local= /lib -lmaxminddb -lzmq -L/usr/local/lib -lgpg-error -lzmq -lsodium -L/usr/local= /lib -lgcrypt -lldap -llber -lrt -lz -ldl -lcurl /usr/local/lib/libzstd.a -lm -lpthread -o ntopng ld: error: undefined symbol: g_list_append >>> referenced by librrdupd_la-rrd_create.o:(rrd_create) in archive /usr/lo= cal/lib/librrd.a >>> referenced by librrdupd_la-rrd_create.o:(rrd_create_r2) in archive /usr= /local/lib/librrd.a ld: error: undefined symbol: g_list_free_full >>> referenced by librrdupd_la-rrd_create.o:(rrd_create) in archive /usr/lo= cal/lib/librrd.a >>> referenced by librrdupd_la-rrd_create.o:(rrd_create_r2) in archive /usr= /local/lib/librrd.a >>> referenced by librrdupd_la-rrd_create.o:(rrd_create_r2) in archive /usr= /local/lib/librrd.a ld: error: undefined symbol: g_list_length >>> referenced by librrdupd_la-rrd_create.o:(rrd_create) in archive /usr/lo= cal/lib/librrd.a ld: error: undefined symbol: g_regex_new >>> referenced by librrdupd_la-rrd_create.o:(parseDS) in archive /usr/local= /lib/librrd.a ld: error: undefined symbol: g_match_info_free >>> referenced by librrdupd_la-rrd_create.o:(parseDS) in archive /usr/local= /lib/librrd.a ld: error: undefined symbol: g_regex_unref >>> referenced by librrdupd_la-rrd_create.o:(parseDS) in archive /usr/local= /lib/librrd.a ld: error: undefined symbol: g_regex_match >>> referenced by librrdupd_la-rrd_create.o:(parseDS) in archive /usr/local= /lib/librrd.a ld: error: undefined symbol: g_match_info_fetch_pos >>> referenced by librrdupd_la-rrd_create.o:(parseDS) in archive /usr/local= /lib/librrd.a >>> referenced by librrdupd_la-rrd_create.o:(parseDS) in archive /usr/local= /lib/librrd.a >>> referenced by librrdupd_la-rrd_create.o:(parseDS) in archive /usr/local= /lib/librrd.a >>> referenced 2 more times ld: error: undefined symbol: g_tree_new_full >>> referenced by librrdupd_la-rrd_update.o:(rrd_template_update) in archiv= e /usr/local/lib/librrd.a ld: error: undefined symbol: g_tree_lookup >>> referenced by librrdupd_la-rrd_update.o:(rrd_template_update) in archiv= e /usr/local/lib/librrd.a ld: error: undefined symbol: g_tree_insert >>> referenced by librrdupd_la-rrd_update.o:(rrd_template_update) in archiv= e /usr/local/lib/librrd.a clang++: error: linker command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [Makefile:136: ntopng] Error 1 gmake[1]: Leaving directory '/usr/obj/usr/ports/net/ntopng/work/ntopng-9d82= 383' Attached it is a patch meant as a POC that allows the build to continue. Cheers, Franco --=20 You are receiving this mail because: You are the assignee for the bug.=