[MacPorts] #64488: darktable-devel @3.8.0_1: rebuilds dependent ports with "+universal" when that isn't specified

MacPorts noreply at macports.org
Fri Jan 21 17:24:19 UTC 2022


#64488: darktable-devel @3.8.0_1: rebuilds dependent ports with "+universal" when
that isn't specified
-----------------------------------------+-----------------------------
 Reporter:  bal-agates                   |      Owner:  (none)
     Type:  defect                       |     Status:  new
 Priority:  Normal                       |  Milestone:
Component:  ports                        |    Version:  2.7.1
 Keywords:  darktable universal sqlite3  |       Port:  darktable-devel
-----------------------------------------+-----------------------------
 I was trying to install darktable-devel.  For unknown reasons it was
 rebuilding dependents, at least some, with "+universal".  Eventually it
 ran into a rebuild problem with sqlite3 (see attached sqlite3_config.log)
 which failed in config.  I believe the sqlite3 config problem is separate
 issue for "+universal" builds where a dependent is specified with a path
 but that dependent is not a universal (i.e. it is trying to build an
 x86_64 object including a library that only has an arm64 component).

 My fundamental question is: what is causing this to rebuild dependents
 "+universal"?  The darktable-devel portfile defines no universal variant
 and has "universal_variant no".  Is there some dependent port that is
 triggering this?  Is there something in one of the port groups triggering
 this?  How can I debug?  I have no use for a universal build.  I only want
 for my computers architecture (i.e. arm64).

 Here is a recent build attempt.  Note that this does not capture dependent
 ports that were successfully rebuilt on prior attempts.

 {{{
 $ sudo port install -d -k darktable-devel
 --->  Computing dependencies for sqlite3
 --->  Fetching archive for sqlite3
 --->  Attempting to fetch
 sqlite3-3.37.2_0+universal.darwin_21.arm64-x86_64.tbz2 from
 https://packages.macports.org/sqlite3
 --->  Attempting to fetch
 sqlite3-3.37.2_0+universal.darwin_21.arm64-x86_64.tbz2 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/sqlite3
 --->  Attempting to fetch
 sqlite3-3.37.2_0+universal.darwin_21.arm64-x86_64.tbz2 from
 https://mse.uk.packages.macports.org/sqlite3
 --->  Configuring sqlite3
 Error: Failed to configure sqlite3: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_sqlite3/sqlite3/work
 /sqlite-autoconf-3370200/config.log
 Error: Failed to configure sqlite3: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_sqlite3/sqlite3/main.log
 for details.
 Error: Unable to execute port: upgrade atk failed
 }}}

 I also tried an install disabling universal as follows but that didn't
 help.

 {{{
 $ sudo port install -d -k darktable-devel -universal
 }}}

 I already have the latest (non-universal) sqlite3 built.

 {{{
 $ port installed | grep sqlite3
   sqlite3 @3.37.0_0
   sqlite3 @3.37.2_0 (active)
 }}}

 I also tried building darktable @3.6.1 (the non-devel version) and that
 seemed to have the same problem.

-- 
Ticket URL: <https://trac.macports.org/ticket/64488>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list