Bug 214778 - [CFD] ARCH substitution antipattern in various ports
Summary: [CFD] ARCH substitution antipattern in various ports
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks: 214776
  Show dependency treegraph
 
Reported: 2016-11-23 11:49 UTC by Mark Linimon
Modified: 2023-10-19 17:02 UTC (History)
5 users (show)

See Also:
bsam: maintainer-feedback+


Attachments
svn(1) diff of comms/java-simple-serial-connector (936 bytes, patch)
2016-11-23 14:14 UTC, Kyle Evans
kevans: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Linimon freebsd_committer freebsd_triage 2016-11-23 11:49:37 UTC
PR 214776 about devel/arduino16 revealed an antipattern that has crept into the Ports Collection.  It is not noticeable if you are using packages, but if you are using 'make install', various uninstalled dependencies may fail.

comms/java-simple-serial-connector/Makefile:ARCH=               arm
devel/arduino-core/Makefile:ARCH=               x86_64
devel/arduino16/Makefile:ARCH=                  x86_64
devel/avr-gcc-devel/Makefile:ARCH=              x86_64
devel/avr-gcc/Makefile:ARCH=            x86_64
devel/dwarfdump/Makefile:ARCH=          x86_64
dns/samba-nsupdate/Makefile:ARCH=               x86_64
lang/swi-pl/Makefile:ARCH=              x86_64

Looking at the extracted files for devel/arduino16 did not reveal a quick fix.

Comments, anyone?
Comment 1 Kyle Evans freebsd_committer freebsd_triage 2016-11-23 14:14:37 UTC
Created attachment 177334 [details]
svn(1) diff of comms/java-simple-serial-connector

Hi,

Apologies, just noticed this PR. I've attached a total of two (2) patches for the devel/arduino* ports to PR 214776. Here's a patch for comms/java-simple-serial-connector to eliminate this bad behavior here.

I've assumed that PORTREVISION bumps are not necessary since the packages are the same, it's just fixing ill-behaved building behavior, but please do correct me if I'm wrong.

Thanks,

Kyle Evans
Comment 2 Boris Samorodov freebsd_committer freebsd_triage 2016-12-10 20:22:21 UTC
The fix is committed, thanks!
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2016-12-10 22:38:16 UTC
There are still a few more ports to fix.
Comment 4 Walter Schwarzenfeld freebsd_triage 2018-01-12 10:54:47 UTC
ping!
Comment 5 Rene Ladan freebsd_committer freebsd_triage 2022-05-05 21:45:03 UTC
reset PR
Comment 6 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2023-10-19 17:02:32 UTC
I cannot find any more ports with the pattern. Hence closing this.