Opened 10 years ago

Closed 10 years ago

#27218 closed defect (invalid)

mesa fails during staging, but builds fine

Reported by: mistergibson@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: mesa

Description (last modified by jmroot (Joshua Root))

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.

Change History (2)

comment:1 Changed 10 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to jeremyhu@…
Port: mesa added

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.

comment:2 Changed 10 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

Actually, given that you're installing mesa 7.8.1 and the current version is 7.8.2, selfupdating is precisely what you need to do.

Note: See TracTickets for help on using tickets.