From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 29 10:10:01 2009 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 0B46E106566B for ; Thu, 29 Oct 2009 10:10:01 +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 DC61C8FC22 for ; Thu, 29 Oct 2009 10:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9TAA0rW038286 for ; Thu, 29 Oct 2009 10:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9TAA0JZ038285; Thu, 29 Oct 2009 10:10:00 GMT (envelope-from gnats) Resent-Date: Thu, 29 Oct 2009 10:10:00 GMT Resent-Message-Id: <200910291010.n9TAA0JZ038285@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 Afanasiev Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C7651065698 for ; Thu, 29 Oct 2009 10:02:47 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 3B7048FC1E for ; Thu, 29 Oct 2009 10:02:47 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n9TA2kRT036854 for ; Thu, 29 Oct 2009 10:02:46 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n9TA2ksr036853; Thu, 29 Oct 2009 10:02:46 GMT (envelope-from nobody) Message-Id: <200910291002.n9TA2ksr036853@www.freebsd.org> Date: Thu, 29 Oct 2009 10:02:46 GMT From: Dmitry Afanasiev To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/140074: www/oops does not compile 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, 29 Oct 2009 10:10:01 -0000 >Number: 140074 >Category: ports >Synopsis: www/oops does not compile >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 29 10:10:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Dmitry Afanasiev >Release: FreeBSD 9.0-CURRENT sparc64 >Organization: >Environment: FreeBSD sunrise-new 9.0-CURRENT FreeBSD 9.0-CURRENT #7: Wed Oct 7 16:44:38 MSD 2009 root@sunrise-new:/usr/obj/usr/src/sys/sunrise sparc64 >Description: # cd /usr/ports/www/oops && make [skipped] cd modules; make cc -O2 -pipe -fno-strict-aliasing -fPIC -D_REENTRANT -DFREEBSD -D_THREAD_SAFE -DFD_SETSIZE=2048 -I. -DWITH_LARGE_FILES -I/usr/local/include/db4 -export-dynamic -DHAVE_CONFIG_H -I/usr/local/include/db4 -shared -c log_dummy.c ld -shared -o log_dummy.so log_dummy.o -pthread -lfl -lfl -lpam -lcrypt -L/usr/local/lib -ldb4 ld: unrecognized option '-pthread' ld: use the --help option for usage information *** Error code 1 Stop in /var/ports/usr/ports/www/oops/work/oops-1.5.24/src/modules. *** Error code 1 Stop in /var/ports/usr/ports/www/oops/work/oops-1.5.24/src. *** Error code 1 Stop in /var/ports/usr/ports/www/oops/work/oops-1.5.24. *** Error code 1 Stop in /usr/ports/www/oops. *** Error code 1 Stop in /usr/ports/www/oops. *** Error code 1 Stop in /usr/ports/www/oops. >How-To-Repeat: cd /usr/ports/www/oops && make >Fix: I'm not sure of the correctness of the patch, but with this patch www/oops builds successfully: --- Mk.orig/bsd.port.mk 2009-10-29 12:56:49.575342495 +0300 +++ Mk/bsd.port.mk 2009-10-29 12:57:06.901943794 +0300 @@ -2220,7 +2220,7 @@ .endif PTHREAD_CFLAGS?= -PTHREAD_LIBS?= -pthread +PTHREAD_LIBS?= -lpthread .if exists(/usr/bin/fetch) FETCH_BINARY?= /usr/bin/fetch >Release-Note: >Audit-Trail: >Unformatted: