DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22506>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22506

Hazard make install --with-layout

           Summary: Hazard make install --with-layout
           Product: Apache httpd-1.3
           Version: 1.3.28
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Build
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Hi,
in an attempt to match typical Debian settings, I had the
bad idea to use --with-layout. For some reason, "manualdir"
ended up blank. Since configure and make were fine, I did
make install... oh God!! I whish I never had done it.

It began writing lines like

  Copying tree ./htdocs/manual -> //
  chmod: changing permissions of `/proc/1': Operation not permitted
  chmod: changing permissions of `/proc/2': Operation not permitted
  ...
  make[1]: [install-data] Error 123 (ignored)

It went around all file system doing chmod a+r[x] for each file [directory]
found around from the following excerpt in Makefile, where $(manualdir) was
not set

        echo "Copying tree $(TOP)/htdocs/manual -> $(root)/$(manualdir)/"; \
        (cd $(TOP)/htdocs/manual/ && $(TAR) $(TAROPT) - *) |\
        (cd $(root)$(manualdir)/ && $(TAR) -xf -); \
        find $(root)$(manualdir)/ -type d -exec chmod a+rx {} \; ; \
        find $(root)$(manualdir)/ -type f -print | xargs chmod a+r ; \

There was "manualdir =" in the installation paths section, which I don't
think is a bug by itself, since someone may omit to install manuals. The
disaster results from careless usage of find. I will submit a patch in that
sense.

Although I think the diagnosis is clear enough, I will also upload another
couple of files with the full configure command line and the layout file
I used.

Ciao
Ale

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to