Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303673 - dev-python/pyqwt-5.2.0, dev-python/PyQt4-4.5.4-r4: File collision
Summary: dev-python/pyqwt-5.2.0, dev-python/PyQt4-4.5.4-r4: File collision
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: Alpha Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-06 06:44 UTC by Kazuyoshi Furutaka
Modified: 2010-02-07 17:10 UTC (History)
2 users (show)

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


Attachments
/var/tmp/portage/dev-python/pyqwt-5.2.0/temp/build.log (build.log,75.79 KB, text/plain)
2010-02-06 06:46 UTC, Kazuyoshi Furutaka
Details
the build log of sip-4.9.3-r1.ebuild. (sip-4.9.3-r1.ebuild.log,10.73 KB, text/plain)
2010-02-07 12:50 UTC, Kazuyoshi Furutaka
Details
the build log of PyQt4-4.6.2.ebuild (PyQt4-4.6.2.ebuild.log,433.42 KB, text/plain)
2010-02-07 12:50 UTC, Kazuyoshi Furutaka
Details
the build log of pyqwt-5.2.0 (w/ sip-4.9.3-r1 and PyQt4-4.6.2 installed) (pyqwt-5.2.0-PyQt4-4.6.2-r4ebuild.log,81.65 KB, text/plain)
2010-02-07 13:03 UTC, Kazuyoshi Furutaka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kazuyoshi Furutaka 2010-02-06 06:44:00 UTC
By doing `emerge /usr/portage/dev-python/pyqwt/pyqwt-5.2.0.ebuild` the masked package have built successfully, but its installation failed due to a collision of a file (qwt.py) to that installed by dev-python/PyQt4-4.5.4-r4.

Reproducible: Always

Steps to Reproduce:
1. emerge /usr/portage/dev-python/pyqwt/pyqwt-5.2.0.ebuild
2.
3.

Actual Results:  
 * Detected file collision(s):
 * 
 *      /usr/lib/python2.6/site-packages/PyQt4/uic/widget-plugins/qwt.pyc
 *      /usr/lib/python2.6/site-packages/PyQt4/uic/widget-plugins/qwt.py
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * dev-python/PyQt4-4.5.4-r4
 *      /usr/lib/python2.6/site-packages/PyQt4/uic/widget-plugins/qwt.py
 * 
 * Package 'dev-python/pyqwt-5.2.0' NOT merged due to file collisions.

Expected Results:  
Successful installation (w/o the collision) of pyqwt-5.2.0

furutaka@genalpha ~ $ cat emerge--info.alpha.20100206 
Portage 2.1.7.16 (default/linux/alpha/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.30-gentoo-r6 alpha)
=================================================================
System uname: Linux-2.6.30-gentoo-r6-alpha-EV56-with-gentoo-1.12.13
Timestamp of tree: Sat, 06 Feb 2010 00:00:01 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="alpha"
ACCEPT_LICENSE="* -@EULA"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mieee -pipe -O2 -mcpu=ev56"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-mieee -pipe -O2 -mcpu=ev56"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.gg3.net/ ftp://gg3.net/pub/linux/gentoo/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://gentoo.channelx.biz/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ ftp://ftp.jaist.ac.jp/pub/Linux/Gentoo/ http://ftp.iij.ad.jp/pub/linux/gentoo/ ftp://ftp.iij.ad.jp/pub/linux/gentoo/ "
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl alpha alsa berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds encode evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 jpeg kde ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 bt87x ca0106 cmipci emu10k1 ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 maestro3 trident usb-audio via82xx 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 authn_alias authn_anon 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage tdfx voodoo" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Kazuyoshi Furutaka 2010-02-06 06:46:24 UTC
Created attachment 218625 [details]
/var/tmp/portage/dev-python/pyqwt-5.2.0/temp/build.log
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2010-02-06 15:45:14 UTC
PyQt4-4.7 ChangeLog states:

2009/10/23 13:47:27  phil
Released as v4.6.1.
2009/08/02 16:20:16  phil
Removed the qwt.py plugin for pyuic as one is now included with PyQwt.

So I guess this should work with newest pyQt4, but nevertheless blocker should be added into pyqwt ebuild:

!<dev-python/PyQt4-4.6.1

@maintainers, could you handle this part?

Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2010-02-06 16:14:21 UTC
Why not just depending on >=dev-python/PyQt4-4.6.1 ?
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2010-02-06 16:52:00 UTC
Yup, good solution too.
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-02-07 03:08:15 UTC
I have updated dependencies.
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2010-02-07 09:33:34 UTC
Kazuyoshi, please after retest open new bug for keywording on alpha.
Comment 7 Kazuyoshi Furutaka 2010-02-07 12:47:33 UTC
(In reply to comment #6)
> Kazuyoshi, please after retest open new bug for keywording on alpha.

After a `emerge --sync`, by doing `emerge /usr/portage/dev-python/pyqwt/pyqwt-5.2.0.ebuild` (w/ dev-python/PyQt4 installed) I got:
  !!! All ebuilds that could satisfy ">=dev-python/PyQt4-4.6.1" have been masked.
  !!! One of the following masked packages is required to complete your request:
  - dev-python/PyQt4-4.7 (masked by: ~alpha keyword)
  - dev-python/PyQt4-4.6.2 (masked by: ~alpha keyword)
  
  (dependency required by "dev-python/pyqwt-5.2.0" [ebuild])
  (dependency required by "/usr/portage/dev-python/pyqwt/pyqwt-5.2.0.ebuild" [argument])
  
  For more information, see the MASKED PACKAGES section in the emerge
  man page or refer to the Gentoo Handbook.

Then after succesful `emerge /usr/portage/dev-python/sip/sip-4.9.3-r1.ebuild` and `emerge /usr/portage/dev-python/PyQt4/PyQt4-4.6.2.ebuild`, I again did `emerge /usr/portage/dev-python/pyqwt/pyqwt-5.2.0.ebuild` and it was finally built and installed w/o any problems.

Could you change the word "~alpha" in the KEYWORDS of the pyqwt ebuild file to "alpha", please?

Three further questions.

1. Why is the PyQt4 package masked for x86 arch. w/ KEYWORDS?
 
2. How should I ask the maintainers of dev-python/sip and dev-python/PyQt4 to 
change the keywording from "~alpha" to "alpha"?

3. I'm going to see whether a part of the packages which are currently masked for alpha arch. (by "~alpha" or missing keyword) can be ebuild'ed or not.  What is the best way to inform the results?

Yours,
Kazuyoshi
Comment 8 Kazuyoshi Furutaka 2010-02-07 12:50:01 UTC
Created attachment 218803 [details]
the build log of sip-4.9.3-r1.ebuild.
Comment 9 Kazuyoshi Furutaka 2010-02-07 12:50:45 UTC
Created attachment 218805 [details]
the build log of PyQt4-4.6.2.ebuild
Comment 10 Kazuyoshi Furutaka 2010-02-07 13:03:51 UTC
Created attachment 218807 [details]
the build log of pyqwt-5.2.0 (w/ sip-4.9.3-r1 and PyQt4-4.6.2 installed)
Comment 11 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-02-07 17:10:30 UTC
(In reply to comment #7)
> (In reply to comment #6)
> `emerge /usr/portage/dev-python/pyqwt/pyqwt-5.2.0.ebuild`

You should use e.g. `emerge dev-python/pyqwt` or `emerge =dev-python/pyqwt-5.2.0`.

> 1. Why is the PyQt4 package masked for x86 arch. w/ KEYWORDS?

http://packages.gentoo.org/package/dev-python/PyQt4?arches=linux

> 2. How should I ask the maintainers of dev-python/sip and dev-python/PyQt4 to 
> change the keywording from "~alpha" to "alpha"?

I have already reported bug #300713.

> 3. I'm going to see whether a part of the packages which are currently masked
> for alpha arch. (by "~alpha" or missing keyword) can be ebuild'ed or not.
> What is the best way to inform the results?

Report keyword request or stabilization request bugs for relevant packages.