Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#22701 closed defect (fixed)

qt4-mac-devel deletes /dev/null

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: emanuel@…
Port: qt4-mac-devel

Description

Attempting to install qt4-mac-devel @4.6.0-rc1 causes the /dev/null device to be deleted, which is obviously extremely bad. This occurs at some point during configure, the rest of which then doesn't function, and the build fails right away. Immense log attached.

Attachments (2)

qt4-mac-devel.txt.bz2 (10.7 KB) - added by ryandesign (Ryan Carsten Schmidt) 15 years ago.
patch-configure.diff (356 bytes) - added by emanuel@… 15 years ago.
patch-configure.diff

Download all attachments as: .zip

Change History (8)

Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: qt4-mac-devel.txt.bz2 added

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

I suspect this line in the configure script:

    "$TEST_COMPILER" "$@" -o /dev/null conftest.cpp

Changing that to

    "$TEST_COMPILER" "$@" -o dummy conftest.cpp

should fix it but I haven't tested yet.

Changed 15 years ago by emanuel@…

Attachment: patch-configure.diff added

patch-configure.diff

comment:2 in reply to:  1 Changed 15 years ago by emanuel@…

I run into the same /dev/null problem with qt4-mac-devel@4.6.0-rc1 and @4.6.0. I attached a patch file for configure which works for me on Mac OS 10.5. Can anybody confirm it?

comment:3 Changed 15 years ago by emanuel@…

Cc: emanuel@… added

Cc Me!

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Thanks, committed in r61129.

comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

I have reported this problem to the developers of Qt.

comment:6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Upstream fixed the problem using our patch as part of this commit.

Note: See TracTickets for help on using tickets.