Opened 10 years ago

Closed 10 years ago

#46663 closed defect (invalid)

Macports 2.3.3 compile fails on yosemite with fatal error: 'pthread_np.h' file not found error

Reported by: davec.bugs@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.3.3
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Macport 2.3.3 gives the following error when compiling on Yosemite:

In file included from /Users/dave/src/MacPorts-2.3.3/vendor/tcl8.5.15/unix/../generic/regcomp.c:33:
In file included from /Users/dave/src/MacPorts-2.3.3/vendor/tcl8.5.15/unix/../generic/regguts.h:36:

In file included from /Users/dave/src/MacPorts-2.3.3/vendor/tcl8.5.15/unix/../generic/regcustom.h:33:
In file included from /Users/dave/src/MacPorts-2.3.3/vendor/tcl8.5.15/unix/../generic/tclInt.h:36:
In file included from /Users/dave/src/MacPorts-2.3.3/vendor/tcl8.5.15/unix/../generic/tclPort.h:23:
./tclUnixPort.h:637:15: fatal error: 'pthread_np.h' file not found
#           include <pthread_np.h>
                    ^
1 error generated.
make[2]: *** [regcomp.o] Error 1
make[1]: *** [all-tcl] Error 2
Mk/macports.subdir.mk:9: recipe for target 'all' failed
make: *** [all] Error 1

Attachments (1)

error.txt (789 bytes) - added by davec.bugs@… 10 years ago.
Make error output

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by davec.bugs@…

Attachment: error.txt added

Make error output

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

We need more information, since this works for everyone else. Could you attach a more complete log, including the entire output from the configure and make commands? Could you attach the config.log file?

comment:2 Changed 10 years ago by davec.bugs@…

This compile problem was caused by having "-flto" in the CFLAGS, once it was removed Macports compiled correctly.

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

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.