Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374039 - =www-apps/redmine-1.2.0 fails to install due to dependency conflict
Summary: =www-apps/redmine-1.2.0 fails to install due to dependency conflict
Status: RESOLVED DUPLICATE of bug 374485
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-04 15:32 UTC by Diego Augusto Molina
Modified: 2011-07-26 17:57 UTC (History)
0 users

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 Diego Augusto Molina 2011-07-04 15:32:58 UTC
# emerge -pv =www-apps/redmine-1.2.0
unexpected reloc type in static binary
These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] www-apps/redmine-1.2.0  USE="-fastcgi -imagemagick -mysql -openid -passenger -postgres -sqlite3 -test" RUBY_TARGETS="ruby18" 5,789 kB
[ebuild  N    ]  dev-ruby/rails-2.3.11  USE="-doc -test" RUBY_TARGETS="ruby18 -ree18" 207 kB
[ebuild  N    ]   dev-ruby/actionmailer-2.3.11  USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18" 268 kB
[ebuild  N    ]   dev-ruby/activeresource-2.3.11  USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18" 73 kB
[ebuild  N    ]   dev-ruby/actionpack-2.3.11  USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18" 1,058 kB
[ebuild  N    ]   dev-ruby/activerecord-2.3.11  USE="-doc -mysql -postgres -sqlite3 -test" RUBY_TARGETS="ruby18 -jruby -ree18" 558 kB
[ebuild  N    ]    dev-ruby/activesupport-2.3.11  USE="-test" RUBY_TARGETS="ruby18 -jruby -ree18" 421 kB
[ebuild  N    ]     dev-ruby/builder-2.1.2-r2  USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18" 20 kB
[ebuild  N    ]     dev-ruby/tzinfo-0.3.29  USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 290 kB
[nomerge      ] dev-ruby/actionmailer-2.3.11  USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18"
[ebuild  N    ]  dev-ruby/tmail-1.2.7.1-r2  USE="-debug -doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 436 kB
[ebuild  N    ]   dev-ruby/racc-1.4.6  USE="-test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 108 kB
[ebuild  N    ]  dev-ruby/text-format-1.0.0-r3  USE="-test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 29 kB
[ebuild  N    ]   dev-ruby/text-hyphen-1.0.2  USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 360 kB
[nomerge      ] www-apps/redmine-1.2.0  USE="-fastcgi -imagemagick -mysql -openid -passenger -postgres -sqlite3 -test" RUBY_TARGETS="ruby18"
[ebuild  N    ]  dev-ruby/coderay-0.9.7  USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 103 kB
[ebuild  N    ]  dev-ruby/ruby-net-ldap-0.0.4-r1  USE="-test" RUBY_TARGETS="ruby18 -jruby -ree18" 41 kB
[ebuild  N    ]  dev-ruby/i18n-0.4.2  USE="-test" RUBY_TARGETS="ruby18 -jruby -ree18" 65 kB
[ebuild  N    ]  dev-ruby/rack-1.1.0-r1  USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 328 kB
[ebuild  N    ]  dev-ruby/rake-0.8.7-r6  USE="-bash-completion -doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 101 kB
[ebuild  N    ]   dev-ruby/rubygems-1.3.7-r5  USE="-server -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 0 kB
[ebuild  N    ]    dev-lang/ruby-1.8.7_p334-r1  USE="berkdb gdbm ncurses readline ssl -debug -doc -examples -ipv6 -libedit -rubytests -socks5 -threads -tk -xemacs" 4,095 kB
[ebuild  N    ]     app-admin/eselect-ruby-20100603  2 kB
[nomerge      ] dev-ruby/rails-2.3.11  USE="-doc -test" RUBY_TARGETS="ruby18 -ree18"
[ebuild  N    ]  app-admin/eselect-rails-0.17  2 kB

Total: 22 packages (22 new), Size of downloads: 14,347 kB

!!! One or more updates have been skipped due to a dependency conflict:

dev-ruby/activerecord:2.3

  (dev-ruby/activerecord-2.3.12, ebuild scheduled for merge) conflicts with
    ~dev-ruby/activerecord-2.3.11[ruby_targets_ruby18] required by (dev-ruby/rails-2.3.11, ebuild scheduled for merge)


Reproducible: Always




Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.4.5, libc-0-r0, 2.6.34-xen-r4_diegom1 x86_64)
=================================================================
System uname: Linux-2.6.34-xen-r4_diegom1-x86_64-Intel-R-_Xeon-TM-_CPU_3.20GHz-with-gentoo-2.0.2
Timestamp of tree: Sun, 03 Jul 2011 00:45:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/pkgconfig:  0.25-r2
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mno-tls-direct-seg-refs -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mno-tls-direct-seg-refs -fomit-frame-pointer"
DISTDIR="/usr/gentoo/DISTDIR"
EMERGE_DEFAULT_OPTS=" --nospinner --color y --keep-going --jobs=1 --load-average=1 --oneshot"
FEATURES="assume-digests binpkg-logs buildpkg compress-build-logs distlocks fail-clean fixlafiles fixpackages metadata-transfer news parallel-fetch prelink-ch
ecksums protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="     http://gentoo.localhost.net.ar/     http://ftp.swin.edu.au/gentoo     http://gentoo.inode.at/     http://gentoo.lagis.at/     http://gd.t
uwien.ac.at/opsys/linux/gentoo/     http://gentoo.wetzlmayr.com/     http://mirror.bih.net.ba/gentoo/     http://gentoo.c3sl.ufpr.br/     http://www.las.ic.un
icamp.br/pub/gentoo/     http://gentoo.lcc.ufmg.br     http://ftp.gentoo.bg/     http://distfiles.gentoo.bg/     http://mirrors.ludost.net/gentoo/     http://
gentoo.arcticnetwork.ca/     http://gentoo.gossamerhost.com     http://mirror.the-best-hosting.net     http://gentoo.mirrors.tera-byte.com/     http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/     http://mirrors.163.com/gentoo/     http://mirrors.sohu.com/gentoo/     http://mirrors.xmu.edu.cn/gentoo     http://gentoo.supp.name/     http://ftp.fi.muni.cz/pub/linux/gentoo/     http://gentoo.mirror.dkm.cz/pub/gentoo/     http://gentoo.mirror.web4u.cz/     http://ftp.klid.dk/ftp/gentoo/     http://trumpetti.atm.tut.fi/gentoo/     http://mirrors.linuxant.fr/distfiles.gentoo.org/     http://gentoo.modulix.net/gentoo/     http://mirror.ovh.net/gentoo-distfiles/     http://de-mirror.org/distro/gentoo/     http://gentoo.mneisen.org/     http://mirror.netcologne.de/gentoo/     http://mirror.opteamax.de/gentoo/     http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/     http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/     http://ftp.uni-erlangen.de/pub/mirrors/gentoo     http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/     http://files.gentoo.gr     http://ftp.ntua.gr/pub/linux/gentoo/     http://ftp.cc.uoc.gr/mirrors/linux/gentoo/     http://gentoo.aditsu.net/     http://gentoo.inf.elte.hu/     http://ftp.rhnet.is/pub/gentoo/     http://ftp.heanet.ie/pub/gentoo/     http://mirror.isoc.org.il/pub/gentoo/     http://gentoo.channelx.biz/     http://gentoo.gg3.net/     http://ftp.iij.ad.jp/pub/linux/gentoo/     http://ftp.jaist.ac.jp/pub/Linux/Gentoo/     http://mirror.neolabs.kz/gentoo/pub     http://gentoo.kems.net     http://gentoo.tups.lv/source/     http://mirror.elen.ktu.lt/gentoo/     http://archive.mmu.edu.my/gentoo     http://mirror.cambrium.nl/pub/os/linux/gentoo/     http://mirror.leaseweb.com/gentoo/     http://gentoo.tiscali.nl/     http://ftp.snt.utwente.nl/pub/os/linux/gentoo     http://mirror.gentoo.no/     http://gentoo.prz.rzeszow.pl     http://gentoo.po.opole.pl     http://ftp.vectranet.pl/gentoo/     http://gentoo.mirror.pw.edu.pl/     http://ftp.rnl.ist.utl.pt/pub/gentoo/gentoo-distfiles/     http://darkstar.ist.utl.pt/gentoo/     http://cesium.di.uminho.pt/pub/gentoo/     http://ftp.dei.uc.pt/pub/linux/gentoo/     http://mirrors.evolva.ro/gentoo/gentoo-distfiles/     http://ftp.romnet.org/gentoo/     http://mirrors.xservers.ro/gentoo/     http://gentoo.bloodhost.ru/     http://mirror2.corbina.ru/gentoo-distfiles/     http://mirror.yandex.ru/gentoo-distfiles/     http://tux.rainside.sk/gentoo/     http://gentoo.wheel.sk/     http://mirror.ynet.sk/pub/gentoo/     http://ftp.daum.net/gentoo/     http://ftp.kaist.ac.kr/pub/gentoo/     http://ftp.lecl.net/pub/gentoo/     http://gentoo-euetib.upc.es/mirror/gentoo/     http://ftp.udc.es/gentoo/     http://ftp.ds.karen.hj.se/gentoo/     http://ftp.ing.umu.se/linux/gentoo/     http://ftp.df.lth.se/pub/gentoo/     http://mirror.md
fnet.se/mirror/gentoo     http://mirror.switch.ch/ftp/mirror/gentoo/     http://ftp.twaren.net/Linux/Gentoo/     http://ftp.ncnu.edu.tw/Linux/Gentoo/     http://gentoo.cs.nctu.edu.tw/gentoo/     http://ftp.cs.pu.edu.tw/Linux/Gentoo/     http://gentoo.in.th/     http://ftp.linux.org.tr/gentoo/     http://mirror.bytemark.co.uk/gentoo/     http://mirror.qubenet.net/mirror/gentoo/     http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/     http://gentoo.virginmedia.com/     http://gentoo.kiev.ua/ftp/     http://gentoo.moskalevskyi.name/     http://gentoo.iteam.net.ua/     http://gentoo.telcom.net.ua/     http://mirror.mcs.anl.gov/pub/gentoo/     http://gentoo.chem.wisc.edu/gentoo/     http://mirrors.cs.wmich.edu/gentoo     http://www.cyberuse.com/gentoo/     http://mirror.datapipe.net/gentoo     http://gentoo.mirrors.easynews.com/linux/gentoo/     http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/     http://www.gtlib.gatech.edu/pub/gentoo     http://gentoo.mirrors.hoobly.com/     http://distro.ibiblio.org/pub/linux/distributions/gentoo/     http://lug.mtu.edu/gentoo/     http://gentoo.netnitco.net     http://gentoo.osuosl.org/     http://mirrors.rit.edu/gentoo/     http://gentoo.llarian.net/     http://gentoo.mirrors.tds.net/gentoo     http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/     http://mirror.lug.udel.edu/pub/gentoo/     http://mirror.its.uidaho.edu/pub/gentoo/     http://gentoo.cites.uiuc.edu/pub/gentoo/     http://gentoo.cs.uni.edu/     http://mirror.usu.edu/mirrors/gentoo/   "
LANG="es_AR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -s"
LINGUAS=""
MAKEOPTS=" --jobs=2 --load-average=1.3"
PKGDIR="/usr/gentoo/PKGDIR"
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/gentoo/PORTDIR"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acm adns aio amd64 berkdb bzip2 caps cli cracklib crypt cups cxx dri fortran gdbm gpm iconv idn lzma minimal mmx modules mudflap multilib ncurses netboot nls nptl nptlonly openmp pam pcre perl pppd pth pygrub python readline screen session sse sse2 sse4 ssl sysfs tcpd unicode urandom vim-syntax xattr xorg xsm 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 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="braindump flow karbon kexi kpresenter krita tables words" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Pacho Ramos gentoo-dev 2011-07-10 10:03:49 UTC
This is because you are mixing testing and stable packages for dev-ruby/rails and dev-ruby/activerecord
Comment 2 Mike Gilbert gentoo-dev 2011-07-12 01:17:51 UTC
I think this was fixed by the recent rails-2.3.12 stabilization. Please reopen if you still have issues.
Comment 3 Diego Augusto Molina 2011-07-26 15:39:31 UTC
Reopenning. I had to stop this installation due to other work more urgent.
I have just synced:

# source /etc/make.conf
# cd $PORTDIR
# cat metadata/timestamp.chk
Mon, 25 Jul 2011 00:45:01 +0000

Fresh, fresh install. It doesn't matter if you update the tree and get rails-2.3.12 stable (as I do), because redmine-1.2.0 depends explicitly in rails-2.3.11 or in any release of that version, as you'll can see:

# grep -nE 'inherit|dev-ruby/rails|dev-ruby/activerecord' $PORTDIR/www-apps/redmine/redmine-1.2.0.ebuild
7:inherit eutils confutils depend.apache ruby-ng
27:ruby_add_rdepend ~dev-ruby/rails-2.3.11:2.3
28:ruby_add_rdepend "dev-ruby/activerecord:2.3[mysql?,postgres?,sqlite3?]"

What ruby_add_rdepend function does in $PORTDIR/eclass/ruby-ng.eclass is, among other things, add it's arguments as run time dependencies.
Last stable version of dev-ruby/activerecord:2.3 is dev-ruby/activerecord-2.3.12, so:
1) ~dev-ruby/rails-2.3.11:2.3 pulls in dev-ruby/activerecord-2.3.11
2) dev-ruby/activerecord:2.3 pulls in dev-ruby/activerecord-2.3.12
3) Both can't coexist because they belong to the same (2.3) slot.

The solution I took:
1) # emerge -q --autounmask-write y =dev-ruby/activerecord-2.3.11
2) etc-update
3) # emerge -q =dev-ruby/activerecord-2.3.11
4) # emerge -q --autounmask-write y =www-apps/redmine-1.2.0
5) etc-update
6) # emerge -q =www-apps/redmine-1.2.0

The solution that SHOULD be taken by the ebuild mainteiner: change line #28 to be exactly like this:

ruby_add_rdepend "dev-ruby/activerecord-2.3.11:2.3[mysql?,postgres?,sqlite3?]"

Expressed this way, the dependency will keep consistent in all ways.
I have already taken steps 1 to 6 in my solution and I had no problem with dependency calculation. Still haven't compiled the software itself. If I find anything strange in the compilation I'll let you know here.

Greetings!
Comment 4 Pacho Ramos gentoo-dev 2011-07-26 17:57:34 UTC

*** This bug has been marked as a duplicate of bug 374485 ***