Portage 2.2.0_alpha142 (hardened/linux/amd64/no-multilib, gcc-4.5.4-asneeded-asneeded, glibc-2.15-r3, 3.4.7-hardened x86_64) ================================================================= System uname: Linux-3.4.7-hardened-x86_64-AMD_Opteron-TM-_Processor_6272-with-gentoo-2.1 Timestamp of tree: Fri, 02 Nov 2012 20:00:01 +0000 ld GNU ld (GNU Binutils) 2.22 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 3.1.7 [disabled] app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.8, 2.7.3-r2, 3.2.3 dev-util/ccache: 3.1.7 dev-util/cmake: 2.8.9 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.4 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0 /var/bind /var/lib/hsqldb /var/qmail/alias /var/qmail/control /var/spool/torque /var/vpopmail/etc /var/yp/Makefile" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches" DISTDIR="/var/cache/portage/distfiles" FCFLAGS="-O2 -pipe -ggdb -march=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict test test-fail-continue unknown-features-warn unmerge-orphans userfetch userpriv usersandbox" FFLAGS="-O2 -pipe -ggdb -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.hoobly.com/ http://gentoo.llarian.net/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j24" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="/tmp" PORTDIR="/var/cache/tinderbox/tree" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowex acl amd64 berkdb bzip2 cli cracklib crypt cups curl cxx dri ffmpeg gdbm gpm hardened iconv introspection ipv6 justify mmx modules mudflap ncurses nls nptl openmp pam pax_kernel pcre plasma pppd qt3support readline semantic-desktop session sse sse2 sse3 sse4 ssl ssse3 tcpd unicode urandom vhosts 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="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" 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, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Thanks for the report. DispcalGUI tries to install Argyll's udev rules. Since we have set Argyll as a dependency, we don't need dispcalgui to install them again nor portage protest for file collisions. I knew that these rules can either be called 45-Argyll.rules or 55-Argyll.rules but never saw the former, so in the ebuild I only checked for the latter. The fix is easy and it will also avoid creating an empty /etc/udev/rules.d path. I will attach the new ebuilds.
Created attachment 333760 [details] dispcalGUI 0.9.9.1 fixed ebuild Replaced: rm "${D}"/etc/udev/rules.d/55-Argyll.rules || die With: [ -d "${D}"/etc/udev ] && (rm -rf "${D}"/etc/udev || die)
Created attachment 333762 [details] dispcalGUI 1.1.0.0 fixed ebuild Replaced: rm "${D}"/etc/udev/rules.d/55-Argyll.rules || die With: [ -d "${D}"/etc/udev ] && (rm -rf "${D}"/etc/udev || die)
Created attachment 333764 [details] dispcalGUI 1.1.0.0 fixed ebuild Replaced: rm "${D}"/etc/udev/rules.d/55-Argyll.rules || die With: [ -d "${D}"/etc/udev ] && (rm -rf "${D}"/etc/udev || die)
Created attachment 333766 [details] dispcalGUI 1.1.2.9 fixed ebuild Replaced: rm "${D}"/etc/udev/rules.d/55-Argyll.rules || die With: [ -d "${D}"/etc/udev ] && (rm -rf "${D}"/etc/udev || die)
Created attachment 333768 [details] dispcalGUI 1.1.2.1 fixed ebuild Replaced: rm "${D}"/etc/udev/rules.d/55-Argyll.rules || die With: [ -d "${D}"/etc/udev ] && (rm -rf "${D}"/etc/udev || die)
Don't check for the dir if you're using rm -rf, and don't die if you're using rm -rf either. rm -rf "${D}"/etc/udev/rules.d would work just fine for what you're trying, but it's likely going to fail again. There's actually an eclass function to tell you where the rules are going to be installed, as portage-installed rules should go in /lib/rules.d (or somewhere in /usr I don't exactly know), rather than in /etc (which is reserved for user-added rules). I suppose one of the problems is that the ebuild has been edited by non-maintainer to not use /etc/udev and not tested thoroughly.
dispcalgui always checks for (and installs if needed) argyll's rules at /etc/udev. It is a hardcoded path in its setup code until now. During its setup process, it checks if these files exist and only installs them if they are missing. On Gentoo the check fails because we don't install udev rules in /etc/udev. But we are sure that they exist in their correct paths (/lib/udev or /usr/lib/udev) due to argyll being a dependency. Unfortunately I do not know much about Python, so I couldn't find a better way than good old bash to fix the various issues.
what's pending here? Should all these ebuilds be committed or not?
Yes and no. Let me upload ebuilds (or patches) with Diego's version of the fix I suggested and since we are at it, a bumped ebuild for the latest dispcalGUI. I'll try to do it until Friday.
Hey, just installed this and thought I would pop a comment on here with my thoughts.. A couple of things: 1. This should depend on the 2.8 wxpython slot. It doesn't work with 2.9 and currently it will get pulled due to >=2.8. 2. Version 1.2.7.0 is now available. Keep up the good proxy work
The problem seems to be greater. DispcalGUI doesn't work even with a slotted installation of wxpython (2.8 and 2.9 concurrently on a system). Tomorrow I will upload updated ebuilds that fix this report's issue and restrict wxpython to 2.8. For dispcalgui-1.2.7.0 I will try to create a patch, so that it will support a slotted installation of wxpython 2.8 and 2.9 (or any newer version).
Created attachment 345958 [details] dispcalgui 0.9.9.1 ebuild New ebuild for dispcalgui-0.9.9.1. Since wxpython:2.9 is in testing, there won't be any problems. Differences from portage version: # diff -u /usr/portage/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild dispcalgui-0.9.9.1.ebuild --- /usr/portage/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild 2012-11-03 00:31:18.000000000 +0200 +++ dispcalgui-0.9.9.1.ebuild 2013-04-19 00:59:41.320017230 +0300 @@ -22,7 +22,8 @@ IUSE="" DEPEND=">=media-gfx/argyllcms-1.1.0 - >=dev-python/wxpython-2.8.10.1 + dev-python/wxpython:2.8 + !dev-python/wxpython:2.9 >=x11-libs/libX11-1.3.3 >=x11-apps/xrandr-1.3.2 >=x11-libs/libXxf86vm-1.1.0 @@ -51,7 +52,7 @@ src_install() { distutils_src_install #remove udev files - rm "${D}"/etc/udev/rules.d/55-Argyll.rules || die + rm -rf "${D}"/etc/udev/rules.d } pkg_postinst() {
Created attachment 345960 [details] dispcalgui 1.1.2.9 ebuild Updated ebuild for dispcalgui 1.1.2.9. Anyone who is using wxpython:2.9 will come up with a blockage if he stays on this one. Differences from portage version: # diff -u /usr/portage/media-gfx/dispcalgui/dispcalgui-1.1.2.9.ebuild dispcalgui-1.1.2.9.ebuild --- /usr/portage/media-gfx/dispcalgui/dispcalgui-1.1.2.9.ebuild 2012-12-14 13:57:32.000000000 +0200 +++ dispcalgui-1.1.2.9.ebuild 2013-04-19 00:58:31.784129603 +0300 @@ -22,7 +22,8 @@ IUSE="" DEPEND=">=media-gfx/argyllcms-1.1.0 - >=dev-python/wxpython-2.8.10.1 + dev-python/wxpython:2.8 + !dev-python/wxpython:2.9 >=x11-libs/libX11-1.3.3 >=x11-apps/xrandr-1.3.2 >=x11-libs/libXxf86vm-1.1.0 @@ -58,7 +59,7 @@ src_install() { distutils_src_install #remove udev files - rm "${D}"/etc/udev/rules.d/55-Argyll.rules || die + rm -rf "${D}"/etc/udev/rules.d } pkg_postinst() {
Created attachment 345962 [details] dispcalgui 1.2.7.0 ebuild This is a new ebuild for dispcalgui 1.2.7.0. I created a patch (attached below) to support concurrent installation of wxpython:2.8 and wxpython:2.9. You can download the source file (dispcalGUI-1.2.7.0.tar.gz) from http://dispcalgui.hoech.net/download/dispcalGUI.tar.gz
Created attachment 345964 [details] dispcalgui-1.2.7.0-wxversion-select.patch This patch makes dispcalGUI.py to select wxpython 2.8 in case there are more versions installed in the system.
So, to conclude. Markos, you can commit: -dispcalgui-0.9.9.1.ebuild -dispcalgui-1.1.2.9.ebuild -dispcalgui-1.2.7.0.ebuild -files/dispcalgui-1.2.7.0-wxversion-select.patch Please remove from portage the testing old versions: -dispcalgui-1.1.0.0.ebuild -dispcalgui-1.1.2.1.ebuild Thank you and sorry for the huge delay.
Thanks. I will review the ebuilds soon
+*dispcalgui-1.2.7.0 (10 May 2013) + + 10 May 2013; Markos Chandras <hwoarang@gentoo.org> +dispcalgui-1.2.7.0.ebuild, + +files/dispcalgui-1.2.7.0-wxversion-select.patch, -dispcalgui-1.1.0.0.ebuild, + -dispcalgui-1.1.2.1.ebuild, dispcalgui-0.9.9.1.ebuild, + dispcalgui-1.1.2.9.ebuild: + Version bump. Thanks to Marios Andreopoulos <opensource@andmarios.com>. Fixes + bug #449302 +