Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge requiring older version of gcc as prereq for update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
AKF_SDS
n00b
n00b


Joined: 03 Apr 2013
Posts: 22

PostPosted: Wed May 01, 2013 4:57 pm    Post subject: emerge requiring older version of gcc as prereq for update Reply with quote

I'm trying to update gcc-4.2.4-r01.3 to gcc-4.2.4-r01.4 using emerge on Interixv3.5. Emerge is failing to update and produces the following output:

Code:
Calculating dependencies... done!
[ebuild     U  ] sys-devel/gcc-config-1.8-r00.1 [1.4.1-r00.2]
[ebuild  NS   *] sys-devel/gcc-3.4.6-r2 [4.2.4-r01.3] USE="-altivec -boundschecking -cxx -d -doc -fortran -gcj -gtk -hardened -ip28 -ip32r10k -multilib -multislot -n32 -n64 -nls -nptl -objc -test -vanilla"

[b]The following keyword changes are necessary to proceed:
#required by gcc (argument)
>=sys-devel/gcc-3.4.6-r2:3.4 **[/b]

NOTE: This --autounmask behavior can be disabled by setting
      EMERGE_DEFAULT_OPTS="--autounmask=n" in make.conf.

Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).


If I understand the output correctly It's considering an earlier version, gcc-3.4.6-r2:3.4 as a dependency. Why would this be? Can I override this?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed May 01, 2013 5:59 pm    Post subject: Reply with quote

Impossible to tell from this output. Rerun with -t.
Back to top
View user's profile Send private message
AKF_SDS
n00b
n00b


Joined: 03 Apr 2013
Posts: 22

PostPosted: Wed May 01, 2013 7:04 pm    Post subject: Reply with quote

I'm not getting wildly different output...

Code:
!!! Problem with sandbox binary. Disabling...


These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  NS   *] sys-devel/gcc-3.4.6-r2 [4.2.4-r01.3] USE="-altivec -boundschecking -cxx -d -doc -fortran -gcj -gtk -hardened -ip28 -ip32r10k -multilib -multislot -n32 -n64 -nls -nptl -objc -test -vanilla"
[ebuild     U  ]  sys-devel/gcc-config-1.8-r00.1 [1.4.1-r00.2]

The following keyword changes are necessary to proceed:
#required by gcc (argument)
>=sys-devel/gcc-3.4.6-r2:3.4 **

NOTE: This --autounmask behavior can be disabled by setting
      EMERGE_DEFAULT_OPTS="--autounmask=n" in make.conf.

Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed May 01, 2013 8:11 pm    Post subject: Reply with quote

Doesn't make sense. Unless you added gcc:3.4 to the world or system set, there's nothing in portage that depends on that version.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21586

PostPosted: Wed May 01, 2013 9:33 pm    Post subject: Reply with quote

I read this to mean that the update requires at least gcc-3.4.6, and somehow is not recognizing that the installed gcc-4.2.4 is sufficient. The package versioning scheme is different from normal Portage. Is this normal for Interix? What is the output of emerge --info?
Back to top
View user's profile Send private message
AKF_SDS
n00b
n00b


Joined: 03 Apr 2013
Posts: 22

PostPosted: Wed May 01, 2013 9:36 pm    Post subject: Reply with quote

Ant P: Well, gcc 3.4 is installed with Interix so that may be a possibility. What are the file names for world and system set?
Back to top
View user's profile Send private message
AKF_SDS
n00b
n00b


Joined: 03 Apr 2013
Posts: 22

PostPosted: Wed May 01, 2013 9:37 pm    Post subject: Reply with quote

emerge --info output:
Code:

Portage 2.2.01.19120-prefix (unavailable, gcc-4.2.4, unavailable, 3.5 x86)
=================================================================
System uname: Interix-3.5-x86-32bit
Timestamp of tree: Wed, 24 Apr 2013 23:06:04 +0000
ccache version 2.4 [disabled]
app-shells/bash:      4.2_p10::gentoo_prefix
dev-lang/python:      2.7.2::gentoo_prefix
dev-util/pkgconfig:   0.25-r2::gentoo_prefix
sys-devel/autoconf:   2.68::gentoo_prefix
sys-devel/automake:   1.11.1::gentoo_prefix
sys-devel/binutils:   2.21.51.0.7::gentoo_prefix
sys-devel/gcc:        4.2.4-r01.3::gentoo_prefix
sys-devel/gcc-config: 1.4.1-r00.2::gentoo_prefix
sys-devel/libtool:    2.4-r01.1::gentoo_prefix
sys-devel/make:       3.82::gentoo_prefix
Repositories: gentoo_prefix
Installed sets:
ACCEPT_KEYWORDS="x86 ~x86-interix"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i586-pc-interix3.5"
CFLAGS=""
CHOST="i586-pc-interix3.5"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/portage /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS=""
DISTDIR="/opt/gentoo/usr/portage/distfiles"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub http://gentoo.inode.at"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/opt/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/opt/gentoo/"
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="/opt/gentoo/var/tmp"
PORTDIR="/opt/gentoo/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="X ssl x86-interix"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum