brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.77k stars 2.32k forks source link

Error in pkg-config.py when building on Linux #9583

Closed RangerMauve closed 4 years ago

RangerMauve commented 4 years ago

Description

I'm working on fixing an issue in IPFS-Companion where brave browsers arent able to discover each other over MDNS. To test the fix, I'm going to beed to build brave from source and modify some of the chromium code with a patch.

Sadly I'm getting errors when trying to build brave from the current master branch on Linux.

I'm using System76's Pop OS which is basically like Debian. Running on a 64bit Intel processor

Steps to Reproduce

  1. Clone repo
  2. Follow build instructions in the wiki
  3. Run npm run build

Actual result:

Errors out close to the start of installing

`npm run build` Command output: ``` > brave@1.10.23 build /home/mauve/programming/brave-browser > node ./scripts/commands.js build Recursing through GRD to find GRDP files... Done recursing through GRD to find GRDP files. touch original files overridden by chromium_src... touch original vector icon files overridden by brave/vector_icons... update branding... building brave... Widevine cdm host verification is disabled /home/mauve/programming/brave-browser/src: gn gen /home/mauve/programming/brave-browser/src/out/Component --args="fieldtrial_testing_like_official_build=true safe_browsing_mode=1 brave_services_key=\"\" root_extra_deps=[\"//brave\"] is_component_build=true proprietary_codecs=true ffmpeg_branding=\"Chrome\" enable_nacl=false enable_widevine=true target_cpu=\"x64\" is_official_build=false is_debug=false dcheck_always_on=true brave_channel=\"development\" google_api_key=\"AIzaSyAH90V94EcZBP5oH7oc-mXQrSKgASVxER8\" brave_google_api_key=\"AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q\" brave_google_api_endpoint=\"https://www.googleapis.com/geolocation/v1/geolocate?key=\" brave_infura_project_id=\"\" binance_client_id=\"\" brave_product_name=\"Brave\" brave_project_name=\"brave\" brave_version_major=\"1\" brave_version_minor=\"10\" brave_version_build=\"23\" chrome_version_string=\"81.0.4044.129\" chrome_version_major=\"81\" safebrowsing_api_endpoint=\"safebrowsing.brave.com\" webcompat_report_api_endpoint=\"https://webcompat.brave.com/1/webcompat\" brave_referrals_api_key=\"\" enable_hangout_services_extension=true enable_cdm_host_verification=false skip_signing=true use_vaapi=true cc_wrapper=\"/home/mauve/programming/brave-browser/src/brave/script/redirect-cc.py\" " ERROR at //build/config/linux/pkg_config.gni:103:17: Script returned non-zero exit code. pkgresult = exec_script(pkg_config_script, args, "value") ^---------- Current dir: /home/mauve/programming/brave-browser/src/out/Component/ Command: python /home/mauve/programming/brave-browser/src/build/config/linux/pkg-config.py -s /home/mauve/programming/brave-browser/src/build/linux/debian_sid_amd64-sysroot -a x64 nss -v -lssl3 Returned 1. stderr: Traceback (most recent call last): File "/home/mauve/programming/brave-browser/src/build/config/linux/pkg-config.py", line 248, in sys.exit(main()) File "/home/mauve/programming/brave-browser/src/build/config/linux/pkg-config.py", line 143, in main prefix = GetPkgConfigPrefixToStrip(options, args) File "/home/mauve/programming/brave-browser/src/build/config/linux/pkg-config.py", line 82, in GetPkgConfigPrefixToStrip "--variable=prefix"] + args, env=os.environ).decode('utf-8') File "/usr/lib/python2.7/subprocess.py", line 216, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 394, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory See //build/config/linux/nss/BUILD.gn:15:3: whence it was called. pkg_config("system_nss_no_ssl_config") { ^--------------------------------------- See //crypto/BUILD.gn:214:25: which caused the file to be included. public_configs += [ "//build/config/linux/nss:system_nss_no_ssl_config" ] ^-------------------------------------------------- null ```

Expected result:

Expected it to compile without error

Reproduces how often:

Every time

Brave version (brave://version info)

The latest version of the master branch. Specifically this commit: fc3448470053445bb1a3e1367e2807120566fd7b

Version/Channel Information:

N/A

Other Additional Information:

N/A

Miscellaneous Information:

I'm also getting the following popping up when running ./src/build/install-build-deps.sh. I wasn't sure what to do since the packages looked like they were installed and the output didn't seem to mention them.

The following packages have unmet dependencies:
 linux-libc-dev : Breaks: linux-libc-dev:i386 (!= 5.3.0-7648.41~1586789791~19.10~9593806) but 5.3.0-51.44 is to be installed
 linux-libc-dev:i386 : Breaks: linux-libc-dev (!= 5.3.0-51.44) but 5.3.0-7648.41~1586789791~19.10~9593806 is to be installed
yrliou commented 4 years ago

@RangerMauve The error looks like you're missing pkg-config which is listed in install-build-deps.sh, could you check if you have that installed successfully in your system?

RangerMauve commented 4 years ago

Thank you for the quick follow-up! Not sure why install-build-deps didn't install it when I ran. I installed it manually and the build seems to be progressing. 😁

RangerMauve commented 4 years ago

Now I'm getting an error which seems to be saying that I'm missing openssl-sys:

``` error: failed to run custom build command for `openssl-sys v0.9.48` Caused by: process didn't exit successfully: `/home/mauve/programming/brave-browser/src/out/Component/gen/adblock/out/release/build/openssl-sys-d3ee5cb6ed2e8e1e/build-script-main` (exit code: 101) --- stdout cargo:rustc-cfg=const_fn cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=OPENSSL_LIB_DIR OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR unset cargo:rerun-if-env-changed=OPENSSL_DIR OPENSSL_DIR unset run pkg_config fail: "`\"pkg-config\" \"--libs\" \"--cflags\" \"openssl\"` did not exit successfully: exit code: 1\n--- stderr\nPackage openssl was not found in the pkg-config search path.\nPerhaps you should add the directory containing `openssl.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'openssl\' found\n" --- stderr thread 'main' panicked at ' Could not find directory of OpenSSL installation, and this `-sys` crate cannot proceed without this knowledge. If OpenSSL is installed and this crate had trouble finding it, you can set the `OPENSSL_DIR` environment variable for the compilation process. Make sure you also have the development packages of openssl installed. For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora. If you're in a situation where you think the directory *should* be found automatically, please open a bug at https://github.com/sfackler/rust-openssl and include information about your system as well as this message. $HOST = x86_64-unknown-linux-gnu $TARGET = x86_64-unknown-linux-gnu openssl-sys = 0.9.48 ', /home/mauve/programming/brave-browser/src/out/Component/../../brave/build/rustup/0.1.3/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.48/build/find_normal.rs:150:5 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace. warning: build failed, waiting for other jobs to finish... error: build failed None Traceback (most recent call last): File "../../brave/script/cargo.py", line 125, in sys.exit(main()) File "../../brave/script/cargo.py", line 119, in main build(parse_args()) File "../../brave/script/cargo.py", line 95, in build raise e subprocess.CalledProcessError: Command '['cargo', 'build', '--release', '--manifest-path=../../brave/vendor/adblock_rust_ffi/Cargo.toml', '--target-dir=gen/adblock/out', '--target=x86_64-unknown-linux-gnu']' returned non-zero exit status 101 [1780/40996] CXX obj/extensions/common/api/generated_api_types/networking_private.o ninja: build stopped: subcommand failed. ```

Manually installing libssl-dev like the stack trace said helped.

Currently continuing building. 😁

RangerMauve commented 4 years ago

Getting another error now saying gperf is not found.

``` 2828/38909] ACTION //third_party/blink/renderer/core:m...d_css_value_keywords(//build/toolchain/linux:clang_x64) FAILED: gen/third_party/blink/renderer/core/css_value_keywords.cc gen/third_party/blink/renderer/core/css_value_keywords.h python ../../third_party/blink/renderer/build/scripts/run_with_pythonpath.py -I ../../third_party/blink/renderer/build/scripts -I ../../third_party -I ../../tools ../../third_party/blink/renderer/build/scripts/core/css/make_css_value_keywords.py ../../third_party/blink/renderer/core/css/css_value_keywords.json5 ../../third_party/blink/renderer/core/css/svg_css_value_keywords.json5 --output_dir gen/third_party/blink/renderer/core --gperf gperf Traceback (most recent call last): File "../../third_party/blink/renderer/build/scripts/core/css/make_css_value_keywords.py", line 73, in json5_generator.Maker(CSSValueKeywordsWriter).main() File "/home/mauve/programming/brave-browser/src/third_party/blink/renderer/build/scripts/json5_generator.py", line 298, in main writer.write_files(args.output_dir) File "/home/mauve/programming/brave-browser/src/third_party/blink/renderer/build/scripts/json5_generator.py", line 263, in write_files self._write_file_if_changed(output_dir, generator(), file_name) File "/home/mauve/programming/brave-browser/src/third_party/blink/renderer/build/scripts/gperf.py", line 63, in generator_internal return generate_gperf(gperf_path, gperf_input, gperf_args) File "/home/mauve/programming/brave-browser/src/third_party/blink/renderer/build/scripts/gperf.py", line 46, in generate_gperf 127, cmd, output='Command not found.') subprocess.CalledProcessError: Command '['gperf', '--key-positions=*', '-P', '-n', '-m', '50', '-D', '-Q', 'CSSValueStringPool']' returned non-zero exit status 127 [2833/38909] ACTION //third_party/blink/renderer/core:m...d_css_property_names(//build/toolchain/linux:clang_x64) FAILED: gen/third_party/blink/renderer/core/css/css_property_names.cc gen/third_party/blink/renderer/core/css/css_property_names.h python ../../third_party/blink/renderer/build/scripts/run_with_pythonpath.py -I ../../third_party/blink/renderer/build/scripts -I ../../third_party -I ../../tools ../../third_party/blink/renderer/build/scripts/core/css/make_css_property_names.py ../../third_party/blink/renderer/core/css/css_properties.json5 ../../third_party/blink/renderer/core/css/computed_style_field_aliases.json5 ../../third_party/blink/renderer/platform/runtime_enabled_features.json5 --output_dir gen/third_party/blink/renderer/core/css --gperf gperf Traceback (most recent call last): File "../../third_party/blink/renderer/build/scripts/core/css/make_css_property_names.py", line 88, in json5_generator.Maker(CSSPropertyNamesWriter).main() File "/home/mauve/programming/brave-browser/src/third_party/blink/renderer/build/scripts/json5_generator.py", line 298, in main writer.write_files(args.output_dir) File "/home/mauve/programming/brave-browser/src/third_party/blink/renderer/build/scripts/json5_generator.py", line 263, in write_files self._write_file_if_changed(output_dir, generator(), file_name) File "/home/mauve/programming/brave-browser/src/third_party/blink/renderer/build/scripts/gperf.py", line 63, in generator_internal return generate_gperf(gperf_path, gperf_input, gperf_args) File "/home/mauve/programming/brave-browser/src/third_party/blink/renderer/build/scripts/gperf.py", line 46, in generate_gperf 127, cmd, output='Command not found.') subprocess.CalledProcessError: Command '['gperf', '--key-positions=*', '-P', '-n', '-m', '50', '-D', '-Q', 'CSSPropStringPool']' returned non-zero exit status 127 [2841/38909] CXX obj/third_party/angle/third_party/vulk...idation-layers/src/VkLayer_khronos_validation/chassis.o ninja: build stopped: subcommand failed. null null npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! brave@1.10.23 build: `node ./scripts/commands.js build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the brave@1.10.23 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/mauve/.npm/_logs/2020-05-03T01_24_34_789Z-debug.log ```

Installed the package and am restarting the build.

yrliou commented 4 years ago

Normally these should all be taken care of by running install-build-deps, maybe it doesn't support the distribution you're using well, were there any notable error output? https://chromium.googlesource.com/chromium/src/+/master/docs/linux/build_instructions.md There are some instructions for some other distributions but I didn't see yours listed, I only use ubuntu for building it in linux so not sure what's the best thing to do here either.

RangerMauve commented 4 years ago

Woot! Looks like it built. Thank you for the help!

RangerMauve commented 4 years ago

I could take a look later and see if I can figure out what went wrong there. Hopefully anybody else having issues on Pop OS will see this thread in the meantime. πŸ’œ

RangerMauve commented 4 years ago

Here's the output I get from install-build-deps:

``` Hit:1 http://repo.steampowered.com/steam precise InRelease Hit:2 http://us.archive.ubuntu.com/ubuntu eoan InRelease Hit:3 https://brave-browser-apt-nightly.s3.brave.com stable InRelease Hit:4 http://us.archive.ubuntu.com/ubuntu eoan-security InRelease Hit:5 http://ppa.launchpad.net/system76/pop/ubuntu eoan InRelease Hit:6 http://us.archive.ubuntu.com/ubuntu eoan-updates InRelease Hit:7 http://apt.pop-os.org/proprietary eoan InRelease Hit:8 http://us.archive.ubuntu.com/ubuntu eoan-backports InRelease Reading package lists... Skipping debugging symbols. Including 32-bit libraries. Including ARM cross toolchain. Including NaCl, NaCl toolchain, NaCl ports dependencies. Finding missing packages... Packages required: libasound2:i386 libcap2:i386 libelf-dev:i386 libfontconfig1:i386 libglib2.0-0:i386 libgpm2:i386 libncurses5:i386 libnss3:i386 libpango1.0-0:i386 libpci3:i386 libssl1.1:i386 libssl-dev:i386 libtinfo-dev:i386 libudev1:i386 libuuid1:i386 libx11-xcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxi6:i386 libxrandr2:i386 libxss1:i386 libxtst6:i386 linux-libc-dev:i386 ant apache2-bin autoconf binutils binutils-aarch64-linux-gnu binutils-arm-linux-gnueabihf binutils-mips64el-linux-gnuabi64 binutils-mipsel-linux-gnu bison bzip2 cdbs cmake curl dbus-x11 devscripts dpkg-dev elfutils fakeroot flex g++-9-multilib g++-9-multilib-arm-linux-gnueabihf g++-arm-linux-gnueabihf gawk gcc-9-multilib-arm-linux-gnueabihf gcc-arm-linux-gnueabihf git-core g++-mingw-w64-i686 gperf intltool lib32gcc1 lib32ncurses5-dev lib32stdc++6 lib32z1-dev libapache2-mod-php7.3 libappindicator3-1 libappindicator3-dev libasound2 libasound2-dev libatk1.0-0 libatspi2.0-0 libatspi2.0-dev libbluetooth-dev libbrlapi0.6 libbrlapi-dev libbz2-1.0 libbz2-dev libc6 libc6-dev libc6-dev-armhf-cross libc6-i386 libcairo2 libcairo2-dev libcap2 libcap-dev libcups2 libcups2-dev libcurl4-gnutls-dev libdrm2 libdrm-dev libelf-dev libevdev2 libevdev-dev libexpat1 libffi6 libffi-dev libfontconfig1 libfreetype6 libgbm1 libgbm-dev libglib2.0-0 libglib2.0-dev libglu1-mesa-dev libgtk-3-0 libgtk-3-dev libinput10 libinput-dev libjpeg-dev libkrb5-dev libnspr4 libnspr4-dev libnss3 libnss3-dev libpam0g libpam0g-dev libpango1.0-0 libpci3 libpci-dev libpcre3 libpixman-1-0 libpng16-16 libpulse0 libpulse-dev libsctp-dev libspeechd2 libspeechd-dev libsqlite3-0 libsqlite3-dev libssl-dev libstdc++6 libtinfo-dev libtool libudev1 libudev-dev libuuid1 libvulkan1 libvulkan-dev libwayland-egl1-mesa libwww-perl libx11-6 libx11-xcb1 libxau6 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 libxinerama1 libxkbcommon-dev libxrandr2 libxrender1 libxslt1-dev libxss-dev libxt-dev libxtst6 libxtst-dev linux-libc-dev-armhf-cross locales openbox p7zip patch perl php7.3-cgi pkg-config python python-cherrypy3 python-crypto python-dev python-numpy python-opencv python-openssl python-psutil python-yaml rpm ruby subversion texinfo uuid-dev wdiff x11-utils xcompmgr xsltproc xutils-dev xvfb xz-utils zip zlib1g The following command failed: apt-get --just-print install libasound2:i386 libcap2:i386 libelf-dev:i386 libfontconfig1:i386 libglib2.0-0:i386 libgpm2:i386 libncurses5:i386 libnss3:i386 libpango1.0-0:i386 libpci3:i386 libssl1.1:i386 libssl-dev:i386 libtinfo-dev:i386 libudev1:i386 libuuid1:i386 libx11-xcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxi6:i386 libxrandr2:i386 libxss1:i386 libxtst6:i386 linux-libc-dev:i386 ant apache2-bin autoconf binutils binutils-aarch64-linux-gnu binutils-arm-linux-gnueabihf binutils-mips64el-linux-gnuabi64 binutils-mipsel-linux-gnu bison bzip2 cdbs cmake curl dbus-x11 devscripts dpkg-dev elfutils fakeroot flex g++-9-multilib g++-9-multilib-arm-linux-gnueabihf g++-arm-linux-gnueabihf gawk gcc-9-multilib-arm-linux-gnueabihf gcc-arm-linux-gnueabihf git-core g++-mingw-w64-i686 gperf intltool lib32gcc1 lib32ncurses5-dev lib32stdc++6 lib32z1-dev libapache2-mod-php7.3 libappindicator3-1 libappindicator3-dev libasound2 libasound2-dev libatk1.0-0 libatspi2.0-0 libatspi2.0-dev libbluetooth-dev libbrlapi0.6 libbrlapi-dev libbz2-1.0 libbz2-dev libc6 libc6-dev libc6-dev-armhf-cross libc6-i386 libcairo2 libcairo2-dev libcap2 libcap-dev libcups2 libcups2-dev libcurl4-gnutls-dev libdrm2 libdrm-dev libelf-dev libevdev2 libevdev-dev libexpat1 libffi6 libffi-dev libfontconfig1 libfreetype6 libgbm1 libgbm-dev libglib2.0-0 libglib2.0-dev libglu1-mesa-dev libgtk-3-0 libgtk-3-dev libinput10 libinput-dev libjpeg-dev libkrb5-dev libnspr4 libnspr4-dev libnss3 libnss3-dev libpam0g libpam0g-dev libpango1.0-0 libpci3 libpci-dev libpcre3 libpixman-1-0 libpng16-16 libpulse0 libpulse-dev libsctp-dev libspeechd2 libspeechd-dev libsqlite3-0 libsqlite3-dev libssl-dev libstdc++6 libtinfo-dev libtool libudev1 libudev-dev libuuid1 libvulkan1 libvulkan-dev libwayland-egl1-mesa libwww-perl libx11-6 libx11-xcb1 libxau6 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 libxinerama1 libxkbcommon-dev libxrandr2 libxrender1 libxslt1-dev libxss-dev libxt-dev libxtst6 libxtst-dev linux-libc-dev-armhf-cross locales openbox p7zip patch perl php7.3-cgi pkg-config python python-cherrypy3 python-crypto python-dev python-numpy python-opencv python-openssl python-psutil python-yaml rpm ruby subversion texinfo uuid-dev wdiff x11-utils xcompmgr xsltproc xutils-dev xvfb xz-utils zip zlib1g It produced the following output: Reading package lists... Building dependency tree... Reading state information... autoconf is already the newest version (2.69-11ubuntu1). bzip2 is already the newest version (1.0.6-9.2). curl is already the newest version (7.65.3-1ubuntu3). dbus-x11 is already the newest version (1.12.14-1ubuntu2). dbus-x11 set to manually installed. dpkg-dev is already the newest version (1.19.7ubuntu2). dpkg-dev set to manually installed. fakeroot is already the newest version (1.24-1). fakeroot set to manually installed. libappindicator3-1 is already the newest version (12.10.1+18.04.20180322.1-0ubuntu4). libappindicator3-1 set to manually installed. libatk1.0-0 is already the newest version (2.34.0-1). libatk1.0-0 set to manually installed. libatspi2.0-0 is already the newest version (2.34.0-2). libatspi2.0-0 set to manually installed. libbrlapi0.6 is already the newest version (5.6-11ubuntu2). libbrlapi0.6 set to manually installed. libbz2-1.0 is already the newest version (1.0.6-9.2). libcairo2 is already the newest version (1.16.0-4). libcairo2 set to manually installed. libcap2 is already the newest version (1:2.25-2). libdrm2 is already the newest version (2.4.99-1ubuntu1). libdrm2 set to manually installed. libevdev2 is already the newest version (1.8.0+dfsg-2). libevdev2 set to manually installed. libexpat1 is already the newest version (2.2.7-2). libffi6 is already the newest version (3.2.1-9). libfontconfig1 is already the newest version (2.13.1-2ubuntu2). libfontconfig1 set to manually installed. libfreetype6 is already the newest version (2.9.1-4). libfreetype6 set to manually installed. libgtk-3-0 is already the newest version (3.24.12-1ubuntu1). libgtk-3-0 set to manually installed. libinput10 is already the newest version (1.14.1-2). libinput10 set to manually installed. libnspr4 is already the newest version (2:4.21-2build1). libnspr4 set to manually installed. libpci3 is already the newest version (1:3.6.2-2). libpci3 set to manually installed. libpcre3 is already the newest version (2:8.39-12). libpixman-1-0 is already the newest version (0.38.4-0ubuntu1). libpixman-1-0 set to manually installed. libpng16-16 is already the newest version (1.6.37-1). libpng16-16 set to manually installed. libspeechd2 is already the newest version (0.9.1-2). libspeechd2 set to manually installed. libssl-dev is already the newest version (1.1.1c-1ubuntu4). libstdc++6 is already the newest version (9.2.1-9ubuntu2). libtool is already the newest version (2.4.6-11). libvulkan1 is already the newest version (1.1.114.0-1). libvulkan1 set to manually installed. libwww-perl is already the newest version (6.39-1). libwww-perl set to manually installed. libx11-6 is already the newest version (2:1.6.8-1). libx11-6 set to manually installed. libx11-xcb1 is already the newest version (2:1.6.8-1). libx11-xcb1 set to manually installed. libxau6 is already the newest version (1:1.0.9-0ubuntu1). libxau6 set to manually installed. libxcb1 is already the newest version (1.13.1-2). libxcb1 set to manually installed. libxcomposite1 is already the newest version (1:0.4.5-0ubuntu1). libxcomposite1 set to manually installed. libxcursor1 is already the newest version (1:1.2.0-2). libxcursor1 set to manually installed. libxdamage1 is already the newest version (1:1.1.5-1). libxdamage1 set to manually installed. libxdmcp6 is already the newest version (1:1.1.3-0ubuntu1). libxdmcp6 set to manually installed. libxext6 is already the newest version (2:1.3.4-0ubuntu1). libxext6 set to manually installed. libxfixes3 is already the newest version (1:5.0.3-1). libxfixes3 set to manually installed. libxi6 is already the newest version (2:1.7.10-0ubuntu1). libxi6 set to manually installed. libxinerama1 is already the newest version (2:1.1.4-2). libxinerama1 set to manually installed. libxrandr2 is already the newest version (2:1.5.2-0ubuntu1). libxrandr2 set to manually installed. libxrender1 is already the newest version (1:0.9.10-1). libxrender1 set to manually installed. libxtst-dev is already the newest version (2:1.2.3-1). libxtst6 is already the newest version (2:1.2.3-1). libxtst6 set to manually installed. patch is already the newest version (2.7.6-6). patch set to manually installed. perl is already the newest version (5.28.1-6build1). perl set to manually installed. pkg-config is already the newest version (0.29.1-0ubuntu3). x11-utils is already the newest version (7.7+4build1). x11-utils set to manually installed. xz-utils is already the newest version (5.2.4-1). zip is already the newest version (3.0-11build1). zip set to manually installed. zlib1g is already the newest version (1:1.2.11.dfsg-1ubuntu3). libcap2:i386 is already the newest version (1:2.25-2). libcap2:i386 set to manually installed. libfontconfig1:i386 is already the newest version (2.13.1-2ubuntu2). libfontconfig1:i386 set to manually installed. libgpm2:i386 is already the newest version (1.20.7-5). libgpm2:i386 set to manually installed. libssl1.1:i386 is already the newest version (1.1.1c-1ubuntu4). libssl1.1:i386 set to manually installed. libx11-xcb1:i386 is already the newest version (2:1.6.8-1). libx11-xcb1:i386 set to manually installed. libxcomposite1:i386 is already the newest version (1:0.4.5-0ubuntu1). libxcomposite1:i386 set to manually installed. libxcursor1:i386 is already the newest version (1:1.2.0-2). libxcursor1:i386 set to manually installed. libxdamage1:i386 is already the newest version (1:1.1.5-1). libxdamage1:i386 set to manually installed. libxi6:i386 is already the newest version (2:1.7.10-0ubuntu1). libxi6:i386 set to manually installed. libxrandr2:i386 is already the newest version (2:1.5.2-0ubuntu1). libxrandr2:i386 set to manually installed. libxss1:i386 is already the newest version (1:1.2.3-1). libxss1:i386 set to manually installed. gperf is already the newest version (3.1-1). python is already the newest version (2.7.17-1). python set to manually installed. python-openssl is already the newest version (19.0.0-1). python-openssl set to manually installed. binutils is already the newest version (2.33-2ubuntu1.2). binutils set to manually installed. git is already the newest version (1:2.20.1-2ubuntu1.19.10.3). libcups2 is already the newest version (2.2.12-2ubuntu1.1). libcups2 set to manually installed. libglib2.0-0 is already the newest version (2.62.4-1~ubuntu19.10.2). libnss3 is already the newest version (2:3.45-1ubuntu2.2). libnss3 set to manually installed. libsqlite3-0 is already the newest version (3.29.0-2ubuntu0.2). libglib2.0-0:i386 is already the newest version (2.62.4-1~ubuntu19.10.2). libglib2.0-0:i386 set to manually installed. libasound2 is already the newest version (1.1.9-0ubuntu1.3). libasound2 set to manually installed. libc6 is already the newest version (2.30-0ubuntu2.1). libc6-dev is already the newest version (2.30-0ubuntu2.1). libgbm1 is already the newest version (19.2.8-0ubuntu0~19.10.3). libgbm1 set to manually installed. libpam0g is already the newest version (1.3.1-5ubuntu1.19.10.1). libuuid1 is already the newest version (2.34-0.1ubuntu2.4). locales is already the newest version (2.30-0ubuntu2.1). libasound2:i386 is already the newest version (1.1.9-0ubuntu1.3). libasound2:i386 set to manually installed. libuuid1:i386 is already the newest version (2.34-0.1ubuntu2.4). libuuid1:i386 set to manually installed. libpulse0 is already the newest version (1:12.2-9~eoan1). libpulse0 set to manually installed. libudev1 is already the newest version (242-7ubuntu3.7pop0~1586791620~19.10~8ba57c6). libudev1:i386 is already the newest version (242-7ubuntu3.7pop0~1586791620~19.10~8ba57c6). libudev1:i386 set to manually installed. Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: linux-libc-dev : Breaks: linux-libc-dev:i386 (!= 5.3.0-7648.41~1586789791~19.10~9593806) but 5.3.0-51.44 is to be installed linux-libc-dev:i386 : Breaks: linux-libc-dev (!= 5.3.0-51.44) but 5.3.0-7648.41~1586789791~19.10~9593806 is to be installed You will have to install the above packages yourself. ```