Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263473 - app-portage/portage-utils-0.2 removes all symlinks to qlist etc.
Summary: app-portage/portage-utils-0.2 removes all symlinks to qlist etc.
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Portage Utils Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2009-03-23 12:37 UTC by Sebastian Günther
Modified: 2014-10-09 08:57 UTC (History)
0 users

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


Attachments
fix symlink creation (portage-utils-0.2.ebuild-fix-symlink.patch,663 bytes, text/plain)
2009-03-23 13:28 UTC, Federico Cuello
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Günther 2009-03-23 12:37:24 UTC
When upgrading from 0.1.29 all symlinks for qlist, quse etc. are removed and a re-merge won't install them.

Reproducible: Always

Steps to Reproduce:
1. emerge =app-portage/portage-utils-2.0

Actual Results:  
No symlinks for qlist, quse etc.

Expected Results:  
Creation the appropiate symlinks

Portage 2.2_rc26 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-tuxonice-r4 i686)
=================================================================
System uname: Linux-2.6.28-tuxonice-r4-i686-Intel-R-_Core-TM-_Duo_CPU_T2300_@_1.66GHz-with-glibc2.0
Timestamp of tree: Mon, 23 Mar 2009 11:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p10-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.6
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://de-mirror.org/distro/gentoo/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://mirror.muntinternet.net/pub/gentoo/"
LANG="de_DE"
LC_ALL="de_DE"
LDFLAGS="-Wl,-O1"
LINGUAS="de fr nl en en_GB en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/swegener /usr/portage/local/local-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac abook ace acl acpi alsa applet audacious audiofile bash-completion battery berkdb bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cgi chipcard cli compress context cpio cpufreq cracklib crypt cups curl cursors dbus device-mapper dga directfb divx djvu doc dri dv dvd dvdr dvdread dvi emacs emboss emerald encode epydoc examples exif expat extra fam fastcgi fat fbcon fbcondecor fbsplash ffmpeg flac fontconfig fortran ftp fuse gcj gd gdbm gdm gedit gif gimp glib glitz gmedia gnutls gpgme gpm grace graphics graphviz gs gtk gzip hal hbci hdaps hddtemp http humanities hybrid-auth ibmacpi icecast icons iconv icq icu id3 id3tag imagemagick imap imlib imlib2 iproute2 ipv6 ipw3945 irc isdnlog jabber java java6 javascript jpeg kerberos kpathsea ladspa lame laptop latex lcms ldap libnotify libsamplerate libwww lm_sensors logrotate logwatch lua mad midi mikmod milter mime mjpeg mmx mmxext mng motif mp3 mpeg mplayer mudflap musepack musicbrainz nano-syntax ncurses network-cron nls nntp nptl nptlonly nsplugin ntfs ntp obex offensive ofx ogg omega opengl openmp oscar pam pcmcia pcre pda pdf perl php pmu png pop posix postgres ppds pppd prediction print pstricks publishers python qt3 qt3support qt4 quicktime quotes rar rdesktop readline realmedia reflection replaygain replytolist resolvconf rpm rss samba sasl science sdl session skey slang slit smapi smime smp snmp sockets socks5 sound soundtouch speex spell spl sqlite sqlite3 sse sse2 ssh ssl startup-notification subtitles subversion svg swig sysfs syslog sysvipc t1lib taglib tcpd tetex tex4ht theora threads tiff toolbar tools transcode trayicon truetype twolame unicode unzip usb utils uuencode v4l v4l2 vamp vcd vhosts video vnc vncviewer vorbis wavpack wifi win32codecs wireshark wma wmf wmp x86 xattr xcb xcomposite xetex xface xfce xft xine xinerama xinetd xml xorg xosd xpm xscreensaver xskatcards xspf xulrunner xv xvid yv12 zip zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr nl en en_GB en_US" USERLAND="GNU" VIDEO_CARDS="vesa intel v4l vga i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Federico Cuello 2009-03-23 13:25:35 UTC
Actually is app-portage/portage-utils-0.2, not 2.0.

And the problem is that portage-utils-0.2 doesn't provide applet-list but the symlinks are created in the makefile.

I'm attaching a patch that fixes the ebuild.
Comment 2 Federico Cuello 2009-03-23 13:28:51 UTC
Created attachment 185982 [details]
fix symlink creation
Comment 3 Sebastian Günther 2009-03-23 14:33:44 UTC
sorry for the number switch.

It looks a bit strange when installing, you see the if statements in output...

patch does not work since there is DEPEND line which is not in the ebuild in the tree.

So I did by hand.
Comment 4 Paul Varner (RETIRED) gentoo-dev 2009-05-06 19:08:22 UTC
I missed seeing that this was not assigned correctly.
Comment 5 SpanKY gentoo-dev 2009-12-05 09:58:13 UTC
this is fixed in 0.2.1 already