Opened 12 years ago

Closed 7 years ago

#38688 closed defect (worksforme)

plplot build error

Reported by: mf2k (Frank Schima) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.1.99
Keywords: Cc: cooljeanius (Eric Gallager)
Port: plplot

Description (last modified by mf2k (Frank Schima))

I'm seeing the following build error when attempting to build plplot on Mac OS X 10.8.3, Xcode 4.6.1.

plplot +aquaterm+gcc47+python27+x11

:info:build cd /opt/local/var/macports/build/_opt_mports_trunk_dports_science_plplot/plplot/work/build/drivers && /usr/bin/clang  -DHAVE_CONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_SVG_LIB -Daqt_EXPORTS -I/opt/local/include -DUSE_INTERP_RESULT -DTcl_Import_TCL_DECLARED -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -fPIC -I/opt/local/var/macports/build/_opt_mports_trunk_dports_science_plplot/plplot/work/plplot-5.9.9/include -I/opt/local/var/macports/build/_opt_mports_trunk_dports_science_plplot/plplot/work/plplot-5.9.9/lib/qsastime -I/opt/local/var/macports/build/_opt_mports_trunk_dports_science_plplot/plplot/work/plplot-5.9.9/lib/nistcd -I/opt/local/var/macports/build/_opt_mports_trunk_dports_science_plplot/plplot/work/build -I/opt/local/var/macports/build/_opt_mports_trunk_dports_science_plplot/plplot/work/build/include -I/opt/local/include -I/opt/local/include/QtSvg -I/opt/local/include/QtGui -I/opt/local/include/QtCore    -ObjC -F/opt/local/Library/Frameworks -framework AquaTerm -DUSINGDLL -o CMakeFiles/aqt.dir/aqt.c.o   -c /opt/local/var/macports/build/_opt_mports_trunk_dports_science_plplot/plplot/work/plplot-5.9.9/drivers/aqt.c
:info:build clang: warning: -framework AquaTerm: 'linker' input unused
:info:build In file included from /opt/local/var/macports/build/_opt_mports_trunk_dports_science_plplot/plplot/work/plplot-5.9.9/drivers/aqt.c:32:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:76:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:12:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:87:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:26:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:56:
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h:28:10: fatal error: 'IOKit/IOKitLib.h' file not found
:info:build #include <IOKit/IOKitLib.h>
:info:build          ^
:info:build 1 error generated.
:info:build make[2]: *** [drivers/CMakeFiles/aqt.dir/aqt.c.o] Error 1

Note that I added:

use_parallel_build  no

To the portfile to get this far and see the error.

Attachments (2)

main.log (224.7 KB) - added by mf2k (Frank Schima) 12 years ago.
installed_ports.txt (25.8 KB) - added by mf2k (Frank Schima) 12 years ago.

Download all attachments as: .zip

Change History (18)

Changed 12 years ago by mf2k (Frank Schima)

Attachment: main.log added

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:2 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 12 years ago by mf2k (Frank Schima)

Version: 2.1.32.1.99

comment:4 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:5 Changed 12 years ago by tenomoto (Takeshi Enomoto)

I can't reproduce the problem. Indeed IOKit/IOKit.h is not found in

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.x.sdk/System/Library/Frameworks/IOKit.framework/Headers/

or

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/IOKit.framework/Headers/

comment:6 Changed 12 years ago by tenomoto (Takeshi Enomoto)

Oh, it needs IOKitLib.h. It does exit.

comment:7 Changed 12 years ago by tenomoto (Takeshi Enomoto)

Do you have non MacPorts Qt installed somewhere? See #34909.

You have:

:info:configure DRIVERS_LIST: aqt;cairo;qt;mem;null;ps;psttf;svg;tk;xfig;xwin
:info:configure DEVICES_LIST: aqt;memcairo;extcairo;pdfcairo;pngcairo;pscairo;svgcairo;xcairo;epsqt;pdfqt;qtwidget;bmpqt;jpgqt;pngqt;ppmqt;tiffqt;extqt;memqt;svgqt;mem;null;ps;psttf;svg;tk;xfig;xwin

I have:

:info:configure DRIVERS_LIST: aqt;cairo;mem;null;ps;psttf;svg;tk;xfig;xwin
:info:configure DEVICES_LIST: aqt;memcairo;extcairo;pdfcairo;pngcairo;pscairo;svgcairo;xcairo;mem;null;ps;psttf;svg;tk;xfig;xwin

comment:8 Changed 12 years ago by mf2k (Frank Schima)

I only have Qt installed through Macports.

comment:9 Changed 12 years ago by mf2k (Frank Schima)

It does build on my home MBP and on the buildbot. I will look for "IOKitLib.h" on my computer at work on Monday.

comment:10 Changed 12 years ago by mf2k (Frank Schima)

I uninstalled all my ports and then installed plplot first and it worked this time. I suspect a hidden build conflict with one of my installed ports at the time. I am appending that list so we can hopefully figure out which port it might be.

Changed 12 years ago by mf2k (Frank Schima)

Attachment: installed_ports.txt added

comment:11 Changed 12 years ago by mf2k (Frank Schima)

Also FYI,

$ pwd
/System/Library/Frameworks/IOKit.framework/Versions/A/Headers
$ ls -al IOKitLib.h 
-rw-r--r--  1 root  wheel  73262 Mar 15 08:43 IOKitLib.h

comment:12 Changed 11 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: newclosed

I close this ticket because I think I fixed the Qt problem in r108177.

comment:13 Changed 11 years ago by tenomoto (Takeshi Enomoto)

Similar problems in #39408 and #39673.

comment:14 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:15 Changed 11 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: closedreopened

This is unrelated to Qt. I encountered the same problem with qt4-mac deactivated.

comment:16 Changed 7 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: reopenedclosed

I can no longer reproduce this issue.

Note: See TracTickets for help on using tickets.