#41832 closed defect (fixed)
Can't build FileZilla
Reported by: | michael_hodgins@… | Owned by: | rudloff@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | mojca (Mojca Miklavec) | |
Port: | filezilla |
Description (last modified by mf2k (Frank Schima))
sudo port install filezilla gives this error:
Error: org.macports.build for port FileZilla returned: command execution failed
Attachments (1)
Change History (6)
Changed 11 years ago by michael_hodgins@…
comment:1 Changed 11 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to rudloff@… |
In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers filezilla
).
comment:3 Changed 11 years ago by mojca (Mojca Miklavec)
The error is
wxdbusconnection.cpp:69:69: error: use of undeclared identifier 'pthread_self' bool CalledFromThread() const { return !pthread_equal(m_parent_id, pthread_self()); } ^ wxdbusconnection.cpp:123:16: error: use of undeclared identifier 'pthread_self' m_parent_id = pthread_self(); ^ 2 errors generated.
Man page is here and I don't see any reference mentioning the command being removed in 10.9: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man3/pthread_self.3.html
Does it help if you try
sudo port clean filezilla sudo port patch filezilla cd $(port work filezilla) # then edit filezilla-3.7.3/src/dbus/wxdbusconnection.cpp # add: #include <pthread.h> sudo port -v build filezilla
comment:4 Changed 11 years ago by mojca (Mojca Miklavec)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Version: | 2.2.1 |
I committed a blind fix in r116918.
I have no 10.9, but the buildbot seems to be happy with the patch:
- https://build.macports.org/builders/buildports-mavericks-x86_64/builds/1546
- https://build.macports.org/builders/buildports-mavericks-x86_64/builds/1547
so I'm closing this issue as fixed.
comment:5 Changed 11 years ago by mojca (Mojca Miklavec)
The patch has been applied upstream in http://svn.filezilla-project.org/filezilla?view=revision&revision=5399
Note: See
TracTickets for help on using
tickets.
log file