Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#30526 closed defect (fixed)

kdebase3 @2.0.0 kdebase3-3.5.10-7 make failed!

Reported by: wolfgang@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: lion Cc: wolfgang@…, wulfgang@…, rlhamil, gallafent
Port: kdebase3

Description

Hi!

I am using Mac OS X 10.7 Lion and Xcode 4.1. I installed MacPorts today (the binary on the website) and tried to install kdebase3... building failed, and I will give you the last part of the log file:

[...]

:info:build 71% linking ./khotkeys/kcontrol/ui/libui.la
:info:build 71% compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/samba/main.cpp
:info:build 71% compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/input/kapplymousetheme.cpp
:info:build 71% compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/main.cpp
:info:build 71% compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/opengl.cpp
:info:build /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I./kcontrol/info -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info -I. -I/opt/local/lib/qt3/include -I/opt/local/include -I/opt/local/include -DQT_THREAD_SUPPORT -I/opt/local/include/freetype2 -I/opt/local/include -fno-common -no-cpp-precomp -DMACOSX -DARTS_NO_ALARM -I/opt/local/include -I/usr/X11R6/include -D_LARGE_FILES=1 -DINFO_OPENGL_AVAILABLE -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Os -Os -fPIC -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -fPIC -DPIC -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/main.cpp -o ./kcontrol/info/.libs/main.o -Wp,-MD,./kcontrol/info/.deps/main.TUlo
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/main.cpp:31:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/info.cpp:473:7: warning: "__hpux" is not defined
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/info.cpp:475:7: warning: "__NetBSD__" is not defined
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/info.cpp:477:7: warning: "__OpenBSD__" is not defined
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/info.cpp:481:7: warning: "__svr4__" is not defined
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/info.cpp:483:7: warning: "_AIX" is not defined
:info:build In file included from /usr/include/c++/4.2.1/backward/iostream.h:31,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/info_osx.cpp:46,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/info.cpp:486,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/main.cpp:31:
:info:build /usr/include/c++/4.2.1/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/info.cpp:486,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/main.cpp:31:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/info_osx.cpp: In function ‘bool GetInfo_Sound(QListView*)’:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/info_osx.cpp:124: warning: ‘AudioHardwareGetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:1270)
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/info_osx.cpp:124: error: cannot convert ‘long unsigned int*’ to ‘UInt32*’ for argument ‘2’ to ‘OSStatus AudioHardwareGetProperty(AudioHardwarePropertyID, UInt32*, void*)’
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/info_osx.cpp:135: warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2640)
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/info_osx.cpp:135: error: cannot convert ‘long unsigned int*’ to ‘UInt32*’ for argument ‘5’ to ‘OSStatus AudioDeviceGetProperty(AudioDeviceID, UInt32, Boolean, AudioDevicePropertyID, UInt32*, void*)’
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/info_osx.cpp:143: warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2640)
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/info_osx.cpp:143: error: cannot convert ‘long unsigned int*’ to ‘UInt32*’ for argument ‘5’ to ‘OSStatus AudioDeviceGetProperty(AudioDeviceID, UInt32, Boolean, AudioDevicePropertyID, UInt32*, void*)’
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/info_osx.cpp: At global scope:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/info_osx.cpp:158: warning: unused parameter ‘lbox’
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/info_osx.cpp:163: warning: unused parameter ‘lbox’
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/info_osx.cpp:173: warning: unused parameter ‘lbox’
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/main.cpp:46: warning: unused parameter ‘parent’
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/main.cpp:55: warning: unused parameter ‘parent’
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/main.cpp:64: warning: unused parameter ‘parent’
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/main.cpp:73: warning: unused parameter ‘parent’
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/main.cpp:142: warning: unused parameter ‘parent’
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/info.cpp:436: warning: ‘int GetInfo_ReadfromPipe(QListView*, const char*, bool)’ defined but not used
:info:build Error creating ./kcontrol/info/main.lo. Exit status 1.
:info:build ar cru ./khotkeys/kcontrol/ui/.libs/libui.a ./khotkeys/kcontrol/ui/.libs/dummy.o ./khotkeys/kcontrol/ui/.libs/windowdef_simple_widget_ui.o ./khotkeys/kcontrol/ui/.libs/windowdef_list_widget_ui.o ./khotkeys/kcontrol/ui/.libs/command_url_widget_ui.o ./khotkeys/kcontrol/ui/.libs/menuentry_widget_ui.o ./khotkeys/kcontrol/ui/.libs/triggers_tab_ui.o ./khotkeys/kcontrol/ui/.libs/general_tab_ui.o ./khotkeys/kcontrol/ui/.libs/action_group_tab_ui.o ./khotkeys/kcontrol/ui/.libs/dcop_widget_ui.o ./khotkeys/kcontrol/ui/.libs/main_buttons_widget_ui.o ./khotkeys/kcontrol/ui/.libs/actions_listview_widget_ui.o ./khotkeys/kcontrol/ui/.libs/info_tab_ui.o ./khotkeys/kcontrol/ui/.libs/window_trigger_widget_ui.o ./khotkeys/kcontrol/ui/.libs/action_list_widget_ui.o ./khotkeys/kcontrol/ui/.libs/keyboard_input_widget_ui.o ./khotkeys/kcontrol/ui/.libs/condition_list_widget_ui.o ./khotkeys/kcontrol/ui/.libs/gesture_triggers_tab_ui.o ./khotkeys/kcontrol/ui/.libs/gestures_settings_tab_ui.o ./khotkeys/kcontrol/ui/.libs/general_settings_tab_ui.o ./khotkeys/kcontrol/ui/.libs/voice_input_widget_ui.o ./khotkeys/kcontrol/ui/.libs/voice_settings_tab_ui.o
:info:build /usr/bin/ranlib: file: ./khotkeys/kcontrol/ui/.libs/libui.a(dummy.o) has no symbols
:info:build ranlib ./khotkeys/kcontrol/ui/.libs/libui.a
:info:build ranlib: file: ./khotkeys/kcontrol/ui/.libs/libui.a(dummy.o) has no symbols
:info:build creating ./khotkeys/kcontrol/ui/libui.la
:info:build (cd ./khotkeys/kcontrol/ui/.libs && rm -f libui.la && ln -s ../libui.la libui.la)
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/opengl.cpp:230: warning: unused parameter ‘GetProcAddress’
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10/kcontrol/info/opengl.cpp:79: warning: ‘int ReadPipe(QString, QStringList&)’ defined but not used
:info:build kdebase3-3.5.10-7 make failed!
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/work/kdebase-3.5.10" && ./CompileScript.sh all " returned error 1
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for kdebase3): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for kdebase3 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdebase3/kdebase3/main.log

Attachments (1)

main.log (104.0 KB) - added by gallafent 13 years ago.
Build log from my failed build of kdebase3 today

Download all attachments as: .zip

Change History (9)

comment:1 Changed 13 years ago by wolfgang@…

Cc: wolfgang@… added

Cc Me!

comment:2 Changed 13 years ago by wulfgang@…

Cc: wulfgang@… added

Cc Me!

comment:3 Changed 13 years ago by rlhamil

Cc: rlhamil@… added

Cc Me!

Changed 13 years ago by gallafent

Attachment: main.log added

Build log from my failed build of kdebase3 today

comment:4 Changed 13 years ago by gallafent

I attached my build log, looks like the same problem to me. Should be "uint32_t *" not "long unsigned int *"

comment:5 Changed 13 years ago by gallafent

Cc: william@… added

Cc Me!

comment:6 Changed 13 years ago by gallafent

It's a trivial fix, here's the patch:

--- kcontrol/info/info_osx.cpp~	2005-10-10 16:03:43.000000000 +0100
+++ kcontrol/info/info_osx.cpp	2011-09-05 14:11:00.000000000 +0100
@@ -117,7 +117,7 @@
 #define kMaxStringSize 1024
 	OSStatus status;
 	AudioDeviceID gOutputDeviceID;
-	unsigned long propertySize;
+	UInt32 propertySize;
 	char deviceName[kMaxStringSize];
 	char manufacturer[kMaxStringSize];
 	propertySize = sizeof(gOutputDeviceID);

I see that this port has no maintainer - how do I get this patch applied?

comment:7 Changed 13 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

The necessary patchfile has been around for about 2 years in the MacPorts repository now. Commited in r83544.

Btw, if you can't get attention to your ticket, post to the mailing list.

comment:8 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

This broke the port on Snow Leopard; see #31352.

Note: See TracTickets for help on using tickets.