From nobody Sun Mar 27 08:51: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 382821A3EB2A for ; Sun, 27 Mar 2022 08:51: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 4KR8h20Fn8z4scL for ; Sun, 27 Mar 2022 08:51: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 DDEF812783 for ; Sun, 27 Mar 2022 08:51: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 22R8pTm8080621 for ; Sun, 27 Mar 2022 08:51:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22R8pTGx080620 for ports-bugs@FreeBSD.org; Sun, 27 Mar 2022 08:51: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 262854] net-mgmt/pmacct Date: Sun, 27 Mar 2022 08:51: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: emile@globenet.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pi@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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648371090; 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=NkBhsZUzi6cYtmDbpanpQelKy4Hymh94gNGQZ2+tRv4=; b=SU97KTcY+T0mlSgWklM275XNXtbgcKJuCSHlZPMLlo3TAKezujzCeWgvmOPR22rF95TVGp Cduw+IPGArsT9DongIn3wvupLM8Wep/76bmAuklxFKBIydXRyRSD40+e9iuLBwnRfLp3WB PwcQEF0/VHjyOHtK8TLn95LZc5WbT+o/DwszVjoxfzpik1dV5Is8cZQvvvAS7e+Vt8j1xT CBdcMjeQ3waiaoqfeZ4tZNuqs31NuitjPr/OMZAffnYC4cQSlqxlSrAv7WFDgfwASDdQKE FLw2vmYyHXhavk/otFB4ZH1r0IfLYtCx3HIEefFvLrik0yBFllFRHR5aZh0ofg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648371090; a=rsa-sha256; cv=none; b=XNj2UvAY4MO7jK/q2g8IbqW47KZppPzjC/J5ePSlUuRNtXHQuPSo1IBZvvkHkTM1AvXiEA WYcvy9q7oaZpNDSDPutdDl5334Cuw0971qEKgrBtZZKa3knn+ia071Gzh+7yo3gdSaCYta tdvP/u+z74xwJ/WrpXYMLMH+TmmvKvQqbXKilWX3q5JcTePPPVrdlsrLKHu2MPSVewL9uS ldtkGnYmLinpNHiVF+nLUKkW3oD2mpbLZV2Yd9Xrg47vO/75QNH2DZP1KFxSigFzZr/JYM 47mQQ1qme9cxiegYZ6FhQ5La9nOTQaWFEUHJHgqlLvIK5cdFDILEG7tIrT+gMQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262854 Bug ID: 262854 Summary: net-mgmt/pmacct Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: pi@FreeBSD.org Reporter: emile@globenet.org Flags: maintainer-feedback?(pi@FreeBSD.org) Assignee: pi@FreeBSD.org I try to build pmacct with ports on a fresh FreeBSD by I get some trouble building external lib libcdada: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D 8< =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D> Building for pmacct-1.7.7 --- all-recursive --- Making all in src gmake[3]: Entering directory '/usr/ports/net-mgmt/pmacct/work/pmacct-1.7.7/= src' gmake all-recursive gmake[4]: Entering directory '/usr/ports/net-mgmt/pmacct/work/pmacct-1.7.7/= src' Making all in external_libs gmake[5]: Entering directory '/usr/ports/net-mgmt/pmacct/work/pmacct-1.7.7/src/external_libs' [dep: libcdada] Checking... [dep: libcdada] Skipping commit sync.. [dep: libcdada] Building... libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure.ac:9: installing 'build-aux/compile' configure.ac:7: installing 'build-aux/missing' examples/Makefile.am: installing 'build-aux/depcomp' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/ports/net-mgmt/pmacct/work/pmacct-1.7.7/src/external_libs/libcdada/bui= ld-aux/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for gcc... cc checking whether the C compiler works... no configure: error: in `/usr/ports/net-mgmt/pmacct/work/pmacct-1.7.7/src/external_libs/libcdada/bu= ild': configure: error: C compiler cannot create executables See `config.log' for more details gmake[5]: *** [Makefile:507: _libcdada] Error 1 gmake[5]: Leaving directory '/usr/ports/net-mgmt/pmacct/work/pmacct-1.7.7/src/external_libs' gmake[4]: *** [Makefile:1358: all-recursive] Error 1 gmake[4]: Leaving directory '/usr/ports/net-mgmt/pmacct/work/pmacct-1.7.7/s= rc' gmake[3]: *** [Makefile:695: all] Error 2 gmake[3]: Leaving directory '/usr/ports/net-mgmt/pmacct/work/pmacct-1.7.7/s= rc' make[2]: stopped in /usr/ports/net-mgmt/pmacct/work/pmacct-1.7.7 =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/net-mgmt/pmacct *** Error code 1 Stop. make: stopped in /usr/ports/net-mgmt/pmacct =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >8 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The problem is on configure step, here a part of config.log: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D 8< =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D configure:3460: checking whether the C compiler works configure:3482: cc -O2 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Werror -I/usr/ports/net-mgmt/pmacct/work/pmacct-1.7.7/src/external_libs/rootfs/inc= lude -I/usr/ports/net-mgmt/pmacct/work/pmacct-1.7.7/src -isystem /usr/local/include -L/usr/ports/net-mgmt/pmacct/work/pmacct-1.7.7/src/external_libs/rootfs/lib= =20 -fstack-protector-strong conftest.c -lcdada -lstdc++ -lpcap -L/usr/local/l= ib -ldl -lm -lpthread >&5 ld: error: unable to find library -lcdada cc: error: linker command failed with exit code 1 (use -v to see invocation) configure:3486: $? =3D 1 configure:3524: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "LIBCDADA" | #define PACKAGE_TARNAME "libcdada" | #define PACKAGE_VERSION "v0.3.5" | #define PACKAGE_STRING "LIBCDADA v0.3.5" | #define PACKAGE_BUGREPORT "marcdevel@gmail.com" | #define PACKAGE_URL "http://github.com/msune/libcdada" | #define PACKAGE "libcdada" | #define VERSION "v0.3.5" | /* end confdefs.h. */ |=20 | int | main () | { |=20 | ; | return 0; | } configure:3529: error: in `/usr/ports/net-mgmt/pmacct/work/pmacct-1.7.7/src/external_libs/libcdada/bu= ild': configure:3532: error: C compiler cannot create executables =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >8 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D As you can see, configure try to compile the test program with -lcdada, this obviously can't work since I try to build lcdada itseft ... Building pmacct with poudriere works well. This is my first time with FreeBSD, maybe I miss something :) --=20 You are receiving this mail because: You are the assignee for the bug.=