Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423157 - dev-libs/libofx-0.9.4 with gcc-4.7 - In function ‘bool OfxPartner::post(const string&, const string&, const string&)’: ofxpartner.cpp:198:26: erreur: ‘unlink’ was not declared in this scope
Summary: dev-libs/libofx-0.9.4 with gcc-4.7 - In function ‘bool OfxPartner::post(const...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
Keywords: PATCH
Depends on:
Blocks: gcc-4.7
  Show dependency tree
Reported: 2012-06-23 14:39 UTC by Olivier Huber
Modified: 2012-06-24 20:13 UTC (History)
0 users

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

patch to fix the missing include (libofx-gcc47.patch,258 bytes, patch)
2012-06-23 14:39 UTC, Olivier Huber
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Huber 2012-06-23 14:39:53 UTC
Created attachment 316077 [details, diff]
patch to fix the missing include

from build.log

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -I../inc -I/usr/include/libxml++-2.6 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -march=native -O2 -pipe -g -c -o ofxconnect.o ofxconnect.cpp
ofxpartner.cpp: In function ‘bool OfxPartner::post(const string&, const string&, const string&)’:
ofxpartner.cpp:198:26: erreur: ‘unlink’ was not declared in this scope

emerge --info dev-libs/libofx
Portage 2.2.0_alpha111 (default/linux/amd64/10.0/developer, gcc-4.7.0, glibc-2.15-r2, 3.4.0-gentoo x86_64)
                        System Settings
System uname: Linux-3.4.0-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Sat, 23 Jun 2012 12:45:01 +0000
distcc[19868] (dcc_trace_version) distcc 3.1 x86_64-pc-linux-gnu; built Jan  9 2012 23:35:06 [disabled]
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p29
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.9.6-r3, 1.11.5, 1.12.1                                                                                                                       
sys-devel/binutils:       2.22                                                                                                                                                      
sys-devel/gcc:            4.6.2, 4.7.0                                                                                                                                              
sys-devel/gcc-config:     1.7.3                                                                                                                                                     
sys-devel/libtool:        2.4.2                                                                                                                                                     
sys-devel/make:           3.82-r3                                                                                                                                                   
sys-kernel/linux-headers: 3.4 (virtual/os-headers)                                                                                                                                  
sys-libs/glibc:           2.15-r2                                                                                                                                                   
Repositories: gentoo g-octave sage-on-gentoo kde science x11 bibletime xhub                                                                                                         
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                                                                                      
CFLAGS="-march=native -O2 -pipe -g"                                                                                                                                                 
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/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 -pipe -g"
EMERGE_DEFAULT_OPTS="--quiet-build=n "
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms sign splitdebug strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox xattr"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common"
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"
PORTDIR_OVERLAY="/var/lib/g-octave /usr/local/overlays/sage-on-gentoo /usr/local/overlays/kde /usr/local/overlays/sci /usr/local/overlays/x11 /usr/local/overlays/bibletime /usr/local/overlays/local"
USE="X a52 aac aacplus aacs abook acl acpi adns alsa amd64 amr amrnb amrwb apng ares aspell ass avconv bash-completion berkdb bluetooth bluray boehm-gc boost brltty bzip2 cairo caps cblas cdaudio cdda cddb cdio cdparanoia cdr cgroup cli clucene consolekit corefonts cracklib crypt ctypes-python cups curl custom-cxxflags custom-optimization cvs cxx daap dbus declarative detex device-mapper dia dirac djvu dns dot dri dssi dtmf dts dv dvb dvd dvdnav dvdr dvipdfm egl emboss enca encode epspdf exif expat extensions extra extras faac faad fam fbcondecor ffmpeg fftw firefox flac fontconfig fontforge fortran frei0r ft2232 ftd2xx ftdi ftp fts3 fuse g3dvl gallium gbm gcrypt gd gdbm geoip gif gimp git gles gles1 gles2 glitz gmp gnuplot gnutls gpg gpgme gpm graphics graphite graphviz gs gsm gstreamer gtk gtk3 h323 hdri humanities hyperestraier ical iconv icu id3tag idn imagemagick imaging imap inotify iproute2 ipv6 ipython jabber jack jadetex jbig jingle jpeg jpeg2k kde kpathsea kqemu kvm ladspa lame lapack laptop lash lastfm latex latex3 lcms ldap lensfun libass libftdi libgcrypt libkms libnotify libproxy libsamplerate libusb-0 libv4l libv4l2 libwww live llvm llvm-gcc lto lua luatex lv2 lvm lzma lzo mad mathml matplotlib matroska mbox melt messenger minizip mjpeg mktemp mms mmx mng modplug modules mongodb mp3 mp4 mpc mpeg mplayer msn mtp mudflap multilib musepack music mxdatetime ncat ncurses ndiff nemesi netlink nettle nls nmap-update nping nptl nsplugin nspluginwrapper nss ntfsprogs ntl ntlm ntp numpy ocaml ocamlopt ocr octave ogg omega openexr opengl openldap openmp openntpd openssl openvg otr pam pango pari parport parport-giveio passwdqc pcap pch pcre pcre16 pda pdf perl pgm phonon pipechan pkcs11 plotutils png policykit pop postgres postproc postscript ppds pppd presto projectm pstricks publishers pulseaudio python qalculate qemu qemu-ifup qt3support qt4 quicktime qwt rar raw readline rnca rss rtmp rtsp ruby sage sasl schroedinger science script sdl sdl-image secure-delete semantic-desktop sensord session shout sidebar sip smi smime smp sms smtp sna sndfile snmp socks speex spell sqlite sqlite3 sse sse2 sse3 sse41 sse4_1 ssh ssl ssse3 startup-notification stl stream strong-optimization subversion svg syslog system-sqlite t1lib taglib tcpd teletext text tga theora threads thumbnail tiff timidity tokyocabinet tools toplevel tordns truetype twitter udev udev-acl udisks umfpack unac unicode unlock-notify upnp upower usb usbredir utils v4l v4l2 v8 vaapi vcd vcdinfo vcdx vim vim-syntax virtualbox vorbis vpx wav wavpack wayland webdav webgl webkit wifi winpopup wmf wxwidgets x264 xattr xcb xcomposite xetex xine xml xorg xosd xulrunner xv xvid xvmc zlib zvbi" 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 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="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="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vesa intel v4l fbdev" 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"

                        Package Settings

dev-libs/libofx-0.9.4 was built with the following:
USE="(multilib) test -static-libs"
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2012-06-24 20:13:55 UTC
Fixed, thanks!