Opened 13 years ago
Closed 12 years ago
#30314 closed defect (duplicate)
kdelibs3 build fails on Lion after selfupdate and upgrade
Reported by: | mkae (Marko Käning) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.0 |
Keywords: | Cc: | pixilla (Bradley Giesbrecht), mathieu.havel@…, whcordis@… | |
Port: | kdelibs3 |
Description
When trying to rebuild kdelibs3 on Mac OSX Lion the following errors get thrown:
... :info:build 67% compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c :info:build /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I./kdeprint/cups/cupsdconf2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2 -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kio -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kfile -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/dcop -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/libltdl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdefx -I./kdecore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdecore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdecore/network -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeui -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kio -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kio/kio -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kio/kfile -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10 -I/opt/local/lib/qt3/include -I/opt/local/include -I/opt/local/include -DQT_THREAD_SUPPORT -I/usr/include/gssapi -I/opt/local/include/freetype2 -I/opt/local/include -fno-common -no-cpp-precomp -DMACOSX -DARTS_NO_ALARM -I/opt/local/include -Os -Os -fPIC -fPIC -DPIC -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c -o ./kdeprint/cups/cupsdconf2/.libs/cups-util.o -Wp,-MD,./kdeprint/cups/cupsdconf2/.deps/cups-util.TUlo :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c: In function ‘cupsGetConf’: :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c:73: warning: incompatible implicit declaration of built-in function ‘snprintf’ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c:102: warning: incompatible implicit declaration of built-in function ‘fprintf’ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c:102: error: ‘stderr’ undeclared (first use in this function) :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c:102: error: (Each undeclared identifier is reported only once :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c:102: error: for each function it appears in.) :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c: In function ‘cupsPutConf’: :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c:364: warning: incompatible implicit declaration of built-in function ‘fprintf’ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c:364: error: ‘stderr’ undeclared (first use in this function) :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c:401: warning: incompatible implicit declaration of built-in function ‘snprintf’ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c:431: warning: incompatible implicit declaration of built-in function ‘snprintf’ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c:450: warning: incompatible implicit declaration of built-in function ‘snprintf’ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c: In function ‘cups_local_auth’: :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c:504: error: ‘FILE’ undeclared (first use in this function) :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c:504: error: ‘fp’ undeclared (first use in this function) :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c:515: warning: passing argument 1 of ‘httpAddrLocalhost’ from incompatible pointer type :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c:531: warning: incompatible implicit declaration of built-in function ‘snprintf’ :info:build Error creating ./kdeprint/cups/cupsdconf2/cups-util.lo. Exit status 1. :info:build kdelibs3-3.5.10-10 make failed! :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10" && ./CompileScript.sh all " returned error 1 ...
Attachments (1)
Change History (13)
comment:1 Changed 13 years ago by mkae (Marko Käning)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 12 years ago by engin@…
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I got the same error when uninstall and re-install the kcachegrind on Mountain Lion upgrade. (port version: 2.1.2)
68% compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kinit/autostart.cpp 68% compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/management/kaddprinterwizard.cpp /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/management/kaddprinterwizard.cpp: In function 'int kdemain(int, char**)': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/management/kaddprinterwizard.cpp:19: warning: 'init' is deprecated (declared at ./kdecore/kcmdlineargs.h:260) 68% compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp g++ -DHAVE_CONFIG_H -I./kdeprint/cups/cupsdconf2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2 -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kio -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kfile -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/dcop -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/libltdl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdefx -I./kdecore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdecore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdecore/network -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeui -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kio -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kio/kio -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kio/kfile -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10 -I/opt/local/lib/qt3/include -I/opt/local/include -I/opt/local/include -DQT_THREAD_SUPPORT -I/usr/include/gssapi -I/opt/local/include/freetype2 -I/opt/local/include -fno-common -no-cpp-precomp -DMACOSX -DARTS_NO_ALARM -I/opt/local/include -Os -fPIC -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fPIC -DPIC -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp -o ./kdeprint/cups/cupsdconf2/.libs/cupsdconf.o -Wp,-MD,./kdeprint/cups/cupsdconf2/.deps/cupsdconf.TUlo /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp: In member function 'bool CupsdConf::loadAvailableResources()': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp:632: error: invalid use of incomplete type 'struct _ipp_s' /usr/include/cups/ipp.h:365: error: forward declaration of 'struct _ipp_s' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp:638: error: invalid use of incomplete type 'struct _ipp_s' /usr/include/cups/ipp.h:365: error: forward declaration of 'struct _ipp_s' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp:642: error: invalid use of incomplete type 'struct _ipp_attribute_s' /usr/include/cups/ipp.h:366: error: forward declaration of 'struct _ipp_attribute_s' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.
comment:3 Changed 12 years ago by mathieu.havel@…
Same here when trying to install "qalculate".
The error displayed by the install command:
Error: org.macports.build for port kdelibs3 returned: command execution failed Error: Failed to install kdelibs3 Please see the log file for port kdelibs3 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/main.log Error: The following dependencies were not installed: kdelibs3 libqalculate cln p5.12-xml-parser To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port qalculate-kde failed
The last part of the log shows:
1494 :info:build creating ./khtml/rendering/libkhtmlrender.la 1495 :info:build (cd ./khtml/rendering/.libs && rm -f libkhtmlrender.la && ln -s ../libkhtmlrender.la libkhtmlrender.la) 1496 :info:build kdelibs3-3.5.10-12 make failed! 1497 :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10" & & ./CompileScript.sh all 1498 :info:build Exit code: 1 1499 :error:build org.macports.build for port kdelibs3 returned: command execution failed 1500 :debug:build Error code: CHILDSTATUS 13833 1 1501 :debug:build Backtrace: command execution failed 1502 while executing 1503 "system -nice 0 $fullcmdstring" 1504 ("eval" body line 1) 1505 invoked from within 1506 "eval system $notty $nice \$fullcmdstring" 1507 invoked from within 1508 "command_exec build" 1509 (procedure "portbuild::build_main" line 8) 1510 invoked from within 1511 "$procedure $targetname" 1512 :info:build Warning: targets not executed for kdelibs3: org.macports.activate org.macports.build org.macports.destroot org.macports.install 1513 :error:build Failed to install kdelibs3 1514 :debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory 1515 while executing 1516 "open [file join $dir tclIndex]" 1517 :notice:build Please see the log file for port kdelibs3 for details: 1518 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/main.log
And finally, when trying to run "./CompileScript.sh" myself in "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10", the following error shows:
68% compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp g++ -DHAVE_CONFIG_H -I./kdeprint/cups/cupsdconf2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2 -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kio -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kfile -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/dcop -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/libltdl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdefx -I./kdecore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdecore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdecore/network -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeui -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kio -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kio/kio -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kio/kfile -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10 -I/opt/local/lib/qt3/include -I/opt/local/include -I/opt/local/include -DQT_THREAD_SUPPORT -I/usr/include/gssapi -I/opt/local/include/freetype2 -I/opt/local/include -fno-common -no-cpp-precomp -DMACOSX -DARTS_NO_ALARM -I/opt/local/include -Os -fPIC -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fPIC -DPIC -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp -o ./kdeprint/cups/cupsdconf2/.libs/cupsdconf.o -Wp,-MD,./kdeprint/cups/cupsdconf2/.deps/cupsdconf.TUlo /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp: In member function ‘bool CupsdConf::loadAvailableResources()’: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp:632: error: invalid use of incomplete type ‘struct _ipp_s’ /usr/include/cups/ipp.h:365: error: forward declaration of ‘struct _ipp_s’ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp:638: error: invalid use of incomplete type ‘struct _ipp_s’ /usr/include/cups/ipp.h:365: error: forward declaration of ‘struct _ipp_s’ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp:642: error: invalid use of incomplete type ‘struct _ipp_attribute_s’ /usr/include/cups/ipp.h:366: error: forward declaration of ‘struct _ipp_attribute_s’ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp:649: error: invalid use of incomplete type ‘struct _ipp_attribute_s’ /usr/include/cups/ipp.h:366: error: forward declaration of ‘struct _ipp_attribute_s’ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp:649: error: invalid use of incomplete type ‘struct _ipp_attribute_s’ /usr/include/cups/ipp.h:366: error: forward declaration of ‘struct _ipp_attribute_s’ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp:650: error: invalid use of incomplete type ‘struct _ipp_attribute_s’ /usr/include/cups/ipp.h:366: error: forward declaration of ‘struct _ipp_attribute_s’ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp:650: error: invalid use of incomplete type ‘struct _ipp_attribute_s’ /usr/include/cups/ipp.h:366: error: forward declaration of ‘struct _ipp_attribute_s’ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp:651: error: invalid use of incomplete type ‘struct _ipp_attribute_s’ /usr/include/cups/ipp.h:366: error: forward declaration of ‘struct _ipp_attribute_s’ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp:661: error: invalid use of incomplete type ‘struct _ipp_s’ /usr/include/cups/ipp.h:365: error: forward declaration of ‘struct _ipp_s’ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp:667: error: invalid use of incomplete type ‘struct _ipp_s’ /usr/include/cups/ipp.h:365: error: forward declaration of ‘struct _ipp_s’ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp:671: error: invalid use of incomplete type ‘struct _ipp_attribute_s’ /usr/include/cups/ipp.h:366: error: forward declaration of ‘struct _ipp_attribute_s’ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp:678: error: invalid use of incomplete type ‘struct _ipp_attribute_s’ /usr/include/cups/ipp.h:366: error: forward declaration of ‘struct _ipp_attribute_s’ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp:678: error: invalid use of incomplete type ‘struct _ipp_attribute_s’ /usr/include/cups/ipp.h:366: error: forward declaration of ‘struct _ipp_attribute_s’ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp:679: error: invalid use of incomplete type ‘struct _ipp_attribute_s’ /usr/include/cups/ipp.h:366: error: forward declaration of ‘struct _ipp_attribute_s’ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp:679: error: invalid use of incomplete type ‘struct _ipp_attribute_s’ /usr/include/cups/ipp.h:366: error: forward declaration of ‘struct _ipp_attribute_s’ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cupsdconf.cpp:680: error: invalid use of incomplete type ‘struct _ipp_attribute_s’ /usr/include/cups/ipp.h:366: error: forward declaration of ‘struct _ipp_attribute_s’ Error creating ./kdeprint/cups/cupsdconf2/cupsdconf.lo. Exit status 1. kdelibs3-3.5.10-12 make failed!
comment:4 Changed 12 years ago by mathieu.havel@…
I forgot to tell I'm running OS X Mountain Lion, with port version 2.1.2
comment:7 Changed 12 years ago by bbbill_42@…
Replying to mk@…:
This is the worst possible patch, but it seems to work for me. Basically I just moved the declares around to be more save (I think it's an issue, either the compiler is different or is more pedantic wrt forward defines).
It's wrong to change the underlying platform defines, and there are ways to fix this properly without doing that, I just wanted to push something that worked for me real quick in case anyone wanted to try it.
comment:8 Changed 12 years ago by mkae (Marko Käning)
Hmm, but this is a change to a header file of CUPS and not qt3...
I am puzzled. What am I missing here?
comment:9 Changed 12 years ago by jbaanus@…
Issue is still present for me. I managed to compile with the ugly hack though.
comment:10 Changed 12 years ago by nabeelr@…
Pardon my lack of knowledge, but, how do you apply this patch? I am still having this problem on Mountain Lion, and I can't get it to compile.
comment:11 Changed 12 years ago by mkae (Marko Käning)
Although I am on Snow Leopard I had a look at this ticket a while ago and was puzzled by the patch, since I couldn't find the ipp.h file in kdelibs3's sources.
Back then I must have found the file, otherwise I wouldn't have re-edited my initial comment:8 6 weeks ago.
Now that I tried to include the patch in the port file - to help out here - I couldn't locate the file in the sources:
$ sudo port extract Password: ---> Fetching distfiles for kdelibs3 ---> Attempting to fetch kdelibs-3.5.10.tar.bz2 from ftp://ftp.kde.org/pub/kde/stable/3.5.10/src/ ---> Attempting to fetch kde-admindir-1502.tar.bz2 from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/kde3 ---> Verifying checksum(s) for kdelibs3 ---> Extracting kdelibs3 $ find work/kdelibs-3.5.10 -name ipp.h $
You see me puzzled again.
Unfortunately I don't have time to do more research on this now. Can come back to this only after a week. Sorry, but perhaps the patch-poster bbbill_42@… can help you in the meantime.
Please report progress for this issue here.
comment:12 Changed 12 years ago by mkae (Marko Käning)
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
Looks like this ticket can be closed since it is a duplicate of #35478.
FIxed with r81030