From owner-svn-ports-head@freebsd.org Sat Jun 23 03:56:20 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 326321010224; Sat, 23 Jun 2018 03:56:20 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CB93572454; Sat, 23 Jun 2018 03:56:19 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A6C952466; Sat, 23 Jun 2018 03:56:19 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5N3uJfN009839; Sat, 23 Jun 2018 03:56:19 GMT (envelope-from cem@FreeBSD.org) Received: (from cem@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5N3uIvT009836; Sat, 23 Jun 2018 03:56:18 GMT (envelope-from cem@FreeBSD.org) Message-Id: <201806230356.w5N3uIvT009836@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cem set sender to cem@FreeBSD.org using -f From: Conrad Meyer Date: Sat, 23 Jun 2018 03:56:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473112 - in head/devel/elfutils: . files X-SVN-Group: ports-head X-SVN-Commit-Author: cem X-SVN-Commit-Paths: in head/devel/elfutils: . files X-SVN-Commit-Revision: 473112 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jun 2018 03:56:20 -0000 Author: cem (src committer) Date: Sat Jun 23 03:56:18 2018 New Revision: 473112 URL: https://svnweb.freebsd.org/changeset/ports/473112 Log: Update devel/elfutils to 0.172 - Sparc patch no longer applies cleanly and was dropped. - Other patches updated to apply to 0.172. - stable/10 and 11.0 lack needed ELF header types; and 10 is closed. Skip building on these (PR). - gnulib handling was reverted to pre-r454110 style to allow using pkg. PR: 228478 Reported by: portscout Deleted: head/devel/elfutils/files/patch-backends_sparc__initreg.c Modified: head/devel/elfutils/Makefile head/devel/elfutils/distinfo head/devel/elfutils/files/patch-lib_Makefile.am head/devel/elfutils/files/patch-tests_Makefile.am Modified: head/devel/elfutils/Makefile ============================================================================== --- head/devel/elfutils/Makefile Sat Jun 23 01:27:32 2018 (r473111) +++ head/devel/elfutils/Makefile Sat Jun 23 03:56:18 2018 (r473112) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= elfutils -PORTVERSION= 0.170 -PORTREVISION= 1 +PORTVERSION= 0.172 CATEGORIES= devel MASTER_SITES= https://sourceware.org/elfutils/ftp/${PORTVERSION}/ @@ -16,12 +15,15 @@ LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING-GPLV2 LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING-LGPLV3 +IGNORE_FreeBSD_11= stable/10 and 11.0 base libelf.h lack needed ELF types + BROKEN_aarch64= fails to build: fatal error: linux/uio.h: No such file or directory BROKEN_armv6= fails to build: fails to compile i386_disasm.c BROKEN_armv7= fails to build: fails to compile i386_disasm.c +BROKEN_sparc64= sparc patch does not apply cleanly to 0.172 LIB_DEPENDS= libargp.so:devel/argp-standalone -PATCH_DEPENDS= ${NONEXISTENT}:devel/gnulib:extract +PATCH_DEPENDS= gnulib>=0:devel/gnulib:extract PLIST_SUB= VERSION=${PORTVERSION} @@ -37,7 +39,7 @@ USE_GCC= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes -CFLAGS+= -Wno-null-dereference +CFLAGS+= -Wno-null-dereference -Wno-unused-value # Give i386 a prayer of building, and we can fix the warnings later: CFLAGS_i386+= -Wno-error @@ -45,11 +47,10 @@ CFLAGS_i386+= -Wno-error CONFIGURE_ARGS+= --program-prefix=eu- post-patch: - @${LN} -s `${MAKE} -C ${PORTSDIR}/devel/gnulib -V WRKSRC` ${WRKDIR}/gnulib @${CP} -a \ - ${WRKDIR}/gnulib/lib/obstack.c \ - ${WRKDIR}/gnulib/lib/obstack.h \ - ${WRKDIR}/gnulib/lib/obstack_printf.c \ + ${LOCALBASE}/share/gnulib/lib/obstack.c \ + ${LOCALBASE}/share/gnulib/lib/obstack.h \ + ${LOCALBASE}/share/gnulib/lib/obstack_printf.c \ ${WRKSRC}/lib .include Modified: head/devel/elfutils/distinfo ============================================================================== --- head/devel/elfutils/distinfo Sat Jun 23 01:27:32 2018 (r473111) +++ head/devel/elfutils/distinfo Sat Jun 23 03:56:18 2018 (r473112) @@ -1,3 +1,3 @@ -TIMESTAMP = 1510265200 -SHA256 (elfutils-0.170.tar.bz2) = 1f844775576b79bdc9f9c717a50058d08620323c1e935458223a12f249c9e066 -SIZE (elfutils-0.170.tar.bz2) = 8358001 +TIMESTAMP = 1528748700 +SHA256 (elfutils-0.172.tar.bz2) = 779c99e6344c4982bbab60b8d276cec3d468151c758905f9a44ba6b6edaa0e24 +SIZE (elfutils-0.172.tar.bz2) = 8601066 Modified: head/devel/elfutils/files/patch-lib_Makefile.am ============================================================================== --- head/devel/elfutils/files/patch-lib_Makefile.am Sat Jun 23 01:27:32 2018 (r473111) +++ head/devel/elfutils/files/patch-lib_Makefile.am Sat Jun 23 03:56:18 2018 (r473112) @@ -1,12 +1,12 @@ ---- lib/Makefile.am.orig 2017-08-02 12:06:25 UTC +--- lib/Makefile.am.orig 2017-11-22 03:44:22.000000000 -0800 +++ lib/Makefile.am -@@ -35,7 +35,8 @@ noinst_LIBRARIES = libeu.a +@@ -35,7 +35,8 @@ libeu_a_SOURCES = xstrdup.c xstrndup.c xmalloc.c next_prime.c \ - crc32.c crc32_file.c md5.c sha1.c \ + crc32.c crc32_file.c \ - color.c printversion.c -+ color.c printversion.c error.c obstack.c \ -+ obstack_printf.c ++ color.c printversion.c \ ++ error.c obstack.c obstack_printf.c noinst_HEADERS = fixedsizehash.h libeu.h system.h dynamicsizehash.h list.h \ - md5.h sha1.h eu-config.h color.h printversion.h bpf.h + eu-config.h color.h printversion.h bpf.h Modified: head/devel/elfutils/files/patch-tests_Makefile.am ============================================================================== --- head/devel/elfutils/files/patch-tests_Makefile.am Sat Jun 23 01:27:32 2018 (r473111) +++ head/devel/elfutils/files/patch-tests_Makefile.am Sat Jun 23 03:56:18 2018 (r473112) @@ -1,6 +1,6 @@ ---- tests/Makefile.am.orig 2017-08-02 12:06:25 UTC +--- tests/Makefile.am.orig 2018-06-01 07:42:27.000000000 -0700 +++ tests/Makefile.am -@@ -396,7 +396,7 @@ libasm = -lasm +@@ -432,7 +432,7 @@ libebl = -lebl else !STANDALONE if BUILD_STATIC @@ -9,7 +9,7 @@ libelf = ../libelf/libelf.a -lz libasm = ../libasm/libasm.a else -@@ -411,16 +411,16 @@ endif !STANDALONE +@@ -447,16 +447,16 @@ arextract_LDADD = $(libelf) arsymtest_LDADD = $(libelf) newfile_LDADD = $(libelf) @@ -30,7 +30,7 @@ update1_LDADD = $(libelf) update2_LDADD = $(libelf) update3_LDADD = $(libdw) $(libelf) -@@ -432,34 +432,34 @@ get_lines_LDADD = $(libdw) $(libelf) +@@ -468,34 +468,34 @@ get_files_LDADD = $(libdw) $(libelf) get_aranges_LDADD = $(libdw) $(libelf) allfcts_LDADD = $(libdw) $(libelf) @@ -88,7 +88,7 @@ test_flag_nobits_LDADD = $(libelf) rerequest_tag_LDADD = $(libdw) alldts_LDADD = $(libdw) $(libelf) -@@ -469,9 +469,9 @@ typeiter2_LDADD = $(libdw) $(libelf) +@@ -504,9 +504,9 @@ low_high_pc_LDADD = $(libdw) $(libelf) $(argp_LDADD) test_elf_cntl_gelf_getshdr_LDADD = $(libelf) dwflsyms_LDADD = $(libdw) $(libelf) $(argp_LDADD) @@ -100,8 +100,8 @@ +varlocs_LDADD = $(libeu) $(libdw) $(libelf) $(argp_LDADD) backtrace_LDADD = $(libdw) $(libelf) $(argp_LDADD) # backtrace-child-biarch also uses those *_CFLAGS and *_LDLAGS variables: - backtrace_child_CFLAGS = -fPIE -@@ -480,23 +480,23 @@ backtrace_child_biarch_SOURCES = backtra + backtrace_child_CFLAGS = $(fpie_CFLAGS) +@@ -515,23 +515,23 @@ backtrace_data_LDADD = $(libdw) $(libelf) backtrace_dwarf_CFLAGS = -Wno-unused-parameter backtrace_dwarf_LDADD = $(libdw) $(libelf) @@ -112,8 +112,8 @@ +debugaltlink_LDADD = $(libeu) $(libdw) $(libelf) +buildid_LDADD = $(libeu) $(libdw) $(libelf) deleted_LDADD = ./deleted-lib.so - deleted_lib_so_LDFLAGS = -shared -rdynamic - deleted_lib_so_CFLAGS = -fPIC -fasynchronous-unwind-tables + deleted_lib_so_LDFLAGS = -shared + deleted_lib_so_CFLAGS = $(fpic_CFLAGS) -fasynchronous-unwind-tables aggregate_size_LDADD = $(libdw) $(libelf) $(argp_LDADD) peel_type_LDADD = $(libdw) $(libelf) $(argp_LDADD) vdsosyms_LDADD = $(libdw) $(libelf)