Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383489 - sci-libs/getdata-0.7.3 - various QA issues
Summary: sci-libs/getdata-0.7.3 - various QA issues
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal QA (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-18 12:37 UTC by Quincy
Modified: 2011-09-19 16:03 UTC (History)
0 users

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


Attachments
Build log (sci-libs:getdata-0.7.3:20110918-122559.log,106.20 KB, text/plain)
2011-09-19 02:17 UTC, Quincy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Quincy 2011-09-18 12:37:18 UTC
All versions (>=0.6.3-r1) of sci-libs/getdata abort installation because of QA problems:

* QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * pygetdata.c:70: warning: implicit declaration of function 'PyInt_Check'
 * pygetdata.c:71: warning: implicit declaration of function 'PyInt_AsLong'
 * pygetdata.c:372: warning: implicit declaration of function 'PyInt_FromLong'
 * pydirfile.c:66: warning: implicit declaration of function 'PyInt_AsLong'
 * pydirfile.c:81: warning: implicit declaration of function 'PyString_AsString'
 * pydirfile.c:94: warning: implicit declaration of function 'PyString_Check'
 * pydirfile.c:105: warning: implicit declaration of function 'PyInt_Check'
 * pygetdata.c:523: warning: implicit declaration of function 'Py_InitModule3'
 * pyentry.c:51: warning: implicit declaration of function 'PyString_AsString'
 * pyentry.c:94: warning: implicit declaration of function 'PyString_Check'
 * pyentry.c:172: warning: implicit declaration of function 'PyInt_AsLong'
 * pydirfile.c:479: warning: implicit declaration of function 'PyInt_FromLong'
 * pydirfile.c:795: warning: implicit declaration of function 'PyString_FromString'
 * pyentry.c:580: warning: implicit declaration of function 'PyString_FromString'
 * pyentry.c:610: warning: implicit declaration of function 'PyInt_FromLong'
 * pyfragment.c:75: warning: implicit declaration of function 'PyInt_FromLong'
 * pyfragment.c:90: warning: implicit declaration of function 'PyString_FromString'
 * pyfragment.c:265: warning: implicit declaration of function 'PyInt_AsLong'

 * 
 * QA Notice: Package has poor programming practices which may compile
 *            but will almost certainly crash on 64bit architectures.
 * 
 * Function `PyString_AsString' implicitly converted to pointer at pydirfile.c:81
 * Function `PyString_AsString' implicitly converted to pointer at pyentry.c:51
 * Function `PyInt_FromLong' implicitly converted to pointer at pydirfile.c:479
 * Function `PyString_FromString' implicitly converted to pointer at pyentry.c:580
 * Function `PyInt_FromLong' implicitly converted to pointer at pyentry.c:610
 * Function `PyInt_FromLong' implicitly converted to pointer at pyfragment.c:75
 * Function `PyString_FromString' implicitly converted to pointer at pyfragment.c:90
 * 
 *  Please file a bug about this at http://bugs.gentoo.org/
 *  with the maintaining herd of the package.
 * 
 * ERROR: sci-libs/getdata-0.7.3 failed:
 *   install aborted due to poor programming practices shown above
 * 
 * Call stack:
 *   misc-functions.sh, line 992:  Called install_qa_check
 *   misc-functions.sh, line 680:  Called die

The currently installed version (0.6.3) recompiles without any error

Reproducible: Always

Steps to Reproduce:
Upgrade sci-libs/getdata from 0.6.3 to 0.6.3-r1 or 0.7.3 (with or without fortran and/or static-libs USE flag)



Portage 2.1.10.11 (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39-gentoo-r3 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 18 Sep 2011 09:15: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.21.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-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -msse4.1 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb /var/www/localhost/"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -msse4.1 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://mirror.netcologne.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j3"
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"
SYNC="rsync://192.168.224.25/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apache2 audiofile bash-completion berkdb bluetooth branding bzip2 cairo caps cdb cdda cdparanoia cdr cgi clamd cli consolekit cracklib crypt css ctype cups curl cxx dbus dell devil dga directfb dri dts dvd dvdr emboss encode enscript exif expat fam fax fbcon ffmpeg firefox flac fontconfig foomaticdb force-cgi-redirect fortran ftp gd gdbm gdu gif gimp gmp gnutls gphoto2 gpm gs gtk iconv icq id3tag idn imagemagick imap imlib inkjar ithreads java javascript jpeg jpeg2k kde kipi kpathsea lame laptop latex lcms libcaca libnotify lightning lm_sensors logrotate mad maildir memlimit mhash mime mmx mmxext mng modules mozilla mp3 mp4 mpeg mudflap multilib multiuser musicbrainz mysql mysqli ncurses nls nptl nptlonly nsplugin ntfs ntp ogg opengl openmp pam pango pcre pdf perl php png policykit ppds pppd python qt3support qt4 quicktime rdesktop rdp readline rle rtc samba sasl scanner sdl semantic-desktop session sharedmem slang sockets softquota spell sse sse2 ssl startup-notification subtitles subversion suexec svg symlink sysfs syslog tcpd tga theora tidy tiff tk toolbar truetype udev unicode urandom usb userlocales vcd vlc vnc vorbis wifi wmf x264 xcb xine xinerama xml xorg xulrunner xv xvid xvmc 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 auth_digest authn_dbd authn_default authn_file authz_default authz_groupfile authz_host authz_user autoindex charset_lite dav dav_fs dav_lock dbd deflate dir env expires filter headers log_config logio mime mime_magic negotiation rewrite setenvif so speling unique_id usertrack" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="fuji 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" RUBY_TARGETS="ruby18" SANE_BACKENDS="dell1600n_net xerox_mfp" USERLAND="GNU" VIDEO_CARDS="intel" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mike Gilbert gentoo-dev 2011-09-19 00:47:53 UTC
Please attach the build log.
Comment 2 Quincy 2011-09-19 02:17:12 UTC
Created attachment 286953 [details]
Build log
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-09-19 02:46:14 UTC
QA problems are not Major problems. Also, QA problems do not cause installation to fail - just set FEATURES=-strict to see what I mean.
Comment 4 Quincy 2011-09-19 04:20:24 UTC
I'm sorry, but I did not know about the "strict" feature and there was no possibility to choose "QA" as severity level when initially reporting the bug.
Comment 5 Arfrever Frehtes Taifersar Arahesis 2011-09-19 14:42:31 UTC
RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*" should be set in sci-libs/getdata ebuilds.
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2011-09-19 16:03:56 UTC
+  19 Sep 2011; Justin Lecher <jlec@gentoo.org> getdata-0.6.3-r1.ebuild,
+  getdata-0.7.3.ebuild:
+  Added RESTRICT_PYTHON_ABIS=3.*
+