[pacman-dev] [ABS] fails if INCLUDE env variable is set
ABS (Arch Build System 2.3.4.1) fails if INCLUDE environment variable is set: [~]# abs ==> Starting ABS sync... Unexpected remote arg: rsync.archlinux.org::abs/i686/ rsync error: syntax or usage error (code 1) at main.c(1204) [sender=3.0.7] [~]# echo $INCLUDE /opt/intel/Compiler/11.1/073/ipp/ia32/include:/opt/intel/Compiler/11.1/073/mkl/include [~]# INCLUDE="" abs ==> Starting ABS sync... receiving file list ... done sent 132 bytes received 282939 bytes 43549.38 bytes/sec total size is 13144299 speedup is 46.43 This is because it uses INCLUDE like this: $SYNCCMD $SYNCARGS $INCLUDE $EXCLUDE ${SYNCSERVER}::abs/{${ARCH},any}/ $ABSROOT which expands to: rsync -mrtv --no-motd --delete-after --no-p --no-o --no-g --delete-excluded /opt/intel/Compiler/11.1/073/ipp/ia32/include:/opt/intel/Compiler/11.1/073/mkl/include --filter=-_/testing/ --filter=-_/community-testing/ --filter=-_/staging/ --filter=-_/community-staging/ --filter=-_/gnome-unstable/ --filter=P_/local/ --filter=P_/README rsync.archlinux.org::abs/{i686,any}/ /var/abs/ INCLUDE should be set to "" at the start of abs script, along with EXCLUDE to prevent env variables from being used, patch is in the attachment.
participants (1)
-
Ivan Stojic