Skip to content

Add workaround for install_name_tool issue#3278

Merged
JCGoran merged 1 commit into
masterfrom
jelic/fix_install_name_tool_issue
Dec 9, 2024
Merged

Add workaround for install_name_tool issue#3278
JCGoran merged 1 commit into
masterfrom
jelic/fix_install_name_tool_issue

Conversation

@JCGoran

@JCGoran JCGoran commented Dec 8, 2024

Copy link
Copy Markdown
Collaborator

Hopefully fixes #3277.
According to the ld man page:

-headerpad_max_install_names
  Automatically adds space for future expansion of load commands such that all paths could expand
  to MAXPATHLEN.  Only useful if intend to run install_name_tool to alter the load commands later.

According to man 2 statfs:

     #define MAXPATHLEN      1024

which I'm guessing is the same MAXPATHLEN (haven't found references to any others), in which case we should be good for a while.

@JCGoran JCGoran requested a review from nrnhines December 8, 2024 16:11
@sonarqubecloud

sonarqubecloud Bot commented Dec 8, 2024

Copy link
Copy Markdown

@alkino

alkino commented Dec 8, 2024

Copy link
Copy Markdown
Member

Nice find, useful to know

@azure-pipelines

Copy link
Copy Markdown

✔️ 4976ad0 -> Azure artifacts URL

@codecov

codecov Bot commented Dec 8, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.06%. Comparing base (d177f5b) to head (4976ad0).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3278      +/-   ##
==========================================
- Coverage   67.07%   67.06%   -0.01%     
==========================================
  Files         571      571              
  Lines      111110   111072      -38     
==========================================
- Hits        74528    74493      -35     
+ Misses      36582    36579       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JCGoran JCGoran mentioned this pull request Dec 8, 2024
2 tasks
@JCGoran JCGoran merged commit 47b0359 into master Dec 9, 2024
@JCGoran JCGoran deleted the jelic/fix_install_name_tool_issue branch December 9, 2024 12:55
JCGoran pushed a commit that referenced this pull request Jan 25, 2025
nrnhines added a commit that referenced this pull request Mar 24, 2025
At starting point, jelic/8.2-py313 #3319 had only two CI failures.

Almost the entirety of this PR is to get 8.2 to pass CI.
In addition it supports Python3.13.
Bug fixes adopted from the master are
#3239 Launching nrniv -python with Python 3.13.0 does not allow use of gui.
#3259 On h.quit() terminal settings are same as when neuron.hoc was imported.
#3243 save stdin terminal settings on import hoc and restore on h.quit()
#3276 Python 3.13.1 broke [s for s in sl] where sl is a SectionList. Manual partial cherry-pick.

Other PR attempts at fixing CI failures that can be closed when this PR is merged, are #3329 #3325 #3319 #3317

Many of the CI fixes are backports from #3028 #3040 #3303 #3105 #3278

bldnrnmacpkgcmake.sh was updated. It isolates a change (avoid breaking CI) with -DNRN_MAC_PKG=ON
---------

Co-authored-by: Goran Jelic-Cizmek <goran.jelic-cizmek@epfl.ch>
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.

Sporadic failures to build MacOS wheels due to install_name_tool errors

3 participants