bugGnash - The GNU Flash player - Bugs: bug #18513, autogen error message about...

 
 

bug #18513: autogen error message about permission denied; configure still created

Submitted by:  Ann Barcomb <ann>
Submitted on:  Wed 13 Dec 2006 02:53:26 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: Invalid
Privacy: PublicAssigned to: Bastiaan Jacques <bjacques>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Thu 12 Jul 2007 04:59:39 PM UTC, comment #8:

I don't know if this is still a problem in the current version, 6.2-RELEASE but I've transferred the workaround into the Wiki and am closing this item.

Martin Guy <martinwguy>
Fri 23 Mar 2007 04:25:52 AM UTC, comment #7:

Hi,

Find enclosed the patch for freebsd..

I don't really understand what the problem is, but I did see some other chmod in you autogen, so I feel ok doing that.

Kindest regards,
Germain

Index: autogen.sh
===================================================================
RCS file: /sources/gnash/gnash/autogen.sh,v
retrieving revision 1.22
diff -u -r1.22 autogen.sh
--- autogen.sh 29 Dec 2006 01:12:20 -0000 1.22
+++ autogen.sh 23 Mar 2007 04:21:24 -0000
@@ -168,6 +168,7 @@
${AUTOMAKE:-automake} --add-missing --copy $am_opt
fi
echo "Running autoconf ..."
+ chmod -vr u+w *
${AUTOCONF:-autoconf}
)
fi

germain le chapelain <germ>
Tue 19 Dec 2006 07:56:02 AM UTC, comment #6:

The libtool installation on FreeBSD has the libltdl files (which are copied by libtool --ltdl when called by autogen.sh) readonly (u-w) in $installpath/share/libtool/ltdl. When the permissions are set to u+rw, the error messages go away. So this does not appear to be a Gnash bug; this bug should be closed when a bug report has been filed with the FreeBSD GNU libtool package maintainers.

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Fri 15 Dec 2006 03:54:55 PM UTC, comment #5:

The error messages appear to originate in libltdl/ (which has its own configure.ac and aclocal.m4). ./autogen.sh (or rather, another part of autotools, autoconf seems a likely suspect) resets the permissions of all files in libltdl to u-w so that things that run after autoconf fail to open libltdl/configure and libltdl/aclocal.m4 for writing.

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Thu 14 Dec 2006 04:37:37 PM UTC, comment #4:

Sorry, forgot to include the status of the directory itself. I also have write permission for it.

From the top-level checkout dir:
drwxr-xr-x 4 ann ann 1024 Dec 14 19:28 libltdl/

Ann Barcomb <ann>
Thu 14 Dec 2006 04:24:20 PM UTC, comment #3:

Rob wrote:

> Make sure your top level gnash directory has write permissions set.


god [107] /home/ann/gnash/src> ls -al |head
total 5352
drwxr-xr-x 20 ann ann 1536 Dec 14 19:31 ./

Ann Barcomb <ann>
Thu 14 Dec 2006 04:15:30 PM UTC, comment #2:

Bastiaan is the one who asked me to file this bug report. I did a CVS checkout, as myself, in my home directory. These were the contents of the directory:

god [115] /home/ann/gnash/src/libltdl> ls -l
total 1932
-r--r--r-- 1 ann ann 26542 Nov 20 23:55 COPYING.LIB
drwxr-xr-x 2 ann ann 512 Dec 9 19:50 CVS/
-rw-rw---- 1 ann ann 20741 Dec 14 19:18 Makefile
-r--r--r-- 1 ann ann 763 Nov 20 23:55 Makefile.am
-rw-rw---- 1 ann ann 20636 Dec 13 18:30 Makefile.in
-r--r--r-- 1 ann ann 347 Nov 20 23:55 README
-r--r--r-- 1 ann ann 243808 Nov 20 23:55 acinclude.m4
-r--r--r-- 1 ann ann 32231 Nov 20 23:55 aclocal.m4
drwxr-xr-x 2 ann ann 512 Nov 26 19:19 autom4te.cache/
-r--r--r-- 1 ann ann 5301 Nov 20 23:55 config-h.in
-r-xr-xr-x 1 ann ann 42037 Nov 20 23:55 config.guess*
-rw-r--r-- 1 ann ann 5713 Dec 9 19:58 config.h
-rw-r--r-- 1 ann ann 79485 Dec 14 19:18 config.log
-rwxr-xr-x 1 ann ann 30788 Dec 14 19:18 config.status*
-r-xr-xr-x 1 ann ann 30315 Nov 20 23:55 config.sub*
-r-xr-xr-x 1 ann ann 767008 Nov 20 23:55 configure*
-r--r--r-- 1 ann ann 2252 Nov 20 23:55 configure.ac
-r-xr-xr-x 1 ann ann 10970 Nov 20 23:55 install-sh*
-rwxrwx--- 1 ann ann 225548 Dec 14 19:18 libtool*
-r--r--r-- 1 ann ann 98519 Nov 20 23:55 ltdl.c
-r--r--r-- 1 ann ann 11878 Nov 20 23:55 ltdl.h
-r--r--r-- 1 ann ann 197818 Nov 20 23:55 ltmain.sh
-r-xr-xr-x 1 ann ann 10587 Nov 20 23:55 missing*
-rw-r--r-- 1 ann ann 23 Dec 14 19:18 stamp-h1

I just added write and execute permission for myself and ran it again, but I get the same errors.

Ann Barcomb <ann>
Wed 13 Dec 2006 09:14:42 PM UTC, comment #1:

Hard to belive you own all files..
Do you have write permission on libltdl/ directory ?
Is there a libltdl/aclocal.m4 file ?
(I would assign this to bastiaan, btw)

Sandro Santilli <strk>
Project Member
Wed 13 Dec 2006 02:53:26 PM UTC, original submission:

When running ./autogen.sh, I get the following errors, although 'configure' is in fact created:

god [180] /home/ann/gnash/src> ./autogen.sh
Running libtoolize --force --ltdl --copy ...
You should update your `aclocal.m4' by running aclocal.
processing .
Running libtoolize --force --copy ...
You should update your `aclocal.m4' by running aclocal.
Running aclocal -I macros ...
Running autoheader...
Running automake --add-missing --copy ...
Running autoconf ...
processing ./libltdl
Running libtoolize --force --copy ...
You should update your `aclocal.m4' by running aclocal.
You should update your `aclocal.m4' by running aclocal.
Running aclocal ...
aclocal: cannot open > aclocal.m4: Permission denied
Running autoheader...
Running automake --add-missing --copy ...
Running autoconf ...
autom4te: cannot open configure: Permission denied

I am running it as myself, with all the files owned by me.

FreeBSD god 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386

Ann Barcomb <ann>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by germ (Posted a comment)
  • -unavailable- added by bjacques (Posted a comment)
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by ann (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 12 Jul 2007 04:59:39 PM UTCmartinwguyOpen/ClosedOpen=>Closed
    Tue 19 Dec 2006 07:56:02 AM UTCbjacquesStatusNone=>Invalid
    Thu 14 Dec 2006 07:36:40 PM UTCannAssigned toNone=>bjacques
    Wed 13 Dec 2006 09:14:42 PM UTCstrkCarbon-Copy-=>Added bjacques

    Back to the top


    Powered by Savane 3.1-cleanup1