Gunnar Thielebein | 9 Feb 17:04
Picon
Gravatar

[fsvs-1.2.4] package build fails

Hi Phil,

building the recent 1.2.4 version fails. I have seen there are changes in the
Makefile.in regarding apr libs.
After adding the libs the building still fails.

Snippet from error log is:

> /data/src/pbuilder/packages/fsvs/fsvs-1.2.4/src/helper.c:1319: undefined
> reference to `svn_stream_set_close'
> /data/src/pbuilder/packages/fsvs/fsvs-1.2.4/src/helper.c:1352: undefined
> reference to `apr_md5_init'
> helper.o: In function `hlp__get_gid':
> /data/src/pbuilder/packages/fsvs/fsvs-1.2.4/src/helper.c:718: undefined
> reference to `apr_gid_get'
> helper.o: In function `hlp___encode_read':
> /data/src/pbuilder/packages/fsvs/fsvs-1.2.4/src/helper.c:1152: undefined
> reference to `svn_error_create'
> ignore.o: In function `ign__compile_pattern':
> /data/src/pbuilder/packages/fsvs/fsvs-1.2.4/src/ignore.c:936: undefined
> reference to `pcre_compile'
> /data/src/pbuilder/packages/fsvs/fsvs-1.2.4/src/ignore.c:948: undefined
> reference to `pcre_study'
> ignore.o: In function `ign___new_group':
> /data/src/pbuilder/packages/fsvs/fsvs-1.2.4/src/ignore.c:1429: undefined
> reference to `apr_hash_get'
> /data/src/pbuilder/packages/fsvs/fsvs-1.2.4/src/ignore.c:1432: undefined
> reference to `apr_hash_make'
> /data/src/pbuilder/packages/fsvs/fsvs-1.2.4/src/ignore.c:1443: undefined
> reference to `apr_hash_set'
(Continue reading)

P.Marek | 17 Jan 18:25
Picon

[ANNOUNCE] FSVS 1.2.4 released

Hello everybody,

I've released a new version of FSVS.

Changes since 1.2.3 are
 * Compilation fixes for MacOS 10.6; thanks, Thomas!
 * Added "password" option, as sent by Mark. Thank you!
 * Workarounds for gcc-4.5 and gcc-4.6 regressions. Thank you, Brian!
 * Compatibility with autoconf 2.68.

Please get the sources at

    http://freecode.com/projects/fsvs

and/or hope for new packages of your distribution (hint, hint ;)

As always: All ideas/bugs/questions are welcome, preferably to the mailing list(s).

Regards,

Phil

------------------------------------------------------
http://fsvs.tigris.org/ds/viewMessage.do?dsForumId=3923&dsMessageId=2909469

To unsubscribe from this discussion, e-mail: [dev-unsubscribe <at> fsvs.tigris.org].

P.Marek | 25 Jun 20:23
Picon

Re: Compile errors on OpenBSD 4.8

Hello Frode!

> Now gmake fails much later:
...
> /home/froh/sw/src/fsvs-1.2/src/fsvs.c:476: undefined reference to `fmemopen'
Well, this should be seen during configure - HAVE_FMEMOPEN - and then just the
debug-buffer options should be disabled during compilation.

You could try --enable-release - this would remove all debug print calls (although the
function would have to be removed by the linker). But that shouldn't be necessary!

> /home/froh/sw/src/fsvs-1.2/src/helper.c:1436: undefined reference to
> `iconv_open'
...
> From a quick web search it seems fmemopen is a glibc only
>
> I did some testing of openbsd's iconv, as suggested in this thread:
> https://bitbucket.org/medoc/recoll/issue/61/configure-on-openbsd-fails-on-iconv
...
> $ gcc iconvtest.c
> iconvtest.c:8: error: conflicting types for 'libiconv_open'
> /usr/local/include/iconv.h:73: error: previous declaration of
> 'libiconv_open' was here
Well, this is a compile error; with FSVS it's a linker problem.

Perhaps this is an artifact of not running configure again after the update; please
re-run "make clean", "configure", and "make".

Regards,

(Continue reading)

Frode Haugsgjerd | 22 Jun 19:36
Picon

Compile errors on OpenBSD 4.8

Hi, I'm trying to compile fsvs on OpenBSD 4.8, and I have some problems. http://fsvs.tigris.org claims
that this is reported to work, but all i can find is a thread from 2006 that don't answer my questions.

First some info about my setup.

OpenBSD 4.8
From obsd packages:
autoconf-2.60
GNU Make 3.81
pcre-8.02p1
apr-1.2.11p4
subversion-1.6.15p0
gdbm-1.8.3p0
rsync-3.0.7
gcc 4.2.1

To satisfy gcc i had to write #include <stdlib.h>
in /usr/include/alloca.h , as obsd dont have this header.

Then gcc complained about trampolines, and i added 
CFLAGS  += -ftrampolines
to src/Makefile.in

Now comilation fails on:
     CC est_ops.c
est_ops.c: In function 'ops__read_special_entry':
est_ops.c:1728: error: 'ENODATA' undeclared (first use in this function)
est_ops.c:1728: error: (Each undeclared identifier is reported only once
est_ops.c:1728: error: for each function it appears in.)
gmake[1]: *** [est_ops.o] Error 1
(Continue reading)

P.Marek | 17 Jan 11:35
Picon

[ANNOUNCE] FSVS 1.2.3 released

Hello everybody,

FSVS 1.2.3 is released.

This is a really minor release; only one bug was fixed (property name
"svn:mtime" could get overwritten by using the longer FSVS_* environment
variables), but portability for OSX was improved.

Thank you Florian, Mike and Mark.

Get it while it's hot!
     http://freshmeat.net/projects/fsvs

Regards,

Phil

--

-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

------------------------------------------------------
http://fsvs.tigris.org/ds/viewMessage.do?dsForumId=3923&dsMessageId=2698688

To unsubscribe from this discussion, e-mail: [dev-unsubscribe <at> fsvs.tigris.org].

Gunnar Thielebein | 7 Aug 19:05
Picon
Gravatar

ignore list questions

Hi Phil,

I marked some issues down with using ignore list. Could be some minor 
inconsistencies but perhaps you can shed some light on that.

I created this ignore pattern as a default one with the debian package:

> ignore,m:004:000
> ignore,/**.gz
> ignore,/**.bz2
> ignore,/**.zip
> ignore,/**.rar
> take,/etc/fsvs/config
> take,/etc/fsvs/svn/
> ignore,/etc/fsvs/**
> ignore,/etc/resolv.conf
> ignore,/etc/mtab
> ignore,/etc/adjtime
> take,/etc/
> ignore,/**

1. When I now change the ordering a bit with putting the take rule on 
top, the ignore matches beyond are not used.

When I use take beyond ignore:

> ignore,/**
> take,/etc/
only . is fetched.
> .mC.       dir  .
(Continue reading)

Gunnar Thielebein | 22 Jul 13:05
Picon
Gravatar

discussion of fsvs setup in common binary packages

Hi all,

I want to start a discussion on how fsvs can be handled and therefore 
eased for endusers within the distribution packages available.

There are a huge count of usage scenarios possible with fsvs because of 
its flexibility.
But as flexibility means also complexity I see a reason to give enduser 
the posibility of some easy start. Best way I see is to start within the 
packages available for different distributions/os'es.

My customer uses fsvs for configuration management and is planning now a 
huge rollout on client servers to fetch configuration file (/etc) into a 
single/seperate repositories. As he uses Debian/Ubuntu I started with 
introducing some fsvs setup tasks (dpkg-reconfigure) in the package itself.

That includes (and is going to include):

  - setup the repository working copy, that is in our case always / (root)
  - setup the repository url; we use only one url at the moment for 
simplicity
  - setup a basic ignore rules set
  - setup an fsvs apt hook that triggers fsvs on apt install / upgrade 
process
  - setup an fsvs cron job which sends notification on changes that are 
not checked in

What i want is to define some standards regarding the specified usecase 
like a common ignore ruleset, cron job, and pkg hooks that are also 
adaptable to other distributions os'ses like Fedora, Solaris, OSX, Fink, 
(Continue reading)

steve caster | 26 May 10:23
Picon

FSVS configure having hard coded paths

Hi all

I am trying to port fsvs to openwrt as they have all the other prerequisites available for fsvs and new routers are capable of adding storage devices. I am currently working on a soekris platform for this (x86 based systems).

I spend the whole weekend trying to compile version 1.1.17 on it and apparently it fails due to the fact that there are references to libdirs and inc dirs hardcoded in the configure script.

I am not a programmer and are only making my first steps in porting packages, so figuring out the configure script was quite a journey. I found LIBDIRS= /usr/local/lib in the configure script. Maybe somone could help me out by explaining me how this can be changed so fsvs is not having hardcoded links in the configure.

I am working on 1.1.17 as 1.2.2 fails on stating it has an invalid valgrind (another flacky journey ahead :D).

So any help is appreciate. Of course I will be sharing these binaries once they are properly compiling.

 

best regards

 

Steve

 

Gunnar Thielebein | 13 Apr 14:23
Picon
Gravatar

fsvs ubuntu packages

Hi,

I've packaged fsvs-1.2.2
for Ubuntu Hardy, Karmic and Lucid and put it in my ppa.

You can find package information here:

https://launchpad.net/~lorem-ipsum/+archive/ppa

This package contains some small helpers to ease setup of fsvs for configuration
management. Just run "dpkg-reconfigure fsvs".

Best,
Gunnar

------------------------------------------------------
http://fsvs.tigris.org/ds/viewMessage.do?dsForumId=3923&dsMessageId=2580750

To unsubscribe from this discussion, e-mail: [dev-unsubscribe <at> fsvs.tigris.org].

Gunnar Thielebein | 8 Apr 23:17
Picon
Gravatar

implicit conversion to a pointer

Hi Phil,

I have a small issue, introduced by my changes regarding
the external svn call.

When building package for an older version of svn (1.4) I did get a
message from launchpad's buildsystem:

> Finished at 20100408-1711
> Build needed 00:00:26, 4120k disk space
> Function `svn_config_get_user_config_path' implicitly converted to pointer at
> racallback.c:51
> 
> Our automated build log filter detected the problem(s) above that will
> likely cause your package to segfault on architectures where the size of
> a pointer is greater than the size of an integer, such as ia64 and amd64.
> 
> This is often due to a missing function prototype definition.
> 
> Since use of implicitly converted pointers is always fatal to the application
> on ia64, they are errors.  Please correct them for your next upload.
> 
> More information can be found at:
>     http://wiki.debian.org/ImplicitPointerConversions

This is the part of racallback.c:

...
> 	char *cfg_usr_path;
> 
> 
> 	STOPIF( hlp__get_svn_config(&cfg_hash), NULL);
> 
> 	cfg = apr_hash_get(cfg_hash, SVN_CONFIG_CATEGORY_CONFIG,
> 			APR_HASH_KEY_STRING);
> 
> 	/* get svn's user configuration path */
51> 	STOPIF_SVNERR( svn_config_get_user_config_path, (&cfg_usr_path, NULL, NULL,
pool ) );
> 
> 	 /* make sure that folders for storing authentications credentials are created */
> 	STOPIF_SVNERR( svn_config_ensure, (cfg_usr_path, pool));
> 

Do you have an idea whats wrong or how to resolve this?

Cheers,
Gunnar

------------------------------------------------------
http://fsvs.tigris.org/ds/viewMessage.do?dsForumId=3923&dsMessageId=2525525

To unsubscribe from this discussion, e-mail: [dev-unsubscribe <at> fsvs.tigris.org].

David Fraser | 7 Apr 08:50
Favicon

Re: RHEL 5 / CentOS RPM Package for FSVS 1.2.2 (Re: [ANNOUNCE] FSVS 1.2.2 released)

Hi Farzad

Great - I haven't been maintaining the Fedora/RHEL packaging since I don't actively use Fedora any more (I
have servers that run old versions, but have moved to Ubuntu on my primary machine). Are you interested in
helping to keep the Fedora packages up to date? If so it would be great if you could submit the updates to the
Fedora system... although I could do it in practice it's better to have somebody who's active ... Also you
can then get the Fedora build infrastructure to automatically produce builds on all different
architectures etc, and it gives greater certainty that it will build on all the different target versions
(RHEL builds are included in the Fedora build system)

Regards
David

----- Original Message -----
From: "Farzad FARID" <ffarid <at> pragmatic-source.com>
To: "users" <users <at> fsvs.tigris.org>
Cc: "dev" <dev <at> fsvs.tigris.org>
Sent: Tuesday, April 6, 2010 6:45:45 PM
Subject: RHEL 5 / CentOS RPM Package for FSVS 1.2.2 (Re: [ANNOUNCE] FSVS 1.2.2 released)

Hi, 

Congratulations for this new release. 

I compiled and packaged it for RHEL 5 / CentOS 5 64 bits. Here are the files: 

    • SPEC file: http://www.pragmatic-source.com/downloads/fsvs/fsvs.spec 
    • 64 bits RPM file: http://www.pragmatic-source.com/downloads/fsvs/fsvs-1.2.2-1.x86_64.rpm 
    • Source RPM file (should also work on 32 bits RHEL / CentOS):
http://www.pragmatic-source.com/downloads/fsvs/fsvs-1.2.2-1.src.rpm 

I'll publish the 32 bits version soon. 

Regards, 

Le 12/03/2010 07:19, P.Marek a écrit : 

Hello everybody,

FSVS 1.2.2 is released.

The most important changes are:
- "config_dir" option fixed, so that SSL certificate authentication works.
  It provides a different (but hopefully better) default.
  And there's much better documentation for that (thank you, Gunnar!).
- A few Solaris 10 compatibility fixes. Thank you, Stan!
- The "_base" symlink is not done anymore, as it breaks eg. "grep -r /etc".
  A README is written instead.
- Fix virtual address space exhaustion for 32bit machines and *large*
  working copies (182GB, IIRC). Thank you, Mark! 
- New option "dir_exclude_mtime". Thank you, Gunnar!

The sources are available from http://freshmeat.net/projects/fsvs ;

I'd hope that our dear packagers provide some help a few distributions.

Documentation is at http://doc.fsvs-software.org/ ; please send all questions, 
ideas, problems and other feedback to the mailing lists.

	We do sincerely hope you'll all enjoy the show 
	and please remember people, that 
	no matter who you are and what you do 
	to live, thrive and survive, 
	there're still some things that make us _all_ the same. 
	You, me, them, everybody, everybody.

Happy weekend, everybody!

Regards,

Phil 

-- 
Farzad FARID / Architecte Open Source
Pragmatic Source / http://www.pragmatic-source.com Tel : +33 9 53 19 21 90 / Mob : +33 6 03 70 65 46 

--

-- 
David Fraser
St James Software

------------------------------------------------------
http://fsvs.tigris.org/ds/viewMessage.do?dsForumId=3923&dsMessageId=2508623

To unsubscribe from this discussion, e-mail: [dev-unsubscribe <at> fsvs.tigris.org].


Gmane