From owner-svn-ports-head@freebsd.org Tue Mar 13 16:33:28 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E0B5F2FC70; Tue, 13 Mar 2018 16:33:28 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 226CF8777B; Tue, 13 Mar 2018 16:33:28 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id A01ED20D39; Tue, 13 Mar 2018 12:33:27 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute4.internal (MEProxy); Tue, 13 Mar 2018 12:33:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=a9nwHm OcZGzkYFJSWQ1jKsBw2vwZGbgaDQonsm6niAQ=; b=CuLwmGoTL3dFhnnujawRi2 IOx95Ht0dvxaQm3nR1HnuwEy8Vo2dTg71puCYu43wpTa0EwjuGVORZeTiF/JOzV8 n8Tz5lGcm4ds9vyUIhtN8RIhIR72zf6zys9NC8oWFNDE/ZPji/Mbc1YUdRhiG1Cv kSvW3NQRttqGVDmcTD8pg/TxkPROqJKNuo+pybErfn0aZMdxyP/SUV+m5vgECzt4 NqcZRK4IDBjVEsuBG/LvZN6/9t3nnknu4bDH1rUJW/dCeV2Y3WXqcQZRCjA3nSe+ +JQLDTwyYwJELYjT/NYqTvHyEQvGgiR8W9XZrI5CFxvCHza1cQDzEJRCOifDOy6g == X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 7C2139E0FF; Tue, 13 Mar 2018 12:33:27 -0400 (EDT) Message-Id: <1520958807.1983175.1301702624.52C5F5E5@webmail.messagingengine.com> From: Tobias Kortkamp To: Pietro Cerutti , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-54087d22 In-Reply-To: <201803131619.w2DGJMDt000351@repo.freebsd.org> References: <201803131619.w2DGJMDt000351@repo.freebsd.org> Subject: Re: svn commit: r464388 - in head/math/abacus: . files Date: Tue, 13 Mar 2018 17:33:27 +0100 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2018 16:33:28 -0000 On Tue, Mar 13, 2018, at 17:19, Pietro Cerutti wrote: > Author: gahr > Date: Tue Mar 13 16:19:22 2018 > New Revision: 464388 > URL: https://svnweb.freebsd.org/changeset/ports/464388 > > Log: > math/abacus: unbreak, undeprecate, bump > > PR: 199772 > > Modified: > head/math/abacus/Makefile > head/math/abacus/files/patch-Makefile > > Modified: head/math/abacus/Makefile > ============================================================================== > --- head/math/abacus/Makefile Tue Mar 13 15:06:22 2018 (r464387) > +++ head/math/abacus/Makefile Tue Mar 13 16:19:22 2018 (r464388) > @@ -3,7 +3,7 @@ > > PORTNAME= abacus > DISTVERSION= 3.2betaU1 > -PORTREVISION= 8 > +PORTREVISION= 9 > CATEGORIES= math > MASTER_SITES= http://www.informatik.uni-koeln.de/abacus/ > > @@ -12,9 +12,6 @@ COMMENT= Branch-And-CUt System > > LICENSE= LGPL21+ > > -DEPRECATED= Unmaintained and has a broken shared library > -EXPIRATION_DATE= 2018-03-31 > - > LIB_DEPENDS= libClp.so:math/coinmp > > NO_WRKSUBDIR= yes > @@ -23,6 +20,7 @@ USES= gmake perl5 > USE_PERL5= build > USE_LDCONFIG= yes > ALL_TARGET= abacus > +CXXFLAGS+= -fPIC > MAKE_ARGS= CCC="${CXX}" PERL="${PERL}" STRIP="${STRIP_CMD} -x" \ > ARCHIVE="${AR} ${ARFLAGS}" CCFLAG_DEBOPT="${CXXFLAGS}" \ > OSI_INCLUDE="${LOCALBASE}/include/coin" > > Modified: head/math/abacus/files/patch-Makefile > ============================================================================== > --- head/math/abacus/files/patch-Makefile Tue Mar 13 15:06:22 2018 (r464387) > +++ head/math/abacus/files/patch-Makefile Tue Mar 13 16:19:22 2018 (r464388) > @@ -1,5 +1,5 @@ > ---- Makefile.orig 2012-01-06 14:29:04.000000000 +0100 > -+++ Makefile 2013-09-05 14:35:52.000000000 +0200 > +--- Makefile.orig 2012-01-06 13:29:04 UTC > ++++ Makefile > @@ -177,6 +177,11 @@ $(OBJDIR)/%.o: $(SRCDIR)/%.cc > $(CCC) $(CCFLAGS) $(ADDFLAGS) -c $< -o $@ > $(STRIP) $@ > @@ -12,7 +12,7 @@ > > ####################################################################### > # > -@@ -523,15 +524,20 @@ > +@@ -523,15 +528,22 @@ $(LIBDIR)/stuff/interface-osi.a: $(OSI_O > $(ARCHIVE) $@ $(OSI_O) > > # The basic ABACUS library > @@ -27,7 +27,9 @@ > > +$(LIBDIR)/stuff/abacus-base.so.1: $(ABACUS_O:%.o=%.So) > + rm -f $@ > -+ $(CCC) $(LDFLAGS) -shared -o $@ $(ABACUS_O:%.o=%.So) > ++ $(CCC) $(LDFLAGS) -shared -o $@ $(ABACUS_O:%.o=%.So) \ > ++ `find $(LIBDIR)/temp -name \*.o | xargs -n1` \ > ++ `find $(LIBDIR)/stuff -name \*.o | xargs -n1` \ > + > # Build the library distribution directory (lib and lib/stuff) > -lib-all: subdirs abacus-base lpif interface $(ADDITIONAL_LIB_ALL) > @@ -35,7 +37,7 @@ > > # Create a tar file containing all necessary stuff to compile ABACUS on > # a remote system. > -@@ -571,6 +577,7 @@ > +@@ -571,6 +583,7 @@ have_lib = $(wildcard $(LIBDIR)/libabacu > > abacus: lib-all > cp $(LIBDIR)/stuff/abacus-base.a $(LIBDIR)/libabacus-osi.a > libabacus-osi.so is still missing a soname and it appears to still be broken even with this fix. Now with different undefined references: /usr/local/lib/libabacus-osi.so: undefined reference to `ABA_LPSUBOSI::ABA_LPSUBOSI(ABA_MASTER*, ABA_SUB*)' /usr/local/lib/libabacus-osi.so: undefined reference to `ABA_LPMASTEROSI::ABA_LPMASTEROSI(ABA_MASTER*)' cc: error: linker command failed with exit code 1 (use -v to see invocation)