Closed
Bug 1288825
Opened 8 years ago
Closed 8 years ago
toolkit/components/url-classifier/nsUrlClassifierUtils.cpp:94:4: error: Unrecognized platform type.
Categories
(Toolkit :: Safe Browsing, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: jbeich, Assigned: jbeich)
References
Details
(Whiteboard: [npotb])
Attachments
(1 file)
Bug 1275507 broke build on Tier3 Unix-like systems: BSD (DragonFly, FreeBSD, NetBSD, OpenBSD), Solaris (Illumos, SmartOS, etc). Since many of those can emulate Linux ABI it may make sense to fake LINUX_PLATFORM. However, a similar case can be made against Wine being able to run some Windows malware. $ ./mach build [...] In file included from objdir/toolkit/components/url-classifier/Unified_cpp_url-classifier0.cpp:65: toolkit/components/url-classifier/nsUrlClassifierUtils.cpp:94:4: error: Unrecognized platform type. #error Unrecognized platform type. ^ 1 error generated. http://buildbot.rhaalovely.net/builders/mozilla-central-freebsd-amd64/builds/907/steps/build/logs/stdio http://buildbot.rhaalovely.net/builders/mozilla-central-amd64/builds/1798/steps/build/logs/stdio
Review commit: https://reviewboard.mozilla.org/r/66560/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/66560/
Attachment #8773926 -
Flags: review?(hchang)
Comment 2•8 years ago
|
||
Comment on attachment 8773926 [details] Bug 1288825 - Unbreak build on Unix after bug 1275507. https://reviewboard.mozilla.org/r/66560/#review63282 I'd rather have non-Linux platforms return PLATFORM_TYPE_UNSPECIFIED instead: https://dxr.mozilla.org/mozilla-central/rev/4c05938a64a7fde3ac2d7f4493aee1c5f2ad8a0a/toolkit/components/url-classifier/chromium/safebrowsing.proto#275
Attachment #8773926 -
Flags: review-
Updated•8 years ago
|
Attachment #8773926 -
Flags: review?(hchang)
Updated•8 years ago
|
Assignee: nobody → jbeich
Status: NEW → ASSIGNED
Updated•8 years ago
|
Priority: -- → P2
Comment on attachment 8773926 [details] Bug 1288825 - Unbreak build on Unix after bug 1275507. Review request updated; see interdiff: https://reviewboard.mozilla.org/r/66560/diff/1-2/
Attachment #8773926 -
Attachment description: Bug 1288825 - Fall back to Linux on other Unices. → Bug 1288825 - Unbreak build on Unix after bug 1275507.
Attachment #8773926 -
Flags: review- → review?(hchang)
Updated•8 years ago
|
Attachment #8773926 -
Flags: review?(hchang)
Comment 4•8 years ago
|
||
Comment on attachment 8773926 [details] Bug 1288825 - Unbreak build on Unix after bug 1275507. https://reviewboard.mozilla.org/r/66560/#review63292 Thanks!
Attachment #8773926 -
Flags: review+
Pushed by fmarier@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bda9fd505371 Unbreak build on Unix after bug 1275507. r=francois
Comment 6•8 years ago
|
||
Sorry it's my fault :( Thanks Jan for fixing this and Francois doing the review!
Comment 7•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/bda9fd505371
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
(In reply to François Marier [:francois] from comment #2) > I'd rather have non-Linux platforms return PLATFORM_TYPE_UNSPECIFIED instead: Hmm, http://testsafebrowsing.appspot.com/s/phishing.html matches SOCIAL_ENGINEERING for any threatType *except* PLATFORM_TYPE_UNSPECIFIED. Reminds me of Google Maps where BSD users are forced to Lite mode even with working WebGL.
Comment 9•7 years ago
|
||
(In reply to Jan Beich from comment #8) > (In reply to François Marier [:francois] from comment #2) > > I'd rather have non-Linux platforms return PLATFORM_TYPE_UNSPECIFIED instead: > > Hmm, http://testsafebrowsing.appspot.com/s/phishing.html matches > SOCIAL_ENGINEERING for any threatType *except* PLATFORM_TYPE_UNSPECIFIED. I filed bug 1362501 for this issue.
You need to log in
before you can comment on or make changes to this bug.
Description
•