HELP: Bacula compile with older version installed

Jason Unovitch jason.unovitch at gmail.com
Sat Oct 10 00:22:55 UTC 2015


On Fri, Oct 9, 2015 at 8:11 PM, Larry Rosenman <ler at lerctr.org> 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 <ler at lerctr.org> 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 at freebsd.org mailing list
>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
>>>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at 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 at lerctr.org
>>> US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961
>>> _______________________________________________
>>> freebsd-ports at freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
>>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
>
> --
> Larry Rosenman                     http://www.lerctr.org/~ler
> Phone: +1 214-642-9640                 E-Mail: ler at lerctr.org
> US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961


More information about the freebsd-ports mailing list