[MacPorts] #56300: Travis build failure of xorg-libXau

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[MacPorts] #56300: Travis build failure of xorg-libXau

MacPorts
#56300: Travis build failure of xorg-libXau
----------------------------+---------------------
 Reporter:  ryandesign      |      Owner:  admin@…
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  server/hosting  |    Version:
 Keywords:                  |       Port:
----------------------------+---------------------
 In the attached log, why is Travis trying to build xorg-libXau from
 source? It is distributable and an archive is available.

 Why is it skipping all of the phases before the configure phase?

 {{{
 DEBUG: Skipping completed org.macports.archivefetch (xorg-libXau)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: Skipping completed org.macports.fetch (xorg-libXau)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: Skipping completed org.macports.checksum (xorg-libXau)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: Skipping completed org.macports.extract (xorg-libXau)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: Skipping completed org.macports.patch (xorg-libXau)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 }}}

 Travis is supposed to build each port in a clean environment. None of the
 phases of any port should be marked as completed at that point.

 Why, having decided to build xorg-libXau from source for whatever reason,
 is xorg-libXau's dependency pkg-config not present and active, which
 results in its configure script failing?

--
Ticket URL: <https://trac.macports.org/ticket/56300>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56300: Travis build failure of xorg-libXau

MacPorts
#56300: Travis build failure of xorg-libXau
-----------------------------+---------------------
  Reporter:  ryandesign      |      Owner:  admin@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  server/hosting  |    Version:
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+---------------------
Changes (by ryandesign):

 * Attachment "07aabf1d09a4.txt" added.


--
Ticket URL: <https://trac.macports.org/ticket/56300>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56300: Travis build failure of xorg-libXau

MacPorts
In reply to this post by MacPorts
#56300: Travis build failure of xorg-libXau
-----------------------------+---------------------
  Reporter:  ryandesign      |      Owner:  admin@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  server/hosting  |    Version:
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+---------------------

Comment (by raimue):

 This was not the first build failure for xorg-libXau, as the port failed
 to fetch before. But the log was also lost, probably both caused by a
 temporary network problem: https://travis-ci.org/macports/macports-
 ports/jobs/365900385#L945

 I noticed the `runner` is not using `mpbb list-subports`, but
 [https://github.com/macports/mpbot-
 github/blob/c68ab523c6c357239a48734aba8498a762e755ef/ci/portutil.go#L18
 some other method]. Therefore the list of ports to build is not sorted in
 dependency order. I am not sure if this could be the cause, but it should
 be fixed anyway.

--
Ticket URL: <https://trac.macports.org/ticket/56300#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56300: Travis build failure of xorg-libXau

MacPorts
In reply to this post by MacPorts
#56300: Travis build failure of xorg-libXau
-----------------------------+---------------------
  Reporter:  ryandesign      |      Owner:  admin@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  server/hosting  |    Version:
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+---------------------

Comment (by jmroot):

 Backing up a step, if this is supposed to be a clean environment, how are
 a number of the dependencies already installed?

--
Ticket URL: <https://trac.macports.org/ticket/56300#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56300: Travis build failure of xorg-libXau

MacPorts
In reply to this post by MacPorts
#56300: Travis build failure of xorg-libXau
-----------------------------+---------------------
  Reporter:  ryandesign      |      Owner:  admin@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  server/hosting  |    Version:
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+---------------------

Comment (by raimue):

 See the link to the Travis build for the whole log of port install
 operations. After each subport, its build log is uploaded to
 paste.macports.org. The attached log is only the build log for one of the
 ports (rb-gstreamer), but other ports were installed before.

--
Ticket URL: <https://trac.macports.org/ticket/56300#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56300: Travis build failure of xorg-libXau

MacPorts
In reply to this post by MacPorts
#56300: Travis build failure of xorg-libXau
-----------------------------+---------------------
  Reporter:  ryandesign      |      Owner:  admin@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  server/hosting  |    Version:
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+---------------------

Comment (by mojca):

 See also #56110. We first need a minor change in `list-subports` to let
 Travis use it in a proper way.

--
Ticket URL: <https://trac.macports.org/ticket/56300#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56300: Travis build failure of xorg-libXau

MacPorts
In reply to this post by MacPorts
#56300: Travis build failure of xorg-libXau
-----------------------------+---------------------
  Reporter:  ryandesign      |      Owner:  admin@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  server/hosting  |    Version:
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+---------------------

Comment (by ryandesign):

 Same problem with libidn2. Why is it trying to build libidn2 from source,
 when it is distributable and an archive exists? Why is the program
 `autoreconf` not found, when libidn2 declares a dependency on the autoconf
 port?

--
Ticket URL: <https://trac.macports.org/ticket/56300#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56300: Travis build failure of xorg-libXau

MacPorts
In reply to this post by MacPorts
#56300: Travis build failure of xorg-libXau
-----------------------------+---------------------
  Reporter:  ryandesign      |      Owner:  admin@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  server/hosting  |    Version:
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+---------------------
Changes (by ryandesign):

 * Attachment "5014375de250.txt.bz2" added.

 libidn2 failure

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