Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67677 - portage does not respect old library dependencies (ifc 7.1008)
Summary: portage does not respect old library dependencies (ifc 7.1008)
Status: RESOLVED DUPLICATE of bug 13632
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-15 09:32 UTC by jon
Modified: 2005-07-17 13:06 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 jon 2004-10-15 09:32:31 UTC
emerge world upgrades glibc to 2.3.4-... when ifc is dependent on glibc <2.3.4
This dependency is not written into the ifc ebuild though it should be. Even after writing in this dependency in the ifc ebuild, portage still tries to upgrade glibc.

Reproducible: Always
Steps to Reproduce:
1.Edit ifc-7.1.008.ebuild to depend on glibc<2.3.4
2.emerge world -pv

Actual Results:  
portage wants to update glibc to glibc-2.3.4-... 

Expected Results:  
Portage should complain somehow. Either it should consider the glibc upgrade 
blocked by ifc (better) or just failed to upgrade glibc (worse). In either 
case portage should respect dependencies on old verisons of libraries as 
compatibility with the newer library cannot be guaranteed.
Comment 1 Jared H. Hudson (RETIRED) gentoo-dev 2004-12-30 01:06:43 UTC
pptpd-1.2.1 added to the tree
Comment 2 jon 2004-12-31 03:52:36 UTC
Not too sure how this is relevant:
  pptpd-1.2.1 added to the tree
mistaken post perhaps?
Comment 3 Jared H. Hudson (RETIRED) gentoo-dev 2005-01-02 08:53:14 UTC
Strange. Thanks for reopening.
Comment 4 Rick Jenkins 2005-04-28 13:57:33 UTC
I suspect that this is a manifestation of this bug:

A recent (two day old) installation of the latest stable ifc gives link errors, rendering the compiler completely unuseable. Is it perhaps time to move on to the newer 8.0 compiler version, see bug #68015 ?:

rick@triffid FORTRAN_course $ ftnchek means.f90

FTNCHEK Version 3.2 November 2002

File means.f90:
 0 syntax errors detected in file means.f90

rick@triffid FORTRAN_course $ ifcbin means.f90
   program COMPUTEMEANS

23 Lines Compiled
/opt/intel/compiler70/ia32/lib/libIEPCF90.a(f90file.o)(.text+0x4746): In function `FileOpen':
: undefined reference to `errno'
/opt/intel/compiler70/ia32/lib/libIEPCF90.a(f90fioerr.o)(.text+0x4d3): In function `f_f77ioerr':
: undefined reference to `__ctype_b'
/opt/intel/compiler70/ia32/lib/libIEPCF90.a(f90fioerr.o)(.text+0x6d9): In function `f_fiomess.':
: undefined reference to `errno'
/opt/intel/compiler70/ia32/lib/libIEPCF90.a(f90fioerr.o)(.text+0x76b): In function `f_seterrno':
: undefined reference to `errno'
rick@triffid FORTRAN_course $ emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 8 2005, 16:27:06)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.2.3-r5, 2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /usr/X11R6/lib/X11/xkb /usr/X11R6/lib/X11/xkb/compat /usr/X11R6/lib/X11/xkb/geometry /usr/X11R6/lib/X11/xkb/geometry/sgi /usr/X11R6/lib/X11/xkb/keycodes /usr/X11R6/lib/X11/xkb/keymap /usr/X11R6/lib/X11/xkb/keymap/sgi /usr/X11R6/lib/X11/xkb/keymap/sun /usr/X11R6/lib/X11/xkb/rules /usr/X11R6/lib/X11/xkb/symbols /usr/X11R6/lib/X11/xkb/symbols/macintosh /usr/X11R6/lib/X11/xkb/symbols/nec /usr/X11R6/lib/X11/xkb/symbols/pc /usr/X11R6/lib/X11/xkb/symbols/sun /usr/X11R6/lib/X11/xkb/symbols/xfree68 /usr/X11R6/lib/X11/xkb/types /usr/kde/3.2/share/config /usr/kde/3.2/share/config/kdm /usr/kde/3.3/share/config/kdm /usr/share/texmf/dvips/config /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.agsn.ca/ ftp://mirror.cpsc.ucalgary.ca/mirror/gentoo.org/ http://adelie.polymtl.ca/ http://mirrors.tds.net/gentoo http://gentoo.netnitco.net"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage/"
USE="3dfx 3dnow 3dnowex X acpi alsa apm arts avi berkdb bitmap-fonts cdparanoia cdr cjk crypt cups curl dga dri dvd emboss encode esd f77 fam flac foomaticdb fortran gd gdbm gif gimpprint glx gnome gphoto2 gpm gstreamer gtk gtk2 guile imagemagick imlib imlibjava ipv6 java jpeg junit kde libg++ libwww mad mikmod mmx mmx2 motif mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl png ppds python qt qtmt quicktime readline scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb vorbis x86 xfs xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS
rick@triffid FORTRAN_course $ cat means.f90
! -------------------------------------------------------
!   Computes arithmetic, geometric and harmonic means
! -------------------------------------------------------

PROGRAM  ComputeMeans
   IMPLICIT  NONE

   REAL  :: X = 1.0, Y = 2.0, Z = 3.0
   REAL  :: ArithMean, GeoMean, HarmMean

   WRITE(*,*)  'Data items: ', X, Y, Z
   WRITE(*,*)

   ArithMean = (X + Y + Z)/3.0
   GeoMean   = (X * Y * Z)**(1.0/3.0)
   HarmMean  = 3.0/(1.0/X + 1.0/Y + 1.0/Z)

   WRITE(*,*)  'Arithmetic mean = ', ArithMean
   WRITE(*,*)  'Geometric mean  = ', GeoMean
   WRITE(*,*)  'Harmonic Mean   = ', HarmMean

END PROGRAM ComputeMeans


Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2005-05-01 10:03:20 UTC

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