Hi, 

I had missed  some packets but know autogen works. I'm getting this error.

Thanks Gunnar 

libtool: link: gcc -Wall -Wextra -Wparentheses -Wdeclaration-after-statement 
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat 
-Wformat-security -Wsign-compare -Wfloat-equal -Wold-style-definition 
-Wno-strict-aliasing -Wno-unknown-pragmas -Wno-deprecated-declarations 
"-DAMANDA_FILE=\"amflock-test.o\"" -g -O2 -fno-strict-aliasing 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o .libs/amflock-test amflock-test.o 
 -L/usr/lib/64 ./.libs/libamanda.so -L/usr/lib/sparcv9 ./.libs/libtestutils.a 
-lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lsocket -lnsl -lresolv -lintl -lssl 
-lcrypto -R/opt/lib/amanda
ld: fatal: symbol 'tu_debugging_enabled' is multiply-defined:
        (file amflock-test.o type=OBJT; file 
./.libs/libtestutils.a(testutils.o) type=OBJT);
collect2: error: ld returned 1 exit status
gmake[3]: *** [Makefile:2371: amflock-test] Error 1
gmake[3]: Leaving directory 
'/root/amanda_compile/amanda-3_5-packaging-upgrade-wip/amanda/common-src'
gmake[2]: *** [Makefile:2171: all] Error 2
gmake[2]: Leaving directory 
'/root/amanda_compile/amanda-3_5-packaging-upgrade-wip/amanda/common-src'
gmake[1]: *** [Makefile:1737: all-recursive] Error 1
gmake[1]: Leaving directory 
'/root/amanda_compile/amanda-3_5-packaging-upgrade-wip/amanda'
gmake: *** [Makefile:1661: all] Error 2

-----Ursprungligt meddelande-----
Från: [email protected] <[email protected]> För 
Gunnarsson, Gunnar
Skickat: den 19 mars 2022 11:58
Till: [email protected]; Chris Hassell <[email protected]>; ? amanda users 
<[email protected]>
Ämne: SV: Sent out a pull-request to upgrade the packaging system....

Hi,

git clone -b 3_5-packaging-upgrade-wip https://github.com/zmanda/amanda.git
git branch
* 3_5-packaging-upgrade-wip

On solaris these packages are needed
pkg install git automake  autoconf  pkg:/developer/build/libtool gcc cd Amanda 
./autogen

+ set -x
+ /usr/bin/autoconf
configure.ac:25: error: possibly undefined macro: AC_DEFINE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
+ die 'autoconf  [default autoconf version] failed'
+ echo 'autoconf  [default autoconf version] failed'
autoconf  [default autoconf version] failed
+ exit 1

This works on the master branch ?

Thanks Gunnar 

-----Ursprungligt meddelande-----
Från: [email protected] <[email protected]> För Stefan 
G. Weichinger
Skickat: den 18 mars 2022 10:31
Till: Chris Hassell <[email protected]>; ? amanda users 
<[email protected]>
Ämne: Re: Sent out a pull-request to upgrade the packaging system....

Am 17.03.22 um 22:28 schrieb Chris Hassell:
> First of many.  It is not configured-and-tested as is but it is very 
> close to our working version.
> 
> -Versioning based on tags from git
> 
> -An in-directory build as well as below-directory package build
> 
> -Solaris 10 and Solaris 11 packages
> 
> -Better handling of pre/post scripts (may need to update Debian
> ones??)
> 
> -Systemd services are included as well.
> 
> If I can get someone to look over it and give it a spin I’d really 
> appreciate it.
> 
> I have more fixes for the installcheck directory to allow some good 
> and solid self-tests.

Nice to see progress.

I assume you want us to try to build the code in that PR?

pls point to some howto, I can't remember the procedure anymore (autoconf? etc)

I can test on Debian 11, for example.


Reply via email to