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

libncurses5-shlibs corrupted building fink on 10.15 catalina using bootstrap or tool fails #1213

Open
fspkwon opened this issue Jan 26, 2025 · 4 comments

Comments

@fspkwon
Copy link

fspkwon commented Jan 26, 2025

Unpacking libncurses5 (from .../libncurses5_5.9-20110507-1_darwin-x86_64.deb) ...
Selecting previously deselected package ncurses.
Unpacking ncurses (from .../ncurses_5.9-20110507-1_darwin-x86_64.deb) ...
Selecting previously deselected package libncurses5-shlibs.
Unpacking libncurses5-shlibs (from .../libncurses5-shlibs_5.9-20110507-1_darwin-x86_64.deb) ...
/opt/sw2/bootstrap/bin/dpkg: error processing /opt/sw2/fink/dists/stable/main/binary-darwin-x86_64/base/libncurses5-shlibs_5.9-20110507-1_darwin-x86_64.deb (--install):
corrupted filesystem tarfile - corrupted package archive: Undefined error: 0
/opt/sw2/bootstrap/bin/dpkg-deb: subprocess paste killed by signal (Broken pipe: 13)

i do believe its compiling everything from source and not using binaries....
im using xcode 12 and latest fink and latest macos catalina

theres no log that im aware of...

@dhomeier
Copy link
Contributor

There is no more binary distribution, so all packages are built from source. It looks like your .deb was built, but broken somehow. Were there any messages about building the package further up? If not, it might be an older build, possibly compiled under older macOS and Xcode. Can you try to fink --validate --log-output rebuild libncurses5 and then retry the install (log file should be under /tmp-fink-build-log_libncurses*)?

@fspkwon
Copy link
Author

fspkwon commented Jan 26, 2025

so i should set up the working directory environment to the /temporary build folder, and try running those commands manually
, ok , how would one get the installer script tool to progress further or am i overlooking the thorough just build it manually page
ill figure that out... i assume so... , and im not on Mountain Lion, im not on Tiger, im not on Mojave im on the last Mac OS X Catalina 10.15 and the Latest Supported Xcode 12... im assuming is out of sync with its specific build requirements is it TCL also i just heard about TCL being different than python and all that that says like markup language etc has a purpose or a reason...

@dhomeier
Copy link
Contributor

Not need trying to do anything manually at this point, just check if fink rebuild can do the job. Your output posted so far does not show anything about the build step itself. But since you obviously do have a package file in
/opt/sw2/fink/dists/stable/main/binary-darwin-x86_64/base/libncurses5-shlibs_5.9-20110507-1_darwin-x86_64.deb
perhaps the very first step is to check with ls -l if it was freshly built or left over from some previous installation, then maybe try dpkg-deb --info and dpkg-deb -c to confirm if something is wrong with that file.

@nieder
Copy link
Member

nieder commented Feb 2, 2025

Following up on @dhomeier 's instructions, in terminal, run these 2 commands from terminal.app:

dpkg-deb --info /opt/sw2/fink/dists/stable/main/binary-darwin-x86_64/base/libncurses5-shlibs_5.9-20110507-1_darwin-x86_64.deb
dpkg-deb -c /opt/sw2/fink/dists/stable/main/binary-darwin-x86_64/base/libncurses5-shlibs_5.9-20110507-1_darwin-x86_64.deb

If you get an error about dpkg-deb not present, try replacing dpkg-deb with /opt/sw2/bootstrap/bin/dpkg-deb (and then the rest of each command.

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

No branches or pull requests

3 participants