From owner-freebsd-ports@freebsd.org Sat Oct 10 00:22:55 2015 Return-Path: Delivered-To: freebsd-ports@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 7728D99A3B2 for ; Sat, 10 Oct 2015 00:22:55 +0000 (UTC) (envelope-from jason.unovitch@gmail.com) Received: from mail-ig0-x231.google.com (mail-ig0-x231.google.com [IPv6:2607:f8b0:4001:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 39E68D07 for ; Sat, 10 Oct 2015 00:22:55 +0000 (UTC) (envelope-from jason.unovitch@gmail.com) Received: by igcpe7 with SMTP id pe7so47395685igc.0 for ; Fri, 09 Oct 2015 17:22:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GXgY+NzYLXu1ALq+PTEguv2wxfSKywK+yXIbUAMNdzI=; b=BDYtZ48YJ4OCnT/wJnepzY6zqwq/s3hp8Hm4Eiolk51JOuQmclLevXlnqSljnKnbdV bD2YkkkjyoyVpT8cy47kTdCBkYNC7mpjaVs88u8nUX3gswmeZpYlXoXXr+yjTThwghf6 5BTvF4H0Wz6jusTPpe03AdCbVlA4NhShI090eR2h00IJlRJSK8Xb8XYxOhDbnusOPL10 2Jim9RL6oX4LVbEKZgoP0Z/I9+Y8sMSW036q2BrMddMkQg5WTJdLcnKjZYqiWJYoAanO UROBRYisZxy+n6hE5ejnGG43EzkxV8olpM48RTlhej3ttWUpLykIyqeZ9azt655N87D6 hSKA== MIME-Version: 1.0 X-Received: by 10.50.40.4 with SMTP id t4mr1971979igk.73.1444436574529; Fri, 09 Oct 2015 17:22:54 -0700 (PDT) Received: by 10.36.0.134 with HTTP; Fri, 9 Oct 2015 17:22:54 -0700 (PDT) In-Reply-To: <692d5dfa67396da63d05009499bc5297@thebighonker.lerctr.org> References: <6a6589e34fa675cee98181e74325474a@thebighonker.lerctr.org> <561853F2.2030106@intersonic.se> <354b9cb915ca5bc5d7aa20d218691455@thebighonker.lerctr.org> <692d5dfa67396da63d05009499bc5297@thebighonker.lerctr.org> Date: Fri, 9 Oct 2015 20:22:54 -0400 Message-ID: Subject: Re: HELP: Bacula compile with older version installed From: Jason Unovitch To: Larry Rosenman Cc: Per olof Ljungmark , f-ports Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Oct 2015 00:22:55 -0000 On Fri, Oct 9, 2015 at 8:11 PM, Larry Rosenman wrote: > On 2015-10-09 19:09, Jason Unovitch wrote: >> >> For sysutils/openipmi in PR 396109 the fix was this. However that was >> before USES= localbase hit the tree which according to the commit >> message should prevent ports from picking up their own headers from >> old versions in LOCALBASE. >> >> CPPFLAGS+= -I../include -I${LOCALBASE}/include > > > This is a LINK issue, NOT a compile issue..... > Apologies for the misdirection. It's been one of those long weeks where no commits before coffee applies. > >> >> On Fri, Oct 9, 2015 at 7:59 PM, Larry Rosenman wrote: >>> >>> On 2015-10-09 18:55, Per olof Ljungmark wrote: >>>> >>>> >>>> On 2015-10-10 01:19, Larry Rosenman wrote: >>>>> >>>>> >>>>> Related to BZ# 193641, the new 7.2.0 bacula port doesn't link if the >>>>> 7.0.5 packages are installed. >>>>> >>>>> we get: >>>>> ==>Entering directory >>>>> >>>>> >>>>> /var/ports/basejail/usr/ports/sysutils/bacula-server/work/bacula-7.2.0/src/dird >>>>> >>>>> --- bacula-dir --- >>>>> Linking bacula-dir ... >>>>> >>>>> >>>>> /var/ports/basejail/usr/ports/sysutils/bacula-server/work/bacula-7.2.0/libtool >>>>> --silent --tag=CXX --mode=link /usr/bin/c++ -L../lib -L../cats >>>>> -L../findlib -L/usr/local/lib -L/usr/local/lib -fstack-protector -o >>>>> bacula-dir dird.o admin.o authenticate.o autoprune.o backup.o bsr.o >>>>> catreq.o dir_plugins.o dird_conf.o expand.o fd_cmds.o getmsg.o >>>>> inc_conf.o job.o jobq.o mac.o mac_sql.o mountreq.o msgchan.o next_vol.o >>>>> newvol.o recycle.o restore.o run_conf.o scheduler.o ua_acl.o ua_cmds.o >>>>> ua_dotcmds.o ua_query.o ua_input.o ua_label.o ua_output.o ua_prune.o >>>>> ua_purge.o ua_restore.o ua_run.o ua_select.o ua_server.o snapshot.o >>>>> ua_status.o ua_tree.o ua_update.o vbackup.o verify.o -lbacfind >>>>> -lbacsql >>>>> -lbaccats -lbaccfg -lbac -lm -lpthread -lintl -lwrap >>>>> /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lssl -lcrypto >>>>> dird.o: In function `main': >>>> >>>> >>>> >>>> pkg delete the old version first? >>>> _______________________________________________ >>>> freebsd-ports@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports >>>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >>> >>> >>> That works, but we (dvl@ and I) would like to get it work without having >>> to >>> do that. >>> >>> Jason Unovitch suggested USES= localbase, but that didn't help either. >>> >>> >>> -- >>> Larry Rosenman http://www.lerctr.org/~ler >>> Phone: +1 214-642-9640 E-Mail: ler@lerctr.org >>> US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961 >>> _______________________________________________ >>> freebsd-ports@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports >>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: ler@lerctr.org > US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961