Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326679 - gnustep-base/mknfonts-0.5-r1 fails to build (because of freetype/fontconfig)
Summary: gnustep-base/mknfonts-0.5-r1 fails to build (because of freetype/fontconfig)
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-02 20:52 UTC by Tony
Modified: 2014-01-29 14:11 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tony 2010-07-02 20:52:23 UTC
gnustep-base/mknfonts-0.5-r1 failes to compile correctly. I already tried to recompile all gnustep-base dependencies. I even sync portage twice for update but I still get same errors.

Emerge Summary 
==================================
>>> Unpacking mknfonts.tool_0.5.orig.tar.gz to /var/tmp/portage/gnustep-base/mknfonts-0.5-r1/work
 * Applying mknfonts-rename.patch ...                                                                                                                             [ ok ]
>>> Source unpacked in /var/tmp/portage/gnustep-base/mknfonts-0.5-r1/work
>>> Compiling source in /var/tmp/portage/gnustep-base/mknfonts-0.5-r1/work/mknfonts-0.5 ...
make -j3 'AUXILIARY_LDFLAGS=-Wl,-O1 -Wl,-rpath=/usr/GNUstep/System/Library/Libraries' ADDITIONAL_NATIVE_LIB_DIRS=/usr/GNUstep/System/Library/Libraries DESTDIR=/var/tmp/portage/gnustep-base/mknfonts-0.5-r1/image/ HOME=/var/tmp/portage/gnustep-base/mknfonts-0.5-r1/temp GNUSTEP_USER_DIR=/var/tmp/portage/gnustep-base/mknfonts-0.5-r1/temp GNUSTEP_USER_DEFAULTS_DIR=/var/tmp/portage/gnustep-base/mknfonts-0.5-r1/temp/Defaults GNUSTEP_INSTALLATION_DOMAIN=SYSTEM 'TAR_OPTIONS= --no-same-owner' messages=yes debug=no all
This is gnustep-make 2.4.0. Type 'make print-gnustep-make-help' for help.
cd .; \
        /usr/GNUstep/System/Library/Makefiles/mkinstalldirs ./obj
Making all for tool mknfonts...
cd .; \
        /usr/GNUstep/System/Library/Makefiles/mkinstalldirs ./obj/mknfonts.obj/
i686-pc-linux-gnu-gcc mknfonts.m -c \
              -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -D_REENTRANT -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -march=native -mtune=native -O2 -pipe -msse3 -fno-strict-aliasing -fgnu-runtime -Wall -O2 -fconstant-string-class=NSConstantString `freetype-config --cflags` -I. -I/var/tmp/portage/gnustep-base/mknfonts-0.5-r1/temp/GNUstep/Library/Headers -I/usr/GNUstep/Local/Library/Headers -I/usr/GNUstep/System/Library/Headers \
               -o obj/mknfonts.obj/mknfonts.m.o
mknfonts.m:13:10: error: #include expects "FILENAME" or <FILENAME>
mknfonts.m:16: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âftlibâ
mknfonts.m: In function â-[FaceInfo collectFaceInfo]â:
mknfonts.m:140: error: âFT_Faceâ undeclared (first use in this function)
mknfonts.m:140: error: (Each undeclared identifier is reported only once
mknfonts.m:140: error: for each function it appears in.)
mknfonts.m:140: error: expected â;â before âfaceâ
mknfonts.m:159: warning: implicit declaration of function âFT_New_Faceâ
mknfonts.m:159: error: âftlibâ undeclared (first use in this function)
mknfonts.m:159: error: âfaceâ undeclared (first use in this function)
mknfonts.m:161: warning: unknown conversion type character â@â in format
mknfonts.m:161: warning: too many arguments for format
mknfonts.m:166: warning: implicit declaration of function âFT_Attach_Fileâ
mknfonts.m:168: warning: unknown conversion type character â@â in format
mknfonts.m:168: warning: too many arguments for format
mknfonts.m:172: warning: implicit declaration of function âFT_Get_Postscript_Nameâ
mknfonts.m:175: warning: unknown conversion type character â@â in format
mknfonts.m:175: warning: too many arguments for format
mknfonts.m:183: warning: pointer targets in passing argument 2 of âtraits_from_stringâ differ in signedness
mknfonts.m:26: note: expected âunsigned int *â but argument is of type âint *â
mknfonts.m:183: warning: pointer targets in passing argument 3 of âtraits_from_stringâ differ in signedness
mknfonts.m:26: note: expected âunsigned int *â but argument is of type âint *â
mknfonts.m:185: warning: unknown conversion type character â@â in format
mknfonts.m:185: warning: unknown conversion type character â@â in format
mknfonts.m:185: warning: too many arguments for format
mknfonts.m:188: warning: implicit declaration of function âFT_Done_Faceâ
mknfonts.m: In function âmainâ:
mknfonts.m:259: warning: implicit declaration of function âFT_Init_FreeTypeâ
mknfonts.m:259: error: âftlibâ undeclared (first use in this function)
mknfonts.m:287: warning: unused variable âjâ
make[3]: *** [obj/mknfonts.obj/mknfonts.m.o] Error 1
make[2]: *** [internal-tool-all_] Error 2
make[1]: *** [mknfonts.all.tool.variables] Error 2
make: *** [internal-all] Error 2
 * ERROR: gnustep-base/mknfonts-0.5-r1 failed:
 *   package make failed
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2772:  Called gnustep-base_src_compile
 *   environment, line 1984:  Called egnustep_make
 *   environment, line  940:  Called die
 * The specific snippet of code:
 *           emake ${*} "${GS_ENV[@]}" all || die "package make failed";
 *
 * If you need support, post the output of 'emerge --info =gnustep-base/mknfonts-0.5-r1',
 * the complete build log and the output of 'emerge -pqv =gnustep-base/mknfonts-0.5-r1'.
 * The complete build log is located at '/var/tmp/portage/gnustep-base/mknfonts-0.5-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnustep-base/mknfonts-0.5-r1/temp/environment'.

 * S: '/var/tmp/portage/gnustep-base/mknfonts-0.5-r1/work/mknfonts-0.5'

>>> Failed to emerge gnustep-base/mknfonts-0.5-r1, Log file:

>>>  '/var/tmp/portage/gnustep-base/mknfonts-0.5-r1/temp/build.log'


Reproducible: Always




Linux 2.6.32-gentoo-r7 #1 SMP Wed May 12 19:44:18 PDT 2010 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux

Using gentoo 10.0 and profile default/linux/x86/10.0
Comment 1 Tony 2010-07-02 21:08:17 UTC
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.32-gentoo-r7 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32-gentoo-r7-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-gentoo-1.12.13
Timestamp of tree: Thu, 01 Jul 2010 05:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.4.6, 2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.6.3, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.4.6-r2, 4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -msse3"
CHOST="i686-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/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.arcticnetwork.ca/ http://gentoo.mirrors.tera-byte.com/ http://mirror.its.uidaho.edu/pub/gentoo/ http://gentoo.osuosl.org/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.llarian.net/ http://www.cyberuse.com/gentoo/ http://mirror.datapipe.net/gentoo http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://gentoo.netnitco.net"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
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="/usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac aalib ace acl acpi additions administrator ads alsa apache2 arts automount bash-completion berkdb bzip2 ccache cdr cdrkit cdrom chm cli compress consolekit corefonts cpio cpufreq cracklib crypt cups curlwrappers cvs cxx dbus dga directfb doc dri dts dvd dvdr dvdread ebook encode ffmpeg fortran gdbm gif glut gpm graphics gtk gtk2 gtkhotkey hfs iconv imagemagick ipod ipv6 jack jbig jpeg jpeg2k keyboard libcaca libssh2 libv4l2 live logrotate mad md5sum mjpeg mmx mmxext modules mp2 mp3 mpeg mpeg2 mplayer mudflap musepack nas ncurses nfsv3 nfsv4 nls nptl nptlonly nsplugin nvidia opengl openmp oss pam pcre perl png pnm pppd python qt3support rar readline reflection reiserfs sdl session spl sqlite sqlite3 sse3 ssl svga symlink sysfs tcpd theora threads tiff truetype unicode vorbis win32codecs x264 x86 xanim xinerama xorg xv xvid xvmc zlib" ALSA_CARDS="intel8x0" 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="auth_basic actions alias auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif speling status substitute unique_id userdir usertrack version vhost_alias mpms_event mpms_itk mpms_peruser mpms_prefork mpms_worker doc ldap selinux sni ssl static suexec threads alias vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-07-07 20:12:49 UTC
related to freetype and/or fontconfig, might want to try reinstalling them...
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2010-10-20 03:29:37 UTC
Can you try rebuilding freetype with -fno-strict-aliasing?
Comment 4 Bernard Cafarelli gentoo-dev 2014-01-29 14:11:20 UTC
Cleaning some old bugs, is this still a problem with current stable packages?