Opened 3 years ago

Closed 3 years ago

#63715 closed defect (fixed)

clang-devel: patch fails

Reported by: marka63 Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mopihopi, cjones051073 (Chris Jones), mascguy (Christopher Nielsen), brolcz
Port: clang-devel

Description

patches fail to apply

Attachments (2)

main.log (6.0 KB) - added by marka63 3 years ago.
build log
main.2.log (28.7 KB) - added by marka63 3 years ago.

Download all attachments as: .zip

Change History (18)

Changed 3 years ago by marka63

Attachment: main.log added

build log

comment:1 Changed 3 years ago by mopihopi

Cc: mopihopi added

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

Port: clang-devel added; clang-level removed
Summary: clang-devel upgrade failsclang-devel: patch fails

Due to the presence of lines stating "Skipping completed" in your log, the log may not be showing us the real error, so please sudo port clean clang-devel (as it says to do in the ticket filing instructions) and try again and attach the new main.log if it fails again.

Changed 3 years ago by marka63

Attachment: main.2.log added

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

Cc: cjones051073 added

Ok, so it's:

system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-devel/clang-devel/work/llvm-project/llvm" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-devel/files/3002-implement-atomic-using-mutex-lock_guard-for-64b-ops-.patch'
patching file projects/libcxx/include/__atomic_locked
patching file projects/libcxx/include/atomic
Hunk #1 FAILED at 2801.
1 out of 1 hunk FAILED -- saving rejects to file projects/libcxx/include/atomic.rej

comment:4 Changed 3 years ago by cjones051073 (Chris Jones)

The llvm-devel Portfile is I think a bit behind the times. Its probably older than llvm-13 for instance... It needs a bit of an overhaul...

Last edited 3 years ago by cjones051073 (Chris Jones) (previous) (diff)

comment:5 Changed 3 years ago by cjones051073 (Chris Jones)

Owner: set to kencu
Status: newassigned

comment:6 Changed 3 years ago by cjones051073 (Chris Jones)

Ken - You are still listed as a maintainer of this port. Are you still interested in maintaining it ? If not I think it should at minimum be made open maintainer ...

comment:7 Changed 3 years ago by kencu (Ken)

no, I guess I missed one. Just a sec --

comment:8 Changed 3 years ago by Ken <21211439+kencu@…>

In 04b31b06d05db69dd2108330c6badb2cd4d9fb04/macports-ports (master):

llvm/clang/lldb-devel: drop

see: #63715

comment:9 Changed 3 years ago by kencu (Ken)

As to whether all of Jeremy's ports can be made openmaintainer now, I suppose that is up to the MacPorts admins.

Makes sense -- he is not around much any more at all.

comment:10 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:11 Changed 3 years ago by cjones051073 (Chris Jones)

I am happy to make the 'executive' decision to make it openmaintainer...

comment:13 Changed 3 years ago by kencu (Ken)

Owner: changed from kencu to jeremyhu

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

Cc: brolcz added

Has duplicate #63938.

comment:16 Changed 3 years ago by Chris Jones <jonesc@…>

Resolution: fixed
Status: assignedclosed

In d7353fc1efcdd97edd059f2d274ea0481651dd91/macports-ports (master):

llvm-devel: Update portfile to mirror developments made to production clang portfiles.

A number of improvements have been made to the production clang port files which
have so far not been migrated to the llvm-devel suite of ports. This updates the
port to be be based off the current llvm-13 portfile, with then the minimal changes
needed to build a development snapshot. Should make it much easier in the future
to cut future production llvm-X ports from this development port (assuming it is
kept up to date).

Also update to latest 20220103 commit.

Add myself as a maintainer.

Fixes: #63715

Note: See TracTickets for help on using tickets.