[MacPorts] #23710: file port fails to install with_text_magic_file

MacPorts noreply at macports.org
Sun Feb 14 14:19:24 PST 2010


#23710: file port fails to install with_text_magic_file
-------------------------------+--------------------------------------------
 Reporter:  robert@…           |       Owner:  jay-macports@…     
     Type:  defect             |      Status:  new                
 Priority:  Normal             |   Milestone:                     
Component:  ports              |     Version:  1.8.2              
 Keywords:                     |        Port:  file               
-------------------------------+--------------------------------------------
Changes (by macsforever2000@…):

  * owner:  macports-tickets@… => jay-macports@…


Old description:

> The "magic" build tries to create a directory with the same name used for
> some temp-file earlier.
>
> {{{
>         done >> magic
> mkdir: magic: File exists
> make[2]: *** [magic.mgc] Error 1
> }}}
>

> I added that sipped of a patch to the magic/Makefile.in to make it work
> again:
>

> {{{
>  ${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE_DEP)
> -       @mkdir magic && cp -p $(EXTRA_DIST) magic
> -       $(FILE_COMPILE) -C -m magic
> -       @rm -fr magic
> +       @mkdir magics && cp -p $(EXTRA_DIST) magics
> +       $(FILE_COMPILE) -C -m magics
> +       @rm -fr magics
>  # Tell versions [3.59,3.63) of GNU make to not export all variables.
> }}}

New description:

 The "magic" build tries to create a directory with the same name used for
 some temp-file earlier.

 {{{
         done >> magic
 mkdir: magic: File exists
 make[2]: *** [magic.mgc] Error 1
 }}}


 I added that sipped of a patch to the magic/Makefile.in to make it work
 again:


 {{{
  ${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE_DEP)
 -       @mkdir magic && cp -p $(EXTRA_DIST) magic
 -       $(FILE_COMPILE) -C -m magic
 -       @rm -fr magic
 +       @mkdir magics && cp -p $(EXTRA_DIST) magics
 +       $(FILE_COMPILE) -C -m magics
 +       @rm -fr magics
  # Tell versions [3.59,3.63) of GNU make to not export all variables.
 }}}

--

-- 
Ticket URL: <http://trac.macports.org/ticket/23710#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list