First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 177597
Alias:
Product:
Component:
Status: RESOLVED
Resolution: TEST-REQUEST
Assigned To: foser (RETIRED) <foser@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Calum <caluml@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 177597 depends on: Show dependency tree
Show dependency graph
Bug 177597 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-08 08:43 0000
Freetype requires X11 to install - useless on a headless system

I use freetype on a headless system with PHP, and as such don't have (and don't
want) X11 packages installed.

i686-pc-linux-gnu-gcc -c  -O2 -mcpu=i686 -pipe -fno-strict-aliasing
-DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>"
-I/var/tmp/portage/freetype-2.3.3/work/ft2demos-2.3.3/graph \
                -I/var/tmp/portage/freetype-2.3.3/work/ft2demos-2.3.3/graph/x11
\
                -I/usr/X11R6/include \
                -o
/var/tmp/portage/freetype-2.3.3/work/ft2demos-2.3.3/obj/grx11.o
/var/tmp/portage/freetype-2.3.3/work/ft2demos-2.3.3/graph/x11/grx11.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
/var/tmp/portage/freetype-2.3.3/work/ft2demos-2.3.3/graph/x11/grx11.c:35:22:
X11/Xlib.h: No such file or directory
/var/tmp/portage/freetype-2.3.3/work/ft2demos-2.3.3/graph/x11/grx11.c:36:23:
X11/Xutil.h: No such file or directory


Reproducible: Always

Steps to Reproduce:
emerge freetype

------- Comment #1 From Calum 2007-05-08 08:43:53 0000 -------
Options used were

[ebuild     U ] media-libs/freetype-2.3.3 [2.1.10-r2] USE="zlib -bindist
-debug% -doc" 0 kB

------- Comment #2 From Ryan Hill 2007-05-09 01:32:32 0000 -------
Thanks for the report.  I've added an X USE flag to control what utilities get
built.  I also found a linking bug that I sent a patch upstream for.  Can you
sync up and test freetype-2.3.3 with USE="-X"? (ebuild rev should be >=1.8).

------- Comment #3 From Paolo Pedroni 2007-05-09 10:50:53 0000 -------
media-libs/freetype fails if with USE="-X". The error is:

x86_64-pc-linux-gnu-gcc -o
/var/tmp/portage/media-libs/freetype-2.3.3/work/ft2demos-2.3.3/bin/.libs/ftdump
/var/tmp/portage/media-libs/freetype-2.3.3/work/ft2demos-2.3.3/obj/ftdump.o
/var/tmp/portage/media-libs/freetype-2.3.3/work/ft2demos-2.3.3/obj/common.o 
/var/tmp/portage/media-libs/freetype-2.3.3/work/freetype-2.3.3/objs/.libs/libfreetype.so
-lz
x86_64-pc-linux-gnu-gcc:
/var/tmp/portage/media-libs/freetype-2.3.3/work/ft2demos-2.3.3/obj/common.o: No
such file or directory
distcc[32321] ERROR: compile (null) on localhost failed
make: ***
[/var/tmp/portage/media-libs/freetype-2.3.3/work/ft2demos-2.3.3/bin/ftdump]
Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: media-libs/freetype-2.3.3 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3648:   Called src_compile
  freetype-2.3.3.ebuild, line 101:   Called die

!!! ft2demos emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/log/portage/media-libs:freetype-2.3.3:20070509-104318.log'.

# emerge --info
Portage 2.1.2.2 (default-linux/amd64/2007.0/server, gcc-4.1.1, glibc-2.5-r2,
2.6.20-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r7 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
4600+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 09 May 2007 06:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="autoaddcvs ccache collision-protect digest distcc distlocks
fixpackages metadata-transfer sandbox sfperms strict test userfetch userpriv
usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/
http://gentoo.ynet.sk/pub http://gentoo.inf.elte.hu/
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
http://pandemonium.tiscali.de/pub/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j11"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="a52 aac aalib acpi amd64 bash-completion bcmath berkdb bitmap-fonts bzip2
caps cli cracklib crypt curl curlwrappers dbus dio dri dvd dvdread
emul-linux-x86 encode exif expat fbcon ffmpeg fftw flac fortran ftp gd gdbm ggi
gif glut gmp gnutls gphoto2 gpm guile hal hardenedphp iconv ieee1394
imagemagick imlib isdnlog java javascript jikes jpeg jpeg2k kerberos krb4
libcaca libg++ lm_sensors mad maildir matroska memlimit midi mime mmap mmx mp3
mpeg mpi ncurses nls nptl nptlonly offensive ogg openal opengl oss pam pcre
perl png posix ppds pppd python quicktime readline recode reflection samba
session sharedmem shorten sndfile sockets sox spell spl sse sse2 ssl svg
symlink sysvipc tcl tcpd test theora threads tidy tiff tokenizer truetype
truetype-fonts type1-fonts unicode usb vorbis x264 xine xinetd xml xml2 xorg
xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix
dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
mulaw multi null plug rate route share shm softvol" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it"
USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #4 From Ryan Hill 2007-05-09 14:13:00 0000 -------
can you try with MAKEOPTS="-j1"?

------- Comment #5 From Ryan Hill 2007-05-09 14:54:24 0000 -------
I think I found it.  Please try rev 1.9.

------- Comment #6 From Paolo Pedroni 2007-05-09 17:44:01 0000 -------
(In reply to comment #4)
> can you try with MAKEOPTS="-j1"?
> 

With FEATURES="-distcc" MAKEOPTS="-j1" it works perfectly.

------- Comment #7 From Paolo Pedroni 2007-05-09 17:45:36 0000 -------
(In reply to comment #5)
> I think I found it.  Please try rev 1.9.
> 

I will check that tomorrow after the daily "emerge --sync"

------- Comment #8 From Paolo Pedroni 2007-05-10 07:22:14 0000 -------
(In reply to comment #5)
> I think I found it.  Please try rev 1.9.
> 

OK, perfect. Now it works out of the box.

------- Comment #9 From Ryan Hill 2007-05-13 00:22:48 0000 -------
This is working for me on a headless box I just set up.  Please reopen if
you're still having problems.

First Last Prev Next    No search results available      Search page      Enter new bug