[Bug 252281] devel/aarch64-none-elf-binutils: duplicates devel/binutils' origin
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Dec 30 07:50:33 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252281
Bug ID: 252281
Summary: devel/aarch64-none-elf-binutils: duplicates
devel/binutils' origin
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: pcc at gmx.net
G'day, folks,
As-is, and since a good while back (months? ever?),
devel/aarch64-none-elf-binutils duplicates the origin of devel/binutils so that
e. g. portupgrade complains just that. I. e., with portupgrade, build and
install work exactly once but never thereafter until I remove
devel/aarch64-none-elf-binutils to start anew.
I gather, though, that multiple *binutils ports should be present if one wanted
to cross-build for another architecture (as I did for my RPI48GB. Btw., thanks
for that!).
Without too much recent knowledge of ports, I naively tried to move the build
directory to have a distinct orgin ...
8c8
< MMASTERDIR= ${.CURDIR}/../binutils
---
> MASTERDIR= ${.CURDIR}/../binutils
10c10
< .include "${MMASTERDIR}/Makefile"
---
> .include "${MASTERDIR}/Makefile"
... and symlinked some of the ports files to see what happens ...
( cd /usr/ports/devel/aarch64-none-elf-binutils/ && ln -s ../binutils/pkg-descr
. )
( cd /usr/ports/devel/aarch64-none-elf-binutils/ && ln -s ../binutils/distinfo
. )
... (hoping for the pkg-plist present in devel/aarch64-none-elf-binutils to be
the correct one) but this eventually fails creating a package.
Comparing with other ports (www/nginx*, to be more specific), I currently guess
that the MASTERDIR mechanism was inherited with _alternative_ ports in mind (or
changed such at some stage) which would be different here -- but the Ports
Makefile magic beats me today.
So, until I learn more, here's my request to The Knowing for a glance, some
help, and maybe a fix.
Thanks a lot, and
All the best,
Peter.
---
[1] Possibly related (???):
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250035
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list