Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 457946 - media-gfx/sane-backends-1.0.23 with sys-devel/gcc-4.4.7 - kodakaio.c:2175: warning: implicit declaration of function ‘_httpResolveURI’
Summary: media-gfx/sane-backends-1.0.23 with sys-devel/gcc-4.4.7 - kodakaio.c:2175: wa...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-17 11:29 UTC by Martin Walch
Modified: 2013-02-17 23:05 UTC (History)
0 users

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


Attachments
/var/tmp/portage/media-gfx/sane-backends-1.0.23/temp/build.log (build.log,320.63 KB, text/plain)
2013-02-17 11:29 UTC, Martin Walch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Walch 2013-02-17 11:29:12 UTC
Created attachment 339136 [details]
/var/tmp/portage/media-gfx/sane-backends-1.0.23/temp/build.log

This works fine with gcc 4.6.3

[…]

rm -f kodakaio-s.c
ln -s ./stubs.c kodakaio-s.c
/bin/sh ../libtool --silent  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/sane -I/usr/local/include -I. -I. -I../include -I../include -DLIBDIR="/usr/lib64/sane" -DBACKEND_NAME=kodakaio -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d 	  -DPATH_SANE_DATA_DIR=/usr/share 	  -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane 	  -DV_MAJOR=1 -DV_MINOR=0  -march=native -O2 -fgcse-after-reload -pipe -g -ggdb -fno-omit-frame-pointer -fno-strict-aliasing -W -Wall -DENABLE_PARPORT_DIRECTIO -c -o libsane_kodakaio_la-kodakaio-s.lo `test -f 'kodakaio-s.c' || echo './'`kodakaio-s.c
/bin/sh ../libtool --silent  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/sane -I/usr/local/include -I. -I. -I../include -I../include -DLIBDIR="/usr/lib64/sane" -DBACKEND_NAME=kodakaio -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d 	  -DPATH_SANE_DATA_DIR=/usr/share 	  -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane 	  -DV_MAJOR=1 -DV_MINOR=0  -march=native -O2 -fgcse-after-reload -pipe -g -ggdb -fno-omit-frame-pointer -fno-strict-aliasing -W -Wall -DENABLE_PARPORT_DIRECTIO -c -o libkodakaio_la-kodakaio.lo `test -f 'kodakaio.c' || echo './'`kodakaio.c
kodakaio.c: In function ‘kodakaio_net_read’:
kodakaio.c:646: warning: suggest parentheses around assignment used as truth value
kodakaio.c:666: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’
kodakaio.c: In function ‘cmd_start_scan’:
kodakaio.c:968: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’
kodakaio.c: In function ‘extract_from_id’:
kodakaio.c:2091: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
kodakaio.c:2091: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘size_t’
kodakaio.c: In function ‘ProcessDevice’:
kodakaio.c:2149: warning: passing argument 1 of ‘extract_from_id’ discards qualifiers from pointer target type
kodakaio.c:2071: note: expected ‘char *’ but argument is of type ‘const char *’
kodakaio.c:2175: warning: implicit declaration of function ‘_httpResolveURI’
kodakaio.c:2175: warning: assignment makes pointer from integer without a cast
kodakaio.c: In function ‘kodakaio_net_read’:
kodakaio.c:671: warning: control reaches end of non-void function
kodakaio.c: At top level:
kodakaio.c:1482: warning: ‘mc_copy_image_data’ defined but not used
kodakaio.c: In function ‘kodak_network_discovery’:
kodakaio.c:2198: warning: ‘Dummy’ is used uninitialized in this function

[…]

 * QA Notice: Package triggers severe warnings which indicate that it
 *            may exhibit random runtime failures.
 * kodakaio.c:2175: warning: implicit declaration of function ‘_httpResolveURI’

 * 
 * QA Notice: Package triggers severe warnings which indicate that it
 *            will almost certainly crash on 64bit architectures.
 * 
 * Function `_httpResolveURI' implicitly converted to pointer at kodakaio.c:2175
 * 
 *  Please file a bug about this at http://bugs.gentoo.org/
 *  with the maintaining herd of the package.

[…]


emerge -pqv --color n '=media-gfx/sane-backends-1.0.23'
[ebuild  N    ] media-gfx/sane-backends-1.0.23  USE="doc ipv6 threads usb -avahi -gphoto2 -v4l -xinetd" SANE_BACKENDS="abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr canon_pp cardscan coolscan coolscan2 coolscan3 dc210 dc240 dc25 dell1600n_net dmc epjitsu epson epson2 fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hpsj5s hs2p ibm kodak kodakaio kvs1025 kvs20xx leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_pp mustek_usb nec net niash p5 pie pixma plustek plustek_pp qcam ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 {test} u12 umax umax1220u umax_pp xerox_mfp -kvs40xx -mustek_usb2 -pnm" 


emerge --color n --info '=media-gfx/sane-backends-1.0.23'
Portage 2.1.11.50 (default/linux/amd64/13.0/desktop/kde, gcc-4.4.7, glibc-2.15-r3, 3.6.11-gentoo-gnu x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.6.11-gentoo-gnu-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8400_@_2.66GHz-with-gentoo-2.1
KiB Mem:     8052376 total,   1423036 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Fri, 15 Feb 2013 10:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.8 [enabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/ccache:          3.1.8
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.7, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo x11 java-overlay gamerlay worldforge-overlay x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE bea.ri.jsr173 dom4j GPL-2-with-MySQL-FLOSS-exception icu JasPer2.0 jaxen JDOM NCSA-HDF Radiance saxpath wxWinFDL-3 GPL freedist MOTIF Allegro unRAR MSttfEULA UCAR-Unidata GDLS ISOC-rfc intel-ucode atheros-hal Apple AdobeFlash-10.3 GMGPL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -fgcse-after-reload -pipe -g -ggdb -fno-omit-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/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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="-march=native -O2 -fgcse-after-reload -pipe -g -ggdb -fno-omit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-march=native -O2 -fgcse-after-reload -pipe -g -ggdb -fno-omit-frame-pointer"
FEATURES="assume-digests binpkg-logs ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-march=native -O2 -fgcse-after-reload -pipe -g -ggdb -fno-omit-frame-pointer"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.switch.ch/mirror/gentoo/"
LANG="de_DE.utf-8"
LC_ALL="de_DE.utf-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-6 -e"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/java-overlay /var/lib/layman/gamerlay /usr/local/portage/worldforge /usr/local/portage"
SYNC="rsync://rsync3.de.gentoo.org/gentoo-portage"
USE="64bit X Xaw3d a52 aac aalib accessibility acl acpi agg allegro alsa amd64 amr apache2 attica autoipd bash-completion bazaar berkdb bindist bittorrent blender blender-game bluray branding bzip2 cairo caps ccache cdda cdr cdrom cegui cjk cli clucene consolekit cracklib crypt cups curl cvs cxx daap dbus deblob declarative default-font designer-plugin desktopglobe devil dga dirac djvu dlz doc dri dts dvd dvdnav dvdr emacs embedded emboss encode exif fam farstream fbcon ffmpeg fftw firefox fits flac fltk fortran g3dvl gbm gcj gdbm ggi git gles gles1 gles2 gmm gmp gopher gpg gpm gpu grub gstreamer guile gzip hybrid-auth i18n icons iconv icq icu idn imagemagick ipv6 jabber jack java java6 javascript jingle jpeg jpeg2k kde kdecards kdepim kdm kipi kontact lastfm latex lcms ldap libcaca libkms libnotify libssh2 libwww lm_sensors lua lzma lzo matroska mdnsresponder-compat mercurial minizip mjpeg mmx mmxext mng modules mp3tunes mpeg mpfr mpi mtp mudflap mule multilib musepack mysql ncurses networkmanager nls nova nowin nptl nsplugin offensive ogg ogg123 ogre openal opencl openexr opengl openmp openssl opensslcrypt openstreetmap openvg openxml opus osc oscar osmesa otr pae pam pango pcre pdf phonon pkcs11 plasma player plotutils png policykit posix postscript povray ppds private-headers python qt3support qt4 ramfs readline redland reiser4 reiserfs rfc3779 romio rss scanner schroedinger scim sdl sdl-image semantic-desktop sensord session shm shmvideo sna sndfile solver songs sound source speex spell sse sse2 sse3 sse4_1 ssl ssse3 startup-notification subversion svg systemtap tcpd telepathy theora threads tidy tiff tk tools truetype udev udisks unicode upower usb uxa vaapi video videos vorbis vpx wav wavpack webm webp wifi wmf wxwidgets x264 xa xcb xcomposite xemacs xerces-c xft xhtml xine xml xorg xosd xprint xrandr xscreensaver xulrunner xv xvid xvmc zeroconf zfs zip zlib" ABI_X86="64" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev i965 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_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-02-17 17:37:01 UTC
Just get rid of FEATURES=strict, please.
Comment 2 Martin Walch 2013-02-17 23:05:54 UTC
As far as I see, FEATURES="strict" is the default setting on all arches (defined in /usr/share/portage/config/make.globals). Is that a bad setting?