[MacPorts] #71597: glib2 @2.78.4_1+x11 failed to build (was: base 2.10.5 Unable to do an update, failed to build glib2, Cannot map to URL 'file://.' to a p[ort description file)

MacPorts noreply at macports.org
Thu Dec 19 05:58:39 UTC 2024


#71597: glib2 @2.78.4_1+x11 failed to build
-------------------------------+----------------------
  Reporter:  InformationOcean  |      Owner:  mascguy
      Type:  defect            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.10.5
Resolution:                    |   Keywords:
      Port:  glib2             |
-------------------------------+----------------------
Changes (by jmroot):

 * status:  new => assigned
 * owner:  (none) => mascguy
 * keywords:  ports glib2 'file://.' =>
 * port:   => glib2


Old description:

> {{{janos at MacBookAir bin % sudo port selfupdate
> Password:
> --->  Checking for newer releases of MacPorts
> MacPorts base version 2.10.5 installed,
> MacPorts base version 2.10.5 available.
> --->  MacPorts base is already the latest version
> --->  Updating the ports tree
>
> The ports tree has been updated.
>
> 232 ports are outdated. Run 'port outdated' for details.
> To upgrade your installed ports, you should run
>   port upgrade outdated
> janos at MacBookAir bin % sudo port upgrade outdated
> --->  Computing dependencies for bash
> --->  Fetching archive for bash
> --->  Attempting to fetch bash-5.2.37_0.darwin_24.arm64.tbz2 from
> https://packages.macports.org/bash
> --->  Attempting to fetch bash-5.2.37_0.darwin_24.arm64.tbz2 from
> http://bos.us.packages.macports.org/bash
> --->  Attempting to fetch bash-5.2.37_0.darwin_24.arm64.tbz2 from
> https://mirrors.mit.edu/macports/packages/bash
> --->  Fetching distfiles for bash
> --->  Attempting to fetch bash52-033 from
> https://distfiles.macports.org/bash/5.2_1
> --->  Attempting to fetch bash52-034 from
> https://distfiles.macports.org/bash/5.2_1
> --->  Attempting to fetch bash52-035 from
> https://distfiles.macports.org/bash/5.2_1
> --->  Attempting to fetch bash52-036 from
> https://distfiles.macports.org/bash/5.2_1
> --->  Attempting to fetch bash52-037 from
> https://distfiles.macports.org/bash/5.2_1
> --->  Verifying checksums for bash
> --->  Extracting bash
> --->  Applying patches to bash
> --->  Configuring bash
> Warning: Configuration logfiles contain indications of -Wimplicit-
> function-declaration; check that features were not accidentally disabled:
>   dup2: found in bash-5.2/config.log
> --->  Building bash
> --->  Staging bash into destroot
> --->  Installing bash @5.2.37_0
> --->  Cleaning bash
> --->  Computing dependencies for bash
> --->  Deactivating bash @5.2.32_0
> --->  Cleaning bash
> --->  Activating bash @5.2.37_0
> --->  Cleaning bash
> --->  Computing dependencies for glib2
> --->  Fetching archive for glib2
> --->  Attempting to fetch glib2-2.78.4_1+x11.darwin_24.arm64.tbz2 from
> https://packages.macports.org/glib2
> --->  Attempting to fetch glib2-2.78.4_1+x11.darwin_24.arm64.tbz2 from
> http://bos.us.packages.macports.org/glib2
> --->  Attempting to fetch glib2-2.78.4_1+x11.darwin_24.arm64.tbz2 from
> https://mirrors.mit.edu/macports/packages/glib2
> --->  Building glib2
> Error: Failed to build glib2: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> janos at MacBookAir bin % sudo port clean
> Password:
> Can't map the URL 'file://.' to a port description file ("Could not find
> Portfile in /opt/local/bin").
> Please verify that the directory and portfile syntax are correct.
> To use the current port, you must be in a port's directory.
> janos at MacBookAir bin % ls -al port*
> -r-xr-xr-x  1 root  wheel  207415 Dec 15 23:37 port
> lr-xr-xr-x  1 root  wheel      40 Dec 15 23:37 port-tclsh ->
> /opt/local/libexec/macports/bin/tclsh8.6
> lr-xr-xr-x  1 root  wheel       4 Dec 15 23:37 portf -> port
> -r-xr-xr-x  1 root  wheel   16225 Dec 15 23:37 portindex
> -r-xr-xr-x  1 root  wheel    2316 Dec 15 23:37 portmirror
> janos at MacBookAir bin % pwd
> /opt/local/bin
> }}}

New description:

 {{{
 janos at MacBookAir bin % sudo port selfupdate
 Password:
 --->  Checking for newer releases of MacPorts
 MacPorts base version 2.10.5 installed,
 MacPorts base version 2.10.5 available.
 --->  MacPorts base is already the latest version
 --->  Updating the ports tree

 The ports tree has been updated.

 232 ports are outdated. Run 'port outdated' for details.
 To upgrade your installed ports, you should run
   port upgrade outdated
 janos at MacBookAir bin % sudo port upgrade outdated
 --->  Computing dependencies for bash
 --->  Fetching archive for bash
 --->  Attempting to fetch bash-5.2.37_0.darwin_24.arm64.tbz2 from
 https://packages.macports.org/bash
 --->  Attempting to fetch bash-5.2.37_0.darwin_24.arm64.tbz2 from
 http://bos.us.packages.macports.org/bash
 --->  Attempting to fetch bash-5.2.37_0.darwin_24.arm64.tbz2 from
 https://mirrors.mit.edu/macports/packages/bash
 --->  Fetching distfiles for bash
 --->  Attempting to fetch bash52-033 from
 https://distfiles.macports.org/bash/5.2_1
 --->  Attempting to fetch bash52-034 from
 https://distfiles.macports.org/bash/5.2_1
 --->  Attempting to fetch bash52-035 from
 https://distfiles.macports.org/bash/5.2_1
 --->  Attempting to fetch bash52-036 from
 https://distfiles.macports.org/bash/5.2_1
 --->  Attempting to fetch bash52-037 from
 https://distfiles.macports.org/bash/5.2_1
 --->  Verifying checksums for bash
 --->  Extracting bash
 --->  Applying patches to bash
 --->  Configuring bash
 Warning: Configuration logfiles contain indications of -Wimplicit-
 function-declaration; check that features were not accidentally disabled:
   dup2: found in bash-5.2/config.log
 --->  Building bash
 --->  Staging bash into destroot
 --->  Installing bash @5.2.37_0
 --->  Cleaning bash
 --->  Computing dependencies for bash
 --->  Deactivating bash @5.2.32_0
 --->  Cleaning bash
 --->  Activating bash @5.2.37_0
 --->  Cleaning bash
 --->  Computing dependencies for glib2
 --->  Fetching archive for glib2
 --->  Attempting to fetch glib2-2.78.4_1+x11.darwin_24.arm64.tbz2 from
 https://packages.macports.org/glib2
 --->  Attempting to fetch glib2-2.78.4_1+x11.darwin_24.arm64.tbz2 from
 http://bos.us.packages.macports.org/glib2
 --->  Attempting to fetch glib2-2.78.4_1+x11.darwin_24.arm64.tbz2 from
 https://mirrors.mit.edu/macports/packages/glib2
 --->  Building glib2
 Error: Failed to build glib2: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 janos at MacBookAir bin % sudo port clean
 Password:
 Can't map the URL 'file://.' to a port description file ("Could not find
 Portfile in /opt/local/bin").
 Please verify that the directory and portfile syntax are correct.
 To use the current port, you must be in a port's directory.
 janos at MacBookAir bin % ls -al port*
 -r-xr-xr-x  1 root  wheel  207415 Dec 15 23:37 port
 lr-xr-xr-x  1 root  wheel      40 Dec 15 23:37 port-tclsh ->
 /opt/local/libexec/macports/bin/tclsh8.6
 lr-xr-xr-x  1 root  wheel       4 Dec 15 23:37 portf -> port
 -r-xr-xr-x  1 root  wheel   16225 Dec 15 23:37 portindex
 -r-xr-xr-x  1 root  wheel    2316 Dec 15 23:37 portmirror
 janos at MacBookAir bin % pwd
 /opt/local/bin
 }}}

--

Comment:

 You want `sudo port clean glib2`. If it still fails after that, please
 attach the main.log.

-- 
Ticket URL: <https://trac.macports.org/ticket/71597#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list