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

Update depfixer to fix rpaths also on OSX. #3356

Merged
merged 1 commit into from
Apr 8, 2018
Merged

Update depfixer to fix rpaths also on OSX. #3356

merged 1 commit into from
Apr 8, 2018

Conversation

jpakkane
Copy link
Member

@jpakkane jpakkane commented Apr 2, 2018

No description provided.

@@ -337,19 +338,52 @@ def remove_rpath_entry(self, entrynum):
entry.write(self.bf)
return None

def fix_elf(fname, new_rpath):
with Elf(fname) as e:
if len(args) == 1:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Flake8]

[F821] undefined name 'args'

fix_elf(args)
return 0
except Exception:
pass
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we detect which fixer to use in a way that does not hide random unrelated exceptions?

new_rpath = args[1]
e.fix_rpath(new_rpath)
return 0
fname = args[0]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Flake8]

[F841] local variable 'fname' is assigned to but never used

@jpakkane jpakkane merged commit aed11af into master Apr 8, 2018
@jpakkane jpakkane deleted the osxrpath branch April 8, 2018 16:48
iMichka added a commit to iMichka/homebrew-core that referenced this pull request Aug 24, 2019
meson-internal was introduced in Homebrew#25667

A patch was proposed upstream in
mesonbuild/meson#2577, but never merged.

It looks like the issues were fixed by
mesonbuild/meson#3555
mesonbuild/meson#3691
mesonbuild/meson#3356

Now that we are one year later, and things have settled down,
try to use meson everywhere and drop meson-internal, which is outdated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants