[MacPorts] #27218: mesa fails during staging, but builds fine

MacPorts noreply at macports.org
Mon Nov 8 15:53:54 PST 2010


#27218: mesa fails during staging, but builds fine
------------------------------------+---------------------------------------
 Reporter:  mistergibson@…          |       Owner:  jeremyhu@…           
     Type:  defect                  |      Status:  new                  
 Priority:  Normal                  |   Milestone:                       
Component:  ports                   |     Version:  1.8.2                
 Keywords:                          |        Port:  mesa                 
------------------------------------+---------------------------------------
Changes (by jmr@…):

  * owner:  macports-tickets@… => jeremyhu@…
  * port:  => mesa


Old description:

> port install mesa -d
> --->  Computing dependencies for mesa
> --->  Staging mesa into destroot
> Error: Target org.macports.destroot returned: shell command " cd
> "/opt/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.1"
> && /usr/bin/make install INSTALL_DIR=/opt
> DESTDIR=/opt/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/destroot
> " returned error 2
> Command output: make[3]: Nothing to be done for `install'.
> make -C ../../../src/mesa install-libgl
> (cd shader/slang/library && make) || exit 1 ;
> make[4]: Nothing to be done for `default'.
> gcc -c -I../../include -I../../src/mesa -I../../src/gallium/include
> -I../../src/gallium/auxiliary -ggdb3 -Os -Wall -Wmissing-prototypes
> -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/include
> -I/opt/include  -fPIC   -D_DARWIN_C_SOURCE -DPTHREADS -D_GNU_SOURCE
> -DGLX_ALIAS_UNSUPPORTED -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL
> state_tracker/st_atom_constbuf.c -o state_tracker/st_atom_constbuf.o
> In file included from ../../src/gallium/auxiliary/util/u_inlines.h:36,
>                  from state_tracker/st_atom_constbuf.c:40:
> ../../src/gallium/auxiliary/util/u_atomic.h:35:2: error: #error
> "Unsupported platform"
> ../../src/gallium/auxiliary/util/u_atomic.h:300:2: error: #error "No
> pipe_atomic implementation selected"
> In file included from state_tracker/st_atom_constbuf.c:40:
> ../../src/gallium/auxiliary/util/u_inlines.h: In function
> 'pipe_reference_init':
> ../../src/gallium/auxiliary/util/u_inlines.h:52: warning: implicit
> declaration of function 'p_atomic_set'
> ../../src/gallium/auxiliary/util/u_inlines.h: In function
> 'pipe_is_referenced':
> ../../src/gallium/auxiliary/util/u_inlines.h:58: warning: implicit
> declaration of function 'p_atomic_read'
> ../../src/gallium/auxiliary/util/u_inlines.h: In function
> 'pipe_reference':
> ../../src/gallium/auxiliary/util/u_inlines.h:76: warning: implicit
> declaration of function 'p_atomic_inc'
> ../../src/gallium/auxiliary/util/u_inlines.h:81: warning: implicit
> declaration of function 'p_atomic_dec_zero'
> make[3]: *** [state_tracker/st_atom_constbuf.o] Error 1
> make[2]: *** [install_libraries] Error 2
> make[1]: *** [install] Error 1
> make: *** [install] Error 1
>
> Error: Status 1 encountered during processing.

New description:

 {{{
 port install mesa -d
 --->  Computing dependencies for mesa
 --->  Staging mesa into destroot
 Error: Target org.macports.destroot returned: shell command " cd
 "/opt/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.1"
 && /usr/bin/make install INSTALL_DIR=/opt
 DESTDIR=/opt/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/destroot
 " returned error 2
 Command output: make[3]: Nothing to be done for `install'.
 make -C ../../../src/mesa install-libgl
 (cd shader/slang/library && make) || exit 1 ;
 make[4]: Nothing to be done for `default'.
 gcc -c -I../../include -I../../src/mesa -I../../src/gallium/include
 -I../../src/gallium/auxiliary -ggdb3 -Os -Wall -Wmissing-prototypes
 -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/include
 -I/opt/include  -fPIC   -D_DARWIN_C_SOURCE -DPTHREADS -D_GNU_SOURCE
 -DGLX_ALIAS_UNSUPPORTED -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL
 state_tracker/st_atom_constbuf.c -o state_tracker/st_atom_constbuf.o
 In file included from ../../src/gallium/auxiliary/util/u_inlines.h:36,
                  from state_tracker/st_atom_constbuf.c:40:
 ../../src/gallium/auxiliary/util/u_atomic.h:35:2: error: #error
 "Unsupported platform"
 ../../src/gallium/auxiliary/util/u_atomic.h:300:2: error: #error "No
 pipe_atomic implementation selected"
 In file included from state_tracker/st_atom_constbuf.c:40:
 ../../src/gallium/auxiliary/util/u_inlines.h: In function
 'pipe_reference_init':
 ../../src/gallium/auxiliary/util/u_inlines.h:52: warning: implicit
 declaration of function 'p_atomic_set'
 ../../src/gallium/auxiliary/util/u_inlines.h: In function
 'pipe_is_referenced':
 ../../src/gallium/auxiliary/util/u_inlines.h:58: warning: implicit
 declaration of function 'p_atomic_read'
 ../../src/gallium/auxiliary/util/u_inlines.h: In function
 'pipe_reference':
 ../../src/gallium/auxiliary/util/u_inlines.h:76: warning: implicit
 declaration of function 'p_atomic_inc'
 ../../src/gallium/auxiliary/util/u_inlines.h:81: warning: implicit
 declaration of function 'p_atomic_dec_zero'
 make[3]: *** [state_tracker/st_atom_constbuf.o] Error 1
 make[2]: *** [install_libraries] Error 2
 make[1]: *** [install] Error 1
 make: *** [install] Error 1

 Error: Status 1 encountered during processing.
 }}}

--

Comment:

 Please remember to preview and use WikiFormatting, fill in the Port field,
 and cc the maintainer.

 I don't know if it will help with this specific problem, but if you're
 running 1.8.2, you should selfupdate regardless.

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


More information about the macports-tickets mailing list