Opened 11 days ago
Last modified 3 days ago
#69945 assigned defect
root6: @6.30.06 fails to install on sonoma, arm64
Reported by: | derek-teaney | Owned by: | cjones051073 (Chris Jones) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | sonoma arm64 | Cc: | mojca (Mojca Miklavec) |
Port: | root6 |
Description
After sudo port clean, upgrade, install outdated, removing old ports etc it still fails to compile Sonoma, arm64. The port is reporting poor health -- so perhaps this ticket is not appropriate.
Reading through the log file, the problem may be associated with gsl -- but it is hard to say.
Attachments (3)
Change History (19)
Changed 11 days ago by derek-teaney
comment:1 Changed 11 days ago by derek-teaney
Summary: | root6: fails to compile → root6: @6root6-6.30.06 fails to install on sonoma, arm64 |
---|
comment:2 Changed 11 days ago by derek-teaney
Summary: | root6: @6root6-6.30.06 fails to install on sonoma, arm64 → root6: @6.30.06 fails to install on sonoma, arm64 |
---|
comment:3 Changed 11 days ago by ryandesign (Ryan Carsten Schmidt)
The log says the problem is:
CMake Error at /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/work/build/FREETYPE-prefix/src/FREETYPE-stamp/FREETYPE-configure-MacPorts.cmake:49 (message): Command failed: 2 './configure' '--prefix' '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/work/build/FREETYPE-prefix' '--with-pic' '--disable-shared' '--with-png=no' '--with-bzip2=no' '--with-harfbuzz=no' '--with-brotli=no' 'CC=/usr/bin/clang -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk' 'CFLAGS=-O' See also /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/work/build/FREETYPE-prefix/src/FREETYPE-stamp/FREETYPE-configure-*.log
Please attach FREETYPE-configure-*.log.
comment:4 Changed 10 days ago by jmroot (Joshua Root)
Cc: | mojca added |
---|---|
Owner: | set to cjones051073 |
Status: | new → assigned |
comment:5 Changed 7 days ago by ryandesign (Ryan Carsten Schmidt)
We see the same problem on the buildbot, but the buildbot does not make random logs like these available, so we really need to see your logs to understand what went wrong and how to fix it.
comment:6 Changed 7 days ago by cjones051073 (Chris Jones)
exactly. I was unable in the time I had to devote to it to get these logs out of the buildbot, so just gave up hoping eventually a user would run into it (I was never able to myself) so I could then ask them to please make all the logs matching
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/work/build/FREETYPE-prefix/src/FREETYPE-stamp/FREETYPE-configure-*.log
available please, from a clean rebuild attempt.
Changed 4 days ago by jschwdt (Joern Schwandt)
Attachment: | FREETYPE-configure-out.log added |
---|
Changed 4 days ago by jschwdt (Joern Schwandt)
Attachment: | FREETYPE-configure-err.log added |
---|
comment:7 Changed 3 days ago by jschwdt (Joern Schwandt)
I have added the FREETYPE-configure-*.log files for a clean ebuld attempt.
comment:8 follow-up: 10 Changed 3 days ago by cjones051073 (Chris Jones)
The only thing I see there that is possibly any help is
make[3]: cp: Bad file descriptor make[3]: *** read jobs pipe: No such file or directory. Stop.
comment:9 follow-up: 13 Changed 3 days ago by cjones051073 (Chris Jones)
Are you running a case sensitive or insensitive filesystem ?
comment:10 follow-up: 11 Changed 3 days ago by ryandesign (Ryan Carsten Schmidt)
Replying to cjones051073:
The only thing I see there that is possibly any help is
make[3]: cp: Bad file descriptor make[3]: *** read jobs pipe: No such file or directory. Stop.
This is coming from build/FREETYPE-prefix/src/FREETYPE/builds/detect.mk where it says:
@$(COPY) $(subst /,$(SEP),$(CONFIG_RULES) $(CONFIG_MK))
Wanting to double-check that it was in the correct directory, I added the line pwd
above that one, which then failed with:
make[3]: pwd: Bad file descriptor
So it is simply running out of file descriptors. The default limit is 256. I'm now testing what happens if I increase the limit.
If this used to work, maybe new versions of cmake use more file descriptors than old ones did, or they might have a file descriptor leak.
comment:11 Changed 3 days ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign:
I'm now testing what happens if I increase the limit.
It turns out I don't know how to do that.
comment:12 follow-up: 14 Changed 3 days ago by ryandesign (Ryan Carsten Schmidt)
But adding use_parallel_build no
to the Portfile works.
Or use sudo port install root6 build.jobs=1
on the command line.
comment:13 Changed 3 days ago by jschwdt (Joern Schwandt)
Replying to cjones051073:
Are you running a case sensitive or insensitive filesystem ?
An insensitive filesystem.
comment:14 Changed 3 days ago by jschwdt (Joern Schwandt)
Replying to ryandesign:
But adding
use_parallel_build no
to the Portfile works.Or use
sudo port install root6 build.jobs=1
on the command line.
With sudo port install root6 build.jobs=1
on the command line I was able to build root6 successfully.
comment:15 Changed 3 days ago by Chris Jones <jonesc@…>
comment:16 Changed 3 days ago by cjones051073 (Chris Jones)
Its not ideal but if disabling parallel builds also the port to be built on the buildbots and elsewhere, its reasonable until a better fix is made.
Log file