Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 276182

Summary: x11-misc/xmbdfed fails to build with glibc 2.10
Product: Gentoo Linux Reporter: Joost Ruis <joost.ruis>
Component: Current packagesAssignee: Desktop Misc. Team <desktop-misc>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 270353    
Attachments: renames the locally defined getline, tries to update ebuild to EAPI=2

Description Joost Ruis 2009-07-02 09:59:00 UTC
>>> Emerging (8 of 30) x11-misc/xmbdfed-4.7_p1-r1
 * xmbdfed-4.7-patch1 RMD160 SHA1 SHA256 size ;-) ...
 * xmbdfed-4.7.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
 * checking ebuild checksums ;-) ...
 * checking auxfile checksums ;-) ...
 * checking miscfile checksums ;-) ...
>>> Unpacking source...
>>> Unpacking xmbdfed-4.7-patch1 to /var/tmp/portage/x11-misc/xmbdfed-4.7_p1-r1/work
unpack xmbdfed-4.7-patch1: file format not recognized. Ignoring.
>>> Unpacking xmbdfed-4.7.tar.bz2 to /var/tmp/portage/x11-misc/xmbdfed-4.7_p1-r1/work
 * Applying xmbdfed-4.7-patch1 ...
 * Applying xmbdfed-4.7_p1-gcc4.patch ...
 * Applying xmbdfed-4.7_p1-gentoo.patch ...
>>> Source unpacked in /var/tmp/portage/x11-misc/xmbdfed-4.7_p1-r1/work
>>> Compiling source in /var/tmp/portage/x11-misc/xmbdfed-4.7_p1-r1/work/xmbdfed-4.7 ...
make -j2 -s CC=i686-pc-linux-gnu-gcc
GEdit.c: In function '_XmuttGlyphEditSetCursor':
GEdit.c:777: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness
/usr/include/X11/Xlib.h:1607: note: expected 'const char *' but argument is of type 'unsigned char *'
GEdit.c: In function 'XmuttGlyphEditImportXBM':
GEdit.c:2008: warning: pointer targets in passing argument 5 of 'XmuReadBitmapDataFromFile' differ in signedness
/usr/include/X11/Xmu/Drawing.h:149: note: expected 'int *' but argument is of type 'unsigned int *'
GEdit.c:2008: warning: pointer targets in passing argument 6 of 'XmuReadBitmapDataFromFile' differ in signedness
/usr/include/X11/Xmu/Drawing.h:149: note: expected 'int *' but argument is of type 'unsigned int *'
GEdit.c: In function 'XmuttGlyphEditExportXBM':
GEdit.c:2048: warning: 'masks' may be used uninitialized in this function
GEditTB.c: In function '_XmuttGEditTBoxMakeBitmaps':
GEditTB.c:348: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness
/usr/include/X11/Xlib.h:1607: note: expected 'const char *' but argument is of type 'unsigned char *'
GEditTB.c:351: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness
/usr/include/X11/Xlib.h:1607: note: expected 'const char *' but argument is of type 'unsigned char *'
GEditTB.c:354: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness
/usr/include/X11/Xlib.h:1607: note: expected 'const char *' but argument is of type 'unsigned char *'
GEditTB.c:357: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness
/usr/include/X11/Xlib.h:1607: note: expected 'const char *' but argument is of type 'unsigned char *'
GEditTB.c:360: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness
/usr/include/X11/Xlib.h:1607: note: expected 'const char *' but argument is of type 'unsigned char *'
GEditTB.c:363: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness
/usr/include/X11/Xlib.h:1607: note: expected 'const char *' but argument is of type 'unsigned char *'
GEditTB.c:366: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness
/usr/include/X11/Xlib.h:1607: note: expected 'const char *' but argument is of type 'unsigned char *'
GEditTB.c:369: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness
/usr/include/X11/Xlib.h:1607: note: expected 'const char *' but argument is of type 'unsigned char *'
GEditTB.c:372: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness
/usr/include/X11/Xlib.h:1607: note: expected 'const char *' but argument is of type 'unsigned char *'
GEditTB.c:375: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness
/usr/include/X11/Xlib.h:1607: note: expected 'const char *' but argument is of type 'unsigned char *'
GEditTB.c:378: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness
/usr/include/X11/Xlib.h:1607: note: expected 'const char *' but argument is of type 'unsigned char *'
GEditTB.c:381: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness
/usr/include/X11/Xlib.h:1607: note: expected 'const char *' but argument is of type 'unsigned char *'
GEditTB.c:384: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness
/usr/include/X11/Xlib.h:1607: note: expected 'const char *' but argument is of type 'unsigned char *'
GEditTB.c:387: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness
/usr/include/X11/Xlib.h:1607: note: expected 'const char *' but argument is of type 'unsigned char *'
GEditTB.c:390: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness
/usr/include/X11/Xlib.h:1607: note: expected 'const char *' but argument is of type 'unsigned char *'
GEditTB.c:393: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness
/usr/include/X11/Xlib.h:1607: note: expected 'const char *' but argument is of type 'unsigned char *'
GEditTB.c:396: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness
/usr/include/X11/Xlib.h:1607: note: expected 'const char *' but argument is of type 'unsigned char *'
bdf.c: In function 'bdf_save_font':
bdf.c:3061: warning: format not a string literal and no format arguments
bdf.c:3068: warning: format not a string literal and no format arguments
bdf.c:3133: warning: format not a string literal and no format arguments
bdf.c:3140: warning: format not a string literal and no format arguments
bdfcons.c: In function '_bdf_load_vfont':
bdfcons.c:121: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
bdfcons.c:250: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
bdfcons.c: In function '_bdf_load_simple':
bdfcons.c:365: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
bdfcons.c: In function 'bdf_load_console_font':
bdfcons.c:547: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
bdfcons.c:567: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
bdffnt.c: In function 'bdffnt_open_font':
bdffnt.c:531: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
bdffnt.c:591: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
bdffnt.c: In function 'bdffnt_load_font':
bdffnt.c:881: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
bdffnt.c:886: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
bdffnt.c:890: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
bdffnt.c:980: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
bdfgname.c:50: error: conflicting types for 'getline'
/usr/include/stdio.h:651: note: previous declaration of 'getline' was here
make: *** [bdfgname.o] Error 1
make: *** Waiting for unfinished jobs....


Reproducible: Always




sabayon server # emerge --info
Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.4.0, glibc-2.10.1-r0, 2.6.25-sabayon i686)
=================================================================
System uname: Linux-2.6.25-sabayon-i686-Intel-R-_Xeon-R-_CPU_X3220_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 02 Jul 2009 06:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r5
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a





lftpd/ftp-data /opt/openfire/resources/security/ /usr/kde/3.5/share/config/kdm/ /usr/lib/fax /usr/share/config /usr/share/xbmc/userdata /var/bind /var/lib/hs

d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext
tc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"


el-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
/mirror.leaseweb.com/gentoo/ ftp://mirror.muntinternet.net/pub/gentoo/ ftp://91.121.124.139/gentoo-distfiles/ http://mirror.switch.ch/ftp/mirror/gentoo/"

LC_ALL="en_US"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl
uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_SE zh"
MAKEOPTS="-j2 -s "
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 --ex
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/enlightenment /usr/local/portage/layman/sabayon"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7Zip X a52 aac aalib accessibility acl acpi aiglx aim alsa artswrappersuid audiofile avahi bash-completion berkdb bidi bluetooth bzip2 cairo cdda cddb c
 css cups dbox2 dbus dga dri dts dv dvb dvd dvdr dvdread dxr3 emboss encode extramodules fam fame fat ffmpeg fftw firefox flac flash foomatic-db fortran free
m gstreamer gtk hal hfs iconv icq ieee1394 imap inotify ipod ipv6 irc irda isdnlog jabber jack jfs jingle joystick jpeg kde kdeenablefinal kdehiddenvisibilit
rs logitech-mouse lzo mad mail midi mikmod mjpeg mmx mng mozdevelop mp3 mp3rtp mpeg msn mudflap musepack musicbrainz ncurses network new-login nls nptl nptlo
cmcia pcre pda pdf perl png policykit povray ppds pppd pulseaudio python qt3support qt4 quicktime quotas rar rdesktop readline reflection reiserfs rss scanne
cation stream svg sysfs tcpd theora tiff tracker truetype udev unicode usb v4l v4l2 visualization voice vorbis weather wifi win32codecs wmf x264 x86 xcb xfs
 yahoo zeroconf zlib" ALSA_CARDS="emu10k1x darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm ice1712 indigo indigoio layla20 layla24 mia mixart mona pcxhr rme
A_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
 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 cac
s ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir
gfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_
laroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita director
a largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template" ELIBC="glibc" I
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et e
mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta tg tr uk uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_S
EO_CARDS="fbdev vesa radeonhd"
Comment 1 Arttu Valo 2009-07-08 17:28:36 UTC
Created attachment 197220 [details, diff]
renames the locally defined getline, tries to update ebuild to EAPI=2
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-07-18 22:19:45 UTC
+  18 Jul 2009; Samuli Suominen <ssuominen@gentoo.org>
+  xmbdfed-4.7_p1-r1.ebuild:
+  Fix building with glibc 2.10+ wrt #276182, thanks to Joost Ruis and Arttu
+  Valo.