Please bump sys-devel/distcc to the freshly minted 3.0 release: Reproducible: Always
There's a HOMEPAGE change involved as well (see [1]). [1] http://distcc.samba.org/ > http://distcc.org/ -> URL
I've got it in my overlay, could you test?
Build failed on ~amd64. Build log attached, einfo below. Portage 2.2_rc6 (default/linux/amd64/2008.0/developer, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26.2 x86_64) ================================================================= System uname: Linux-2.6.26.2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-glibc2.2.5 Timestamp of tree: Sun, 10 Aug 2008 12:00:02 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.4.4-r14, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/jetty/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=core2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="buildsyspkg collision-protect cvs digest distlocks fixpackages metadata-transfer multilib-strict parallel-fetch preserve-libs sandbox sfperms sign splitdebug strict stricter unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org/" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage/layman/dberkholz /usr/local/portage /usr/local/portage/krossai /usr/local/portage/ibm-internal/gentoo-ebuilds /usr/local/portage/java-experimental" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa amd64 ao apache2 avahi bash-completion berkdb bluetooth bzip2 cairo caps cddb cdr cli cracklib crypt css cups cvs dbus directfb dri dvd dvdr dvdread eds emboss encode enscript esd evo fam fbcon ffmpeg firefox flac fortran gdbm gif git gnome gnutls gpm gstreamer gtk hal iconv id3tag ieee1394 imagemagick imap ipv6 isdnlog jpeg kde kerberos laptop ldap libnotify lzo mad mailwrapper mbox midi mikmod mmx mp3 mpeg mudflap multilib musepack mysql ncurses network nptl nptlonly ogg opengl openmp pam pcre pdf perl png pop ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection rtc samba sdl session sndfile snmp spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs tcpd theora tiff truetype unicode usb vcd vhosts vorbis x264 xinetd xml xorg xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="peruser" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev vga vesa nvidia nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 162648 [details] sys-devel:distcc-3.0:20080810-170422.log
Oops, it also needs to have IUSE="avahi", QA warning at top...
Created attachment 163686 [details, diff] patch for ebuild from dberkholz's overlay With this patch it will "ebuild distcc-3.0.ebuild compile" on my amd64 with gcc-4.2. Other minor enhancements added. Did not touch IUSE="avahi".
Probably want to add IUSE="avahi" and make a minor alteration: COMMON_DEP="dev-libs/popt avahi? ( >=net-dns/avahi-0.6.5 )" That way we don't build avahi for folks who don't have USE="avahi". :-)
(In reply to comment #4) > Created an attachment (id=162648) [edit] > sys-devel:distcc-3.0:20080810-170422.log For what it's worth I also get this error message on x86_64 with gcc-4.1.2
(In reply to comment #8) > (In reply to comment #4) > > Created an attachment (id=162648) [edit] > > sys-devel:distcc-3.0:20080810-170422.log > > For what it's worth I also get this error message on x86_64 with gcc-4.1.2 > Should we bug upstream until they make -Werror an otp-in/out feature?
I have problem on nstalling this patched ebuild: /bin/sh ./mkinstalldirs "/var/tmp/portage/sys-devel/distcc-3.0-r1/image/etc/distcc" mkdir /var/tmp/portage/sys-devel/distcc-3.0-r1/image/etc mkdir /var/tmp/portage/sys-devel/distcc-3.0-r1/image/etc/distcc /bin/sh ./mkinstalldirs "/var/tmp/portage/sys-devel/distcc-3.0-r1/image/etc/default" mkdir /var/tmp/portage/sys-devel/distcc-3.0-r1/image/etc/default /usr/bin/install -c -m 644 ./packaging/RedHat/conf/hosts /var/tmp/portage/sys-devel/distcc-3.0-r1/image/etc/distcc/hosts /usr/bin/install -c -m 644 ./packaging/RedHat/conf/clients.allow /var/tmp/portage/sys-devel/distcc-3.0-r1/image/etc/distcc/clients.allow /usr/bin/install -c -m 644 ./packaging/RedHat/conf/commands.allow.sh /var/tmp/portage/sys-devel/distcc-3.0-r1/image/etc/distcc/commands.allow.sh /usr/bin/install -c -m 644 ./packaging/RedHat/default/distcc /var/tmp/portage/sys-devel/distcc-3.0-r1/image/etc/default/distcc /var/tmp/portage/sys-devel/distcc-3.0-r1/image/usr/share/doc /var/tmp/portage/sys-devel/distcc-3.0-r1/work/distcc-3.0 mv: nie można wykonać stat na `distcc/*': Nie ma takiego pliku ani katalogu * * ERROR: sys-devel/distcc-3.0-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 3012: Called die * The specific snippet of code: * mv ${PN}/* ${PF}/ || die; * The die message: * (no error message) mv: nie można wykonać stat na `distcc/*': Nie ma takiego pliku ani katalogu means: cannot stat on ***: No such file or directory
Created attachment 168436 [details] distcc-3.0-r1.ebuild clean up.
Created attachment 168438 [details, diff] files/distcc-3.0-gentoo.patch
Created attachment 168446 [details] distcc-3.0-r1.ebuild
Created attachment 168448 [details] files/3.0/init
Created attachment 168450 [details] files/3.0/conf
Created attachment 168452 [details] distcc-3.0-r1.ebuild
Created attachment 168456 [details] distcc-3.0-r1.ebuild hmm, it seems that distcc-config is no longer needed. you can use /etc/conf.d/distccd and /etc/distcc/*.
(In reply to comment #17) > Created an attachment (id=168456) [edit] > distcc-3.0-r1.ebuild > > hmm, it seems that distcc-config is no longer needed. you can use > /etc/conf.d/distccd and /etc/distcc/*. > Is that the only thing distcc-config does for 3.0? From your previous ebuild: if [ "${ROOT}" = "/" ]; then einfo "Installing links to native compilers..." /usr/bin/distcc-config --install else # distcc-config can *almost* handle ROOT installs itself # but for now, but user must finsh things off elog elog "*** Installation is not complete ***" elog "You must run the following as root:" elog " /usr/bin/distcc-config --install" elog "after booting or chrooting into ${ROOT}" elog fi And still: distcc-config is a somewhat nice interface and you may break a lot of users scripts by removing it.
Created attachment 168866 [details] distcc-3.0-r1.ebuild ok, I see. Environment variables are needed not only for distccd but for distcc. Added distcc-config.
Created attachment 168868 [details] files/3.0/distcc-config
Created attachment 168872 [details] files/3.0/distcc-config fixed permission
Created attachment 168878 [details] distcc-3.0-r1.ebuild added make_wrapper
(In reply to comment #22) > Created an attachment (id=168878) [edit] > distcc-3.0-r1.ebuild > > added make_wrapper > matsuu: Feel free to commit the bump yourself.
Ugh! it is failed to make kernel with make_wrapper. I'll revert to symlink and commit with p.mask soon.
in cvs now.