Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 408435 - dev-lang/tk-8.5.11 emake failed with aqua support
Summary: dev-lang/tk-8.5.11 emake failed with aqua support
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL: http://trac.macports.org/ticket/20799
Whiteboard:
Keywords:
Depends on:
Blocks: 413433
  Show dependency tree
 
Reported: 2012-03-16 04:06 UTC by Yishen Miao (mys_721tx)
Modified: 2017-11-15 17:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Complete log for dev-lang/tk-8.5.11 (build.log,186.52 KB, text/plain)
2012-03-16 04:08 UTC, Yishen Miao (mys_721tx)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yishen Miao (mys_721tx) 2012-03-16 04:06:13 UTC
dev-lang/tk-8.5.11: emake failed due to aqua support.

Reproducible: Always

Steps to Reproduce:
1.# USE="aqua" emerge -av dev-lang/tk
Actual Results:  
tkMacOSXButton.c cannot be compiled.

Expected Results:  
tk should be built successfully with aqua feature.

Portage 2.2.01.20271-prefix (prefix/darwin/macos/10.7/x64, gcc-4.2.1, unavailable, 11.3.0 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Darwin-11.3.0-x86_64-i386-64bit
Timestamp of tree: Fri, 16 Mar 2012 01:24:56 +0000
app-shells/bash:      4.2_p20::gentoo_prefix
dev-java/java-config: 2.1.11-r3::gentoo_prefix
dev-lang/python:      2.7.2-r3::gentoo_prefix
dev-util/pkgconfig:   0.26::gentoo_prefix
sys-devel/autoconf:   2.68::gentoo_prefix
sys-devel/automake:   1.11.1::gentoo_prefix
sys-devel/gcc-config: 1.5-r2::gentoo_prefix
sys-devel/libtool:    2.4-r4::gentoo_prefix
sys-devel/make:       3.82::gentoo_prefix
Repositories: gentoo_prefix
Installed sets: 
ACCEPT_KEYWORDS="~x64-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-apple-darwin11"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-apple-darwin11"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/Users/mys_721tx/Gentoo/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles force-prefix news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-dead_strip_dylibs"
MAKEOPTS="-j3"
PKGDIR="/Users/mys_721tx/Gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/Users/mys_721tx/Gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Users/mys_721tx/Gentoo/var/tmp"
PORTDIR="/Users/mys_721tx/Gentoo/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="X aqua bash-completion bzip2 coreaudio cracklib crypt cxx fortran iconv ipv6 java jpeg lapack lua mmx mmxext modules ncurses nls objc objc++ opengl png prefix python readline sse sse2 ssl svg threads unicode x64-macos zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Yishen Miao (mys_721tx) 2012-03-16 04:08:12 UTC
Created attachment 305577 [details]
Complete log for dev-lang/tk-8.5.11

x86_64-apple-darwin11-gcc -c -Os -O2 -pipe -march=nocona -pipe  -fpascal-strings   -Wall -fno-common -I/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../unix -I/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../generic -I/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../bitmaps -I/Users/mys_721tx/Gentoo/usr/lib/tcl8.5/include/generic -I/Users/mys_721tx/Gentoo/usr/lib/tcl8.5/include/unix -I/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx -I/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../xlib -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_GET_STACKSIZE_NP=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -D_DARWIN_C_SOURCE=1 -DMAC_OSX_TK=1     -DTCL_NO_DEPRECATED  -DUSE_TCL_STUBS  /Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx/tkMacOSXButton.c
/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx/tkMacOSXBitmap.c: In function ‘TkpCreateNativeBitmap’:
/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx/tkMacOSXBitmap.c:147: warning: implicit declaration of function ‘QDSwapPort’
/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx/tkMacOSXBitmap.c:150: warning: implicit declaration of function ‘SetRect’
/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx/tkMacOSXBitmap.c:154: warning: implicit declaration of function ‘RGBForeColor’
/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx/tkMacOSXBitmap.c:155: warning: implicit declaration of function ‘PaintRect’
/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx/tkMacOSXBitmap.c:156: warning: implicit declaration of function ‘PlotIconID’
/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx/tkMacOSXBitmap.c:158: warning: implicit declaration of function ‘GetIcon’
/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx/tkMacOSXBitmap.c:158: warning: initialization makes pointer from integer without a cast
/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx/tkMacOSXBitmap.c:164: warning: implicit declaration of function ‘PlotIcon’
/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx/tkMacOSXBitmap.c: In function ‘TkpGetNativeAppBitmap’:
/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx/tkMacOSXBitmap.c:259: warning: implicit declaration of function ‘GetCIcon’
/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx/tkMacOSXBitmap.c:259: warning: cast to pointer from integer of different size
/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx/tkMacOSXBitmap.c:260: warning: implicit declaration of function ‘PlotCIcon’
/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx/tkMacOSXBitmap.c:260: error: ‘CIconHandle’ undeclared (first use in this function)
/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx/tkMacOSXBitmap.c:260: error: (Each undeclared identifier is reported only once
/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx/tkMacOSXBitmap.c:260: error: for each function it appears in.)
/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx/tkMacOSXBitmap.c:260: error: expected ‘)’ before ‘resource’
/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx/tkMacOSXBitmap.c:261: warning: implicit declaration of function ‘DisposeCIcon’
/Users/mys_721tx/Gentoo/var/tmp/portage/dev-lang/tk-8.5.11/work/tk8.5.11/unix/../macosx/tkMacOSXBitmap.c:261: error: expected ‘)’ before ‘resource’
make: *** [tkMacOSXBitmap.o] Error 1
Comment 2 Fabian Groffen gentoo-dev 2012-03-24 14:38:17 UTC
macports is struggling with this also, it seems
Comment 3 Fabian Groffen gentoo-dev 2012-04-30 13:33:59 UTC
We'd need a tk-8.6 pre-release/beta to get this compiling.  I've masked tk in the meantime.  Unfortunately, 8.6 has a long road to go, with no date for release yet.
http://wiki.tcl.tk/20966
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2013-01-11 12:23:54 UTC
There is some more darwin/aqua support in 8.6.0.
Comment 5 Fabian Groffen gentoo-dev 2017-11-15 17:29:31 UTC
Later versions should be here now, would need revisiting to see if this is still necessary.