>>>>> On Thu, 16 Nov 2017 21:32:03 -0500, Dan Langille said:
> 
> My regression tests are not showing up on 
> http://regress.bacula.org/index.php?project=Bacula-9.0
> 
> Of note, I see: recompile with -fPIC
> 
> I'm not quite sure what that is.  I hope the rest of this helps.
> 
> As always, I can provide a FreeBSD environment for your use.
> 
> I'm seeing this:
> 
> 
> Making libbac.la ...
> /usr/home/dan/src/bacula/regress/build/libtool --silent --tag=CXX --mode=link 
> /usr/bin/c++    -o libbac.la attr.lo base64.lo berrno.lo bsys.lo binflate.lo 
> bget_msg.lo bnet.lo bnet_server.lo bsock.lo bpipe.lo bsnprintf.lo btime.lo 
> cram-md5.lo crc32.lo crypto.lo daemon.lo edit.lo fnmatch.lo guid_to_name.lo 
> hmac.lo jcr.lo lex.lo lz4.lo alist.lo dlist.lo md5.lo message.lo mem_pool.lo 
> openssl.lo plugins.lo priv.lo queue.lo bregex.lo runscript.lo rwlock.lo 
> scan.lo sellist.lo serial.lo sha1.lo sha2.lo signal.lo smartall.lo rblist.lo 
> tls.lo tree.lo util.lo var.lo watchdog.lo workq.lo btimers.lo worker.lo 
> flist.lo address_conf.lo breg.lo htable.lo lockmgr.lo devlock.lo output.lo 
> bwlimit.lo -export-dynamic -rpath /usr/home/dan/src/bacula/regress/bin 
> -release 9.0.6 -lwrap  -lz -lssl -lcrypto -lpthread 
> *** Error code 1
> 
> That's from around line 723 here: 
> https://gist.github.com/dlangille/a6d9887655d3c0348ca273e636c54fb5 (there are 
> multiple regression test runs in this output, each for a different output).
> 
> Around line 1500 I see:
> 
> 
> Making libbac.la ...
> /usr/home/dan/src/bacula/regress/build/libtool --silent --tag=CXX --mode=link 
> /usr/bin/c++    -o libbac.la attr.lo base64.lo berrno.lo bsys.lo binflate.lo 
> bget_msg.lo bnet.lo bnet_server.lo bsock.lo bpipe.lo bsnprintf.lo btime.lo 
> cram-md5.lo crc32.lo crypto.lo daemon.lo edit.lo fnmatch.lo guid_to_name.lo 
> hmac.lo jcr.lo lex.lo lz4.lo alist.lo dlist.lo md5.lo message.lo mem_pool.lo 
> openssl.lo plugins.lo priv.lo queue.lo bregex.lo runscript.lo rwlock.lo 
> scan.lo sellist.lo serial.lo sha1.lo sha2.lo signal.lo smartall.lo rblist.lo 
> tls.lo tree.lo util.lo var.lo watchdog.lo workq.lo btimers.lo worker.lo 
> flist.lo address_conf.lo breg.lo htable.lo lockmgr.lo devlock.lo output.lo 
> bwlimit.lo -export-dynamic -rpath /usr/home/dan/src/bacula/regress/bin 
> -release 9.0.6 -lwrap  -lz -lssl -lcrypto -lpthread 
> /usr/bin/ld: /usr/lib/libcrypto.a(by_dir.o): relocation R_X86_64_32 against 
> `a local symbol' can not be used when making a shared object; recompile with 
> -fPIC
> /usr/lib/libcrypto.a: could not read symbols: Bad value
> c++: error: linker command failed with exit code 1 (use -v to see invocation)
> *** Error code 1

I suggest you investigate why it is linking with /usr/lib/libcrypto.a, rather
than the .so.  E.g. try running the command above in the src/lib directory,
but remove the --silent argument.

Does Bacula build on this machine outside of the regression tests?

__Martin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to