Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332865 - net-fs/davfs2-1.4.5 fails to build with glibc-2.12
Summary: net-fs/davfs2-1.4.5 fails to build with glibc-2.12
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.12
  Show dependency tree
 
Reported: 2010-08-15 16:58 UTC by Michael Schachtebeck
Modified: 2010-08-17 19:21 UTC (History)
0 users

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


Attachments
build.log (build.log,24.73 KB, text/plain)
2010-08-15 16:58 UTC, Michael Schachtebeck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Schachtebeck 2010-08-15 16:58:13 UTC
Also net-fs/davfs2-1.4.5 is affected by changes in the namespace of glibc-2.12, see bug 331665. In this case:



dav_coda.o: In function `set_attr':
dav_coda.c:(.text+0x20): undefined reference to `S_ISDIR'
dav_coda.o: In function `write_dir_entry':
dav_coda.c:(.text+0x125d): undefined reference to `S_ISDIR'
dav_fuse.o: In function `set_attr':
dav_fuse.c:(.text+0x79): undefined reference to `S_ISDIR'
dav_fuse.o: In function `dav_fuse_loop':
dav_fuse.c:(.text+0xf31): undefined reference to `S_ISREG'
collect2: ld returned 1 exit status
make[2]: *** [mount.davfs] Error 1


Reproducible: Always




emerge --info
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.12.1-r0, 2.6.34-zen1 x86_64)
=================================================================
System uname: Linux-2.6.34-zen1-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.0.1
Timestamp of tree: Sun, 15 Aug 2010 12:30:02 +0000
ccache version 3.0.1 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3
dev-util/ccache:     3.0.1
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/distfiles/"
EMERGE_DEFAULT_OPTS="--jobs=3 --keep-going --with-bdeps y --fail-clean"
FEATURES="assume-digests distlocks fail-clean fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common"
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="/var/lib/layman/mv /var/lib/layman/vmware /usr/local/portage/local-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dirac dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gimp gmp gpm hal iconv java6 jpeg jpeg2k kde kipi lcms libnotify lzma mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin nspluginwrapper ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection samba scanner sdl session smp spell spl sse sse2 sse3 sse4a ssl ssse3 startup-notification svg symlink sysfs system-sqlite tcpd theora threads tiff truetype unicode usb v4l v4l2 vcd vorbis wmf x264 xcb xml xmp xorg xulrunner xv xvid 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michael Schachtebeck 2010-08-15 16:58:39 UTC
Created attachment 243077 [details]
build.log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-08-17 19:21:00 UTC
What a horrible package... it's abusing autoconf and config.h with all the #ifdef's badly, but nevertheless:

+  17 Aug 2010; Samuli Suominen <ssuominen@gentoo.org> davfs2-1.4.5.ebuild,
+  +files/davfs2-1.4.5-glibc212.patch:
+  Fix building (and implicits of fstat, mknod and chmod) with recent glibc
+  wrt #332865 by Michael Schachtebeck.