Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./mach bootstrap doesn't work on Pop!_OS (Ubuntu) #25965

Closed
humancalico opened this issue Mar 14, 2020 · 7 comments
Closed

./mach bootstrap doesn't work on Pop!_OS (Ubuntu) #25965

humancalico opened this issue Mar 14, 2020 · 7 comments

Comments

@humancalico
Copy link
Contributor

@humancalico humancalico commented Mar 14, 2020

Traceback (most recent call last):
  File "./mach", line 103, in <module>
    main(sys.argv)
  File "./mach", line 31, in main
    sys.exit(mach_bootstrap.bootstrap_command_only(topdir))
  File "/home/humancalico/oss/servo/python/mach_bootstrap.py", line 254, in bootstrap_command_only
    bootstrap(context, force)
  File "/home/humancalico/oss/servo/python/servo/bootstrap.py", line 401, in bootstrap
    distrib, version = get_linux_distribution()
  File "/home/humancalico/oss/servo/python/servo/bootstrap.py", line 389, in get_linux_distribution
    raise Exception('mach bootstrap does not support %s, please file a bug' % distrib)
Exception: mach bootstrap does not support Pop!_OS, please file a bug
@humancalico humancalico changed the title `./mach bootstrap` doesn't work on Pop!_OS (Ubuntu) ./mach bootstrap doesn't work on Pop!_OS (Ubuntu) Mar 14, 2020
@humancalico
Copy link
Contributor Author

@humancalico humancalico commented Mar 14, 2020

Also I have run the command sudo apt install git curl autoconf libx11-dev libfreetype6-dev libgl1-mesa-dri \ libglib2.0-dev xorg-dev gperf g++ build-essential cmake libssl-dev \ libbz2-dev liblzma-dev libosmesa6-dev libxmu6 libxmu-dev libglu1-mesa-dev \ libgles2-mesa-dev libegl1-mesa-dev libdbus-1-dev libharfbuzz-dev ccache \ clang libunwind-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \ libgstreamer-plugins-bad1.0-dev autoconf2.13 llvm-dev and then I ran ./mach bootstrap-gstreamer to set GStreamer up and it reported:

Error running mach:

    ['bootstrap-gstreamer']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

Exception: mach bootstrap does not support Pop!_OS, please file a bug

  File "/home/humancalico/oss/servo/python/servo/bootstrap_commands.py", line 65, in bootstrap_gstreamer
    return bootstrap.bootstrap(self.context, force=force, specific="gstreamer")
  File "/home/humancalico/oss/servo/python/servo/bootstrap.py", line 401, in bootstrap
    distrib, version = get_linux_distribution()
  File "/home/humancalico/oss/servo/python/servo/bootstrap.py", line 389, in get_linux_distribution
    raise Exception('mach bootstrap does not support %s, please file a bug' % distrib)
@highfive
Copy link

@highfive highfive commented Mar 18, 2020

@jdm
Copy link
Member

@jdm jdm commented Mar 18, 2020

To support Pop! OS you will need to add extra handling to https://github.com/servo/servo/blob/master/python/servo/bootstrap.py#L349-L364 like we do for Linux mint, which is also based on ubuntu.

@humancalico
Copy link
Contributor Author

@humancalico humancalico commented Mar 18, 2020

@jdm Should I send a PR for this?

@jdm
Copy link
Member

@jdm jdm commented Mar 18, 2020

Sure!

@nebrelbug
Copy link

@nebrelbug nebrelbug commented Mar 19, 2020

Whoa I was just about to open up an issue for this! Good to know it's being worked on. @humancalico if you can't get to it let me know :)

@humancalico
Copy link
Contributor Author

@humancalico humancalico commented Mar 19, 2020

Thanks @nebrelbug , I have already written the patch. But I'm having problem testing it since I have already done a manual build. So I'm setting up a VM right now. It would be great to know if there was a better way to test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

4 participants
You can’t perform that action at this time.