Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234312 - sys-devel/distcc-3.0 version bump
Summary: sys-devel/distcc-3.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Petteri Räty (RETIRED)
URL: http://code.google.com/p/distcc/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-09 14:19 UTC by jieryn
Modified: 2008-10-18 16:23 UTC (History)
6 users (show)

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


Attachments
sys-devel:distcc-3.0:20080810-170422.log (sys-devel:distcc-3.0:20080810-170422.log,66.75 KB, text/plain)
2008-08-10 21:07 UTC, jieryn
Details
patch for ebuild from dberkholz's overlay (distcc-3.0.ebuild.patch,1.61 KB, patch)
2008-08-24 00:06 UTC, Boian Berberov
Details | Diff
distcc-3.0-r1.ebuild (distcc-3.0-r1.ebuild,3.52 KB, text/plain)
2008-10-14 16:22 UTC, MATSUU Takuto (RETIRED)
Details
files/distcc-3.0-gentoo.patch (distcc-3.0-gentoo.patch,1.20 KB, patch)
2008-10-14 16:23 UTC, MATSUU Takuto (RETIRED)
Details | Diff
distcc-3.0-r1.ebuild (distcc-3.0-r1.ebuild,3.76 KB, text/plain)
2008-10-14 17:05 UTC, MATSUU Takuto (RETIRED)
Details
files/3.0/init (init,525 bytes, text/plain)
2008-10-14 17:06 UTC, MATSUU Takuto (RETIRED)
Details
files/3.0/conf (conf,1.26 KB, text/plain)
2008-10-14 17:06 UTC, MATSUU Takuto (RETIRED)
Details
distcc-3.0-r1.ebuild (distcc-3.0-r1.ebuild,3.78 KB, text/plain)
2008-10-14 17:17 UTC, MATSUU Takuto (RETIRED)
Details
distcc-3.0-r1.ebuild (distcc-3.0-r1.ebuild,3.25 KB, text/plain)
2008-10-14 18:02 UTC, MATSUU Takuto (RETIRED)
Details
distcc-3.0-r1.ebuild (distcc-3.0-r1.ebuild,4.11 KB, text/plain)
2008-10-18 01:30 UTC, MATSUU Takuto (RETIRED)
Details
files/3.0/distcc-config (distcc-config,4.71 KB, text/plain)
2008-10-18 01:30 UTC, MATSUU Takuto (RETIRED)
Details
files/3.0/distcc-config (distcc-config,4.71 KB, text/plain)
2008-10-18 01:52 UTC, MATSUU Takuto (RETIRED)
Details
distcc-3.0-r1.ebuild (distcc-3.0-r1.ebuild,4.23 KB, text/plain)
2008-10-18 03:47 UTC, MATSUU Takuto (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jieryn 2008-08-09 14:19:36 UTC
Please bump sys-devel/distcc to the freshly minted 3.0 release:



Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-09 16:34:06 UTC
There's a HOMEPAGE change involved as well (see [1]).


[1] http://distcc.samba.org/ > http://distcc.org/ -> URL
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2008-08-10 20:44:07 UTC
I've got it in my overlay, could you test?
Comment 3 jieryn 2008-08-10 21:07:19 UTC
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
Comment 4 jieryn 2008-08-10 21:07:52 UTC
Created attachment 162648 [details]
sys-devel:distcc-3.0:20080810-170422.log
Comment 5 jieryn 2008-08-10 21:09:04 UTC
Oops, it also needs to have IUSE="avahi", QA warning at top...
Comment 6 Boian Berberov 2008-08-24 00:06:49 UTC
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".
Comment 7 Alex Howells 2008-09-02 12:41:02 UTC
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". :-)
Comment 8 Alex Howells 2008-09-02 12:50:50 UTC
(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
Comment 9 Xake 2008-09-16 21:10:02 UTC
(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?
Comment 10 Mieszko Ślusarczyk 2008-10-12 02:12:55 UTC
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
Comment 11 MATSUU Takuto (RETIRED) gentoo-dev 2008-10-14 16:22:42 UTC
Created attachment 168436 [details]
distcc-3.0-r1.ebuild

clean up.
Comment 12 MATSUU Takuto (RETIRED) gentoo-dev 2008-10-14 16:23:06 UTC
Created attachment 168438 [details, diff]
files/distcc-3.0-gentoo.patch
Comment 13 MATSUU Takuto (RETIRED) gentoo-dev 2008-10-14 17:05:33 UTC
Created attachment 168446 [details]
distcc-3.0-r1.ebuild
Comment 14 MATSUU Takuto (RETIRED) gentoo-dev 2008-10-14 17:06:04 UTC
Created attachment 168448 [details]
files/3.0/init
Comment 15 MATSUU Takuto (RETIRED) gentoo-dev 2008-10-14 17:06:27 UTC
Created attachment 168450 [details]
files/3.0/conf
Comment 16 MATSUU Takuto (RETIRED) gentoo-dev 2008-10-14 17:17:59 UTC
Created attachment 168452 [details]
distcc-3.0-r1.ebuild
Comment 17 MATSUU Takuto (RETIRED) gentoo-dev 2008-10-14 18:02:43 UTC
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/*.
Comment 18 Xake 2008-10-15 07:10:26 UTC
(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.
Comment 19 MATSUU Takuto (RETIRED) gentoo-dev 2008-10-18 01:30:09 UTC
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.
Comment 20 MATSUU Takuto (RETIRED) gentoo-dev 2008-10-18 01:30:37 UTC
Created attachment 168868 [details]
files/3.0/distcc-config
Comment 21 MATSUU Takuto (RETIRED) gentoo-dev 2008-10-18 01:52:01 UTC
Created attachment 168872 [details]
files/3.0/distcc-config

fixed permission
Comment 22 MATSUU Takuto (RETIRED) gentoo-dev 2008-10-18 03:47:12 UTC
Created attachment 168878 [details]
distcc-3.0-r1.ebuild

added make_wrapper
Comment 23 Petteri Räty (RETIRED) gentoo-dev 2008-10-18 13:19:43 UTC
(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.
Comment 24 MATSUU Takuto (RETIRED) gentoo-dev 2008-10-18 16:03:01 UTC
Ugh! it is failed to make kernel with make_wrapper. I'll revert to symlink and commit with p.mask soon.
Comment 25 MATSUU Takuto (RETIRED) gentoo-dev 2008-10-18 16:23:35 UTC
in cvs now.