zmanda / amanda

Amanda Network Backup
https://www.zmanda.com/downloads/
Other
227 stars 108 forks source link

building tar package on gentoo #223

Open stefangweichinger opened 1 year ago

stefangweichinger commented 1 year ago

It looks as if the packaging scripts only know of several main distributions.

Trying this on gentoo linux on the branch "3_6":

# ./packaging/tar/build
#--------------- pkg-scripts   : 22+hspO @2fa9fd790 =-30468336s old 
#--------------- pkg-common    : 22+jAxI @2fa9fd790 =-30124423s old 
#--------------- top-dir       : 22+jnkn @2fa9fd790 =-29433684s old 
setup version: amanda-backup-3.6.0.pre3+1 --- jnkn.branch.2fa9fd790
set version : 3.6.0.pre3+1
set branch : tag-3.6.0.pre3
set branch (long) : tags/tag-3.6.0.pre3
set rev : +1
Config tar package from /root/amanda/packaging/tar/server and /root/amanda/packaging/tar ==============================================
'/root/amanda/packaging/tar/0_vars.sh' -> 'BUILD/0_vars.sh'
'/root/amanda/packaging/tar/build' -> 'BUILD/build'
'/root/amanda/packaging/tar/buildpkg' -> 'BUILD/buildpkg'
'/root/amanda/packaging/tar/conffiles.src' -> 'BUILD/conffiles.src'
'/root/amanda/packaging/tar/copyright' -> 'BUILD/copyright'
'/root/amanda/packaging/tar/postremove.src' -> 'BUILD/postremove.src'
'/root/amanda/packaging/tar/server/0_vars.sh' -> 'BUILD/0_vars.sh'
'/root/amanda/packaging/tar/server/amanda-backup-server.docs' -> 'BUILD/amanda-backup-server.docs'
'/root/amanda/packaging/tar/server/makefile.build.src' -> 'BUILD/makefile.build.src'
'/root/amanda/packaging/tar/server/postinstall.src' -> 'BUILD/postinstall.src'
'/root/amanda/packaging/tar/server/preinstall.src' -> 'BUILD/preinstall.src'
setup version: amanda-backup-3.6.0.pre3+1 --- jnkn.branch.2fa9fd790
Fake building tar package in amanda-backup-3.6.0.pre3+1 ==============================================
failed to recognize platform at /root/amanda/packaging/common/substitute.pl line 333.
substitution of "BUILD/conffiles.src" -> "BUILD/conffiles" failed somehow
missing call to gen_pkg_environ() or failed substitutions

pls advise how to tell the build scripts which platform I am building on.