Re: A more permanent home for the add-a-password-to-a-cached-username script? (was: Re: using svn cli with --non-interactive (in scripts) securely, without exposing password)
Den tis 2 mars 2021 kl 13:58 skrev Nathan Hartman : > On Mon, Mar 1, 2021 at 2:25 AM Daniel Sahlberg < > daniel.l.sahlb...@gmail.com> wrote: > >> >> I think we should put it in the staging website for a final review? This >> should go under General questions? >> > > > Yes, please commit it to staging for now. There is already a FAQ entry > with ID plaintext-passwords; this is the update/replacement of that > question. Keeping the ID the same means that any URLs out there will still > work, and direct visitors to the updated answer. > Found some time this morning: r1887129. (I also fixed a few HTML validation errors in r1887130). This brings up the question of translation. Futatuki translated the text to Japanese last time - or can someone else volonteer? There is also a Chinese translation, but it has not been updated for a long time - is there someone who would be interested in updating the text? Kind regards, Daniel Sahlberg
Re: cannot find libsvn_fs_x-1.so.0, 1.10.7, CentOS 7
Nathan Hartman wrote on Tue, 02 Mar 2021 14:32 +00:00: > On Mon, Mar 1, 2021 at 6:36 PM Zube wrote: > > > > Trying to build 1.10.7 on CentOS 7 and failing. 1.10.6 builds fine. > > > > /usr/bin/ld: cannot find libsvn_fs_x-1.so.0: No such file or directory > > collect2: error: ld returned 1 exit status > > make: *** [build-outputs.mk:478: subversion/libsvn_fs_x/libsvn_fs_x-1.la] > > Error 1 > > > > One difference between .6 and .7 is from the created (from config.log) > > subversion/libsvn_fs_x/libsvn_fs_x.pc: > > > > 8,12c8,12 > > < Version: 1.10.7 > > < Requires: apr-util-1, apr-1 > > < Requires.private: libsvn_delta, libsvn_subr, libsvn_fs_util > > < Libs: -L${libdir} -lsvn_fs_x-1 > > < Cflags: -I${includedir}/subversion-1 > > --- > > > Version: 1.10.6 > > > Requires: apr-util-1 apr-1 > > > Requires.private: libsvn_delta libsvn_subr libsvn_fs_util > > > Libs: -L${libdir} -lsvn_fs_x > > > Cflags: -I${includedir} > > > > In the .libs directory in .6, the libraries are built: > > > > libsvn_fs_x-1.a > > libsvn_fs_x-1.la > > libsvn_fs_x-1.lai > > libsvn_fs_x-1.so > > libsvn_fs_x-1.so.0 > > libsvn_fs_x-1.so.0.0.0 > > libsvn_fs_x-1.so.0.0.0T > > > > But they are missing from the .7 build. The .o files are in the > > .libs directory, though. > > > > Any help is greatly appreciated. > > Hello, > > I've traced this to r1863987 and r1863990 on trunk, which were merged > to the 1.10.x branch in r1866641. > > Part of the change was to respect pkg-config(1)'s requirement of a > comma-separated list, so you can see the commas being introduced in > your diff above. > > Another part of the change is in build/generator/gen_make.py, which is > now adding the "-1" to "-lsvn_fs_x" making it "-lsvn_fs_x-1." > > I don't think there is an error in these changes; rather, I think that > an additional change is needed elsewhere to make the built libsvn_fs_x > compliant. I think our build process doesn't consume the .pc files at all, which would explain why 1.10.6 is buildable despite the lack of commas. However, I don't see any other relevant change, so… > I haven't yet determined what/where that change should be, nor what > workaround to suggest, but I wanted to reply with what I know so far. … try applying the reverse of r1866641 to the source tree. (Then, if you correct .pc files, massage them by hand after configure runs.) Alternatively, you could patch libsvn_fs_x out of the build entirely, since it's an experimental component anyway. I don't see a configure option for this. One way is to patch fs_x mentions out of build.conf and Makefile.in and re-run gen-make.py (normally done as part of autogen.sh, which in turn is part of the build-from-checkout flow but not part of the build-from- tarball flow). However, there may well be an easier way which I'm overlooking. Karl's advice in https://subversion.apache.org/docs/community-guide/building.html#configury stems from [a Debian libtool patch](https://bugs.debian.org/291641), IIRC, so it wouldn't be my first suspicion for a CentOS build failure… but it's not impossible. Cheers, Daniel
Re: cannot find libsvn_fs_x-1.so.0, 1.10.7, CentOS 7
On Mon, Mar 1, 2021 at 6:36 PM Zube wrote: > > Trying to build 1.10.7 on CentOS 7 and failing. 1.10.6 builds fine. > > /usr/bin/ld: cannot find libsvn_fs_x-1.so.0: No such file or directory > collect2: error: ld returned 1 exit status > make: *** [build-outputs.mk:478: subversion/libsvn_fs_x/libsvn_fs_x-1.la] > Error 1 > > One difference between .6 and .7 is from the created (from config.log) > subversion/libsvn_fs_x/libsvn_fs_x.pc: > > 8,12c8,12 > < Version: 1.10.7 > < Requires: apr-util-1, apr-1 > < Requires.private: libsvn_delta, libsvn_subr, libsvn_fs_util > < Libs: -L${libdir} -lsvn_fs_x-1 > < Cflags: -I${includedir}/subversion-1 > --- > > Version: 1.10.6 > > Requires: apr-util-1 apr-1 > > Requires.private: libsvn_delta libsvn_subr libsvn_fs_util > > Libs: -L${libdir} -lsvn_fs_x > > Cflags: -I${includedir} > > In the .libs directory in .6, the libraries are built: > > libsvn_fs_x-1.a > libsvn_fs_x-1.la > libsvn_fs_x-1.lai > libsvn_fs_x-1.so > libsvn_fs_x-1.so.0 > libsvn_fs_x-1.so.0.0.0 > libsvn_fs_x-1.so.0.0.0T > > But they are missing from the .7 build. The .o files are in the > .libs directory, though. > > Any help is greatly appreciated. Hello, I've traced this to r1863987 and r1863990 on trunk, which were merged to the 1.10.x branch in r1866641. Part of the change was to respect pkg-config(1)'s requirement of a comma-separated list, so you can see the commas being introduced in your diff above. Another part of the change is in build/generator/gen_make.py, which is now adding the "-1" to "-lsvn_fs_x" making it "-lsvn_fs_x-1." I don't think there is an error in these changes; rather, I think that an additional change is needed elsewhere to make the built libsvn_fs_x compliant. I haven't yet determined what/where that change should be, nor what workaround to suggest, but I wanted to reply with what I know so far. Nathan
Re: A more permanent home for the add-a-password-to-a-cached-username script? (was: Re: using svn cli with --non-interactive (in scripts) securely, without exposing password)
On Mon, Mar 1, 2021 at 2:25 AM Daniel Sahlberg wrote: > > I think we should put it in the staging website for a final review? This > should go under General questions? > Yes, please commit it to staging for now. There is already a FAQ entry with ID plaintext-passwords; this is the update/replacement of that question. Keeping the ID the same means that any URLs out there will still work, and direct visitors to the updated answer. Thanks! Nathan