Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#56854 closed defect (fixed)

clang-6.0: Missing patchfile

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: vbychkoviak, cjones051073 (Chris Jones), tehcog (tehcog), devernay (Frédéric Devernay), mopihopi
Port: clang-6.0

Description

--->  Fetching distfiles for clang-6.0
DEBUG: Executing proc-pre-org.macports.fetch-fetch-0
DEBUG: Executing proc-pre-org.macports.fetch-fetch-1
DEBUG: Executing org.macports.fetch (clang-6.0)
--->  2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch does not exist in /opt/local/var/macports/distfiles/llvm
--->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from https://distfiles.macports.org/llvm
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
DEBUG: Fetching distfile failed: The requested URL returned error: 404 Not Found
--->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from http://llvm.org/releases/6.0.1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   351  100   351    0     0   2868      0 --:--:-- --:--:-- --:--:--  2853
100   351  100   351    0     0   2859      0 --:--:-- --:--:-- --:--:--  2853

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
DEBUG: Fetching distfile failed: The requested URL returned error: 404 Not Found
Error: Failed to fetch clang-6.0: The requested URL returned error: 404 Not Found

Change History (10)

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

Cc: vbychkoviak added

Has duplicate #56855.

comment:2 Changed 6 years ago by mouse07410 (Mouse)

I have the same problem:

  port upgrade outdated
--->  Computing dependencies for clang-6.0
--->  Fetching archive for clang-6.0
--->  Attempting to fetch clang-6.0-6.0.1_0+analyzer+assertions+libstdcxx.darwin_17.x86_64.tbz2 from https://packages.macports.org/clang-6.0
--->  Attempting to fetch clang-6.0-6.0.1_0+analyzer+assertions+libstdcxx.darwin_17.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/clang-6.0
--->  Attempting to fetch clang-6.0-6.0.1_0+analyzer+assertions+libstdcxx.darwin_17.x86_64.tbz2 from http://lil.fr.packages.macports.org/clang-6.0
--->  Fetching distfiles for clang-6.0
--->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from https://distfiles.macports.org/llvm
--->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/llvm
--->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from http://ywg.ca.distfiles.macports.org/mirror/macports/distfiles/llvm
--->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from http://lil.fr.distfiles.macports.org/llvm
--->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/llvm
--->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from http://sea.us.distfiles.macports.org/macports/distfiles/llvm
--->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from http://nue.de.distfiles.macports.org/llvm
--->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/llvm
--->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from http://kmq.jp.distfiles.macports.org/llvm
--->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from http://cjj.kr.distfiles.macports.org/llvm
--->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/llvm
--->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from http://jog.id.distfiles.macports.org/macports/distfiles/llvm
--->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from http://nou.nc.distfiles.macports.org/pub/macports/distfiles.macports.org/llvm
--->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from https://sha.cn.distfiles.macports.org/macports/distfiles/llvm
--->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from http://llvm.org/releases/6.0.1
--->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from http://jnb.za.distfiles.macports.org/distfiles/llvm
--->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from https://pek.cn.distfiles.macports.org/macports/distfiles/llvm
Error: Failed to fetch clang-6.0:  tìš
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-6.0/clang-6.0/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
$

Log basically reports "404 Not Found":

. . . . .
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 503/501
:info:archivefetch --->  clang-6.0-6.0.1_0+analyzer+assertions+libstdcxx.darwin_17.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch clang-6.0-6.0.1_0+analyzer+assertions+libstdcxx.darwin_17.x86_64.tbz2 from https://packages.macports.org/clang-6.0
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch clang-6.0-6.0.1_0+analyzer+assertions+libstdcxx.darwin_17.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/clang-6.0
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch clang-6.0-6.0.1_0+analyzer+assertions+libstdcxx.darwin_17.x86_64.tbz2 from http://lil.fr.packages.macports.org/clang-6.0
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Mon Jul 23 23:00:58 EDT 2018
:notice:fetch --->  Fetching distfiles for clang-6.0
:debug:fetch Executing proc-pre-org.macports.fetch-fetch-0
:debug:fetch Executing proc-pre-org.macports.fetch-fetch-1
:debug:fetch Executing org.macports.fetch (clang-6.0)
:info:fetch --->  2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch does not exist in /opt/local/var/macports/distfiles/llvm
:notice:fetch --->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from https://distfiles.macports.org/llvm
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
. . . . .
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from http://nou.nc.distfiles.macports.org/pub/macports/distfiles.macports.org/llvm
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from https://sha.cn.distfiles.macports.org/macports/distfiles/llvm
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from http://llvm.org/releases/6.0.1
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from http://jnb.za.distfiles.macports.org/distfiles/llvm
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch 2001-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch from https://pek.cn.distfiles.macports.org/macports/distfiles/llvm
:debug:fetch Fetching distfile failed: ^P tì<9a>^?
:error:fetch Failed to fetch clang-6.0: ^P tì<9a>^?
:debug:fetch Error code: NONE
:debug:fetch Backtrace: ^P tì<9a>^?
:debug:fetch     while executing
:debug:fetch "error $lastError"
. . . . .

comment:3 Changed 6 years ago by Pippetta87

Same problem. Trying to add this in master_site but didn't work: https://mirror.pnnl.gov/macports/release/ports/lang/llvm-6.0/files/2002-xray-Define-O_CLOEXEC-for-older-SDKs-that-don-t-have.patch Temp solution cloud be download the file place in source directory change name and checksum in portfile. (and hope it's right file). snowleopard, MacPorts base version 2.5.3

Last edited 6 years ago by Pippetta87 (previous) (diff)

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

Cc: cjones051073 added

comment:5 Changed 6 years ago by tehcog (tehcog)

Cc: tehcog added

comment:6 Changed 6 years ago by devernay (Frédéric Devernay)

Cc: devernay added

comment:8 Changed 6 years ago by mopihopi

Cc: mopihopi added

comment:9 Changed 6 years ago by Chris Jones <jonesc@…>

Resolution: fixed
Status: assignedclosed

In fbac7e487481c3ed8fd36cdb555eb0794e043835/macports-ports (master):

llvm-6.0: Restore missing O_CLOEXEC patchfile

Closes: #56854

comment:10 Changed 6 years ago by jeremyhu (Jeremy Huddleston Sequoia)

In ebeafbd34f91140327c07ded75dcfcee85ca33ee/macports-ports (master):

llvm-6.0: Trivial change to Portfile to change checksum and force rebuild

See: #56854

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@…>

Note: See TracTickets for help on using tickets.