You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Daniel Sahlberg (Jira)" <ji...@apache.org> on 2022/06/30 08:14:00 UTC

[jira] [Commented] (SVN-4901) make install-bdb-lib and make install-serf-lib fail due to missing dependency

    [ https://issues.apache.org/jira/browse/SVN-4901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17560910#comment-17560910 ] 

Daniel Sahlberg commented on SVN-4901:
--------------------------------------

OP came back on dev@ with another failure of same nature:

[[[
# Reproduction recipe:
$ make distclean
$ ./autogen.sh
$ ./configure --prefix=$PWD/../4901
$ make install-serf-lib
[...]
libtool: warning: relinking 'libsvn_ra_serf-1.la'
libtool: install: (cd /home/dsg/svn_trunk/subversion/libsvn_ra_serf; /bin/bash "/home/dsg/svn_trunk/libtool"  --tag CC --silent --mode=relink gcc -g -O2 -rpath /home/dsg/4901/lib -version-info 0 -Wl,--no-undefined -o libsvn_ra_serf-1.la blame.lo blncache.lo commit.lo eagain_bucket.lo get_deleted_rev.lo get_file.lo get_lock.lo getdate.lo getlocations.lo getlocationsegments.lo getlocks.lo inherited_props.lo list.lo lock.lo log.lo merge.lo mergeinfo.lo multistatus.lo options.lo property.lo replay.lo request_body.lo sb_bucket.lo serf.lo stat.lo stream_bucket.lo update.lo util.lo util_error.lo xml.lo ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la -L/usr/lib/x86_64-linux-gnu -laprutil-1 -L/usr/lib/x86_64-linux-gnu -lapr-1 -lserf-1 -lz )
/usr/bin/ld: cannot find -lsvn_delta-1
/usr/bin/ld: cannot find -lsvn_subr-1
[...]
 
# The following succeeds
$ make install-fsmod-lib
$ make install-serf-lib
]]]
 
Patch by Sergei Trofimovich:
[[[
--- build.conf  (revision 1902359)
+++ build.conf  (working copy)
@@ -340,6 +340,7 @@
 path = subversion/libsvn_ra_serf
 install = serf-lib
 libs = libsvn_delta libsvn_subr aprutil apriconv apr serf zlib
+add-install-deps = $(SVN_FS_LIB_INSTALL_DEPS)
 msvc-static = yes
]]]
 
Committed r1902364.
 

> make install-bdb-lib and make install-serf-lib fail due to missing dependency
> -----------------------------------------------------------------------------
>
>                 Key: SVN-4901
>                 URL: https://issues.apache.org/jira/browse/SVN-4901
>             Project: Subversion
>          Issue Type: Bug
>          Components: compile
>    Affects Versions: 1.14.2
>         Environment: NixOS Linux
> GNU Make with new upcoming (as of June 2022) --shuffle option; reported to occur with {{{}--shuffle=1656015674{}}}.
>            Reporter: Nathan Hartman
>            Assignee: Nathan Hartman
>            Priority: Minor
>
> GNU Make is introducing (landed in GNU Make's repo June 2022) a new --shuffle option to expose build system failures that may surface during parallel builds.
> When running a parallel 'make install', e.g., 'make -j$(nproc) install', Subversion's Makefile reportedly assumes that the {{install-fsmod-lib}} target runs before the {{install-bdb-lib}} target, which may not be the case if the order happens to be reversed during a parallel build.
> See dev@ email "'make -j install' fails for missing depends" on 23 Jun 2022, archived [https://lists.apache.org/thread/xpktqb1o3wvyk7o1kojm8d594fqo1qgr] and other places.
> (Reported by Sergei Trofimovich <slyich \{AT} gmail \{dot} com>; issue filed by Nathan Hartman.)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)