Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327519 - x11-libs/fltk:1.1 on Gentoo Prefix
Summary: x11-libs/fltk:1.1 on Gentoo Prefix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 327517
  Show dependency tree
 
Reported: 2010-07-08 18:11 UTC by Reinis Danne
Modified: 2010-07-24 16:08 UTC (History)
0 users

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


Attachments
Patch for the latest ebuild in the tree (fltk-1.1.10-r1.ebuild.patch,1.58 KB, patch)
2010-07-08 18:15 UTC, Reinis Danne
Details | Diff
Updated patch (fltk-1.1.10-r1.ebuild.patch,1.54 KB, patch)
2010-07-08 18:27 UTC, Reinis Danne
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Reinis Danne 2010-07-08 18:11:45 UTC
It is possible to adjust current x11-libs/fltk-1.1.10-r1.ebuild so that it successfully compiles on Gentoo Prefix. But it depends on glibc which is not in the prefix, so the one on the system is used. Is it possible to specify DEPEND differently for prefix install than for normal EAPI-3 install? Is it possible to check for the version of glibc outside the portage?

Reproducible: Always

Steps to Reproduce:
1. Modify ebuild for EAPI-3
2. Comment out dependency on glibc
3. emerge fltk

Actual Results:  
Compiles fine in the amd64-linux prefix.


Portage 2.2.01.15352-prefix (prefix/linux/amd64, gcc-4.4.3, unavailable, 2.6.34 x86_64)
=================================================================
System uname: Linux-2.6.34-x86_64-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-slackware-13.1.0
Timestamp of tree: Wed, 07 Jul 2010 07:39:08 +0000
distcc 2.18.3 x86_64-slackware-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p38
dev-lang/python:     2.6.5-r2
dev-util/ccache:     2.4-r8
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.51.0.8
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="~amd64-linux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/home/danne/gentoo/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-s -j3"
PKGDIR="/home/danne/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/home/danne/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="/home/danne/gentoo/var/tmp"
PORTDIR="/home/danne/gentoo/usr/portage"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="amd64 bash-completion berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx modules mudflap ncurses nls nptl nptlonly openmp pcre perl pppd prefix python readline reflection session spl sse sse2 ssl sysfs tcpd unicode xorg 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 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" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 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, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Reinis Danne 2010-07-08 18:15:32 UTC
Created attachment 238047 [details, diff]
Patch for the latest ebuild in the tree
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-07-08 18:19:57 UTC
(In reply to comment #0)
> Is it possible to specify DEPEND differently for prefix install than for normal > EAPI-3 install? 

Yea, you can do "!prefix? ( sys-libs/glibc )" in DEPEND
Comment 3 Reinis Danne 2010-07-08 18:22:36 UTC
Oh, great! Thanks!
Comment 4 Reinis Danne 2010-07-08 18:27:15 UTC
Created attachment 238049 [details, diff]
Updated patch
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2010-07-24 16:08:14 UTC
+  24 Jul 2010; Justin Lecher <jlec@gentoo.org> fltk-1.1.9.ebuild,
+  fltk-1.1.9-r1.ebuild, fltk-1.1.9-r2.ebuild, fltk-1.1.10.ebuild,
+  fltk-1.1.10-r1.ebuild:
+  Added prefix changes, thanks rei4dan #327519; keyworded for ~-linux prefix
+