Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211143 - app-text/ghostscript-gpl-8.61-r2 emerge fails
Summary: app-text/ghostscript-gpl-8.61-r2 emerge fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-22 22:04 UTC by mjbjr
Modified: 2008-02-23 01:17 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 mjbjr 2008-02-22 22:04:57 UTC
ghostscript-gpl emerge seems to depend on gnutls-1.3, I have gnutls-2.2.2


emerge ghostscript-gpl

...

x86_64-pc-linux-gnu-gcc  -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64 -DHAVE_MKSTEMP64 -DHAVE_FONTCONFIG -O2 -fPIC -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int" -march=nocona -O2 -pipe -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/lib64/ghostscript/8.61\" -I./obj/../soobj -I./src  -g -o ./bin/../sobin/gsc ./src/dxmainc.c -L./bin/../sobin -lgs
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libgnutls.so.13, needed by /usr/lib/libcupsimage.so.2, not found (try using -rpath or -rpath-link)
/usr/lib/libcups.so.2: undefined reference to `gnutls_deinit@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_record_send@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_global_init@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_bye@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_record_recv@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_set_default_priority@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_certificate_allocate_credentials@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_transport_set_push_function@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_credentials_set@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_record_check_pending@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_transport_set_ptr@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_handshake@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_transport_set_pull_function@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_init@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_certificate_free_credentials@GNUTLS_1_3'
collect2: ld returned 1 exit status
make[1]: *** [bin/../sobin/gsc] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-text/ghostscript-gpl-8.61-r2/work/ghostscript-8.61'
make: *** [so] Error 2
 * 
 * ERROR: app-text/ghostscript-gpl-8.61-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3306:  Called die
 * The specific snippet of code:
 *       emake -j1 so all || die "emake failed";
 *  The die message:
 *   emake failed



emerge -p gnutls

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

Calculating dependencies... done!
[ebuild   R   ] net-libs/gnutls-2.2.2  



emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6-r0, 2.6.23-gentoo x86_64)
=================================================================
System uname: 2.6.23-gentoo x86_64 Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz
Timestamp of tree: Fri, 22 Feb 2008 21:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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="Tkinter X a52 aac accessibility acl acpi alsa amd64 apache2 apm bash-completion berkdb bitmap-fonts cdparanoia cli cracklib crypt cups dbus dri dts dv dvb dvd dvdr dvdread enblend encode exif ffmpeg firefox fortran gdbm gif gimp gmp gphoto gpm gps gstreamer gtk hal iconv ieee1394 ipv6 isdnlog java jpeg libnotify lm_sensors midi mime mmx mng mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pda pdf perl png postgres pppd python qt3support quicktime readline reflection rtsp ruby sdl session sift spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb v4l vorbis wxwindows xcomposite xine xml xorg xosd xpm xv xvid zlib" ALSA_CARDS="hda-intel emu10k" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-22 22:07:28 UTC
(In reply to comment #0)

Run revdep-rebuild...

> /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
> warning: libgnutls.so.13, needed by /usr/lib/libcupsimage.so.2, not found (try
> using -rpath or -rpath-link)
Comment 2 mjbjr 2008-02-23 01:17:20 UTC
(In reply to comment #1)
> (In reply to comment #0)
> 
> Run revdep-rebuild...
> 
> > /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
> > warning: libgnutls.so.13, needed by /usr/lib/libcupsimage.so.2, not found (try
> > using -rpath or -rpath-link)
> 


Thnaks for the near instaneous reply.

Actually, I _was_ doing a revdep-rebuild, manually, as it was choking on
kdelibs -> ghostscript-0 -> ghostscript.gpl, which I couldn't get past.

Eventually, I ended up downgrading to the stable gnutls-2.0.4, at which
point revdep-rebuild successfully completed its tasks.

.