Ticket #14812 (closed defect: invalid)
kcachegrind 0.4.6 build failure - cycle in dylib re-exports
| Reported by: | sam@… | Owned by: | simon@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | kde | Cc: | sam@…, simon@… |
| Port: | kcachegrind |
Description
I was able to install kde through mac ports but for kcachegrind I get...
Sam-MacBook-Pro:lib sam$ sudo port install kcachegrind ---> Building kcachegrind with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_kcachegrind/work/kcachegrind-0.4.6" && make all " returned error 2 Command output: Makefile:833: warning: overriding commands for target `clean-bcheck' Makefile:796: warning: ignoring old commands for target `clean-bcheck' Makefile:838: warning: overriding commands for target `bcheck-am' Makefile:801: warning: ignoring old commands for target `bcheck-am' make all-recursive Makefile:833: warning: overriding commands for target `clean-bcheck' Makefile:796: warning: ignoring old commands for target `clean-bcheck' Makefile:838: warning: overriding commands for target `bcheck-am' Makefile:801: warning: ignoring old commands for target `bcheck-am' Making all in kcachegrind /bin/sh ../libtool --silent --mode=link --tag=CXX /usr/bin/g++-4.0 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -fno-exceptions -fno-check-new -fno-common -L/opt/local/lib -o kcachegrind -L/usr/X11/lib -L/opt/local/lib/qt3/lib -L/opt/local/lib -L/opt/local/lib -R /opt/local/lib -R /opt/local/lib/qt3/lib -R /usr/X11/lib -R /opt/local/lib loader.o cachegrindloader.o treemap.o pool.o kwidgetaction.o main.o configuration.o functionselection.o coverage.o partgraph.o toplevel.o stackselection.o stackbrowser.o subcost.o tracedata.o partselection.o configdlg.o utils.o fixcost.o traceitemview.o instrview.o tabview.o sourceview.o callmapview.o callview.o coverageview.o costtypeview.o partview.o listutils.o costtypeitem.o multiview.o callitem.o coverageitem.o sourceitem.o costlistitem.o partlistitem.o functionitem.o instritem.o stackitem.o callgraphview.o functionselectionbase.o stackselectionbase.o partselectionbase.o configdlgbase.o -lkio -lkdeui -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread ld: cycle in dylib re-exports with /usr/X11/lib/libGL.dylib collect2: ld returned 1 exit status make[2]: *** [kcachegrind] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing.
I'm on OS X 10.5.2 (MacBook Pro, Intel Core 2 Duo)
Change History
comment:1 Changed 5 years ago by jmr@…
- Owner changed from macports-tickets@… to simon@…
- Summary changed from kcachegrind 0.4.6 - Error: Status 1 encountered during processing. to kcachegrind 0.4.6 build failure - cycle in dylib re-exports
comment:2 Changed 5 years ago by simon@…
- Cc sam@…, simon@… added
- Status changed from new to assigned
This workaround was added by raimue@ in [34328]. Please use sudo port selfupdate to make sure you got the last version of the Portfile. Then try building kcachegrind again.
Thanks for your report,
Simon
comment:3 Changed 5 years ago by sam.sjk@…
I had tried that before filing the bug.
selfupdate states I am on base version 1.600.
Tried it again just to be sure but kcachegrind still fails with same result
Note: See
TracTickets for help on using
tickets.


Assigning to maintainer.
Looks like this needs the usual Leopard workaround:
platform darwin 9 { configure.ldflags-append -dylib_file \ /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\ /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib }