Ticket created : https://trac.macports.org/ticket/62173
Gilles Caulier Le jeu. 28 janv. 2021 à 19:17, Craig Treleaven <ctrelea...@cogeco.ca> a écrit : > > > On Jan 28, 2021, at 12:30 PM, Gilles Caulier <caulier.gil...@gmail.com> > > wrote: > > > > > > Of course as expected it stop after a long computation. It's about a > > ffmpeg dependency : gmp > > > > [macports/tools] > clean gmp > > ---> Cleaning gmp > > [macports/tools] > install gmp > > ---> Fetching distfiles for gmp > > ---> Verifying checksums for gmp > > ---> Extracting gmp > > ---> Applying patches to gmp > > ---> Configuring gmp > > Error: Failed to configure gmp, consult > > /opt/digikam.org.arm64/var/macports/build/_opt_digikam.org.arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.2.1/config.log > > Error: Failed to configure gmp: configure failure: command execution failed > > Error: See > > /opt/digikam.org.arm64/var/macports/logs/_opt_digikam.org.arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gmp/gmp/main.log > > for details. > > Error: Follow https://guide.macports.org/#project.tickets to report a bug. > > Error: Processing of port gmp failed > > > > Are you agree that i open a generic file in bugzilla about digiKam > > deps broken with Silicon ? > > Hmm, as of now, our user-submitted stats show that there are 14 installations > of gmp on arm64: > > https://ports.macports.org/port/gmp/stats?days=30&days_ago=0 > > I presume that is people with M1 Macs that have built and installed the > software on that machine. > > The gmp port has some interesting comments and code related to informing > configure of the (build?) CPU in order to get the best performance from the > compiled code: > > https://github.com/macports/macports-ports/blob/master/devel/gmp/Portfile#L104 > > If I read this right (which is not at all assured), it looks like for > non-universal builds, it is assuming that the build and target machines must > have the same CPU. Which is the opposite of your case. Perhaps you would > have more success if you tried to build everything universal? > > The log referred to in the error messages > (/opt/digikam.org.arm64/var/macports/logs/_opt_digikam.org.arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gmp/gmp/main.log) > should confirm if this was the problem. > > If you need to file a ticket, have it refer to the port that is failing. It > is not especially relevant that you are trying to install it as part of the > installation of DigiKam. > > Craig