Opened 6 years ago
Closed 6 years ago
#57877 closed defect (fixed)
gdb @8.2.1 build failure
Reported by: | dbl001 (dbl) | Owned by: | kencu (Ken) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | kencu (Ken) | |
Port: | gdb |
Description (last modified by dbl001 (dbl))
OS X 10.11.6
$ sudo port upgrade outdated ---> Computing dependencies for gdb ---> Fetching archive for gdb ---> Attempting to fetch gdb-8.2.1_0.darwin_15.x86_64.tbz2 from https://packages.macports.org/gdb ---> Attempting to fetch gdb-8.2.1_0.darwin_15.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/gdb ---> Attempting to fetch gdb-8.2.1_0.darwin_15.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/gdb ---> Fetching distfiles for gdb ---> Attempting to fetch gdb-8.2.1.tar.gz from http://mirrors.ibiblio.org/gnu/ftp/gnu/gdb ---> Verifying checksums for gdb ---> Extracting gdb ---> Configuring gdb ---> Building gdb Error: Failed to build gdb: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gdb/gdb/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Attachments (1)
Change History (12)
Changed 6 years ago by dbl001 (dbl)
comment:1 Changed 6 years ago by dbl001 (dbl)
Description: | modified (diff) |
---|
comment:2 Changed 6 years ago by Schamschula (Marius Schamschula)
comment:3 Changed 6 years ago by Schamschula (Marius Schamschula)
Keywords: | gdb removed |
---|---|
Port: | gdb added |
comment:4 Changed 6 years ago by jmroot (Joshua Root)
Summary: | Error: Failed to build gdb: command execution failed → gdb @8.2.1 build failure |
---|
comment:5 Changed 6 years ago by jmroot (Joshua Root)
Cc: | kencu added |
---|
comment:6 Changed 6 years ago by kencu (Ken)
That was the error I saw on the ci system with clang 703.0.31 as well. When I blacklisted clang 703.0.31 all the ci systems built it <https://travis-ci.org/macports/macports-ports/builds/476691407>, and it built for me with clang-5.0 as well.
But some version of Xcode that you have is failing. You can probably force it for right now with
sudo port clean gdb sudo port -v install gdb configure.compiler=macports-clang-5.0
But to fix it for everyone, what version of Xcode clang do you have on that failing system?
$ clang --version clang version 7.0.1 (tags/RELEASE_701/final) Target: x86_64-apple-darwin10.8.0 Thread model: posix InstalledDir: /opt/local/libexec/llvm-7.0/bin
I can't seem to find it in the log. Perhaps we need to be more blanket with our blacklisting.
comment:7 Changed 6 years ago by jmroot (Joshua Root)
comment:8 Changed 6 years ago by kencu (Ken)
OK. We'll blacklist clangs less than 800.0.42.1 then. That should force them all up to clang-5.0, which works.
Thanks.
comment:9 Changed 6 years ago by jmroot (Joshua Root)
It worked fine on 10.9, so that's not necessary. XcodeVersionInfo lists clang versions.
comment:10 Changed 6 years ago by kencu (Ken)
10.9 built it with clang-5.0 as well, I note <https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/79025/steps/install-port/logs/stdio>.
comment:11 Changed 6 years ago by kencu (Ken)
Owner: | set to kencu |
---|---|
Resolution: | → fixed |
Status: | new → closed |
This looks to be the error: