adjacentlink / pynodestatviz

Simple node/edge display tool
Other
1 stars 4 forks source link

Trouble with rpm build on RedHat #2

Open ehengberg opened 3 years ago

ehengberg commented 3 years ago

I'm getting the following error trying to make the rpms:

make rpm if test -f pynodestatviz.spec; then chmod u+w pynodestatviz.spec; fi sed -e 's|@VERSION[@]|0.2.3|g' -e 's|@DEBIAN_VERSION[@]||g' -e 's|@DATE_RFC2822[@]|Mon, 04 Oct 2021 14:00:08 -0400|g' pynodestatviz.spec.in > pynodestatviz.spec chmod g-w,u-w pynodestatviz.spec if test -d "pynodestatviz-0.2.3"; then find "pynodestatviz-0.2.3" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "pynodestatviz-0.2.3" || { sleep 5 && rm -rf "pynodestatviz-0.2.3"; }; else :; fi test -d "pynodestatviz-0.2.3" || mkdir "pynodestatviz-0.2.3" test -n "" \ || find "pynodestatviz-0.2.3" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec /bin/sh /local_disk/ER30730/pynodestatviz/install-sh -c -m a+r {} {} \; \ || chmod -R a+r "pynodestatviz-0.2.3" tardir=pynodestatviz-0.2.3 && ${TAR-tar} chof - "$tardir" | GZIP=--best gzip -c >pynodestatviz-0.2.3.tar.gz tar: value 50020745 out of uid_t range 0..2097151 tar: Exiting with failure status due to previous errors

sgalgano commented 3 years ago

The error you are seeing looks related to your linux system:

 tar: value 50020745 out of uid_t range 0..2097151

Is your system setup with network users or a remote filesystem with non-local file owners or something along those lines? If so, try with a local user.

ehengberg commented 3 years ago

I was able to work around this via adding the "--format=pax" option to the tar command to allow large uids. I did this by adding "tar-pax" to AM_INIT_AUTOMAKE() in configure.ac.

Thanks