From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 27 00:50:05 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5784F106566C for ; Thu, 27 Sep 2012 00:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2F0C58FC15 for ; Thu, 27 Sep 2012 00:50:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q8R0o5Lv025552 for ; Thu, 27 Sep 2012 00:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8R0o5ps025551; Thu, 27 Sep 2012 00:50:05 GMT (envelope-from gnats) Resent-Date: Thu, 27 Sep 2012 00:50:05 GMT Resent-Message-Id: <201209270050.q8R0o5ps025551@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Marakasov Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1132D1065673; Thu, 27 Sep 2012 00:49:57 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (unknown [IPv6:2a03:6f00:1::5c35:743c]) by mx1.freebsd.org (Postfix) with ESMTP id 95CAE8FC12; Thu, 27 Sep 2012 00:49:56 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76) (envelope-from ) id 1TH2Ic-0005LG-If; Thu, 27 Sep 2012 04:49:54 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id CC7C5B84D; Thu, 27 Sep 2012 04:49:53 +0400 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id ACF241DB; Thu, 27 Sep 2012 04:49:53 +0400 (MSK) Message-Id: <20120927004953.ACF241DB@hades.panopticon> Date: Thu, 27 Sep 2012 04:49:53 +0400 (MSK) From: Dmitry Marakasov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: wxs@FreeBSD.org Subject: ports/172107: [PATCH] security/sudo: does not link on i386 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Sep 2012 00:50:05 -0000 >Number: 172107 >Category: ports >Synopsis: [PATCH] security/sudo: does not link on i386 >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 27 00:50:04 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 9.0-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD hades.panopticon 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Wed Jun 13 17:39:20 MSK 2012 >Description: sudo doesn't link on FreeBSD 8,9 i386 (but builds fine on FreeBSD 7 and amd64). --- /bin/sh ../../libtool --mode=link cc -o sudoreplay getdate.o sudoreplay.o error.o -lgcc -L/usr/local/lib -lintl -Wl,-z,relro -pie timestr.lo -lz ../../common/libcommon.la ../../compat/libreplace.la /bin/sh ../../libtool --mode=link cc -o libparsesudoers.la alias.lo audit.lo defaults.lo gram.lo match.lo match_addr.lo pwutil.lo timestr.lo toke.lo toke_util.lo redblack.lo -no-install libtool: link: cc -o sudoreplay getdate.o sudoreplay.o error.o -Wl,-z -Wl,relro -pie .libs/timestr.o -lgcc -L/usr/local/lib /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lz ../../common/.libs/libcommon.a ../../compat/.libs/libreplace.a -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib libtool: link: ar cru .libs/libparsesudoers.a .libs/alias.o .libs/audit.o .libs/defaults.o .libs/gram.o .libs/match.o .libs/match_addr.o .libs/pwutil.o .libs/timestr.o .libs/toke.o .libs/toke_util.o .libs/redblack.o libtool: link: ranlib .libs/libparsesudoers.a libtool: link: ( cd ".libs" && rm -f "libparsesudoers.la" && ln -s "../libparsesudoers.la" "libparsesudoers.la" ) /bin/sh ../../libtool --tag=disable-static --mode=link cc -lgcc -L/usr/local/lib -lintl -Wl,-z,relro -Wc,-fstack-protector -o sudoers.la sudo_auth.lo pam.lo boottime.lo check.lo env.lo goodpath.lo group_plugin.lo find_path.lo interfaces.lo logging.lo logwrap.lo parse.lo set_perms.lo sudoers.lo sudo_nss.lo iolog.lo iolog_path.lo bsm_audit.lo plugin_error.lo libparsesudoers.la -lbsm -lutil -lpam ../../common/libcommon.la ../../compat/libreplace.la -lz -module -avoid-version -rpath /usr/local/libexec getdate.o: In function `yylex': getdate.c:(.text+0x1eb): undefined reference to `__stack_chk_fail_local' sudoreplay.o: In function `.L120': sudoreplay.c:(.text+0xbc6): undefined reference to `__stack_chk_fail_local' sudoreplay.o: In function `find_sessions': sudoreplay.c:(.text+0x1874): undefined reference to `__stack_chk_fail_local' ../../common/.libs/libcommon.a(sudo_debug.o): In function `sudo_debug_write2': sudo_debug.c:(.text+0x450): undefined reference to `__stack_chk_fail_local' ../../common/.libs/libcommon.a(term.o): In function `term_copy': term.c:(.text+0x128): undefined reference to `__stack_chk_fail_local' ../../common/.libs/libcommon.a(term.o):term.c:(.text+0x569): more undefined references to `__stack_chk_fail_local' follow *** Error code 1 libtool: link: cc -shared -fPIC -DPIC .libs/sudo_auth.o .libs/pam.o .libs/boottime.o .libs/check.o .libs/env.o .libs/goodpath.o .libs/group_plugin.o .libs/find_path.o .libs/interfaces.o .libs/logging.o .libs/logwrap.o .libs/parse.o .libs/set_perms.o .libs/sudoers.o .libs/sudo_nss.o .libs/iolog.o .libs/iolog_path.o .libs/bsm_audit.o .libs/plugin_error.o -Wl,--whole-archive ./.libs/libparsesudoers.a ../../common/.libs/libcommon.a ../../compat/.libs/libreplace.a -Wl,--no-whole-archive -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -lgcc -L/usr/local/lib /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lbsm -lutil -lpam -lz -Wl,-z -Wl,relro -fstack-protector -Wl,-soname -Wl,sudoers.so -o .libs/sudoers.so libtool: link: ( cd ".libs" && rm -f "sudoers.la" && ln -s "../sudoers.la" "sudoers.la" ) 1 error *** Error code 2 1 error *** Error code 1 Stop in /a/ports/security/sudo. ================================================================ build of /usr/ports/security/sudo ended at Wed Sep 26 22:27:34 UTC 2012 --- Full log: http://people.freebsd.org/~amdmi3/sudo-1.8.6.p3.log Port maintainer (wxs@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports) >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: