[MacPorts] #62441: qBittorrent fails to build on OS X 10.10.5

MacPorts noreply at macports.org
Wed Jun 30 21:42:10 UTC 2021


#62441: qBittorrent fails to build on OS X 10.10.5
-----------------------------------+------------------------
  Reporter:  DanielSmedegaardBuus  |      Owner:  i0ntempest
      Type:  defect                |     Status:  closed
  Priority:  Low                   |  Milestone:
 Component:  ports                 |    Version:  2.6.4
Resolution:  fixed                 |   Keywords:  yosemite
      Port:  qbittorrent           |
-----------------------------------+------------------------

Comment (by DanielSmedegaardBuus):

 Roger that! And sorry for keeping you up :) I'll go to sleep as well in a
 bit, so sleep tight ;)

 For the sake of completeness, I did a port uninstall, then port clean on
 libtorrent-rasterbar, boost, and qbittorrent. Had no idea there was a
 `clean` argument available. It didn't actually uninstall all of that, as
 it wasn't all installed at this point, but either way, a subsequent
 reattempt failed the same as before - this time after actually building
 stuff.

 I then uninstalled and cleaned again, re-did the old workaround with the
 `git checkout`, and now I'm looking at some `boost/libtorrent`-related
 oddness again, as interestingly, it did fail once more:

 {{{
 cd ~/Projects/macports-ports/net/qBittorrent
  daniel at air  ~/Projects/macports-ports/net/qBittorrent   master  git
 checkout fa286ad50976db0b978940bda10c9b2a3570eaf9
 Updating files: 100% (2827/2827), done.
 Note: switching to 'fa286ad50976db0b978940bda10c9b2a3570eaf9'.

 You are in 'detached HEAD' state. You can look around, make experimental
 changes and commit them, and you can discard any commits you make in this
 state without impacting any branches by switching back to a branch.

 If you want to create a new branch to retain commits you create, you may
 do so (now or later) by using -c with the switch command. Example:

   git switch -c <new-branch-name>

 Or undo this operation with:

   git switch -

 Turn off this advice by setting config variable advice.detachedHead to
 false

 HEAD is now at fa286ad5097 qBittorrent: update to 4.3.2
  daniel at air  ~/Projects/macports-ports  ➦ fa286ad5097  sudo port
 uninstall libtorrent-rasterbar boost qbittorrent
  daniel at air  ~/Projects/macports-ports  ➦ fa286ad5097  sudo port clean
 libtorrent-rasterbar boost qbittorrent
 --->  Cleaning libtorrent-rasterbar
 --->  Cleaning boost
 --->  Cleaning qBittorrent
  daniel at air  ~/Projects/macports-ports  ➦ fa286ad5097  sudo port
 installed libtorrent-rasterbar boost qbittorrent
 None of the specified ports are installed.
  ✘  daniel at air  ~/Projects/macports-ports  ➦ fa286ad5097  cd
 net/qBittorrent
  daniel at air  ~/Projects/macports-ports/net/qBittorrent  ➦ fa286ad5097 
 sudo port install
 --->  Computing dependencies for qBittorrent
 The following dependencies will be installed:
  boost
  libtorrent-rasterbar
 Continue? [Y/n]:
 --->  Fetching archive for boost
 --->  Attempting to fetch boost-1.76_0.darwin_14.x86_64.tbz2 from
 https://packages.macports.org/boost
 --->  Attempting to fetch boost-1.76_0.darwin_14.x86_64.tbz2 from
 https://cph.dk.packages.macports.org/boost
 --->  Attempting to fetch boost-1.76_0.darwin_14.x86_64.tbz2 from
 https://nue.de.packages.macports.org/boost
 --->  Fetching distfiles for boost
 --->  Verifying checksums for boost
 --->  Extracting boost
 --->  Configuring boost
 --->  Building boost
 --->  Staging boost into destroot
 --->  Installing boost @1.76_0
 --->  Activating boost @1.76_0
 --->  Cleaning boost
 --->  Fetching archive for libtorrent-rasterbar
 --->  Attempting to fetch libtorrent-
 rasterbar-2.0.4_0+python39.darwin_14.x86_64.tbz2 from
 https://packages.macports.org/libtorrent-rasterbar
 --->  Attempting to fetch libtorrent-
 rasterbar-2.0.4_0+python39.darwin_14.x86_64.tbz2.rmd160 from
 https://packages.macports.org/libtorrent-rasterbar
 --->  Installing libtorrent-rasterbar @2.0.4_0+python39
 Warning: boost176 must be installed with +python39.
 --->  Activating libtorrent-rasterbar @2.0.4_0+python39
 --->  Cleaning libtorrent-rasterbar
 --->  Fetching archive for qBittorrent
 --->  Attempting to fetch qBittorrent-4.3.2_0+gui.darwin_14.x86_64.tbz2
 from https://packages.macports.org/qBittorrent
 --->  Attempting to fetch qBittorrent-4.3.2_0+gui.darwin_14.x86_64.tbz2
 from https://cph.dk.packages.macports.org/qBittorrent
 --->  Attempting to fetch qBittorrent-4.3.2_0+gui.darwin_14.x86_64.tbz2
 from https://lil.fr.packages.macports.org/qBittorrent
 --->  Fetching distfiles for qBittorrent
 --->  Verifying checksums for qBittorrent
 --->  Extracting qBittorrent
 --->  Configuring qBittorrent
 Warning: Qt dependency is not the latest version but may be the latest
 supported on your OS
 --->  Building qBittorrent
 --->  Staging qBittorrent into destroot
 --->  Installing qBittorrent @4.3.2_0+gui
 --->  Activating qBittorrent @4.3.2_0+gui
 --->  Cleaning qBittorrent
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 --->  Found 1 broken file, matching files to ports
 --->  Found 1 broken port, determining rebuild order
 You can always run 'port rev-upgrade' again to fix errors.
 The following ports will be rebuilt: libtorrent-rasterbar @2.0.4+python39
 Continue? [Y/n]:
 --->  Computing dependencies for libtorrent-rasterbar
 --->  Cleaning libtorrent-rasterbar
 --->  Scanning binaries for linking errors
 --->  Found 1 broken file, matching files to ports
 --->  Found 1 broken port, determining rebuild order
 --->  Rebuilding in order
      libtorrent-rasterbar @2.0.4_0+python39
 --->  Computing dependencies for libtorrent-rasterbar
 --->  Fetching distfiles for libtorrent-rasterbar
 --->  Verifying checksums for libtorrent-rasterbar
 --->  Extracting libtorrent-rasterbar
 --->  Applying patches to libtorrent-rasterbar
 --->  Configuring libtorrent-rasterbar
 Error: Failed to configure libtorrent-rasterbar: boost176 must be
 installed with +python39.
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-
 rasterbar/main.log for details.
 Error: rev-upgrade failed: Error rebuilding libtorrent-rasterbar
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 }}}

 So, it actually installs everything, though with this boost warning, then
 it does a post-build check and decides it should rebuild `libtorrent-
 rasterbar`, this time turning the warning related to boost into an actual
 error, and fails there. The qBittorrent v.4.3.2 that it just installed,
 for the record, now runs. Its about screen mentions both boost 1.7.6 and
 libtorrent 2.0.4.0 in the Software Used section...

 Okay, so first of all, I'm certain that this error didn't occur when I
 used this `git checkout` work-around before. Second of all, I can't say
 for absolute certain that that previous successful build of qbt 4.3.2
 **didn't** include libtorrent @ 2.0.4.0, but seriously... I mean, my
 comment #14 is clearly talking about 1.2.x versions, and I think I
 remember being confused when looking for changelogs etc., and seeing 2.x
 versions on github... But my braining isn't exactly up to snuff these
 days. It just feels really weird to me, this.

 Am I missing something really obvious, because I feel like a big question
 mark when I see myself at this same old checkout in the git repo, yet I'm
 seeing what I believe is the most recent libtorrent-rasterbar version
 being pulled in?

 My brainy hurty :D Sorry if I'm just being daft here. Gonna go sleepface
 and then see if you have any ideas after hopefully having slept for a
 bunch of hours :)

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


More information about the macports-tickets mailing list