network/qsocketdevice_unix.cpp: In function `int qt_socket_accept(int, sockaddr*, int*)': network/qsocketdevice_unix.cpp:47: error: invalid conversion from 'int*' to 'socklen_t*' network/qsocketdevice_unix.cpp:47: error: initializing argument 3 of 'int accept(int, sockaddr*, socklen_t*)' network/qsocketdevice_unix.cpp: In member function `QSocketDevice::Protocol QSocketDevice::getProtocol() const': network/qsocketdevice_unix.cpp:132: error: invalid conversion from 'int*' to 'socklen_t*' network/qsocketdevice_unix.cpp:132: error: initializing argument 3 of 'int getsockname(int, sockaddr*, socklen_t*)' network/qsocketdevice_unix.cpp: In member function `int QSocketDevice::option(QSocketDevice::Option) const': network/qsocketdevice_unix.cpp:324: error: invalid conversion from 'int*' to 'socklen_t*' network/qsocketdevice_unix.cpp:324: error: initializing argument 5 of 'int getsockopt(int, int, int, void*, socklen_t*)' network/qsocketdevice_unix.cpp: In member function `virtual Q_LONG QSocketDevice::readBlock(char*, Q_ULONG)': network/qsocketdevice_unix.cpp:781: error: invalid conversion from 'int*' to 'socklen_t*' network/qsocketdevice_unix.cpp:781: error: initializing argument 6 of 'ssize_t recvfrom(int, void*, size_t, int, sockaddr*, socklen_t*)' network/qsocketdevice_unix.cpp: In member function `void QSocketDevice::fetchConnectionParameters()': network/qsocketdevice_unix.cpp:1047: error: invalid conversion from 'int*' to 'socklen_t*' network/qsocketdevice_unix.cpp:1047: error: initializing argument 3 of 'int getsockname(int, sockaddr*, socklen_t*)' network/qsocketdevice_unix.cpp:1051: error: invalid conversion from 'int*' to 'socklen_t*' network/qsocketdevice_unix.cpp:1051: error: initializing argument 3 of 'int getpeername(int, sockaddr*, socklen_t*)' make[1]: *** [.obj/release-shared-mt/qsocketdevice_unix.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [sub-src] Error 2 Reproducible: Always Steps to Reproduce: 1. 2. 3. emerge info Invalid package name in package.provided: app-crypt/mit-krb5 !!! Relying on the shell to locate gcc, this may break !!! DISTCC, installing gcc-config and setting your current gcc !!! profile will fix this Portage 2.0.51.21-r1 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.0.0 Power Macintosh) ================================================================= System uname: 8.0.0 Power Macintosh powerpc macos-20041118 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] dev-lang/python: [Not Present] sys-apps/sandbox: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: [Not Present] sys-devel/libtool: [Not Present] virtual/os-headers: 7.1 ACCEPT_KEYWORDS="ppc-macos ~ppc-macos" AUTOCLEAN="yes" CBUILD="powerpc-apple-darwin" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks strict userpriv" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc X Xaw3d cups emboss gd gif ipv6 jpeg lesstif libwww motif ncurses neXt nls opengl png ppc-macos python readline sqlite ssl tetex tiff truetype xinerama zlib userland_Darwin kernel_Darwin elibc_Darwin" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Great info and a patch set here: http://www.qtforum.org/thread.php?sid=&postid=49056#post49056 warning: patch did not fully work for me, I had to manually patch the files in mkspecs/mac-g++)
*** Bug 91831 has been marked as a duplicate of this bug. ***
I have committed an update to qt-3.3.4-r6 that definitely works on my box. Had to get patches from here and there, and roll some of my own, but it installs a working qt-x11 without on my machine. Please `emerge --sync && emerge qt`. If it doesn't work, please re-open this bug and post error details. I also have a working ebuild for qt-mac-3.3.5-snapshot-20050713 (which supports tiger out of the box), as well as a pachted version qt-mac-3.3.4, but it's not ready for prime time yet, as we don't have a fixed solution for installing .app files (almost there, but it's going to be a while still). Unless someone can find a way for them to nicely coincide, qt-mac and qt-x11 will be mutually exclusive (once qt-mac is in the tree, that is).