[MacPorts] #16826: MacPorts fails to build dependencies during port upgrade

MacPorts noreply at macports.org
Sat Oct 11 13:17:31 PDT 2008


#16826: MacPorts fails to build dependencies during port upgrade
------------------------------------+---------------------------------------
  Reporter:  boxerfencer at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect                 |      Status:  new                                  
  Priority:  High                   |   Milestone:  Port Bugs                            
 Component:  ports                  |     Version:  1.6.0                                
Resolution:                         |    Keywords:                                       
      Port:                         |  
------------------------------------+---------------------------------------

Old description:

> During both
> sudo port upgrade installed
> and
> sudo port upgrade oudated
> I get failed attempts at building:
>  gegl ffmpeg a52dec db46 cyrus-sasl2 graphviz libsdl lua openexr ilmbase
>
> And it seemingly loops endlessly.
>
> I also get a "Error: No port gail found." after the "sudo port upgrade
> oudated" command.
>
> When I tried "sudo port -d sync", failed attempts diminished as in the
> following.
> Error: The following dependencies failed to build: gegl ffmpeg a52dec
> Error: Unable to upgrade port: 1
>
> Interestingly, "sudo port -d selfupdate" doesn't report any problems.
>
> Details
> port -v reports:
> MacPorts 1.600
>
> And I'm running on a Mac Book Pro running the Yonah x86 processor.
>
> You'll see a complaint about illegal ccache usage, well I deleted ccache
> and set
> "configureccache" to "no" in /opt/local/etc/macports/macports.conf and
> reattempted to update/upgrade and still encountered the same problem.
>

> The initial error mentioned above (first) follows.
> --->  Building a52dec with target all
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_a52dec/work/a52dec-0.7.4"
> && make all " returned error 2
> Command output: Making all in autotools
> make[1]: Nothing to be done for `all'.
> Making all in include
> make[1]: Nothing to be done for `all'.
> Making all in doc
> make[1]: Nothing to be done for `all'.
> Making all in liba52
> /bin/sh ../libtool --mode=link ccache /usr/bin/gcc-4.0  -O3 -fomit-frame-
> pointer  -prefer-non-pic -L/opt/local/lib -o liba52.la -rpath
> /opt/local/lib -no-undefined bitstream.lo imdct.lo bit_allocate.lo
> parse.lo downmix.lo -lm
> rm -fr .libs/liba52.la .libs/liba52.* .libs/liba52.*
> ccache -dynamiclib  -o .libs/liba52.0.0.0.dylib  bitstream.lo imdct.lo
> bit_allocate.lo parse.lo downmix.lo  -L/opt/local/lib -lm -lc
> -install_name  /opt/local/lib/liba52.0.dylib -compatibility_version 1
> -current_version 1.0
> ccache: illegal option -- d
> ccache, a compiler cache. Version 2.4
> Copyright Andrew Tridgell, 2002
>
> Usage:
>         ccache [options]
>         ccache compiler [compile options]
>         compiler [compile options]    (via symbolic link)
>
> Options:
> -s                      show statistics summary
> -z                      zero statistics
> -c                      run a cache cleanup
> -C                      clear the cache completely
> -F <maxfiles>           set maximum files in cache
> -M <maxsize>            set maximum size of cache (use G, M or K)
> -h                      this help page
> -V                      print version number
> make[1]: *** [liba52.la] Error 1
> make: *** [all-recursive] Error 1
>
> Error: The following dependencies failed to build: gegl ffmpeg a52dec
> db46 cyrus-sasl2 graphviz libsdl lua openexr ilmbase
> Error: Unable to upgrade port: 1

New description:

 During both
 sudo port upgrade installed
 and
 sudo port upgrade oudated
 I get failed attempts at building:
  gegl ffmpeg a52dec db46 cyrus-sasl2 graphviz libsdl lua openexr ilmbase

 And it seemingly loops endlessly.

 I also get a "Error: No port gail found." after the "sudo port upgrade
 oudated" command.

 When I tried "sudo port -d sync", failed attempts diminished as in the
 following.
 {{{
 Error: The following dependencies failed to build: gegl ffmpeg a52dec
 Error: Unable to upgrade port: 1
 }}}
 Interestingly, "sudo port -d selfupdate" doesn't report any problems.

 Details
 port -v reports:
 MacPorts 1.600

 And I'm running on a Mac Book Pro running the Yonah x86 processor.

 You'll see a complaint about illegal ccache usage, well I deleted ccache
 and set
 "configureccache" to "no" in /opt/local/etc/macports/macports.conf and
 reattempted to update/upgrade and still encountered the same problem.


 The initial error mentioned above (first) follows.
 {{{
 --->  Building a52dec with target all
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_a52dec/work/a52dec-0.7.4"
 && make all " returned error 2
 Command output: Making all in autotools
 make[1]: Nothing to be done for `all'.
 Making all in include
 make[1]: Nothing to be done for `all'.
 Making all in doc
 make[1]: Nothing to be done for `all'.
 Making all in liba52
 /bin/sh ../libtool --mode=link ccache /usr/bin/gcc-4.0  -O3 -fomit-frame-
 pointer  -prefer-non-pic -L/opt/local/lib -o liba52.la -rpath
 /opt/local/lib -no-undefined bitstream.lo imdct.lo bit_allocate.lo
 parse.lo downmix.lo -lm
 rm -fr .libs/liba52.la .libs/liba52.* .libs/liba52.*
 ccache -dynamiclib  -o .libs/liba52.0.0.0.dylib  bitstream.lo imdct.lo
 bit_allocate.lo parse.lo downmix.lo  -L/opt/local/lib -lm -lc
 -install_name  /opt/local/lib/liba52.0.dylib -compatibility_version 1
 -current_version 1.0
 ccache: illegal option -- d
 ccache, a compiler cache. Version 2.4
 Copyright Andrew Tridgell, 2002

 Usage:
         ccache [options]
         ccache compiler [compile options]
         compiler [compile options]    (via symbolic link)

 Options:
 -s                      show statistics summary
 -z                      zero statistics
 -c                      run a cache cleanup
 -C                      clear the cache completely
 -F <maxfiles>           set maximum files in cache
 -M <maxsize>            set maximum size of cache (use G, M or K)
 -h                      this help page
 -V                      print version number
 make[1]: *** [liba52.la] Error 1
 make: *** [all-recursive] Error 1

 Error: The following dependencies failed to build: gegl ffmpeg a52dec db46
 cyrus-sasl2 graphviz libsdl lua openexr ilmbase
 Error: Unable to upgrade port: 1
 }}}

--

Comment(by blb at macports.org):

 After changing a setting in macports.conf and rebuilding, you'll need to
 clean what failed, in this case a52dec: {{{sudo port clean --work
 a52dec}}}.  Then try again.

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


More information about the macports-tickets mailing list