Bug 226644 - devel/gdb: Build failure in CURRENT
Summary: devel/gdb: Build failure in CURRENT
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Luca Pizzamiglio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-15 20:25 UTC by Raphael Kubo da Costa
Modified: 2018-03-16 15:09 UTC (History)
1 user (show)

See Also:
pizzamig: maintainer-feedback+


Attachments
Buid log (974.87 KB, text/plain)
2018-03-15 20:25 UTC, Raphael Kubo da Costa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Kubo da Costa freebsd_committer 2018-03-15 20:25:56 UTC
Created attachment 191535 [details]
Buid log

I'm on src r330704 here (amd64), and devel/gdb fails to build after the update to 8.1.

Poudriere build log attached.
Comment 1 Oleh Hushchenkov 2018-03-16 05:00:54 UTC
I have the same issue.
Comment 2 Luca Pizzamiglio freebsd_committer 2018-03-16 10:26:14 UTC
I'm working on it.
Comment 3 commit-hook freebsd_committer 2018-03-16 14:30:00 UTC
A commit references this bug:

Author: pizzamig
Date: Fri Mar 16 14:29:40 UTC 2018
New revision: 464688
URL: https://svnweb.freebsd.org/changeset/ports/464688

Log:
  devel/gdb: fix build on current

  Clang 6 doesn't allow negative numbers to be implicitely converted to
  unsigned types.
  This patch explicits all casts.
  While I'm here, add an option to silent tons of warning messages

  PR:		226644
  Reported by:	rakuco@

Changes:
  head/devel/gdb/Makefile
  head/devel/gdb/files/patch-gdb_aarch64-fbsd-tdep.c
  head/devel/gdb/files/patch-gdb_aarch64-linux-tdep.c
  head/devel/gdb/files/patch-gdb_aarch64-tdep.c
  head/devel/gdb/files/patch-gdb_alpha-tdep.c
  head/devel/gdb/files/patch-gdb_arch_arm-get-next-pcs.c
  head/devel/gdb/files/patch-gdb_arm-fbsd-tdep.c
  head/devel/gdb/files/patch-gdb_arm-linux-tdep.c
  head/devel/gdb/files/patch-gdb_arm-obsd-tdep.c
  head/devel/gdb/files/patch-gdb_bfin-linux-tdep.c
  head/devel/gdb/files/patch-gdb_completer.c
  head/devel/gdb/files/patch-gdb_hppa-nbsd-tdep.c
  head/devel/gdb/files/patch-gdb_i386-nbsd-tdep.c
  head/devel/gdb/files/patch-gdb_linespec.c
  head/devel/gdb/files/patch-gdb_microblaze-linux-tdep.c
  head/devel/gdb/files/patch-gdb_mips-fbsd-tdep.c
  head/devel/gdb/files/patch-gdb_mips-linux-tdep.c
  head/devel/gdb/files/patch-gdb_mips-tdep.c
  head/devel/gdb/files/patch-gdb_mips64-obsd-tdep.c
  head/devel/gdb/files/patch-gdb_mn10300-linux-tdep.c
  head/devel/gdb/files/patch-gdb_nios2-linux-tdep.c
  head/devel/gdb/files/patch-gdb_ppc-linux-tdep.c
  head/devel/gdb/files/patch-gdb_ppc-nbsd-tdep.c
  head/devel/gdb/files/patch-gdb_ppc64-tdep.c
  head/devel/gdb/files/patch-gdb_rs6000-tdep.c
  head/devel/gdb/files/patch-gdb_sparc-linux-tdep.c
  head/devel/gdb/files/patch-gdb_sparc64-linux-tdep.c
  head/devel/gdb/files/patch-gdb_tick6x-linux-tdep.c
  head/devel/gdb/files/patch-gdb_tilegx-linux-tdep.c
  head/devel/gdb/files/patch-gdb_tramp-frame.h
  head/devel/gdb/files/patch-gdb_xtensa-tdep.h
Comment 4 Oleh Hushchenkov 2018-03-16 15:09:05 UTC
Thank you!