Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699304 - app-portage/portage-utils-0.80/0.81 : qmerge --search complains "need package names to work with"
Summary: app-portage/portage-utils-0.80/0.81 : qmerge --search complains "need package...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-04 15:26 UTC by Joakim Tjernlund
Modified: 2019-12-06 16:48 UTC (History)
0 users

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


Attachments
Fixes empty qmerge -s (0001-Fix-qmerge-s.patch,1.51 KB, patch)
2019-11-04 16:22 UTC, Joakim Tjernlund
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joakim Tjernlund 2019-11-04 15:26:10 UTC
Recent portage-utils qmerge refuses to search for me:
qmerge -s
merge: need package names to work with
I depend on this function to find all packages for upgrade
Comment 1 Joakim Tjernlund 2019-11-04 16:22:43 UTC
Created attachment 595004 [details, diff]
Fixes empty qmerge -s

This is my quick fix, I hope it is correct. Comments welcome
Comment 2 Joakim Tjernlund 2019-11-04 17:33:54 UTC
hmm, installing sys-libs/glibc-2.25-r11 (qmerge glibc)
prints to much INSTALLMASK:
cu3-jocke tmv3-target-overlay # INSTALL_MASK="" qmerge glibc
[?] sys-libs/glibc-2.25-r11
[?]  sys-apps/gentoo-functions-0.10
>>> sys-apps/gentoo-functions-0.10
 * Defaulting /etc/host.conf:multi to on
>>> sys-libs/glibc-2.25-r11
OK to merge these packages? [Y/n] 
MD5:  [OK] 5c089122fc2db7c13acac90b5860fe94 sys-libs/glibc-2.25-r11
SHA1: [OK] 3a2c1e5c1d949a2558461ee3f73a0a042cdc218d sys-libs/glibc-2.25-r11
MD5:  [OK] 8137403ff1e5709d6514f71dc67b46b5 sys-apps/gentoo-functions-0.10
SHA1: [OK] f834d0fb496a27c92b47f770752a235206a4576b sys-apps/gentoo-functions-0.10
--- pkg_pretend
--- pkg_setup
--- pkg_preinst
<<< /usr/share/man (INSTALL_MASK)
>>> /sbin/
>>> /sbin/consoletype
>>> /lib/
>>> /lib/gentoo/
>>> /lib/gentoo/functions.sh
>>> /usr/
--- pkg_postinst
>>> sys-apps/gentoo-functions-0.10
>>> pkg_pretend
>>> pkg_setup
>>> pkg_preinst
 * Defaulting /etc/host.conf:multi to on
<<< /usr/include/arpa/ftp.h (INSTALL_MASK)
<<< /usr/include/arpa/inet.h (INSTALL_MASK)
<<< /usr/include/arpa/nameser.h (INSTALL_MASK)
<<< /usr/include/arpa/nameser_compat.h (INSTALL_MASK)
<<< /usr/include/arpa/telnet.h (INSTALL_MASK)
<<< /usr/include/arpa/tftp.h (INSTALL_MASK)
<<< /usr/include/bits/a.out.h (INSTALL_MASK)
<<< /usr/include/bits/byteswap-16.h (INSTALL_MASK)
<<< /usr/include/bits/byteswap.h (INSTALL_MASK)
<<< /usr/include/bits/cmathcalls.h (INSTALL_MASK)
<<< /usr/include/bits/confname.h (INSTALL_MASK)
<<< /usr/include/bits/dirent.h (INSTALL_MASK)
<<< /usr/include/bits/dlfcn.h (INSTALL_MASK)
<<< /usr/include/bits/elfclass.h (INSTALL_MASK)
<<< /usr/include/bits/endian.h (INSTALL_MASK)
<<< /usr/include/bits/environments.h (INSTALL_MASK)
<<< /usr/include/bits/epoll.h (INSTALL_MASK)
.....
<<< /usr/include/sys/queue.h (INSTALL_MASK)
<<< /usr/include/sys/quota.h (INSTALL_MASK)
<<< /usr/include/sys/random.h (INSTALL_MASK)
<<< /usr/include/sys/raw.h (INSTALL_MASK)
<<< /usr/include/sys/reboot.h (INSTALL_MASK)
<<< /usr/include/sys/resource.h (INSTALL_MASK)
<<< /usr/include/sys/select.h (INSTALL_MASK)
<<< /usr/include/sys/sem.h (INSTALL_MASK)
<<< /usr/include/sys/sendfile.h (INSTALL_MASK)
<<< /usr/include/sys/shm.h (INSTALL_MASK)
<<< /usr/include/sys/signal.h (INSTALL_MASK)
<<< /usr/include/sys/signalfd.h (INSTALL_MASK)
<<< /usr/include/sys/socket.h (INSTALL_MASK)
<<< /usr/include/sys/socketvar.h (INSTALL_MASK)
<<< /usr/include/sys/soundcard.h (INSTALL_MASK)
<<< /usr/include/sys/stat.h (INSTALL_MASK)
<<< /usr/include/sys/statfs.h (INSTALL_MASK)
<<< /usr/include/sys/statvfs.h (INSTALL_MASK)
<<< /usr/include/sys/stropts.h (INSTALL_MASK)
<<< /usr/include/sys/swap.h (INSTALL_MASK)
<<< /usr/include/sys/syscall.h (INSTALL_MASK)
<<< /usr/include/sys/sysctl.h (INSTALL_MASK)
<<< /usr/include/sys/sysinfo.h (INSTALL_MASK)
<<< /usr/include/sys/syslog.h (INSTALL_MASK)
<<< /usr/include/sys/sysmacros.h (INSTALL_MASK)
<<< /usr/include/sys/termios.h (INSTALL_MASK)
<<< /usr/include/sys/time.h (INSTALL_MASK)
<<< /usr/include/sys/timeb.h (INSTALL_MASK)
<<< /usr/include/sys/timerfd.h (INSTALL_MASK)
<<< /usr/include/sys/times.h (INSTALL_MASK)
<<< /usr/include/sys/timex.h (INSTALL_MASK)
<<< /usr/include/sys/ttychars.h (INSTALL_MASK)
<<< /usr/include/sys/ttydefaults.h (INSTALL_MASK)
<<< /usr/include/sys/types.h (INSTALL_MASK)
<<< /usr/include/sys/ucontext.h (INSTALL_MASK)
<<< /usr/include/sys/uio.h (INSTALL_MASK)
<<< /usr/include/sys/ultrasound.h (INSTALL_MASK)
<<< /usr/include/sys/un.h (INSTALL_MASK)
<<< /usr/include/sys/unistd.h (INSTALL_MASK)
<<< /usr/include/sys/user.h (INSTALL_MASK)
<<< /usr/include/sys/ustat.h (INSTALL_MASK)
<<< /usr/include/sys/utsname.h (INSTALL_MASK)
<<< /usr/include/sys/vfs.h (INSTALL_MASK)
<<< /usr/include/sys/vlimit.h (INSTALL_MASK)
<<< /usr/include/sys/vt.h (INSTALL_MASK)
<<< /usr/include/sys/vtimes.h (INSTALL_MASK)
<<< /usr/include/sys/wait.h (INSTALL_MASK)
<<< /usr/include/sys/xattr.h (INSTALL_MASK)
<<< /usr/lib/audit/sotruss-lib.so (INSTALL_MASK)
<<< /usr/lib/debug/lib (INSTALL_MASK)
<<< /usr/lib/debug/sbin (INSTALL_MASK)
<<< /usr/lib/debug/usr (INSTALL_MASK)
<<< /usr/lib/gconv/ISO8859-1.so (INSTALL_MASK)
<<< /usr/lib/gconv/ISO8859-10.so (INSTALL_MASK)
<<< /usr/lib/gconv/ISO8859-11.so (INSTALL_MASK)
<<< /usr/lib/gconv/ISO8859-13.so (INSTALL_MASK)
<<< /usr/lib/gconv/ISO8859-14.so (INSTALL_MASK)
<<< /usr/lib/gconv/ISO8859-15.so (INSTALL_MASK)
<<< /usr/lib/gconv/ISO8859-16.so (INSTALL_MASK)
<<< /usr/lib/gconv/ISO8859-2.so (INSTALL_MASK)
<<< /usr/lib/gconv/ISO8859-3.so (INSTALL_MASK)
<<< /usr/lib/gconv/ISO8859-4.so (INSTALL_MASK)
<<< /usr/lib/gconv/ISO8859-5.so (INSTALL_MASK)
<<< /usr/lib/gconv/ISO8859-6.so (INSTALL_MASK)
<<< /usr/lib/gconv/ISO8859-7.so (INSTALL_MASK)
<<< /usr/lib/gconv/ISO8859-8.so (INSTALL_MASK)
<<< /usr/lib/gconv/ISO8859-9.so (INSTALL_MASK)
<<< /usr/lib/gconv/ISO8859-9E.so (INSTALL_MASK)
<<< /usr/lib/gconv/UTF-16.so (INSTALL_MASK)
<<< /usr/lib/gconv/UTF-32.so (INSTALL_MASK)
<<< /usr/lib/gconv/UTF-7.so (INSTALL_MASK)
<<< /usr/lib/misc/glibc (INSTALL_MASK)
....
Not sure where this misunderstanding comes from bu I bet it has to do with
INSTALL_MASK exclusions:
portageq envvar INSTALL_MASK
/usr/share/man/* /usr/share/info/* /usr/share/doc/* /usr/lib/debug/usr/lib/misc/glibc/* /usr/lib/debug/usr/lib/gconv/* /usr/share/i18n/charmaps/* -/usr/share/i18n/charmaps/UTF-8.gz /usr/lib/gconv/* -/usr/lib/gconv/ISO8859* -/usr/lib/gconv/UTF-*  /usr/share/locale/* -/usr/share/locale/en_GB -/usr/share/locale/uk  /usr/share/binutils-data/powerpc-unknown-linux-gnu/*/info /usr/share/binutils-data/powerpc-unknown-linux-gnu/*/man /usr/share/binutils-data/powerpc-unknown-linux-gnu/*/locale -/usr/share/binutils-data/powerpc-unknown-linux-gnu/*/locale/uk

but these exclusiions does not explain whay all the /usr/include/ files was MASKED
Comment 3 Joakim Tjernlund 2019-11-20 16:47:39 UTC
emerge -s fixed in git repo
Comment 4 Fabian Groffen gentoo-dev 2019-11-27 14:52:13 UTC
qmerge -s searches for a package, if you want to list all packages, shouldn't you better use qlist -Ikv or something?
Comment 5 Joakim Tjernlund 2019-11-27 16:52:39 UTC
(In reply to Fabian Groffen from comment #4)
> qmerge -s searches for a package, if you want to list all packages,
> shouldn't you better use qlist -Ikv or something?

I want the list of pkgs in Packages and/or /usr/portage/packages
Can I do that with qlist ?
Comment 6 Fabian Groffen gentoo-dev 2019-11-27 20:34:30 UTC
% ./qlist -Ikv
app-portage/portage-utils-0.80
dev-lang/python-2.7.16
dev-lang/python-3.6.8
dev-lang/python-3.7.2
sys-devel/gcc-config-1.9.1
% ls $EPREFIX/var/cache/binpkgs/*/*.tbz2
/gentoo/prefix64l/var/cache/binpkgs/app-portage/portage-utils-0.80.tbz2
/gentoo/prefix64l/var/cache/binpkgs/dev-lang/python-2.7.16.tbz2
/gentoo/prefix64l/var/cache/binpkgs/dev-lang/python-3.6.8.tbz2
/gentoo/prefix64l/var/cache/binpkgs/dev-lang/python-3.7.2.tbz2
/gentoo/prefix64l/var/cache/binpkgs/sys-devel/gcc-config-1.9.1.tbz2


if this is what you want, then yes
Comment 7 Joakim Tjernlund 2019-12-06 16:48:40 UTC
Fixed in app-portage/portage-utils-0.82