RE: How to run autogen?
Chris Hassell <[email protected]> Fri, 17 Jun 2022 06:03:00 +0000
| Newsgroups | gmane.comp.archivers.amanda.devel |
|---|---|
| Message-ID | <DM8PR13MB5111E0C950920DA0DE03F90597AF9@DM8PR13MB5111.namprd13.prod.outlook.com> |
New verison should work now. I tried with your script. > -----Original Message----- > From: Orion Poplawski <[email protected]> > Sent: Thursday, June 16, 2022 2:36 PM > To: Chris Hassell <[email protected]>; Amanda Hackers <amanda- > [email protected]> > Subject: Re: How to run autogen? > > Thanks, but I'm still getting an error. I've downloaded > https://github.com/zmanda/amanda/archive/1f4140e421b806316c43258ff6cc5 > f079e49cb05/amanda-3.6.0- > 1f4140e421b806316c43258ff6cc5f079e49cb05.tar.gz > and tried: > > + cd amanda-1f4140e421b806316c43258ff6cc5f079e49cb05 > + export pkg_type=rpm > + pkg_type=rpm > + echo 3.6.0 > FULL_VERSION > + echo 0.2.git.el8.nwra.1 > PKG_REV > + ./autogen > See DEVELOPING for instructions on updating: > * gettext macros > * gnulib > * libtool files > ..creating file lists > ..generate FULL_VERSION > #--------------- pkg-common : 22+hqpA @3d212ec =0s old > #--------------- pkg-scripts : 22+hqpA @3d212ec =0s old > #--------------- top-dir : 22+hqpA @3d212ec =0s old > /export/home/orion/fedora/amanda/amanda- > 1f4140e421b806316c43258ff6cc5f079e49cb05/packaging/common/build_funct > ions.sh: > line 363: > /export/home/orion/fedora/amanda/amanda- > 1f4140e421b806316c43258ff6cc5f079e49cb05/LONG_BRANCH: > No such file or directory > /export/home/orion/fedora/amanda/amanda- > 1f4140e421b806316c43258ff6cc5f079e49cb05/packaging/common/build_funct > ions.sh: > line 365: > /export/home/orion/fedora/amanda/amanda- > 1f4140e421b806316c43258ff6cc5f079e49cb05/REV: > No such file or directory > setup version: amanda- --- 0.2.git.el8.nwra.1 > Couldn't set FULL_VERSION or PKG_REV! > set_full_version failed > > On 6/16/22 12:53, chris.hassell wrote: > > The new setup for 3_6.beta should work now without requiring a git clone. > > > > On 6/14/22 14:57, chris.hassell wrote: > >> Sorry we had trouble with this. It seems expecting automatic-git-repo > >> every time is unwise. > >> > >> It really is a nice thing to get a unique version number (based on tags > >> and branches etc..) from the git version in use! However ... that's > >> not what we have here every time so we cannot rely on that. > >> > >> I will adjust this 3.6.0.pre2 and get pre3 out soon so that it does NOT > >> expect to set versioning via git. > >> > >> On 6/13/22 10:15, Orion Poplawski wrote: > >>> It seems like packaging/common/set_zmanda_version assumes that it will > be run > >>> inside of an amanda git repo (or a tarball?), but in this case it is running > >>> inside of my rpm git repo. I've hacked around it with: > >>> > >>> diff -up amanda-tag- > 3.6.0.pre2/packaging/common/set_zmanda_version.rpm > >>> amanda-tag-3.6.0.pre2/packaging/common/set_zmanda_version > >>> --- amanda-tag-3.6.0.pre2/packaging/common/set_zmanda_version.rpm > >>> 2022-06-13 10:11:28.949102992 -0600 > >>> +++ amanda-tag-3.6.0.pre2/packaging/common/set_zmanda_version > 2022-06-13 > >>> 10:12:17.984937574 -0600 > >>> @@ -14,7 +14,7 @@ > >>> > >>> selfdir=$(readlink -e ${BASH_SOURCE[0]}) > >>> selfdir=$(dirname ${selfdir}) > >>> -src_root=$(git rev-parse --show-toplevel) > >>> +src_root=. > >>> if [ "$(type -t get_yearly_tag)" != "function" ]; then > >>> . ${selfdir}/build_functions.sh > >>> fi > >>> > >>> and creating FULL_VERSION and PKG_REV manually. > >>> > >> Confidentiality Notice | The information transmitted by this email is intended > only for the person or entity to which it is addressed. This email may contain > proprietary, business-confidential and/or privileged material. If you are not the > intended recipient of this message, be aware that any use, review, re- > transmission, distribution, reproduction or any action taken in reliance upon this > message is strictly prohibited. If you received this in error, please contact the > sender and delete the material from all computers. > >> > > Confidentiality Notice | The information transmitted by this email is intended > only for the person or entity to which it is addressed. This email may contain > proprietary, business-confidential and/or privileged material. If you are not the > intended recipient of this message, be aware that any use, review, re- > transmission, distribution, reproduction or any action taken in reliance upon this > message is strictly prohibited. If you received this in error, please contact the > sender and delete the material from all computers. > > > -- > Orion Poplawski > he/him/his - surely the least important thing about me > IT Systems Manager 720-772-5637 > NWRA, Boulder/CoRA Office FAX: 303-415-9702 > 3380 Mitchell Lane [email protected] > Boulder, CO 80301 https://www.nwra.com/ Confidentiality Notice | The information transmitted by this email is intended only for the person or entity to which it is addressed. This email may contain proprietary, business-confidential and/or privileged material. If you are not the intended recipient of this message, be aware that any use, review, re-transmission, distribution, reproduction or any action taken in reliance upon this message is strictly prohibited. If you received this in error, please contact the sender and delete the material from all computers.