Opened 9 years ago
Closed 9 years ago
#51332 closed defect (fixed)
mesa: build fails on 10.6 applying static-strndup.patch
Reported by: | dbevans (David B. Evans) | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | mesa |
Description
Application of static-strndup.patch fails as follows
---> Applying static-strndup.patch DEBUG: Environment: CC_PRINT_OPTIONS='YES' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_dports_x11_mesa/mesa/work/.CC_PRINT_OPTIONS' CPATH='/opt/local/include' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_dports_x11_mesa/mesa/work/mesa-11.2.1" && /usr/bin/patch -p1' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_mports_dports_x11_mesa/mesa/work/mesa-11.2.1" && /usr/bin/patch -p1 < '/opt/mports/dports/x11/mesa/files/static-strndup.patch' patching file src/mesa/drivers/dri/common/xmlconfig.c Hunk #1 succeeded at 111 (offset 6 lines). can't find file to patch at input line 30 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- a/src/glsl/linker.cpp 2015-12-27 23:31:13.000000000 -0800 |+++ b/src/glsl/linker.cpp 2015-12-27 23:34:01.000000000 -0800 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored patching file src/util/ralloc.c Hunk #1 succeeded at 354 with fuzz 2 (offset 1 line). Command failed: cd "/opt/local/var/macports/build/_opt_mports_dports_x11_mesa/mesa/work/mesa-11.2.1" && /usr/bin/patch -p1 < '/opt/mports/dports/x11/mesa/files/static-strndup.patch'
Attachments (1)
Change History (4)
comment:1 Changed 9 years ago by dbevans (David B. Evans)
Changed 9 years ago by dbevans (David B. Evans)
Build log showing build failure on 10.6 after update of static-strndup.patch
comment:2 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Feel free to make the change yourself. My SL VM is a bit dated and is taking a while to update dependencies.
comment:3 Changed 9 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fix committed in r148447. Builds successfully on SL buildbot.
Note: See
TracTickets for help on using
tickets.
After update in r148437 mesa now fails with undefined strndup error in src/compiler/glsl/linker.cpp
src/glsl/linker.cpp was moved to src/compiler/glsl/linker.cpp. static-strndup.patch needs further updating.