#60963 closed defect (fixed)
texlive-bin @2020.54632_1 -x11 configure fails with: Sorry, you need snprintf and vsnprintf.
Reported by: | dubiousjim | Owned by: | drkp (Dan Ports) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.3 |
Keywords: | Cc: | dubiousjim, easieste, gallafent | |
Port: | texlive-bin |
Description
I can't build texlive-bin with a new install of OS X 10.15.6, Xcode 11.6. Have sudo port deactivate active; sudo port install -Nv texlive-bin build.jobs=1
. My /opt/local/etc/macports/variants.conf has +no_x11 -x11 +quartz -universal
.
Will attach log of failed install.
Attachments (2)
Change History (12)
Changed 4 years ago by dubiousjim
Attachment: | fourth.log added |
---|
comment:1 Changed 4 years ago by easye
Cc: | easieste added |
---|
comment:2 Changed 4 years ago by ned-deily (Ned Deily)
Build from source failed for me in the same way, i.e. configure tests failing. Solved by following the procedure to update the Command Line Tools (https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt).
comment:4 Changed 4 years ago by drkp (Dan Ports)
Yes, seems like this is a problem with the latest Xcode or CLT update -- I'm not sure exactly which
comment:5 Changed 4 years ago by dubiousjim
After a recent update texlive-bin needs to be rebuilt:
$ sudo port -v rev-upgrade ---> Scanning binaries for linking errors Could not open /opt/local/lib/libicudata.65.dylib: Error opening or reading file (referenced from /opt/local/libexec/texlive/binaries/bibtexu) Could not open /opt/local/lib/libicuuc.65.dylib: Error opening or reading file (referenced from /opt/local/libexec/texlive/binaries/bibtexu) Could not open /opt/local/lib/libicui18n.65.dylib: Error opening or reading file (referenced from /opt/local/libexec/texlive/binaries/bibtexu) Could not open /opt/local/lib/libicuio.65.dylib: Error opening or reading file (referenced from /opt/local/libexec/texlive/binaries/bibtexu) ---> Found 11 broken files, matching files to ports ---> Found 1 broken port, determining rebuild order You can always run 'port rev-upgrade' again to fix errors. The following ports will be rebuilt: texlive-bin @2020.54632
But when I try to rebuild I get the "Sorry, you need snprintf and vsnprintf." error again. Now I find that this error persists even after following the linked technique for updating the Command Line Tools.
Changed 4 years ago by snowflake (Dave Evans)
Attachment: | patch-texk_kpathsea_configure.diff added |
---|
Patch for configure in text/kpathsea
comment:6 Changed 4 years ago by snowflake (Dave Evans)
I had this "Sorry, you need snprintf and vsnprintf.".
I fixed it with a patch added to the Portfile and files
Please see "Patch for configure in texk/kpathsea" in the Attachments.
texlive-bin now builds on Xcode 12 and Big Sur
comment:7 Changed 4 years ago by gallafent
Cc: | gallafent added |
---|
comment:8 Changed 4 years ago by michaelld (Michael Dickens)
Thanks @snowflake : https://github.com/macports/macports-ports/pull/8514
comment:9 Changed 4 years ago by michaelld (Michael Dickens)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:10 Changed 4 years ago by mojca (Mojca Miklavec)
Upstream has fixed this problem a while ago (I wasn't aware):
Further changes are potentially needed in the upstream, but those are about dependencies of TeX Live like fontforge, libpng etc.
The build fails for me without any variants specified.