trying to compile chromium-browser from source, but failing with 'map' file not found












0














I have downloaded source for chromium-browser.
Also:



 apt-get source chromium-browser
sudo apt install build-essential
sudo apt-get build-dep chromium-browser


I have installed libraries (and more):



sudo apt install cmake ninja-build clang-6.0 libglu1-mesa-dev libc++-dev libc++abi-dev libxi-dev


dpkg-buildpackage -rfakeroot -uc -b


fails with:



fatal error: 'memory' file not found
...
fatal error: 'iosfwd' file not found
...
fatal error: 'vector' file not found
...

fatal error: 'map' file not found
#include <map>
^~~~~
1 error generated.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "tools/gn/bootstrap/bootstrap.py", line 96, in <module>


this is just a standard library file, what is going wrong?



full build output: https://paste.ubuntu.com/p/54v5CwW3qD/



clang++ -v test.cpp
showed me that it seemed to be looking for v8 of libstdc++-8-dev
Answer: I installed package g++-8 and libstdc++-8-dev



Then it built successfully.










share|improve this question
























  • Please provide the complete build output. If it's too long, use paste.ubuntu.com
    – muru
    Dec 17 at 8:57










  • build output: paste.ubuntu.com/p/54v5CwW3qD
    – Tim Richardson
    Dec 17 at 9:00










  • It seems you're building a source package from a PPA. A build from the Ubuntu repos' source package worked fine for me: paste.ubuntu.com/p/BT22fQ9rpt
    – muru
    Dec 17 at 9:06










  • yes, you're correct. It has only one patch I think, so I didn't think it would matter. I will contact the maintainer in that case.
    – Tim Richardson
    Dec 17 at 9:22










  • Your output also mentioned some missing variables (GOOGLEAPI_APIKEY_UBUNTU, etc.). Not sure if those are relevant though (my output didn't include any such message).
    – muru
    Dec 17 at 9:25
















0














I have downloaded source for chromium-browser.
Also:



 apt-get source chromium-browser
sudo apt install build-essential
sudo apt-get build-dep chromium-browser


I have installed libraries (and more):



sudo apt install cmake ninja-build clang-6.0 libglu1-mesa-dev libc++-dev libc++abi-dev libxi-dev


dpkg-buildpackage -rfakeroot -uc -b


fails with:



fatal error: 'memory' file not found
...
fatal error: 'iosfwd' file not found
...
fatal error: 'vector' file not found
...

fatal error: 'map' file not found
#include <map>
^~~~~
1 error generated.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "tools/gn/bootstrap/bootstrap.py", line 96, in <module>


this is just a standard library file, what is going wrong?



full build output: https://paste.ubuntu.com/p/54v5CwW3qD/



clang++ -v test.cpp
showed me that it seemed to be looking for v8 of libstdc++-8-dev
Answer: I installed package g++-8 and libstdc++-8-dev



Then it built successfully.










share|improve this question
























  • Please provide the complete build output. If it's too long, use paste.ubuntu.com
    – muru
    Dec 17 at 8:57










  • build output: paste.ubuntu.com/p/54v5CwW3qD
    – Tim Richardson
    Dec 17 at 9:00










  • It seems you're building a source package from a PPA. A build from the Ubuntu repos' source package worked fine for me: paste.ubuntu.com/p/BT22fQ9rpt
    – muru
    Dec 17 at 9:06










  • yes, you're correct. It has only one patch I think, so I didn't think it would matter. I will contact the maintainer in that case.
    – Tim Richardson
    Dec 17 at 9:22










  • Your output also mentioned some missing variables (GOOGLEAPI_APIKEY_UBUNTU, etc.). Not sure if those are relevant though (my output didn't include any such message).
    – muru
    Dec 17 at 9:25














0












0








0







I have downloaded source for chromium-browser.
Also:



 apt-get source chromium-browser
sudo apt install build-essential
sudo apt-get build-dep chromium-browser


I have installed libraries (and more):



sudo apt install cmake ninja-build clang-6.0 libglu1-mesa-dev libc++-dev libc++abi-dev libxi-dev


dpkg-buildpackage -rfakeroot -uc -b


fails with:



fatal error: 'memory' file not found
...
fatal error: 'iosfwd' file not found
...
fatal error: 'vector' file not found
...

fatal error: 'map' file not found
#include <map>
^~~~~
1 error generated.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "tools/gn/bootstrap/bootstrap.py", line 96, in <module>


this is just a standard library file, what is going wrong?



full build output: https://paste.ubuntu.com/p/54v5CwW3qD/



clang++ -v test.cpp
showed me that it seemed to be looking for v8 of libstdc++-8-dev
Answer: I installed package g++-8 and libstdc++-8-dev



Then it built successfully.










share|improve this question















I have downloaded source for chromium-browser.
Also:



 apt-get source chromium-browser
sudo apt install build-essential
sudo apt-get build-dep chromium-browser


I have installed libraries (and more):



sudo apt install cmake ninja-build clang-6.0 libglu1-mesa-dev libc++-dev libc++abi-dev libxi-dev


dpkg-buildpackage -rfakeroot -uc -b


fails with:



fatal error: 'memory' file not found
...
fatal error: 'iosfwd' file not found
...
fatal error: 'vector' file not found
...

fatal error: 'map' file not found
#include <map>
^~~~~
1 error generated.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "tools/gn/bootstrap/bootstrap.py", line 96, in <module>


this is just a standard library file, what is going wrong?



full build output: https://paste.ubuntu.com/p/54v5CwW3qD/



clang++ -v test.cpp
showed me that it seemed to be looking for v8 of libstdc++-8-dev
Answer: I installed package g++-8 and libstdc++-8-dev



Then it built successfully.







18.04 development clang






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 18 at 10:40

























asked Dec 17 at 6:37









Tim Richardson

656415




656415












  • Please provide the complete build output. If it's too long, use paste.ubuntu.com
    – muru
    Dec 17 at 8:57










  • build output: paste.ubuntu.com/p/54v5CwW3qD
    – Tim Richardson
    Dec 17 at 9:00










  • It seems you're building a source package from a PPA. A build from the Ubuntu repos' source package worked fine for me: paste.ubuntu.com/p/BT22fQ9rpt
    – muru
    Dec 17 at 9:06










  • yes, you're correct. It has only one patch I think, so I didn't think it would matter. I will contact the maintainer in that case.
    – Tim Richardson
    Dec 17 at 9:22










  • Your output also mentioned some missing variables (GOOGLEAPI_APIKEY_UBUNTU, etc.). Not sure if those are relevant though (my output didn't include any such message).
    – muru
    Dec 17 at 9:25


















  • Please provide the complete build output. If it's too long, use paste.ubuntu.com
    – muru
    Dec 17 at 8:57










  • build output: paste.ubuntu.com/p/54v5CwW3qD
    – Tim Richardson
    Dec 17 at 9:00










  • It seems you're building a source package from a PPA. A build from the Ubuntu repos' source package worked fine for me: paste.ubuntu.com/p/BT22fQ9rpt
    – muru
    Dec 17 at 9:06










  • yes, you're correct. It has only one patch I think, so I didn't think it would matter. I will contact the maintainer in that case.
    – Tim Richardson
    Dec 17 at 9:22










  • Your output also mentioned some missing variables (GOOGLEAPI_APIKEY_UBUNTU, etc.). Not sure if those are relevant though (my output didn't include any such message).
    – muru
    Dec 17 at 9:25
















Please provide the complete build output. If it's too long, use paste.ubuntu.com
– muru
Dec 17 at 8:57




Please provide the complete build output. If it's too long, use paste.ubuntu.com
– muru
Dec 17 at 8:57












build output: paste.ubuntu.com/p/54v5CwW3qD
– Tim Richardson
Dec 17 at 9:00




build output: paste.ubuntu.com/p/54v5CwW3qD
– Tim Richardson
Dec 17 at 9:00












It seems you're building a source package from a PPA. A build from the Ubuntu repos' source package worked fine for me: paste.ubuntu.com/p/BT22fQ9rpt
– muru
Dec 17 at 9:06




It seems you're building a source package from a PPA. A build from the Ubuntu repos' source package worked fine for me: paste.ubuntu.com/p/BT22fQ9rpt
– muru
Dec 17 at 9:06












yes, you're correct. It has only one patch I think, so I didn't think it would matter. I will contact the maintainer in that case.
– Tim Richardson
Dec 17 at 9:22




yes, you're correct. It has only one patch I think, so I didn't think it would matter. I will contact the maintainer in that case.
– Tim Richardson
Dec 17 at 9:22












Your output also mentioned some missing variables (GOOGLEAPI_APIKEY_UBUNTU, etc.). Not sure if those are relevant though (my output didn't include any such message).
– muru
Dec 17 at 9:25




Your output also mentioned some missing variables (GOOGLEAPI_APIKEY_UBUNTU, etc.). Not sure if those are relevant though (my output didn't include any such message).
– muru
Dec 17 at 9:25















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1102482%2ftrying-to-compile-chromium-browser-from-source-but-failing-with-map-file-not%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1102482%2ftrying-to-compile-chromium-browser-from-source-but-failing-with-map-file-not%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido