BIND 10 #1501: Make install fails with relinking of sqlite3 datasource backend

BIND 10 Development do-not-reply at isc.org
Thu Aug 29 07:07:38 UTC 2013


#1501: Make install fails with relinking of sqlite3 datasource backend
-------------------------------------+-------------------------------------
            Reporter:  vorner        |                        Owner:
                Type:  defect        |  UnAssigned
            Priority:  high          |                       Status:  new
           Component:  build system  |                    Milestone:
            Keywords:                |                   Resolution:
           Sensitive:  0             |                 CVSS Scoring:
         Sub-Project:  DNS           |              Defect Severity:  N/A
Estimated Difficulty:  5             |  Feature Depending on Ticket:  none
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by vorner):

 Yes, it does.

 {{{
 make[5]: Nothing to be done for `install-data-am'.
  /bin/mkdir -p '/home/vorner/testing/bind10/lib64/python3.3/site-packages'
  /bin/bash ../../../../libtool   --mode=install /usr/bin/install -c
 libutil_io_python.la '/home/vorner/testing/bind10/lib64/python3.3/site-
 packages'

 libtool: install: warning: relinking `libb10-util-io.la'
 libtool: install: (cd /home/vorner/work/bind10/src/lib/util/io; /bin/bash
 /home/vorner/work/bind10/libtool  --silent --tag CXX --mode=relink g++
 -Wall -Wextra -Wnon-virtual-dtor -Wwrite-strings -Woverloaded-virtual
 -Wno-sign-compare -Werror -fPIC -g -O0 -Wl,-R/usr/lib -o libb10-util-io.la
 -rpath /home/vorner/testing/bind10/lib fd.lo fd_share.lo socketsession.lo
 ../../../../src/lib/exceptions/libb10-exceptions.la -ldl )

 libtool: install: warning: relinking `libutil_io_python.la'
 libtool: install: (cd /home/vorner/work/bind10/src/lib/util/io; /bin/bash
 /home/vorner/work/bind10/libtool  --silent --tag CXX --mode=relink g++
 -Wall -Wextra -Wnon-virtual-dtor -Wwrite-strings -Woverloaded-virtual
 -Wno-sign-compare -Werror -fPIC -g -O0 -module -avoid-version
 -Wl,-R/usr/lib -o libutil_io_python.la -rpath
 /home/vorner/testing/bind10/lib64/python3.3/site-packages
 libutil_io_python_la-fdshare_python.lo libb10-util-io.la -ldl )

 /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-
 gnu/bin/ld: cannot find -lb10-util-io
 collect2: error: ld returned 1 exit status
 libtool: install: error: relink `libutil_io_python.la' with the above
 command before installing it
 make[5]: *** [install-pyexecLTLIBRARIES] Error 1
 make[5]: *** Waiting for unfinished jobs....
 }}}

 More concrete description of what is happening:

 * When the target directory does not exist and I `make install -j<a lot>`,
 it fails.
 * When the target directory does exit and I `make install -j<a lot>`, it
 succeeds.
 * When the target directory does not exist and I `make install -j`, it
 succeeds.

 My guess is, it talks about relinking, I think it tries to take the
 library and link it against libraries already installed. But if there are
 more than one library in the same directory and they link against each
 other, they try to relink in parallel and failing. I don't know if there's
 a way to force automake to do it's job properly (other than putting it to
 directories, but that prevents parallel compilation too, which is bad).

-- 
Ticket URL: <http://bind10.isc.org/ticket/1501#comment:12>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list