Date: Sat, 23 Jun 2018 03:56:18 +0000 (UTC) From: Conrad Meyer <cem@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473112 - in head/devel/elfutils: . files Message-ID: <201806230356.w5N3uIvT009836@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806230356.w5N3uIvT009836>