From owner-freebsd-ports-bugs@freebsd.org Thu Feb 27 01:22:17 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D3D7E24E24D for ; Thu, 27 Feb 2020 01:22:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48SZf14Rqjz3D36 for ; Thu, 27 Feb 2020 01:22:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 984A624E24C; Thu, 27 Feb 2020 01:22:17 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 97F0E24E24B for ; Thu, 27 Feb 2020 01:22:17 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48SZf05JHfz3D1h for ; Thu, 27 Feb 2020 01:22:16 +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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 52BE68CBF for ; Thu, 27 Feb 2020 01:22:16 +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 01R1MGnp018676 for ; Thu, 27 Feb 2020 01:22:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01R1MGUA018614 for ports-bugs@FreeBSD.org; Thu, 27 Feb 2020 01:22:16 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 244459] databases/sqlite3: undefined symbol pthread_create when compiling *without* THREADS Date: Thu, 27 Feb 2020 01:22:12 +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: haug.bsd6114@yahoo.com 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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc 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 MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Feb 2020 01:22:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244459 Bug ID: 244459 Summary: databases/sqlite3: undefined symbol pthread_create when compiling *without* THREADS Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: haug.bsd6114@yahoo.com CC: pavelivolkov@gmail.com CC: pavelivolkov@gmail.com Flags: maintainer-feedback?(pavelivolkov@gmail.com) # uname -a FreeBSD port-master 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 r357991 GENERIC= =20 amd64 /etc/make.conf is an empty file A scan of ports/UPDATING for sqlite didn't have anything that seemed relate= d. when building sqlite3 on system above the last several lines related to the build are: libtool: link: cc -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_RTREE -DSQLITE_HAVE_ZLIB -DSQLITE_ENABLE_EXPLAIN_COMMENTS -DSQLITE_ENABLE_DBPAGE_VTAB -DSQLITE_ENABLE_STMTVTAB -DSQLITE_ENABLE_DBSTAT_VTAB -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o sqlite3 sqlite3-shell.o sqlite3-sqlite3.o -L/usr/local/lib -lreadline -ltermcap -lz -lm ld: error: undefined symbol: pthread_create >>> referenced by sqlite3.c >>> sqlite3-sqlite3.o:(vdbeSorterFlushPMA) ld: error: undefined symbol: pthread_create >>> referenced by sqlite3.c >>> sqlite3-sqlite3.o:(vdbePmaReaderIncrInit) ld: error: undefined symbol: pthread_create >>> referenced by sqlite3.c >>> sqlite3-sqlite3.o:(vdbePmaReaderNext) cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Seems like there are two relatively obvious options: 1. Remove THREADS from the OPTIONS_DEFINE in the Makefile 2. Add an appropriate #ifdef or similar around the threaded code. Alas, I don't have enough experience at the moment to implement this and send a suggested patch. --=20 You are receiving this mail because: You are the assignee for the bug.=