Opened 9 years ago

Closed 5 years ago

#47539 closed defect (worksforme)

texstudio @2.5.1_0: build fails with "use of undeclared identifier 'pthread_self'"

Reported by: macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), bringingheavendown (Honi Sanders)
Port: texstudio

Description

I can’t really make heads or tails of this, but attaching log.

Attachments (1)

texstudio_main.log (259.3 KB) - added by macports@… 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by macports@…

Attachment: texstudio_main.log added

comment:1 Changed 9 years ago by larryv (Lawrence Velázquez)

Keywords: tex removed
Summary: Build failuretexstudio @2.5.1_0: build fails with "use of undeclared identifier 'pthread_self'"
:info:build /usr/bin/clang++ -arch x86_64 -c -include .obj/texstudio -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.10 -Wall -W -D_QCODE_EDIT_BUILD_ -DQNFA_BUILD -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -I. -I.moc -I/opt/local/Library/Frameworks/QtUiTools.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtScript.framework/Versions/4/Headers -Iqtsingleapplication -Iqcodeedit/lib -Iqcodeedit/lib/document -Iqcodeedit/lib/language -Iqcodeedit/lib/widgets -Iqcodeedit/lib/qnfa -I/opt/local/include/poppler/qt4 -I/opt/local/Library/Frameworks/QtScript.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/include -I.ui -F/opt/local/Library/Frameworks -F/opt/local/lib -o .obj/debughelper.o debughelper.cpp
:info:build debughelper.cpp:606:19: error: use of undeclared identifier 'pthread_self'
:info:build                         mainThreadID = pthread_self();
:info:build                                        ^
:info:build 1 error generated.
:info:build make: *** [.obj/debughelper.o] Error 1

comment:2 Changed 9 years ago by larryv (Lawrence Velázquez)

Cc: ryandesign@… added

We should probably try updating to 2.5.2 (#37803) before working on this particular issue.

comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: bringingheavendown added

Has duplicate #53190.

comment:4 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Resolution: worksforme
Status: newclosed

The latest version (2.12.2) builds fine on 10.10 (1). If you still get build issues with this version, feel free to open new tickets.

(1) https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/73005

Note: See TracTickets for help on using tickets.