LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-30-2017, 07:26 AM   #1
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Strange error building FF-55.0.3


Running Slack64-current with latest update as of 30.8.2017 (with Cargo built into Rust). Using the SlackBuild and everything from the Slackware source folder. The build dies after a while. Running AlienBob's checkpkg on the build log gives the following -


root@missi:/patches/mozilla-firefox$ ./checkpkg -l build.log
++ Checking logfile 'build.log' (no news is good news):
57258: firefox-55.0.3/dom/html/test/forms/FAIL.html
209109: Fatal server error:
209441: js/src> checking for the Android toolchain directory... not found
210127: dom_geolocation nsIDOMGeoGeolocation nsIDOMGeoPosition nsIDOMGeoPositionCallback nsIDOMGeoPositionCoords nsIDOMGeoPositionError nsIDOMGeoPositionErrorCallback
210607: storage mozIStorageAggregateFunction mozIStorageAsyncConnection mozIStorageAsyncStatement mozIStorageBaseStatement mozIStorageBindingParams mozIStorageBindingParamsArray mozIStorageCompletionCallback mozIStorageConnection mozIStorageError mozIStorageFunction mozIStoragePendingStatement mozIStorageProgressHandler mozIStorageResultSet mozIStorageRow mozIStorageService mozIStorageStatement mozIStorageStatementCallback mozIStorageStatementParams mozIStorageStatementRow mozIStorageVacuumParticipant mozIStorageValueArray
212755: if (U_FAILURE(status)) {
222083: roundingError -= 1;
226018: /tmp/firefox-55.0.3/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/h264_sps_parser.cc:17:0: warning: "RETURN_FALSE_ON_FAIL" redefined
226019: #define RETURN_FALSE_ON_FAIL(x) \
226023: #define RETURN_FALSE_ON_FAIL(x) \
232811: #define SkFAIL(message) SK_ABORT(message)
232813: /tmp/firefox-55.0.3/gfx/skia/skia/src/gpu/gl/GrGLPath.cpp:199:13: note: in expansion of macro 'SkFAIL'
232814: SkFAIL("Incomplete Switch\n");
232865: #define SkFAIL(message) SK_ABORT(message)
232867: /tmp/firefox-55.0.3/gfx/skia/skia/src/gpu/gl/GrGLPathRendering.cpp:71:13: note: in expansion of macro 'SkFAIL'
232868: SkFAIL("Unexpected path fill.");
234896: #define SkFAIL(message) SK_ABORT(message)
234898: /tmp/firefox-55.0.3/gfx/skia/skia/src/gpu/GrPathRendering.cpp:18:13: note: in expansion of macro 'SkFAIL'
234899: SkFAIL("Unexpected path fill.");
235134: #define SkFAIL(message) SK_ABORT(message)
235136: /tmp/firefox-55.0.3/gfx/skia/skia/src/gpu/instanced/InstanceProcessor.cpp:1678:13: note: in expansion of macro 'SkFAIL'
235137: SkFAIL("Unexpected antialias mode.");
241989: /tmp/firefox-55.0.3/media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_alsa_linux.cc:2155: undefined reference to `LogLatency(AsyncLatencyLogger::LatencyLogIndex, unsigned long, long)'
241990: /tmp/firefox-55.0.3/media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_alsa_linux.cc:2152: undefined reference to `LogTime(AsyncLatencyLogger::LatencyLogIndex, unsigned long, long)'
241993: collect2: error: ld returned 1 exit status
241994: make[6]: *** [/tmp/firefox-55.0.3/config/rules.mk:642: webrtc-gtest] Error 1
241996: make[5]: *** [/tmp/firefox-55.0.3/config/recurse.mk:73: media/webrtc/trunk/gtest/target] Error 2
242004: make[4]: *** [/tmp/firefox-55.0.3/config/recurse.mk:33: compile] Error 2
242006: make[3]: *** [/tmp/firefox-55.0.3/config/rules.mk:519: default] Error 2
242008: make[2]: *** [/tmp/firefox-55.0.3/client.mk:419: realbuild] Error 2
242010: make[1]: *** [/tmp/firefox-55.0.3/client.mk:232: profiledbuild] Error 2
242012: make: *** [client.mk:170: build] Error 2
|install mawk). For LFS: we put mktemp in /usr/bin not /bin, remove
root@missi:/patches/mozilla-firefox$


It looks like one of the major faults is -

js/src> checking for the Android toolchain directory... not found


I have no idea why it would be looking for an Android toolchain. Any thoughts?? Thanks in advance
 
Old 08-30-2017, 09:04 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
The real error is:
Code:
241989: /tmp/firefox-55.0.3/media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_alsa_linux.cc:2155: undefined reference to `LogLatency(AsyncLatencyLogger::LatencyLogIndex, unsigned long, long)'
241990: /tmp/firefox-55.0.3/media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_alsa_linux.cc:2152: undefined reference to `LogTime(AsyncLatencyLogger::LatencyLogIndex, unsigned long, long)'
241993: collect2: error: ld returned 1 exit status
Apparently fixed in Firefox 56 (so you need to wait or find a patch): https://bugzilla.mozilla.org/show_bug.cgi?id=1384655
 
Old 08-30-2017, 09:08 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Looks like this is the patch you need: https://hg.mozilla.org/releases/mozi...v/e4f5cc3fbd93
 
Old 08-30-2017, 09:43 AM   #4
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Original Poster
Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Wow, that was fast Eric. Thank you. Will give it a go. Wonder how the Slackware folks got it built if this is a bug.

Last edited by 3rensho; 08-30-2017 at 09:44 AM.
 
Old 08-30-2017, 10:03 AM   #5
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Newsflash - The Slackware crew are definitely not slackers, but rather top tier code monkeys. We mere mortals can but aspire.
 
2 members found this post helpful.
Old 08-30-2017, 11:08 AM   #6
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by 3rensho View Post
Wonder how the Slackware folks got it built if this is a bug.
To note that I have a pair of clean and up to date installations of Slackware(64) current, installed in its own partitions.

And, on this reference installations, the Firefox 5.0.3 builds fine and the resulted packages works just like the ones shipped by the Slackware Team.

I tested/built this on both i586 and x86_64 archs.

Then, could be some of your own customization of the operating system which affects the Firefox build. Most likely, you tried a PulseAudio "free" build?

Finally, to note that, from what I read, is supposed that the new versions of Firefox does NOT use multiple audio backends for WebRTC, rather relying on the system's PulseAudio for Linux targets. You know, everyone have it now, even Slackware...

Last edited by Darth Vader; 08-30-2017 at 01:16 PM.
 
Old 09-01-2017, 02:31 AM   #7
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Original Poster
Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Well, I tried the patch and it tells me that it had already been applied (and do I want to reverse it). I have the Slackware version of Pulseaudio installed so that's not it. Will have to assume that it is something added to the system that is causing the problem. Since FF works fine I will stop my effort to build it myself. Thanks to all for your responses.
 
Old 09-02-2017, 09:20 AM   #8
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Original Poster
Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
UPDATE---

I tried building FF-56.0b8 just for grins and it builds just fine. Running it now.
 
Old 09-02-2017, 12:37 PM   #9
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Original Poster
Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
UPDATE-1 -

Built FF FF56.0b8 with pgo enabled. Built OK but lots of problems with the program. Built again with pgo disabled and all is fine again. FWIW.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure: error: could not find a working compiler, see config.log for details error while building gmp in cygwin seetha_eg Linux - Software 5 03-30-2020 08:10 AM
building sge-8.1.3 error - collect2: error: ld returned 1 exit status Reignfire Linux - Software 0 05-08-2013 01:45 PM
Error building crosstools-ng on LFS for raspberry pi - custom kernel error Keith Hedger Linux From Scratch 0 01-15-2013 05:44 PM
Error when building Diomedes Linux - Software 5 10-04-2006 12:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration