Handle arm[67] rust target on FreeBSD
Categories
(Firefox Build System :: General: Unsupported Platforms, defect)
Tracking
(firefox-esr68 fixed, firefox70 fixed)
People
(Reporter: loader, Assigned: glandium)
Details
Attachments
(3 files, 1 obsolete file)
1.11 KB,
patch
|
Details | Diff | Splinter Review | |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-esr68+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
Details | Review |
User Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:67.0) Gecko/20100101 Firefox/67.0
Steps to reproduce:
checking for alsa... yes
checking MOZ_ALSA_CFLAGS... -I/usr/local/include -I/usr/local/include/alsa
checking MOZ_ALSA_LIBS... -L/usr/local/lib -lasound
checking for jack... yes
checking MOZ_JACK_CFLAGS... -I/usr/local/include
checking MOZ_JACK_LIBS... -L/usr/local/lib -ljack -pthread
checking for libpulse... yes
checking MOZ_PULSEAUDIO_CFLAGS... -I/usr/local/include -D_REENTRANT
checking MOZ_PULSEAUDIO_LIBS... -L/usr/local/lib -lpulse -lpthread
checking for rustc... /usr/local/bin/rustc
checking for cargo... /usr/local/bin/cargo
checking rustc version... 1.35.0
checking cargo version... 1.35.0
ERROR: Don't know how to translate armv7-unknown-freebsd13.0-gnueabihf for rustc
===> Script "configure" failed unexpectedly.
Please report the problem to gecko@FreeBSD.org [maintainer] and attach the
"/usr/ports/www/firefox/work/.build/config.log" including the output of the
failure of your make command. Also, it might be a good idea to provide an
overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
% rustc --print target-list | grep freebsd
aarch64-unknown-freebsd
armv6-unknown-freebsd
armv7-unknown-freebsd
i686-unknown-freebsd
powerpc64-unknown-freebsd
x86_64-unknown-freebsd
Updated•6 years ago
|
Can you resubmit the patch on Phabricator? See the workflow notes:
https://developer.mozilla.org/docs/Mozilla/Developer_guide/How_to_Submit_a_Patch
Also, attachment 9073367 [details] fails to apply after bug 1521734:
$ patch -i /path/to/patch-build_moz.configure_rust.configure
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- build/moz.configure/rust.configure.orig 2019-06-16 09:00:42 UTC
|+++ build/moz.configure/rust.configure
--------------------------
Patching file build/moz.configure/rust.configure using Plan A...
Hunk #1 failed at 123.
Hunk #2 failed at 184.
2 out of 2 hunks failed--saving rejects to build/moz.configure/rust.configure.rej
done
Martin, does NetBSD need a similar conditional? If so can you suggest a fix or file a separate bug?
Assignee | ||
Comment 3•6 years ago
|
||
There's a similar issue on arm linux, and I'd rather address it all in one go.
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 5•6 years ago
|
||
Assignee | ||
Comment 6•6 years ago
|
||
Comment 8•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8a68c8e08c02
https://hg.mozilla.org/mozilla-central/rev/36d42617dfd2
Assignee | ||
Comment 9•5 years ago
|
||
Comment on attachment 9084520 [details]
Bug 1560700 - Change how the rust target is derived from the build system target.
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: Build issues with more modern rust compiler. Dependency for bug 1587913 and bug 1595218.
- User impact if declined:
- Fix Landed on Version: 70
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Only a configure check. This brings rust.configure close to being on par with what we have in central (and I'm going to a? some more that will get us even closer)
- String or UUID changes made by this patch:
Comment 10•5 years ago
|
||
Comment on attachment 9084520 [details]
Bug 1560700 - Change how the rust target is derived from the build system target.
approved for 68.9esr
Comment 11•5 years ago
|
||
bugherder uplift |
Description
•