Opened 5 months ago

Closed 12 days ago

#69945 closed defect (fixed)

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)

main.log (2.3 MB) - added by derek-teaney 5 months ago.
Log file
FREETYPE-configure-out.log (1.1 KB) - added by jschwdt (Joern Schwandt) 5 months ago.
FREETYPE-configure-err.log (174 bytes) - added by jschwdt (Joern Schwandt) 5 months ago.

Change History (20)

Changed 5 months ago by derek-teaney

Attachment: main.log added

Log file

comment:1 Changed 5 months ago by derek-teaney

Summary: root6: fails to compileroot6: @6root6-6.30.06 fails to install on sonoma, arm64

comment:2 Changed 5 months ago by derek-teaney

Summary: root6: @6root6-6.30.06 fails to install on sonoma, arm64root6: @6.30.06 fails to install on sonoma, arm64

comment:3 Changed 5 months 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 5 months ago by jmroot (Joshua Root)

Cc: mojca added
Owner: set to cjones051073
Status: newassigned

comment:5 Changed 5 months 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 5 months 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 5 months ago by jschwdt (Joern Schwandt)

Attachment: FREETYPE-configure-out.log added

Changed 5 months ago by jschwdt (Joern Schwandt)

Attachment: FREETYPE-configure-err.log added

comment:7 Changed 5 months ago by jschwdt (Joern Schwandt)

I have added the FREETYPE-configure-*.log files for a clean ebuld attempt.

comment:8 Changed 5 months 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 Changed 5 months ago by cjones051073 (Chris Jones)

Are you running a case sensitive or insensitive filesystem ?

comment:10 in reply to:  8 ; Changed 5 months 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 me file descriptors than old ones did, or they might have a file descriptor leak.

Version 0, edited 5 months ago by ryandesign (Ryan Carsten Schmidt) (next)

comment:11 in reply to:  10 Changed 5 months 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 Changed 5 months 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 in reply to:  9 Changed 5 months ago by jschwdt (Joern Schwandt)

Replying to cjones051073:

Are you running a case sensitive or insensitive filesystem ?

An insensitive filesystem.

comment:14 in reply to:  12 Changed 5 months 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 5 months ago by Chris Jones <jonesc@…>

In d6d3e9e9feaa99bd7f1b8d551f776d5587368dbb/macports-ports (master):

root6: disable parallel builds

See: #69945

comment:16 Changed 5 months 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.

comment:17 Changed 12 days ago by cjones051073 (Chris Jones)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.