bugGNU Astronomy Utilities - Bugs: bug #60975, Permission denied:...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #60975: Permission denied: ./developer-build -d finishes with error

Submitter:  Pedram Ashofteh-Ardakani <pedram>
Submitted:  Mon 26 Jul 2021 08:17:35 PM UTC
   
 
Category:  Installation Severity:  3 - Normal
Item Group:  Configuration file Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Tue 27 Jul 2021 05:58:50 AM UTC, comment #2: 

Indeed, thank you Mohammad :-)

These were the steps I took:


[gnuastro]$ sudo git clean -fxd
[...]
$ ./bootstrap --copy --gnulib-srcdir=/devdir/gnulib
[...]
$ autoreconf -f
[...]
$ ./developer-build -d 2>&1 | tee log.txt
[...]
$ cd build
$ make check -j8
[...]


All tests passed, and '/gnuastro/tests/during-dev.sh/ compiles works as expected :-)

Pedram Ashofteh-Ardakani <pedram>
Group Member
Mon 26 Jul 2021 10:58:02 PM UTC, comment #1: 

Have you previously bootstrapped Gnuastro as root? And are now building as a normal user? You can check with the command below:


ls -l doc/authors.texi doc/authors.texi doc/stamp-vti


These files are created automatically during the build, so if you bootstrapped Gnuastro with root permissions in the first time, their owner is 'root' and now that you are building as a normal user, you can't re-write over them.

If this is the case, you need to become root, then run 'git clean -fxd' (to delete all files that are not under version control). Then become a normal user again and bootstrap Gnuastro.

I hope this fixes the problem ;-).


Mohammad Akhlaghi <makhlaghi>
Group administrator
Mon 26 Jul 2021 08:17:35 PM UTC, original submission:  

After pulling the latest version of gnuastro from [1], deleting the build directory from `shm`, running `autoreconf -f`, and running `./developer-build -d`, I get the following error in the output. The complete log file is attached below.


[...]
Generating authors list for documentation.
/path/to/gnuastro/doc/genauthors: line 67: /path/to/gnuastro/doc/authors.texi: Permission denied
make  all-am
make[3]: Entering directory '/dev/shm/gnuastro-0.15.16-b299/doc'
/path/to/gnuastro/doc/genauthors /path/to/gnuastro
help2man --no-discard-stderr --output=man/astarithmetic.1 --source="GNU Astronomy Utilities 0.15.43-4ca94-dirty" -n "arithmetic operations on images and numbers" \
                  --libtool ../bin/arithmetic/astarithmetic
help2man --no-discard-stderr --output=man/astbuildprog.1 --source="GNU Astronomy Utilities 0.15.43-4ca94-dirty" -n "compile, link with Gnuastro library and its dependencies, and run a C program"      \
                  --libtool ../bin/buildprog/astbuildprog
help2man --no-discard-stderr --output=man/astconvertt.1 --source="GNU Astronomy Utilities 0.15.43-4ca94-dirty" -n "convert known data types to each other"      \
                  --libtool ../bin/convertt/astconvertt
help2man --no-discard-stderr --output=man/astconvolve.1 --source="GNU Astronomy Utilities 0.15.43-4ca94-dirty" -n "convolve an image with a given kernel"       \
                  --libtool ../bin/convolve/astconvolve
help2man --no-discard-stderr --output=man/astcosmiccal.1 --source="GNU Astronomy Utilities 0.15.43-4ca94-dirty" -n "estimate cosmological values"                \
                  --libtool ../bin/cosmiccal/astcosmiccal
help2man --no-discard-stderr --output=man/astcrop.1 --source="GNU Astronomy Utilities 0.15.43-4ca94-dirty" -n "crop regions of a dataset"                   \
                  --libtool ../bin/crop/astcrop
Generating authors list for documentation.
/path/to/gnuastro/doc/genauthors: line 67: /path/to/gnuastro/doc/authors.texi: Permission denied
help2man --no-discard-stderr --output=man/astfits.1 --source="GNU Astronomy Utilities 0.15.43-4ca94-dirty" -n "view and manipulate FITS headers"            \
                  --libtool ../bin/fits/astfits
Updating /path/to/gnuastro/doc/version.texi
cp: cannot create regular file '/path/to/gnuastro/doc/stamp-vti': Permission denied
make[3]: *** [Makefile:2165: /path/to/gnuastro/doc/stamp-vti] Error 1
[...]


[1] https://git.savannah.gnu.org/r/gnuastro.git/

Pedram Ashofteh-Ardakani <pedram>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Posted a comment)
  • -email is unavailable- added by pedram (Submitted the item)
  • -email is unavailable- added by pedram
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-07-27 pedram Open/ClosedOpen Closed
    2021-07-26 pedram Attached File- Added 20210626-pedram-dev-build-pull-latest-autoreconf.log, #51697
        Carbon-Copy- Added makhlaghi

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code