From owner-freebsd-ports-bugs@freebsd.org Thu Nov 2 18:15:47 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F8E9E60235 for ; Thu, 2 Nov 2017 18:15:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 24F4F6346E for ; Thu, 2 Nov 2017 18:15:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA2IFk99065839 for ; Thu, 2 Nov 2017 18:15:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 223384] security/opensc: compile fails with SM option unset Date: Thu, 02 Nov 2017 18:15:46 +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: la5lbtyi@aon.at X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ale@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 MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2017 18:15:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223384 Bug ID: 223384 Summary: security/opensc: compile fails with SM option unset Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ale@FreeBSD.org Reporter: la5lbtyi@aon.at Assignee: ale@FreeBSD.org Flags: maintainer-feedback?(ale@FreeBSD.org) If (as seems to have been the default in previous versions of the port) the= SM option is unset, the compile fails. libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -DOPENSC_CONF_PATH=3D\"/usr/local/etc/opensc.conf\" -I../../src -I/usr/incl= ude -I/usr/local/include/PCSC -D_THREAD_SAFE -pthread -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Werror=3Ddeclaration-after-statement -MT libopensc_la-card-authentic.lo -MD -MP -MF .deps/libopensc_la-card-authentic.Tpo -c card-authentic.c -o libopensc_la-card-authentic.o >/dev/null 2>&1 card-sc-hsm.c:287:2: warning: implicit declaration of function 'sc_sm_stop'= is invalid in C99 [-Wimplicit-function-declaration] sc_sm_stop(card); ^ card-sc-hsm.c:566:13: error: no member named 'sm_ctx' in 'struct sc_card' && card->sm_ctx.sm_mode !=3D SM_MODE_TRANSMIT) { ~~~~ ^ card-sc-hsm.c:566:31: error: use of undeclared identifier 'SM_MODE_TRANSMIT' && card->sm_ctx.sm_mode !=3D SM_MODE_TRANSMIT) { ^ card-sc-hsm.c:608:15: error: no member named 'sm_ctx' in 'struct sc_card' && (card->sm_ctx.sm_mode =3D=3D SM_MODE_TRA= NSMIT)) { ~~~~ ^ card-sc-hsm.c:608:33: error: use of undeclared identifier 'SM_MODE_TRANSMIT' && (card->sm_ctx.sm_mode =3D=3D SM_MODE_TRA= NSMIT)) { ^ card-sc-hsm.c:630:14: error: no member named 'sm_ctx' in 'struct sc_card' if (card->sm_ctx.sm_mode !=3D SM_MODE_TRANSMIT) { ~~~~ ^ card-sc-hsm.c:630:32: error: use of undeclared identifier 'SM_MODE_TRANSMIT' if (card->sm_ctx.sm_mode !=3D SM_MODE_TRANSMIT) { ^ 1 warning and 6 errors generated. gmake[5]: *** [Makefile:1532: libopensc_la-card-sc-hsm.lo] Error 1 --=20 You are receiving this mail because: You are the assignee for the bug.=