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

bundlebuilder --lib mishandles frameworks #39858

Closed
reowen mannequin opened this issue Jan 23, 2004 · 4 comments
Closed

bundlebuilder --lib mishandles frameworks #39858

reowen mannequin opened this issue Jan 23, 2004 · 4 comments
Assignees
Labels

Comments

@reowen
Copy link
Mannequin

reowen mannequin commented Jan 23, 2004

BPO 883283
Nosy @jackjansen

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/jackjansen'
closed_at = <Date 2004-07-16.22:55:38.000>
created_at = <Date 2004-01-23.20:44:22.000>
labels = ['OS-mac']
title = 'bundlebuilder --lib mishandles frameworks'
updated_at = <Date 2004-07-16.22:55:38.000>
user = 'https://bugs.python.org/reowen'

bugs.python.org fields:

activity = <Date 2004-07-16.22:55:38.000>
actor = 'jackjansen'
assignee = 'jackjansen'
closed = True
closed_date = None
closer = None
components = ['macOS']
creation = <Date 2004-01-23.20:44:22.000>
creator = 'reowen'
dependencies = []
files = []
hgrepos = []
issue_num = 883283
keywords = []
message_count = 4.0
messages = ['19795', '19796', '19797', '19798']
nosy_count = 2.0
nosy_names = ['jackjansen', 'reowen']
pr_nums = []
priority = 'normal'
resolution = 'works for me'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue883283'
versions = ['Python 2.3']

@reowen
Copy link
Mannequin Author

reowen mannequin commented Jan 23, 2004

The bundlebuilder command-line argument --lib is supposed to be able to include frameworks in the resulting Mac app. Unfortunately, the aliases in the resulting framework copy are all broken.

For an example of this, use --lib to include Tcl.framework and then look through the framework in the resulting application package. Frameworks normally have quite a few handy aliases (such as .../Versions/Current) and all the aliases I tried were broken.

I'm not entirely sure if this actually breaks anything. The one app I've managed to build with standalone=True and use of --lib to include the Tk and Tcl frameworks runs fine on my Mac (which has Python, Tcl and Tk frameworks installed) but fails with "True undefined" on another Mac running Jaguar that I happened to have handy.

This 2nd problem may be a separate bug or user error on my part. I'm not yet sure.

@reowen reowen mannequin closed this as completed Jan 23, 2004
@reowen reowen mannequin assigned jackjansen Jan 23, 2004
@reowen reowen mannequin added the OS-mac label Jan 23, 2004
@reowen reowen mannequin closed this as completed Jan 23, 2004
@reowen reowen mannequin assigned jackjansen Jan 23, 2004
@reowen reowen mannequin added the OS-mac label Jan 23, 2004
@jackjansen
Copy link
Member

Logged In: YES
user_id=45365

I cannot repeat this, neither with 2.4a1 nor with 2.3: I always get
symlinks where they are expected. I tried the following command line
(with test.py being a simple hello world script), on MacOS 10.3.4 with
apple-installed Python:

/usr/bin/python /System/Library/Frameworks/Python.framework/
Versions/2.3/lib/python2.3/plat-mac/bundlebuilder.py -m test.py --lib /
Library/Frameworks/Tcl.framework build

and I got symlinks just fine. Feel free to reopen the bug report if you
have more info.

@reowen
Copy link
Mannequin Author

reowen mannequin commented Jul 16, 2004

Logged In: YES
user_id=431773

I see. I also can follow the links using the unix command line. However, I
cannot follow them using Finder. The links in the original packages *can* be
followed in Finder, which is why I thought things were seriously broken.

So there is a bug in bundlebuilder (or it is exposing a bug in Finder), but its
more cosmetic than functional. Still...it'd be nice to have normal Finder
navigation work if the problem is fixable.

@jackjansen
Copy link
Member

Logged In: YES
user_id=45365

That's weird... Could it be that the original has symlinks that somehow
double as aliases (symlinks with a resource fork??!?)?

Any ideas?

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant