Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176814 - Portage doesn't find lua when it's not feed directly to it.
Summary: Portage doesn't find lua when it's not feed directly to it.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: Low normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-02 13:55 UTC by Polarina
Modified: 2007-05-06 10:26 UTC (History)
0 users

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


Attachments
Steps I folowed.. (Steps,3.16 KB, text/plain)
2007-05-02 13:55 UTC, Polarina
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Polarina 2007-05-02 13:55:02 UTC
See the attachment. It's long...
Comment 1 Polarina 2007-05-02 13:55:54 UTC
Created attachment 117955 [details]
Steps I folowed..
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-05-02 14:11:31 UTC
Post the output of 

- `grep dev-lang/lua /var/lib/portage/world`
- `equery depends dev-lang/lua` (with latest ~arch app-portage/gentoolkit installed, i.e. 0.2.4_pre5 ATM)
-  and emerge --info 

and reopen then.
Comment 3 Polarina 2007-05-02 14:17:52 UTC
polarina@unix-polarina ~ $ grep dev-lang/lua /var/lib/portage/world
polarina@unix-polarina ~ $ equery depends dev-lang/lua
[ Searching for packages depending on dev-lang/lua... ]
dev-lang/swig-1.3.31 (lua? dev-lang/lua)
polarina@unix-polarina ~ $ emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 AMD Sempron(tm)   2600+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 02 May 2007 11:30:01 +0000
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
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
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.rhnet.is/pub/gentoo/ "
LANG="is_IS.UTF-8"
LC_ALL=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib alsa amr berkdb bitmap-fonts bzip2 cairo caps cddb cdr cjk cli cracklib crypt cups curl dbus dri dts dvd dvdr eds encode esd ffmpeg firefox flac fontconfig fortran fpx gd gdbm gif glitz gmp gnome gnutls gpm graphviz gs gstreamer gtk gtkhtml guile hal iconv imagemagick imlib ipv6 isdnlog jpeg jpeg2k libcaca libg++ libnotify lua mad midi mmx mng mono motif mp3 mpeg mysql ncurses nls nntp nptl nptlonly nsplugin ogg opengl pam pango pcre perl png ppds pppd python readline reflection ruby sdl session slang socks5 speex spell spl sse ssl svga tcl tcpd tetex theora tiff tk truetype truetype-fonts type1-fonts unicode usb vcd vorbis wmf x86 xine xml xorg xpm xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

polarina@unix-polarina ~ $ 
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-05-02 15:54:13 UTC
Post the output of:
  emerge -uDNptv --with-bdeps=y world
Comment 5 Polarina 2007-05-02 21:03:42 UTC
polarina@unix-polarina ~ $ emerge -uDNptv --with-bdeps=y world

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

Calculating world dependencies... done!
[nomerge      ] net-misc/ntp-4.2.4-r1  USE="caps ipv6 ssl -debug -openntpd -parse-clocks -selinux" 
[nomerge      ]  sys-libs/libcap-1.10-r9  USE="python" 
[nomerge      ]   dev-lang/swig-1.3.31  USE="guile lua mono perl python ruby tcl tk -doc -java -ocaml -php -pike" 
[ebuild     U ]    dev-lang/lua-5.1.2-r1 [5.1.1-r2] USE="readline -static" 210 kB 
[nomerge      ] app-emulation/wine-0.9.36  USE="X alsa cups dbus esd hal jpeg ncurses opengl oss xml -jack -lcms -ldap -nas -scanner" 
[nomerge      ]  media-fonts/corefonts-1-r2  USE="X" 
[ebuild     U ]   app-arch/cabextract-1.2 [1.1] 190 kB 

Total: 2 packages (2 upgrades), Size of downloads: 399 kB
polarina@unix-polarina ~ $ 
Comment 6 Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-05-02 22:28:34 UTC
(In reply to comment #5)
> polarina@unix-polarina ~ $ emerge -uDNptv --with-bdeps=y world
[...]
> [nomerge      ] net-misc/ntp-4.2.4-r1  USE="caps ipv6 ssl -debug -openntpd
> -parse-clocks -selinux" 
> [nomerge      ]  sys-libs/libcap-1.10-r9  USE="python" 
> [nomerge      ]   dev-lang/swig-1.3.31  USE="guile lua mono perl python ruby
> tcl tk -doc -java -ocaml -php -pike" 
> [ebuild     U ]    dev-lang/lua-5.1.2-r1 [5.1.1-r2] USE="readline -static" 

swig is only a build time dependency of libcap.

From `man emerge`:
    --with-bdeps < y | n >
        In dependency calculations, pull in build time dependencies that
        are  not strictly required.   This defaults to 'n' for installa-
        tion actions and 'y' for the --depclean  action.   This  setting
        can be added to EMERGE_DEFAULT_OPTS (see make.conf(5)) and later
        overridden via the command line.
Comment 7 Polarina 2007-05-03 14:32:13 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > polarina@unix-polarina ~ $ emerge -uDNptv --with-bdeps=y world
> [...]
> > [nomerge      ] net-misc/ntp-4.2.4-r1  USE="caps ipv6 ssl -debug -openntpd
> > -parse-clocks -selinux" 
> > [nomerge      ]  sys-libs/libcap-1.10-r9  USE="python" 
> > [nomerge      ]   dev-lang/swig-1.3.31  USE="guile lua mono perl python ruby
> > tcl tk -doc -java -ocaml -php -pike" 
> > [ebuild     U ]    dev-lang/lua-5.1.2-r1 [5.1.1-r2] USE="readline -static" 
> 
> swig is only a build time dependency of libcap.
> 
> From `man emerge`:
>     --with-bdeps < y | n >
>         In dependency calculations, pull in build time dependencies that
>         are  not strictly required.   This defaults to 'n' for installa-
>         tion actions and 'y' for the --depclean  action.   This  setting
>         can be added to EMERGE_DEFAULT_OPTS (see make.conf(5)) and later
>         overridden via the command line.
> 

Then! Why didn't  emerge --depclean  want to remove lua?
Comment 8 Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-05-03 16:16:40 UTC
(In reply to comment #7)
> > From `man emerge`:
> >     --with-bdeps < y | n >
> >         [...] This defaults to 'n' for installation actions and 'y' for
> >         the --depclean  action. [...]
> 
> Then! Why didn't  emerge --depclean  want to remove lua?

You quote it and yet you don't read it...

`emerge --depclean --with-bdeps=n` would remove it (along with a bunch of other packages that are going to be reinstalled as soon as they are needed to build something again).
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-05-06 10:26:15 UTC
NOTABUG.