Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 335349 - sys-fs/avfs-0.9.8 fails to build: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
Summary: sys-fs/avfs-0.9.8 fails to build: error: call to '__open_missing_mode' declar...
Status: RESOLVED DUPLICATE of bug 294831
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-31 01:53 UTC by Sophie Hamilton
Modified: 2010-08-31 11:05 UTC (History)
0 users

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


Attachments
Complete build log (build.log,77.45 KB, text/plain)
2010-08-31 01:55 UTC, Sophie Hamilton
Details
environment (environment,114.76 KB, text/plain)
2010-08-31 01:57 UTC, Sophie Hamilton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sophie Hamilton 2010-08-31 01:53:26 UTC
Attempting to build sys-fs/avfs-0.9.8 on my amd64 laptop, it fails to build with the following output:

 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I../include -march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe -MT uar.lo -MD -MP -MF .deps/uar.Tpo -c uar.c -o uar.o >/dev/null 2>&1
In file included from /usr/include/fcntl.h:217,
                 from ../include/avfs.h:20,
                 from ../include/archive.h:9,
                 from urar.c:12:
In function 'open',
    inlined from 'rar_open' at urar.c:590:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[1]: *** [urar.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
[snipped: 8 lines of unfinished jobs]
make[1]: Leaving directory `/var/tmp/portage/sys-fs/avfs-0.9.8/work/avfs-0.9.8/modules'
make: *** [all-recursive] Error 1
 * ERROR: sys-fs/avfs-0.9.8 failed:
 *   Sorry make failed :(

...and then the rest of the normal emerge output when an error occurs.

Earlier (maybe a few months ago or so) I was able to build avfs-0.9.8 on another machine - a 32-bit one in this case. I haven't yet tried to see if I can build it again on that machine; it's somewhat out-of-date with regard to the profile in use. This laptop, however, is fully up-to-date.

Reproducible: Always

Steps to Reproduce:
1. emerge avfs

Actual Results:  
The error described above results.

Expected Results:  
avfs should have compiled properly.

OUTPUT OF "emerge --info =sys-fs/avfs-0.9.8":

Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.33-gentoo-r2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.33-gentoo-r2-x86_64-Intel-R-_Core-TM-_CPU_Q_820_@_1.73GHz-with-gentoo-1.12.13
Timestamp of tree: Mon, 30 Aug 2010 17:30:01 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j9"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 cairo cli cracklib crypt cups cxx dbus dri fortran gdbm gnome gpm gtk hal iconv ipv6 jpeg laptop mmx modules mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python readline reflection session spl sse sse2 ssl ssse3 sysfs tcpd truetype unicode xorg 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" ELIBC="glibc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

OUTPUT OF "emerge -pqv =sys-fs/avfs-0.9.8":

[ebuild  N    ] sys-fs/avfs-0.9.8
Comment 1 Sophie Hamilton 2010-08-31 01:55:23 UTC
Created attachment 245421 [details]
Complete build log
Comment 2 Sophie Hamilton 2010-08-31 01:57:48 UTC
Created attachment 245422 [details]
environment
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-31 09:54:27 UTC

*** This bug has been marked as a duplicate of bug 294831 ***
Comment 4 Sophie Hamilton 2010-08-31 11:05:18 UTC
My apologies - I did see thet stablize bug in my search but hadn't looked at it because I thought it was just a regular stabilize request, instead of having grown out of a bug similar to mine.