Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#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: for port FileZilla returned: command execution failed

Attachments (1)

main.log (151.1 KB) - added by michael_hodgins@… 8 years ago.
log file

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by michael_hodgins@…

Attachment: main.log added

log file

comment:1 Changed 8 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:2 Changed 8 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:3 Changed 8 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:

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 8 years ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: newclosed
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:

so I'm closing this issue as fixed.

comment:5 Changed 8 years ago by mojca (Mojca Miklavec)

Note: See TracTickets for help on using tickets.