Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378465 - dev-libs/libpqxx-3.1-r2 claims being interactive but isn't
Summary: dev-libs/libpqxx-3.1-r2 claims being interactive but isn't
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-09 10:10 UTC by Malte Starostik
Modified: 2011-08-09 12:06 UTC (History)
0 users

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


Attachments
be interactive only with FEATURES/USE=test (libpqxx-conditionally-interactive.diff,339 bytes, patch)
2011-08-09 12:06 UTC, Malte Starostik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Malte Starostik 2011-08-09 10:10:32 UTC
dev-libs/libpqxx-3.1-r2 has PROPERTIES="interactive" for no apparent reason.  There is nothing in the ebuild itself that warrants this property nor does an actual emerge of this package do anything interactive.
When emerging some packages with -jX for X > 1, this property forces emerge to fall back to -j1 and serialise the whole batch and become verbose.

Reproducible: Always

Steps to Reproduce:
1. emerge -av koffice-meta
Actual Results:  
[ebuild  N     ] app-office/koffice-data-2.3.3  USE="(-aqua) (-kdeenablefinal)" 73,916 kB
[ebuild  N     ] app-office/koffice-l10n-2.3.3  USE="(-aqua) -doc (-kdeenablefinal)" LINGUAS="de -ca -ca@valencia -da -el -en_GB -es -et -fr -gl -hu -it -ja -kk -nb -nds -nl -pl -pt -pt_BR -ru -sv -tr -uk -wa -zh_CN -zh_TW" 1,279 kB
[ebuild IN     ] dev-libs/libpqxx-3.1-r2  USE="-doc" 1,731 kB
[ebuild  N     ] media-gfx/pstoedit-3.50  USE="-emf -imagemagick -plotutils" 874 kB
[ebuild  N     ] app-office/koffice-libs-2.3.3  USE="crypt openexr opengl (-aqua) -debug (-kdeenablefinal) -reports -test" 0 kB
[ebuild  N     ] sci-libs/fftw-3.2.2  USE="fortran openmp sse sse2 threads (-altivec) -doc" 3,414 kB
[ebuild  N     ] app-office/kspread-2.3.3  USE="solver (-aqua) -debug (-kdeenablefinal)" 0 kB
[ebuild  N     ] app-office/kpresenter-2.3.3  USE="(-aqua) -debug (-kdeenablefinal)" 0 kB
[ebuild  N     ] app-office/kword-2.3.3  USE="(-aqua) -debug (-kdeenablefinal) -wpd" 0 kB
[ebuild  N     ] app-office/krita-2.3.3  USE="kdcraw openexr opengl pdf tiff (-aqua) -debug -gmm (-kdeenablefinal)" 0 kB
[ebuild  N     ] app-office/karbon-2.3.3  USE="pstoedit (-aqua) -debug (-kdeenablefinal) -wpg" 0 kB
[ebuild  N     ] app-office/kexi-2.3.3  USE="postgres (-aqua) -debug -freetds (-kdeenablefinal) -mysql -reports -xbase" 0 kB
[ebuild  N     ] app-office/koffice-meta-2.3.3  USE="nls -reports" 0 kB

Total: 13 packages (13 new, 1 interactive), Size of downloads: 81,211 kB

Would you like to merge these packages? [Yes/No] 
>>> Sending package output to stdio due to interactive package(s):

  dev-libs/libpqxx-3.1-r2

>>> Setting --jobs=1 due to the above interactive package(s)
>>> In order to temporarily mask interactive updates, you may
>>> specify --accept-properties=-interactive

[nothing interactive about the libpqxx merge]

Expected Results:  
either libpqxx should actually be interactive or - preferably - the property be dropped

Portage 2.2.0_alpha50 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39-gentoo-r3-stellaware x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-stellaware-x86_64-AMD_Phenom-tm-_II_N830_Triple-Core_Processor-with-gentoo-2.0.3
Timestamp of tree: Tue, 09 Aug 2011 06:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                                                                                                                                                        
app-shells/bash:          4.1_p9                                                                                                                                                                                                 
dev-java/java-config:     2.1.11-r3                                                                                                                                                                                              
dev-lang/python:          2.7.1-r1, 3.1.3-r1                                                                                                                                                                                     
dev-util/cmake:           2.8.4-r1                                                                                                                                                                                               
dev-util/pkgconfig:       0.26                                                                                                                                                                                                   
sys-apps/baselayout:      2.0.3                                                                                                                                                                                                  
sys-apps/openrc:          0.8.3-r1                                                                                                                                                                                               
sys-apps/sandbox:         2.4                                                                                                                                                                                                    
sys-devel/autoconf:       2.13, 2.68                                                                                                                                                                                             
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1                                                                                                                                                                               
sys-devel/binutils:       2.20.1-r1                                                                                                                                                                                              
sys-devel/gcc:            4.4.5                                                                                                                                                                                                  
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo crossdev stellaware
Installed sets: @cross-i686-pc-mingw32, @cross-x86_64-pc-mingw32
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 AdobeFlash-11_beta dlj-1.1 googleearth PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs --load-average=3.0"
FEATURES="assume-digests binpkg-logs candy distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j3 -l3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/local/portage/crossdev /var/lib/layman/stellaware"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr avahi berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups curl cxx dbus declarative dga djvu dri dts dv dvd dvdr emboss encode exif ffmpeg firefox flac fontconfig fortran gdbm gdu geoip geolocation gif gimp git gpm iconv icu inotify ipod ipv6 java jpeg jpeg2k kde kerberos kipi lame lcms ldap libnotify libsamplerate lm_sensors lzma mad matroska mikmod mmx mng mp3 mp4 mpeg msn mudflap multilib ncurses nls nptl nptlonly ntfs ntp ogg openal opencore-amr openexr opengl openmp oscar pam pam_krb5 pango pcre pdf perl phonon plasma png policykit postgres ppds pppd python qt3support qt4 quicktime readline rss samba sasl scanner sdl semantic-desktop session smp sndfile snmp speex spell sqlite sse sse2 ssl startup-notification svg sysfs tcpd themes theora threads tiff truetype udev unicode usb v4l v4l2 vcd vim-syntax vorbis webkit x264 xattr xcb xcomposite xine xinerama xml xmp xorg xosd xscreensaver xulrunner xv xvid xvmc yahoo zeroconf 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Aaron W. Swenson gentoo-dev 2011-08-09 11:08:11 UTC
The src_test is interactive.
Comment 2 Malte Starostik 2011-08-09 12:06:58 UTC
Created attachment 282673 [details, diff]
be interactive only with FEATURES/USE=test

Aaaaaargs...now that's quite embarrassing...I stared at src_test() and only now I finally spotted those read calls.

May I then suggest the attached change instead? Wasn't sure whether conditionals are allowed in PROPERTIES, but according to the PMS they are and it Works For Me(tm).

Regards,
Malte