New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #22701 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

qt4-mac-devel deletes /dev/null

Reported by: ryandesign@… 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

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

Change History

Changed 2 years ago by ryandesign@…

follow-up: ↓ 2   Changed 2 years ago by ryandesign@…

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 2 years ago by emanuel@…

patch-configure.diff

in reply to: ↑ 1   Changed 2 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?

  Changed 2 years ago by emanuel@…

  • cc emanuel@… added

Cc Me!

  Changed 2 years ago by ryandesign@…

  • status changed from new to closed
  • resolution set to fixed

Thanks, committed in r61129.

  Changed 2 years ago by ryandesign@…

I have  reported this problem to the developers of Qt.

  Changed 2 years ago by ryandesign@…

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

Note: See TracTickets for help on using tickets.