From nobody Wed Nov 10 07:00:11 2021 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 0DB8E18565B5 for ; Wed, 10 Nov 2021 07:00:12 +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 4Hpwhq6V4Kz4qMT for ; Wed, 10 Nov 2021 07:00:11 +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 B0DFE1432F for ; Wed, 10 Nov 2021 07:00:11 +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 1AA70BC6074341 for ; Wed, 10 Nov 2021 07:00:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1AA70Bbr074340 for ports-bugs@FreeBSD.org; Wed, 10 Nov 2021 07:00:11 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 259177] lang/swi-pl update from 8.2.3 to 8.4.0-1 Date: Wed, 10 Nov 2021 07:00:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Some People X-Bugzilla-Who: dewayne@heuristicsystems.com.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259177 --- Comment #5 from dewayne@heuristicsystems.com.au --- (In reply to Wen Heping from comment #4) Thank-you Wen Heping. I had some challenges because I hadn't yet moved to = git and our portrevision was 1 not 3. Regardless, on FreeBSD 12.2Stable and building with gcc10 (gcc-10.2.0), I have=20 # swipl -g version. Welcome to SWI-Prolog (threaded, 32 bits, version 8.4.0) and # swipl -g version Welcome to SWI-Prolog (threaded, 64 bits, version 8.4.0) We build most of our ports using gcc, because that's what most developers u= se. As an FYI, we take advantage of FreeBSD's implementation of ASLR on product= ion systems where SWI-PL 8.4.0 is now installed, we also build with O3 and LDFL= AGS=3D -Wl,--strip-debug -Wl,--build-id=3Dmd5 -Wl,--hash-style=3Dsysv -pie -Wl,-z,= notext -z notext -z relro -z now -Wl,-rpath=3D/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 swi-pl passed our tests which includes "extras" like threads, clpfd, extern= al tables, yaml and now redis :)=20 ------------- As an FYI, ... We attempted to build using clang, but retained the gcc CFLAGS, some of whi= ch don't work with clang.=20=20 On i386 with clang 10.0.1 fails with: 306/930] /usr/bin/cc -Isrc -I/var/ports/usr/ports/lang/swi-pl/work/swipl-8.4.0/src ... -c /var/ports/usr/ports/lang/swi-pl/work/swipl-8.4.0/src/pl-thread.c FAILED: src/CMakeFiles/swiplobjs.dir/pl-thread.c.o /var/ports/usr/ports/lang/swi-pl/work/swipl-8.4.0/src/pl-thread.c:1740:31: error: too few arguments to function call, expected 2, have 1 if ( pthread_setname_np(name) =3D=3D 0 ) ~~~~~~~~~~~~~~~~~~ ^ /usr/include/pthread.h:306:1: note: 'pthread_setname_np' declared here int pthread_setname_np(pthread_t, const char *); ^ 1 error generated. ninja: build stopped: subcommand failed. *** Error code 1 -------------- Back to amd64 build using clang 10.0.1 [105/930] /usr/bin/cc -Dplugin_time_EXPORTS -Ipackages/clib -I/var/ports/usr/ports/lang/swi-pl/work/swipl-8.4.0/src/os ... -c /var/ports/usr/ports/lang/swi-pl/work/swipl-8.4.0/packages/clib/time.c /var/ports/usr/ports/lang/swi-pl/work/swipl-8.4.0/packages/clib/time.c:158:= 33: error: void function 'print_trace' should not return a value [-Wreturn-type] static void print_trace (void) {return(0);} /* Kludge: FreeBSD doesnt have backtrace in glibc */ ^ ~~~ 1 error generated. ninja: build stopped: subcommand failed. *** Error code 1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The following were my initial build attem= pts where I had these problems, which are probably of my own doing (because I hadn't moved to portrevision=3D3 =3D=3D=3D> Building package for swi-pl-8.4.0 pkg-static: Unable to access file /var/ports/usr/ports/lang/swi-pl/work/stage/us=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 r/local/lib/swipl/doc/Manual/chr-warnings-and-errors.html:No such file or directory pkg-static: Unable to access file /var/ports/usr/ports/lang/swi-pl/work/stage/us=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 r/local/lib/swipl/doc/Manual/debug-determinism.html:No such file or directo= ry pkg-static: Unable to access file /var/ports/usr/ports/lang/swi-pl/work/stage/us=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 r/local/lib/swipl/doc/Manual/increval.html:No such file or directory pkg-static: Unable to access file /var/ports/usr/ports/lang/swi-pl/work/stage/us=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 r/local/lib/swipl/doc/Manual/portraytext.html:No such file or directory pkg-static: Unable to access file /var/ports/usr/ports/lang/swi-pl/work/stage/us=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 r/local/lib/swipl/doc/Manual/prologdebug.html:No such file or directory pkg-static: Unable to access file /var/ports/usr/ports/lang/swi-pl/work/stage/us=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 r/local/lib/swipl/doc/Manual/ssu.html:No such file or directory pkg-static: Unable to access file /var/ports/usr/ports/lang/swi-pl/work/stage/us=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 r/local/lib/swipl/doc/Manual/string.html:No such file or directory pkg-static: Unable to access file /var/ports/usr/ports/lang/swi-pl/work/stage/us=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 r/local/lib/swipl/doc/Manual/tabling-monotonic.html:No such file or directo= ry pkg-static: Unable to access file /var/ports/usr/ports/lang/swi-pl/work/stage/us=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 r/local/lib/swipl/doc/Manual/terms.html:No such file or directory pkg-static: Unable to access file /var/ports/usr/ports/lang/swi-pl/work/stage/us=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 r/local/lib/swipl/doc/packages/mqi.html:No such file or directory pkg-static: Unable to access file /var/ports/usr/ports/lang/swi-pl/work/stage/us=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 r/local/lib/swipl/doc/packages/redis.html:No such file or directory pkg-static: Unable to access file /var/ports/usr/ports/lang/swi-pl/work/stage/us=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 r/local/lib/swipl/doc/packages/stomp.html:No such file or directory *** Error code 1 After some minor changes, we're very happy and I'm glad that it works.=20 Thank-you. --=20 You are receiving this mail because: You are the assignee for the bug.=