qBittorrent 3.0.11 build

MAC OS X specific questions, problems.
wowzaman12

qBittorrent 3.0.11 build

Post by wowzaman12 »

anyways I recently got myself a mac, and being a big user of the windows and linux versions I decided to provide a build for osx users
Download is located https://copy.com/xcAfnd4LX9neMuox
Sha1 checksum 963eb4b1c8b9baeb17eb5b91968f14ee656e5d82
EDIT: just updating this post in case people didn't see the new download link on the second page, from now on I'll make sure the first post is updated with the new builds, as well I may do a pgp sign as well but I don't know if it's encouraged or not, maybe if one of the developers could let me know if that's alright or not?
Last edited by wowzaman12 on Sat Sep 07, 2013 4:46 pm, edited 1 time in total.
User avatar
Nemo
Administrator
Administrator
Posts: 1730
Joined: Sat Jul 24, 2010 6:24 pm

Re: Noticed there wasn't a newer mac build

Post by Nemo »

Hi and welcome,

Thanks for your input! I think that many mac users were waiting for an update, even if its unofficial. If it works it works :).
wowzaman12

Re: Noticed there wasn't a newer mac build

Post by wowzaman12 »

let me know if you have any issues, I'm pretty new to mac packaging and bundling, I've been primarily a linux/windows developer
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: Noticed there wasn't a newer mac build

Post by sledgehammer_999 »

@Zach

Welcome.

It is awesome that you made a build for macs. The previous mac maintainer(and qbt author) stopped because he upgraded to mavericks and macports stopped working.

Anyway, if Nemo and a few others say that your build is ok(by testing) I could upload it to sourceforge or point the download page to this thread.
And if you want to continue to provide mac builds that would be great. The mac build maintainer position is open.
wowzaman12

Re: Noticed there wasn't a newer mac build

Post by wowzaman12 »

I'm open to help provide builds of qbittorrent for mac if you want
wowzaman12

Re: Noticed there wasn't a newer mac build

Post by wowzaman12 »

just an update https://copy.com/SgMZhoTZoByp New Build but with the actual included frameworks needed to run, seems I forgot to include them in the previous build
sha1 checksum is 4f924a9316977ba7f2e15cb0e506fe9160a3b94b
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: qBittorrent 3.0.11 build

Post by sledgehammer_999 »

I change the title so users can find it easily through search and made it sticky.
I'm open to help provide builds of qbittorrent for mac if you want
Cool. Now all I want is some positive feedback from users and we are good to go.
antoniong

Re: qBittorrent 3.0.11 build

Post by antoniong »

Does not work for me. Reports that "I should ask the developer whether it works with my OSX". I use 10.8.x (all lates updates installed).
wowzaman12

Re: qBittorrent 3.0.11 build

Post by wowzaman12 »

this build was using macports and Mac OSX Mountain Lion 10.8.4 but targeted at x86_64, I'm still working out on details on universal binaries and what not, again I remind people I'm still relatively new to packaging for osx, it's a little different than on other platforms. Do you have an error log you can show me?
antoniong

Re: qBittorrent 3.0.11 build

Post by antoniong »

This was reported (it's all Latin to me):


Process:        qbittorrent [3132]
Path:            /Users/USER/Downloads/qbittorrent.app/Contents/MacOS/qbittorrent
Identifier:      org.qbittorrent
Version:        3.0.11 (???)
Code Type:      X86-64 (Native)
Parent Process:  launchd [285]
User ID:        501

Date/Time:      2013-09-07 11:32:40.391 +0200
OS Version:      Mac OS X 10.8.4 (12E55)
Report Version:  10

Interval Since Last Report:          5587568 sec
Crashes Since Last Report:          102
Per-App Crashes Since Last Report:  2
Anonymous UUID:                      25C06B4C-42B0-AFE4-6A1B-8ADC252CA1BF

Crashed Thread:  0

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: /opt/local/lib/libssl.1.0.0.dylib
  Referenced from: /Users/USER/Downloads/qbittorrent.app/Contents/MacOS/qbittorrent
  Reason: image not found

Binary Images:
      0x100000000 -        0x1005fdff7 +org.qbittorrent (3.0.11 - ???) <4BDFE4D3-C7D8-3CED-ABD2-26CAB8F39C18> /Users/USER/Downloads/qbittorrent.app/Contents/MacOS/qbittorrent
    0x7fff62339000 -    0x7fff6236d93f  dyld (210.2.3) <36CAA36E-72BC-3E48-96D9-B96A2DF77730> /usr/lib/dyld

Model: iMac12,2, BootROM IM121.0047.B1F, 4 processors, Intel Core i5, 2.7 GHz, 8 GB, SMC 1.72f5
Graphics: AMD Radeon HD 6770M, AMD Radeon HD 6770M, PCIe, 512 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x02FE, 0x45424A3230554638424353302D444A2D4620
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x02FE, 0x45424A3230554638424353302D444A2D4620
Memory Module: BANK 0/DIMM1, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020
Memory Module: BANK 1/DIMM1, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.72.0-P2P
Bluetooth: Version 4.1.4f2 12041, 2 service, 18 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
PCI Card: pci11c1,5901, sppci_ieee1394openhci, Thunderbolt@10,0,0
Serial ATA Device: ST31000528AS, 1 TB
Serial ATA Device: HL-DT-STDVDRW  GA32N
USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
USB Device: USB Receiver, 0x046d  (Logitech Inc.), 0xc52b, 0xfd130000 / 5
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfd110000 / 4
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 3
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x850b, 0xfa200000 / 3
USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
USB Device: iPhone, apple_vendor_id, 0x12a8, 0xfa120000 / 6
USB Device: Touro Desk 3.0, 0x4971, 0x1015, 0xfa130000 / 5
USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 8
FireWire Device: FireDTV C/CI, Digital Everywhere, 400mbit_speed
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: qBittorrent 3.0.11 build

Post by sledgehammer_999 »

[quote="Zach Thibeau"]
this build was using macports and Mac OSX Mountain Lion 10.8.4 but targeted at x86_64, I'm still working out on details on universal binaries and what not, again I remind people I'm still relatively new to packaging for osx, it's a little different than on other platforms. Do you have an error log you can show me?
[/quote]

While you are figuring it out, I asked Chris(author and previous mac builder) to document his way of compiling for mac on the wiki. I just hope he can find the time and do it.


From the crash report it seems that you forgot to package openssl.
wowzaman12

Re: qBittorrent 3.0.11 build

Post by wowzaman12 »

no it's in the new package, if you take a look inside the package it's there, just it's looking in the wrong place it seems
EDIT:
ok I made some quick changes to how it is packaged, it's based loosely how gtk apps on osx is packaged. Libraries have been moved to
  • qBittorrent.app/Content/Resources/lib
  • the main app in Content/MacOS has been renamed as qbittorrent-bin and I made a shell script that is loosely based on gtk's shell script launcher and it directs qbittorrent-bin to where the libraries are hosted
if I could get some feed back from people that would be great, also on the up-note it's a slightly smaller package now too
Downloads can be located here https://copy.com/VnHFwiHut4rY and the sha1 checksum is 19c8459810acfdaa3bd506ba63dbb10f718547d7
Last edited by wowzaman12 on Sat Sep 07, 2013 12:02 pm, edited 1 time in total.
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: qBittorrent 3.0.11 build

Post by sledgehammer_999 »

Just an idea: You can open the .dmg files hosted on our sourceforge page and examine their structure. (7zip can extract them, I tested it)
wowzaman12

Re: qBittorrent 3.0.11 build

Post by wowzaman12 »

I've already have and based the second build off of it but apparently it was not enough as it crashed on one user even though all libraries were included
antoniong

Re: qBittorrent 3.0.11 build

Post by antoniong »

Still unable to open, the error file:


Process:        qbittorrent-bin [3472]
Path:            /Users/USER/Downloads/qbittorrent.app/Contents/MacOS/qbittorrent
Identifier:      org.qbittorrent
Version:        ???
Code Type:      X86-64 (Native)
Parent Process:  launchd [285]
User ID:        501

Date/Time:      2013-09-07 14:49:27.196 +0200
OS Version:      Mac OS X 10.8.4 (12E55)
Report Version:  10

Interval Since Last Report:          5599375 sec
Crashes Since Last Report:          102
Per-App Crashes Since Last Report:  2
Anonymous UUID:                      25C06B4C-42B0-AFE4-6A1B-8ADC252CA1BF

Crashed Thread:  0

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: QtXml.framework/Versions/4/QtXml
  Referenced from: /Users/USER/Downloads/qbittorrent.app/Contents/MacOS/qbittorrent-bin
  Reason: image not found

Binary Images:
      0x100000000 -        0x1005fdff7 +qbittorrent-bin (???) <4BDFE4D3-C7D8-3CED-ABD2-26CAB8F39C18> /Users/USER/Downloads/qbittorrent.app/Contents/MacOS/qbittorrent-bin
      0x100681000 -        0x1006c7ff7 +libssl.1.0.0.dylib (0) <274AF799-AB68-316F-8018-92A9FB9D725C> /Users/USER/Downloads/qbittorrent.app/Contents/Resources/lib/libssl.1.0.0.dylib
      0x1006e1000 -        0x10081ffcf +libcrypto.1.0.0.dylib (0) <DFF00580-87A6-388A-9115-45DD8B63CDAC> /Users/USER/Downloads/qbittorrent.app/Contents/Resources/lib/libcrypto.1.0.0.dylib
      0x100890000 -        0x100893ff7 +libboost_system-mt.dylib (0) <308298E3-E6A6-3075-9872-4ED991A5C39E> /Users/USER/Downloads/qbittorrent.app/Contents/Resources/lib/libboost_system-mt.dylib
      0x100898000 -        0x1008a9fff +libz.1.dylib (0) <A9EB10A3-B238-3A9B-B23A-7FB5F5C9685E> /Users/USER/Downloads/qbittorrent.app/Contents/Resources/lib/libz.1.dylib
      0x1008ad000 -        0x100b51fff +libtorrent-rasterbar.7.dylib (0) <69F326EF-E767-3DDC-A5FD-71B2E6441E98> /Users/USER/Downloads/qbittorrent.app/Contents/Resources/lib/libtorrent-rasterbar.7.dylib
    0x7fff6442a000 -    0x7fff6445e93f  dyld (210.2.3) <36CAA36E-72BC-3E48-96D9-B96A2DF77730> /usr/lib/dyld
    0x7fff83f22000 -    0x7fff83f90ff7  com.apple.framework.IOKit (2.0.1 - 755.24.1) <04BFB138-8AF4-310A-8E8C-045D8A239654> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff8c915000 -    0x7fff8c915fff  com.apple.Carbon (154 - 155) <1B2846B1-384E-3D1C-8999-201215723349> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon

Model: iMac12,2, BootROM IM121.0047.B1F, 4 processors, Intel Core i5, 2.7 GHz, 8 GB, SMC 1.72f5
Graphics: AMD Radeon HD 6770M, AMD Radeon HD 6770M, PCIe, 512 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x02FE, 0x45424A3230554638424353302D444A2D4620
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x02FE, 0x45424A3230554638424353302D444A2D4620
Memory Module: BANK 0/DIMM1, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020
Memory Module: BANK 1/DIMM1, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.72.0-P2P
Bluetooth: Version 4.1.4f2 12041, 2 service, 18 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
PCI Card: pci11c1,5901, sppci_ieee1394openhci, Thunderbolt@10,0,0
Serial ATA Device: ST31000528AS, 1 TB
Serial ATA Device: HL-DT-STDVDRW  GA32N
USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
USB Device: USB Receiver, 0x046d  (Logitech Inc.), 0xc52b, 0xfd130000 / 5
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfd110000 / 4
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 3
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x850b, 0xfa200000 / 3
USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
USB Device: Touro Desk 3.0, 0x4971, 0x1015, 0xfa130000 / 5
USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 8
FireWire Device: FireDTV C/CI, Digital Everywhere, 400mbit_speed
Locked