Because pango is already marked as an optional dependency above, your second declaration of the dependency for it isn't working.

The first dependency needs to become:

```ruby
depends_on 'cairo' => :optional if build.stable?
```

So that your HEAD-only dependency isn't overridden.