===> The following configuration options are available for elfutils-0.187_3:
MANPAGES=on: Build and/or install manual pages
NLS=on: Native Language Support
===> Use 'make config' to modify these settings
devel/elfutils: Fix build
While the EOL of 12 some conditionals check were removed and a CFLAG entry was
converted to USES=localbase. Somehow this breaks the build.
Reported by: antoine
Approved by: portmgr (blanket)
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
Also move conditional flags for non sparc64/arm ARCH to fixed flags.
Reviewed by: brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
devel/elfutils: fix build with lld 17
Building devel/elfutils with lld 17 results in the following link error:
cc -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition
-Wstrict-prototypes -Wnull-dereference -Wimplicit-fallthrough -Werror
-Wunused -Wextra -D_FORTIFY_SOURCE=3 -O2 -pipe -I/usr/local/include
-I/usr/local/share/gnulib/lib -Wno-error -Wno-format-nonliteral
-Wno-null-dereference -Wno-unused-value -DFREEBSD_HAS_MEMPCPY
-fstack-protector-strong -fno-strict-aliasing /usr/local/lib/libargp.so
/usr/local/lib/libintl.so -fstack-protector-strong -Wl,--build-id -o libelf.so
-shared -Wl,-z,defs -Wl,-z,relro -o libelf.so \
-Wl,--soname,libelf.so.1 \
-Wl,--version-script,libelf.map,--no-undefined \
-Wl,--whole-archive libelf_pic.a -Wl,--no-whole-archive \
../lib/libeu.a -lz
ld: error: version script assignment of 'ELFUTILS_1.0' to symbol 'elf_scncnt'
failed: symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Upstream removed the symbol which apparently was never implemented in:
<https://sourceware.org/git/?p=elfutils.git;a=commit;h=09e61a65953ed814d9e970f7f9ffb9c2d8cda477>.
I tried adding this via PATCH_SITES and PATCHFILES, but it looks like
the ports framework chokes on URLs with ? in them, so I'm adding a
regular patch file in devel/elfutils/files/patch-libelf_libelf.map file
instead.
PR: 273998
Approved by: maintainer timeout (2 weeks)
MFH: 2023Q4
devel/elfutils: Fix build with disabled NLS
libintl.h is included unconditionally, but gettext include
path is not added to CFLAGS when gettext is disabled, so the
compilation fails:
cc ... -I. -I.. -I. -I. -I../lib -I.. -I./../libelf ...
-I/usr/local/share/gnulib/lib ... -o xasprintf.o xasprintf.c
xasprintf.c:36:10: fatal error: 'libintl.h' file not found
So always add LOCALBASE/include to CFLAGS for libintl.h to be
available. Note that the order is important and it should appear
before gnulib includes, otherwise wrong argp.h gets included.
Approved by: portmgr blanket
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
elfutils: Update to latest 0.179
Bump portrevision in kcov, which depends on elfutils ABI.
Discussed with: asomers, mat
Approved by: jrm
Differential Revision: https://reviews.freebsd.org/D24614
devel/elfutils: fix future build failure w.r.t. stdio _unlocked
Include <stdio.h> early so that the stdio.h function declarations come
first, then redefine fputs/fwrite/fread_unlocked to the locked versions.
fputc_unlocked will be a macro similar to putc_unlocked, so just hide that
one behind an #ifndef since it will be provided as a macro by <stdio.h>. The
other three will be using the technically-incorrect locked variants until
all supported releases provide the needed functions, at which point we can
switch them all at once.
No PORTREVISION bump as this is just a preemptive build fix that doesn't
change the output at all.
QA:
* portlint not ran, no change outside of a single patch
* testport (-CURRENT, amd64; 12.1-RELEASE, amd64; -CURRENT+patch, amd64)
PR: 243546
Reviewed by: koobs (ports)
Approved by: koobs (ports), cem (maintainer)
MFH: 2020Q1 (implicit, build fix)
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
devel/elfutils: Unbreak gcc8 build
Drop one new gcc8 warning, and fix another in the FreeBSD glibc-
compatibility shim patch.
Re-enable gcc8 option (USE_GCC= yes).
Bump PORTREVISION due to the patch change (no functional change).
PR: 232932
Reported by: gerald, kib
Reviewed by: bdrewery
Approved by: bdrewery
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D17882
Require gcc 7 for build of devel/elfutils.
This fixes the build if default gcc version is changed by user.
Approved by: bdrewery, cem (maintainer)
Sponsored by: The FreeBSD Foundation
Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by: rene
Reviewed by: bapt, jbeich
Differential Revision: https://reviews.freebsd.org/D17724
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
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
For ports that are marked BROKEN on armv6, and also fail to build on
armv7, mark them so.
This is part two of a multipart commit to bring armv7 ports to parity
with armv6.
Approved by: portmgr (tier-2 blanket)
Obtained from: lonesome.com -exp run
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
devel/elfutils: Update URLs to new upstream
Upstream moved. Update URLs to point to the new location.
No functional change.
Reported by: Mark Wielaard <mark at klomp.org>
Reviewed by: bapt@
Differential Revision: https://reviews.freebsd.org/D8961
elfutils: Fix build on CURRENT
CURRENT added a #define for basename, which conflicts with elfutils'.
Undefine it before defining ours.
Reported by: pkg-fallout
Reviewed by: bapt@
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D8476
elfutils: Fix port build after recent basename() API break
The previous basename() API was shadowing bugs anyway. This Linux-originated
library assumes GNU basename(3) behavior. GNU basename(3) is non-destructive
and non-allocating; it always returns a pointer into the original string. This
library uses that behavior to do things like compare pointer results directly
(the source path was already a basename) or subtract pointer values directly
(compute the substring that constitutes dirname).
Resolve the issue by aliasing all internal elfutils basename() invocations
through an implementation of GNU basename(3) named "eu_basename."
Build log highlighting the problem:
http://beefy4.nyi.freebsd.org/data/head-amd64-default/p419462_s303652/logs/elfutils-0.163_6.log
Approved by: bdrewery
Differential Revision: https://reviews.freebsd.org/D7404
elfutils-0.163_6
- Drop GCC requirement to 4.8
- Remove -Werror for i386, for now anyway
- Require FreeBSD 10.0 or higher for strchrnul()
- Fix a few warnings noticed by gcc with optimization on
Sponsored by: EMC / Isilon Storage Division
elfutils-0.163_4
- Correct gnulib dependency to PATCH_DEPENDS, per Bapt.
- Rely on USE_AUTOTOOLS :env to pull in automake for BUILD.
- Move re-automake rule to pre-configure, when the tool is available.
- Adapt installed gelf.h header to define needed non-standard Elf types as
needed, rather than trying to add them to base elf headers.
Reviewed by: portlint
Sponsored by: EMC / Isilon Storage Division
elfutils:
- Add automake BUILD_DEPEND because apparently USE_AUTOTOOLS=automake doesn't.
- Add dependency on yet-to-be-committed base ELF header structures. Without
them, the library portion of the port isn't very useful.
elfutils:
- Fix MASTER_SITES URL.
- Install included elf.h, until base elf.h can be updated to include
Elf_Section and Elf_auxv_t.
- Patch installed libelf.h to use off_t instead of loff_t. Perhaps base should
add loff_t as an alias for compatibility.
Reviewed by: portlint
Sponsored by: EMC / Isilon Storage Division
Add elfutils 0.163
Elfutils is a collection of utilities, including: stack (to show
backtraces); nm (for listing symbols from object files); size (for
listing the section sizes of an object or archive file); strip (for
discarding symbols); readelf (to see the raw ELF file structures);
elflint (to check for well-formed ELF files); and elfcompress (to
compress or decompress ELF sections).
It also provides libraries to allow other programs to manipulate ELF and
DWARF data.
WWW: https://fedorahosted.org/elfutils/
Reviewed by: bdrewery
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D7206