Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103007 - app-office/magicpoint-1.11b fails to compile
Summary: app-office/magicpoint-1.11b fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Mamoru KOMACHI (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-18 14:03 UTC by Tomasz Mloduchowski
Modified: 2005-09-29 01:33 UTC (History)
0 users

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 Tomasz Mloduchowski 2005-08-18 14:03:43 UTC
x86_64-pc-linux-gnu-gcc -o mgp -O2 -fno-strength-reduce -fno-strict-aliasing   
  -L/usr/lib64   mgp.o draw.o parse.o plist.o globals.o x11.o font.o
background.o       scanner.o grammar.o postscript.o tfont.o embed.o unimap.o
mng.o m17n.o strlcpy.o strlcat.o     -L./image -lmgpimage -lm  -lpng12 -lz -lm 
 -L/usr/lib -lpng -L/usr/X11R6/lib -L//usr/lib -L/usr/X11R6/lib64 -lImlib -ljpeg
-ltiff -lungif -lpng -lz -lm -lSM -lICE -lXext -lX11  -lXext -lX11 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lungif

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~amd64" USE="-gif" emerge magicpoint

Actual Results:  
linking failed
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lungif

Expected Results:  
magicpoint emerged

Portage 2.0.51.22-r2 (default-linux/amd64/2004.3, gcc-3.4.4, glibc-2.3.5-r1, 2.6
 .12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 Mobile AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre6
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -frename-registers"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr//lib/mozilla/defaults/pref /usr/kde/2/share/config /us
 r/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/c  onfig /usr/lib/X11/xkb /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/
 env.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
LDFLAGS="-Wl,-O1 -Wl,-z,now"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/data/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-fluid /usr/local/gentoo-d  e"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acl alsa avi bash-completion bitmap-fonts cdparanoia
  cdr crypt cscope cups curl dv dvd dvdr dvdread edl eds encode esd fam flac
fooma  ticdb fortran gd gdbm ggi gif glut gnome gnustep gpm gstreamer gtk gtk2
guile im  agemagick imap imlib java jpeg junit kde kerberos latex libwww live
lzo lzw lzw-  tiff mad matroska mikmod mjpeg motif mozilla mp3 mpeg multilib
mythtv ncurses ne  twork nptl objc ogg oggvorbis opengl pam pdflib perl png
python qt quicktime rea  dline real rtc samba scanner sdl slang softmmu spell
ssl tcltk tcpd tetex tga th  eora tiff truetype-fonts type1-fonts usb
userlocales vorbis xanim xine xml xml2   xmms xosd xpm xv xvid xvmc zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, MAKEOPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-18 14:12:01 UTC
re-emerge imlib and post back whether it fixes the problem. You also neglected
to post the ebuild version.
Comment 2 Tomasz Mloduchowski 2005-08-18 14:21:34 UTC
Reemerged imlib:

   Info about currently installed ebuild:

   * media-libs/imlib-1.9.14-r3
   Install date: Thu Aug 18 17:16:20 2005
   USE=""
   CFLAGS="-O2 -march=athlon64 -pipe -frename-registers"

Calculating dependencies ...done!
[ebuild  N    ] app-office/magicpoint-1.11b  -cjk -emacs -gif +imlib -m17n-lib
-mng -nls -truetype 0 kB 

Fails, albeit differently (and more scary...)
x86_64-pc-linux-gnu-gcc -c -O2 -fno-strength-reduce -fno-strict-aliasing     
-I/usr/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L                
    -D_POSIX_SOURCE -D_XOPEN_SOURCE                           -D_BSD_SOURCE
-D_SVID_SOURCE                                                               
-DFUNCPROTO=15 -DNARROWPROTO      -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1
-DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1
-DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1
-DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_PNG=1 -DUSE_IMLIB=1 
-DMGPLIBDIR=\"/etc/X11/mgp\" -DUUDECODE=\"no\" -DGUNZIP=\"/bin/gunzip\"
-I/usr/include/libpng12   -I/usr/include -I mgp.c
x86_64-pc-linux-gnu-gcc: no input files

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-08-18 14:28:16 UTC
OK, let's scratch the libungif idea then.
Comment 4 Chris Slycord 2005-09-21 22:12:47 UTC
Same with x86; please change hardware to all

rm -f mgp
rm -f mgp2ps
rm -f mgp._man
rm -f mgp2ps._man
rm -f mgpembed._man
rm -f ctlwords
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log
MakeOut   "#"*
cleaning in ./image...
make[1]: Entering directory
`/var/tmp/portage/magicpoint-1.11b/work/magicpoint-1.11b/image'
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log
MakeOut   "#"*
make[1]: Leaving directory
`/var/tmp/portage/magicpoint-1.11b/work/magicpoint-1.11b/image'
cleaning in ./sample...
make[1]: Entering directory
`/var/tmp/portage/magicpoint-1.11b/work/magicpoint-1.11b/sample'
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log
MakeOut   "#"*
make[1]: Leaving directory
`/var/tmp/portage/magicpoint-1.11b/work/magicpoint-1.11b/sample'
cleaning in ./contrib...
make[1]: Entering directory
`/var/tmp/portage/magicpoint-1.11b/work/magicpoint-1.11b/contrib'
rm -f mgpnet._man
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log
MakeOut   "#"*
cleaning in contrib/xwintoppm...
make[2]: Entering directory
`/var/tmp/portage/magicpoint-1.11b/work/magicpoint-1.11b/contrib/xwintoppm'
rm -f xwintoppm._man
rm -f xwintoppm
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log
MakeOut   "#"*
make[2]: Leaving directory
`/var/tmp/portage/magicpoint-1.11b/work/magicpoint-1.11b/contrib/xwintoppm'
make[1]: Leaving directory
`/var/tmp/portage/magicpoint-1.11b/work/magicpoint-1.11b/contrib'
i686-pc-linux-gnu-gcc -o ./ctlwords ./ctlwords.c
./ctlwords < ./globals.c > ctlwords.h
rm -f mgp.o
i686-pc-linux-gnu-gcc -c -O2 -fno-strength-reduce -fno-strict-aliasing     
-I/usr/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                 
            -D_POSIX_SOURCE -D_XOPEN_SOURCE                                
-D_BSD_SOURCE -D_SVID_SOURCE
                                                             -DFUNCPROTO=15
-DNARROWPROTO      -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1
-DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1
-DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1
-DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_PNG=1 -DUSE_XFT2=1
-DHAVE_ICONV=1 -DUSE_IMLIB=1  -DMGPLIBDIR=\"/etc/X11/mgp\"
-I/usr/include/freetype2 -I/usr/include/freetype2/config    -DUUDECODE=\"no\"
-DGUNZIP=\"/bin/gunzip\" -DUSE_SETLOCALE -I/usr/include/libpng12  
-I/usr/include -I mgp.c
i686-pc-linux-gnu-gcc: no input files
make: *** [mgp.o] Error 1

** emerge info **
Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-gentoo-r2 i686)
=================================================================
System uname: 2.6.13-gentoo-r2 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [enabled]
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -pipe -O3 -fweb -frename-registers -fforce-addr
-momit-leaf-frame-pointer -fomit-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -pipe -O3 -fweb -frename-registers -fforce-addr
-momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoclean autoconfig ccache distlocks nostrip sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.osuosl.org/
http://mirror.datapipe.net/gentoo http://gentoo.seren.com/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib alsa avi cdr cups debug divx4linux dvd dvdr dvdread
encode flac foomaticdb gnome gtk gtk2 imlib java jpeg kde kerberos krb4 mad
mikmod mmx mpeg ncurses nls nptl oggvorbis opengl pic png ppds python readline
scanner sdl slang spell sse ssl tcltk truetype usb xml2 xv xvid zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Comment 5 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-09-29 01:33:22 UTC
Sorry for the delay. Fixed this issue in CVS. (This is due to xorg-x11's shift to
use /usr as default path for ordinary software instead of /usr/X11R6)
Thanks for the bug report.