Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361299 - sci-astronomy/cpl-5.2.0-r1 with sci-libs/gdal-1.8.0-r1 - file collision in /usr/include/cpl_error.h
Summary: sci-astronomy/cpl-5.2.0-r1 with sci-libs/gdal-1.8.0-r1 - file collision in /u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Astronomy project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-30 13:39 UTC by Viktor Kim
Modified: 2014-12-03 10:17 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Viktor Kim 2011-03-30 13:39:40 UTC
Installation of sci-astronomy/cpl-5.2.0-r1 interrupted because of header file collision /usr/include/cpl_error.h which is already installed by the sci-libs/gdal-1.8.0-r1 package.

Reproducible: Always

Steps to Reproduce:
1. Install sci-libs/gdal-1.8.0-r1 (USE="aux_xml curl fits geos gif hdf5 jpeg jpeg2k mysql netcdf ogdi pdf perl png python sqlite -debug -doc -ecwj2k -gml -odbc -postgres -ruby -threads")
2. Try to install sci-astronomy/cpl-5.2.0-r1 with USE="-doc -gasgano"
3. Installation failed.
Actual Results:  
...
>>> Installing (3 of 6) sci-astronomy/cpl-5.2.0-r1
 * checking 105 files for package collisions
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 * 	/usr/include/cpl_error.h
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * sci-libs/gdal-1.8.0-r1
 * 	/usr/include/cpl_error.h
 * 
 * Package 'sci-astronomy/cpl-5.2.0-r1' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="/opt/oracle/product/11.2.0/jre:/opt/oracle/product/11.2.0/jlib:/opt/oracle/product/11.2.0/rdbms/jlib:/opt/oracle/product/11.2.0/network/jlib" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info

>>> Failed to install sci-astronomy/cpl-5.2.0-r1, Log file:

>>>  '/var/tmp/portage/sci-astronomy/cpl-5.2.0-r1/temp/build.log'

 * GNU info directory index is up-to-date.


Portage 2.2.0_alpha29 (default/linux/x86/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-noloop i686)
=================================================================
System uname: Linux-2.6.38-gentoo-noloop-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.0.2
Timestamp of tree: Mon, 28 Mar 2011 23:30:01 +0000
ccache version 3.1.4 [disabled]
app-shells/bash:     4.2_p8
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.4_p6-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.38 (sys-kernel/linux-headers)
Repositories: gentoo spring sunrise pentoo
Installed sets: @system
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru ru_RU en en_US us"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/var/lib/layman/Spring /var/lib/layman/sunrise /var/lib/layman/pentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx 3ds X a52 aac aalib acl acpi alsa amr apm audacious bash-completion battery berkdb bluetooth branding bzip2 cairo ccache cdda cdio cdparanoia cdr cgi cjk cli cracklib crypt csv cups curl cxx dbase dbus directfb dri dts dvd dvdr emboss encode exif extras fam fbcon fbcondecor festival ffmpeg firefox flac flv force-cgi-redirect fortran fuse gdbm gdu geoip gif gimp glib gnuplot gpg gphoto2 gpm gstreamer gtk html iconv id3 id3tag imagemagick imlib ipv6 jack jbig jpeg jpeg2k kerberos lame laptop lcms libcaca libsamplerate libwww logrotate lzma lzo mad mikmod mktemp mmx mmxext mng modules mozilla mp3 mp4 mpeg mplayer mudflap musepack mysql nano-syntax ncurses nethack nfs nls nptl nptlonly objc objc++ objc-gc odbc ogg opengl openmp openssl oracle otr pam pango pcre pdf perl php pkcs11 plotutils png ppds pppd python python3 qt3support qt4 quicktime raw readline samba sdl serial session sftp skey slang sndfile snmp socks5 sqlite sqlite3 sse sse2 ssh ssl ssse3 subversion svg svga sylpheed symlink sysfs tcpd theora tiff timidity tools truetype udev unicode urandom usb utils v4l v4l2 vga vim-syntax vorbis wavpack wifi win32codecs wma wmf x264 x86 xattr xcb xcomposite xface xml xorg xscreensaver xulrunner xv xvid zeroconf zlib" ALSA_CARDS="hda-intel usb-audio" 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 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" 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" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru ru_RU en en_US us" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386" QEMU_USER_TARGETS="i386" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel v4l vesa fbdev" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sébastien Fabbro (RETIRED) gentoo-dev 2011-08-06 18:51:21 UTC
@gdal maintainers: would it be reasonable to rename or move these include files on your side, so we can avoid blocking?
Comment 2 Aaron W. Swenson gentoo-dev 2014-01-27 14:49:52 UTC
(In reply to Sébastien Fabbro from comment #1)
> @gdal maintainers: would it be reasonable to rename or move these include
> files on your side, so we can avoid blocking?

I may be able to move it to /usr/include/gdal. Give me a little time to figure out how much trouble it'll cause.
Comment 3 Aaron W. Swenson gentoo-dev 2014-11-05 16:12:44 UTC
*gdal-1.11.1-r1 (05 Nov 2014)

  05 Nov 2014; Aaron W. Swenson <titanofold@gentoo.org> -gdal-1.11.1.ebuild,
  +gdal-1.11.1-r1.ebuild:
  Fix bugs 361299 and 524052.