Opened 9 years ago

Closed 9 years ago

#48931 closed update (fixed)

awesome @3.5.6

Reported by: jwatzman@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: awesome

Description

Newest version, which changes usage of some Lua features such that it's build-able again.

Attachments (4)

patch-awesomerc.lua.in.diff.diff (2.6 KB) - added by jwatzman@… 9 years ago.
Portfile.diff (1.2 KB) - added by jwatzman@… 9 years ago.
patch-awesomerc.lua.in.diff (1.5 KB) - added by jwatzman@… 9 years ago.
main.log (539.0 KB) - added by mf2k (Frank Schima) 9 years ago.

Download all attachments as: .zip

Change History (13)

Changed 9 years ago by jwatzman@…

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Version: 2.3.3

Thanks.

The revision line should be deleted because it starts at 0 when increasing the version and that is the default value.

Changed 9 years ago by jwatzman@…

Attachment: Portfile.diff added

comment:2 Changed 9 years ago by jwatzman@…

Oops! Fixed.

comment:3 Changed 9 years ago by mf2k (Frank Schima)

Hmmm, I see an error when I try to install it.

--->  Attempting to fetch awesome-3.5.6.tar.xz from http://awesome.naquadah.org/download/
--->  Verifying checksums for awesome                                                
--->  Extracting awesome
--->  Applying patches to awesome
Error: Failed to patch awesome: command execution failed
Error: See /opt/local/var/macports/logs/_opt_mports_trunk_dports_x11_awesome/awesome/main.log for details.

From main.log (attached):

:info:patch --->  Applying patch-awesomerc.lua.in.diff
:debug:patch Environment: 
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_trunk_dports_x11_awesome/awesome/work/.CC_PRINT_OPTIONS'
:debug:patch CPATH='/opt/local/include'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:patch system:  cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_x11_awesome/awesome/work/awesome-3.5.6" && /usr/bin/patch -p0 < '/opt/mports/trunk/dports/x11/awesome/files/patch-awesomerc.lua.in.diff'
:info:patch patching file awesomerc.lua.in
:info:patch Hunk #1 FAILED at 297.
:info:patch Hunk #2 FAILED at 305.
:info:patch Hunk #3 FAILED at 313.
:info:patch 3 out of 3 hunks FAILED -- saving rejects to file awesomerc.lua.in.rej

comment:4 Changed 9 years ago by mf2k (Frank Schima)

Keywords: haspatch added

comment:5 Changed 9 years ago by jwatzman@…

That's the exact error I get if I don't apply the included patch-awesomerc.lua.in.diff.diff to files/patch-awesomerc.lua.in.diff in the awesome directory. Did you apply that?

Not sure if you want diffs-of-diffs for updates to the patches; I'm also including a pre-patched patch-awesomerc.lua.in.diff in just a moment for full clarity :)

Changed 9 years ago by jwatzman@…

Attachment: patch-awesomerc.lua.in.diff added

comment:6 Changed 9 years ago by mf2k (Frank Schima)

Sorry I missed that. Yes, replacing the entire patch file is preferred. But now I get another error during build. Apparently related to lua.

Changed 9 years ago by mf2k (Frank Schima)

Attachment: main.log added

comment:7 Changed 9 years ago by jwatzman@…

This one's my bad -- I somehow totally forgot to mention that awesome requires the lua-lgi update from #48930. (FWIW, building awesome as it currently stands in trunk actually requires this update too, though it also has other build problems.)

comment:8 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:9 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.