First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 113024
Alias:
Product:
Component:
Status: CLOSED
Resolution: FIXED
Assigned To: Text-Markup Team <text-markup@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sandro Bonazzola (RETIRED) <sanchan@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
3412-tetex-3.0-r3.log.gz full log file application/x-gzip Sandro Bonazzola (RETIRED) 2005-11-19 12:54 0000 27.38 KB Details
3412-tetex-3.0-r3.log full log file in plain text text/plain Sandro Bonazzola (RETIRED) 2005-11-20 07:09 0000 255.56 KB Details
tetex-3.0-r4.ebuild Proposed ebuild to solve the issue text/plain Alexandre Buisse (RETIRED) 2005-12-02 15:30 0000 1.34 KB Details
tetex-3.0-r5.ebuild tetex-3.0-r5 : new attempt text/plain Alexandre Buisse (RETIRED) 2005-12-06 09:54 0000 1.29 KB Details
tetex-3.0-amd64-xdvik-wp.patch Patch for amd64 patch Alexandre Buisse (RETIRED) 2006-01-06 04:35 0000 847 bytes Details | Diff
tetex-3.0-r5.ebuild ebuild for -r5 that applies the patch text/plain Alexandre Buisse (RETIRED) 2006-01-06 04:35 0000 1.33 KB Details
4433-tetex-3.0-r5.log full log file for tetex-3.0-r5 text/plain Sandro Bonazzola (RETIRED) 2006-01-08 11:54 0000 370.13 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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


Not eligible to see or edit group visibility for this bug.




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


Description:   Opened: 2005-11-19 12:51 0000
I'll attach the complete log file.

Reproducible: Always
Steps to Reproduce:
1. emerge tetex
2.
3.

Actual Results:  
tetex fails during install fase.

Expected Results:  
tetex install fine.

Gentoo Base System version 1.12.0_pre10
Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3500+
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=" -march=athlon64 -O2 -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS=" -march=athlon64 -O2 -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg buildsyspkg ccache collision-protect confcache cvs
distlocks elog maketest parallel-fetching sandbox sfperms strict test userpriv"
GENTOO_MIRRORS="ftp://192.168.0.47 http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="it_IT.utf8"
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.47/gentoo-portage"
USE="amd64 7zip X a52 aac aalib acl alsa apache2 arts audiofile avi berkdb
bitmap-fonts bzip2 cdparanoia cdr chroot cpudetection crypt cups curl directfb
dts dv dvd emboss encode erandom esd exif expat fam ffmpeg firefox flac
foomaticdb gd gdbm ggi gif gimp gimpprint glibc-omitfp glut gmp gnome gnutls
gphoto2 gpm graphviz gstreamer gtk gtk2 idn ieee1394 imagemagick imlib ipv6
ithreads jbig jpeg jpeg2k justify kde kdeenablefinal lcms ldap libcaca libwww
linuxthreads-tls lm_sensors logitech-mouse logrotate lzo lzw lzw-tiff mad
mailwrapper mbox mikmod mmap mng motif mp3 mpeg mpm-worker mysql ncurses nls
nptl nptlonly numeric nvidia odbc offensive ogg opengl pam pcre pdflib perl png
ppds python qt quicktime readline recode rtc samba scanner sdl slang smp snmp
speex spell ssl svg sysfs tcltk tcpd test tetex tga theora threads tiff timidity
truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 vda vorbis
wmf xine xinerama xml2 xmms xpm xv xvid zlib linguas_it userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, MAKEOPTS

------- Comment #1 From Sandro Bonazzola (RETIRED) 2005-11-19 12:54:12 0000 -------
Created an attachment (id=73195) [edit]
full log file

full log of emerge tetex.

------- Comment #2 From Jakub Moc (RETIRED) 2005-11-20 04:31:51 0000 -------
Please, attach a *plaintext* log, no weird tarballs unreadable even after dl
and
unpack. Reopen when done.

------- Comment #3 From Sandro Bonazzola (RETIRED) 2005-11-20 07:09:39 0000 -------
Created an attachment (id=73241) [edit]
full log file in plain text

it was a simple gzipped text file, not a tarball. however, here is the plain
text version

------- Comment #4 From Sandro Bonazzola (RETIRED) 2005-11-20 07:10:40 0000 -------
reopening with the plain text version of the log file.

------- Comment #5 From Alexandre Buisse (RETIRED) 2005-11-20 07:40:47 0000 -------
I realized I had the same problem (may be the ebuild should have a 'die'
somewhere and it had always been failing).
Anyway, patching the Makefiles to add --tag CXX after the libtool calls works
fine. I just have to find where to set it cleanly in that autotools mess...

------- Comment #6 From Alexandre Buisse (RETIRED) 2005-11-22 11:10:34 0000 -------
I tried to dig into the libtool.m4 files but it's juste impossible to
understand. And I obviously can't patch directly the Makefiles as they are
different on every machine.

I reported this upstream and hope that it will be fixed by them, but in the
meantime, you can make a patch against your version of the Makefile : simply
change all occurences of '$(LIBTOOL) --mode=link' into '$(LIBTOOL) --tag CXX
--mode=link' in texk/web2c/Makefile.

------- Comment #7 From Sandro Bonazzola (RETIRED) 2005-11-23 13:33:32 0000 -------
Disabling ccache resolve the libtool link issue for me. 
Maybe ccache is not fully supported by libtool. 
But the ebuild is far from perfect: 
 
libtool --mode=install /bin/install -c -m 644 libkpathsea.la /usr/lib64 
/bin/install -c -m 
644 .libs/libkpathsea.so.4.0.0 /usr/lib64/libkpathsea.so.4.0.0 
ACCESS DENIED  open_wr:   /usr/lib64/libkpathsea.so.4.0.0 
/bin/install: cannot create regular file `/usr/lib64/libkpathsea.so.4.0.0': 
Permission denied 
make[2]: *** [install-exec] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/tetex-3.0-r3/work/tetex-src-3.0/texk/kpathsea' 
make[1]: *** [install] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/tetex-3.0-r3/work/tetex-src-3.0/texk' 
make: *** [install] Error 1 
 
!!! ERROR: app-text/tetex-3.0-r3 failed. 
!!! Function einstall, Line 534, Exitcode 2 
!!! einstall failed 
!!! If you need support, post the topmost build error, NOT this status message. 
 
--------------------------- ACCESS VIOLATION SUMMARY 
--------------------------- 
LOG FILE = "/var/log/sandbox/sandbox-app-text_-_tetex-3.0-r3-10218.log" 
 
open_wr:   /usr/lib64/libkpathsea.so.4.0.0 
-------------------------------------------------------------------------------- 

------- Comment #8 From Alexandre Buisse (RETIRED) 2005-11-30 13:54:11 0000 -------
*** Bug 110269 has been marked as a duplicate of this bug. ***

------- Comment #9 From Thomas Kjosmoen 2005-12-01 11:39:47 0000 -------
I had the same problem on x86. Disabling ccache also "solved" the problem here.


------- Comment #10 From Alexandre Buisse (RETIRED) 2005-12-02 15:30:49 0000 -------
Created an attachment (id=73959) [edit]
Proposed ebuild to solve the issue

It seems that the issue was solved in newer libtool, but everything still needs
to be reconfigured. Please re-enable ccache and try this ebuild to see if that
solved the problem. Thanks.

------- Comment #11 From Sandro Bonazzola (RETIRED) 2005-12-02 23:11:39 0000 -------
>>> Source unpacked.
 * Building teTeX
 * econf: updating tetex-src-3.0/config/config.sub with
/usr/share/gnuconfig/config.sub
 * econf: updating tetex-src-3.0/config/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating tetex-src-3.0/utils/texi2html/config.sub with
/usr/share/gnuconfig/config.sub
 * econf: updating tetex-src-3.0/utils/texi2html/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating tetex-src-3.0/utils/texinfo/config.sub with
/usr/share/gnuconfig/config.sub
 * econf: updating tetex-src-3.0/utils/texinfo/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating tetex-src-3.0/texk/config.sub with
/usr/share/gnuconfig/config.sub
 * econf: updating tetex-src-3.0/texk/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating tetex-src-3.0/libs/ncurses/config.sub with
/usr/share/gnuconfig/config.sub
 * econf: updating tetex-src-3.0/libs/ncurses/config.guess with
/usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --bindir=/usr/bin
--datadir=/var/tmp/portage/tetex-3.0-r4/work/tetex-src-3.0 --with-system-wwwlib
--with-libwww-include=/usr/include/w3c-libwww --with-system-ncurses
--with-system-pnglib --without-texinfo --without-dialog --without-texi2html
--with-system-zlib --disable-multiplatform --with-epsfwin --with-mftalkwin
--with-regiswin --with-tektronixwin --with-unitermwin --with-ps=gs --enable-ipc
--with-etex --with-x --with-xdvik --with-oxdvik --with-xdvi-x-toolkit=motif
--libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking whether to define additional compiler specific flags... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for a BSD-compatible install... /bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for egrep... grep -E
checking for working alloca.h... yes
checking for alloca... yes
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for X... libraries /usr/lib64, headers
checking whether to enable maintainer-specific portions of Makefiles... no
checking for loader (symbol LD)... ld
checking for archiver (symbol AR)... ar
checking for archiver options (symbol ARFLAGS)... rc
checking where the main texmf tree is located...
"/var/tmp/portage/tetex-3.0-r4/work/tetex-src-3.0/texmf"
./configure: line 8507: syntax error: unexpected end of file

------- Comment #12 From Alexandre Buisse (RETIRED) 2005-12-06 09:54:44 0000 -------
Created an attachment (id=74159) [edit]
tetex-3.0-r5 : new attempt

Hum, sorry, regenerating the autotools file is not as simple as simply running
autoreconf...
I asked upstream and they kindly provided me an updated version of tetex-src
which solves the issue here. I made a quick and dirty ebuild to use it, please
test it.
As I did not want to modify the eclass, you will have to rm
/usr/portage/distfiles/tetex-3.0-gentoo.tar.gz and wget manually the updated
version from http://dev.gentoo.org/~nattfodd/tetex/tetex-3.0-gentoo.tar.gz
before making the digest (otherwise it uses the one on the mirrors).

Thanks

------- Comment #13 From Sandro Bonazzola (RETIRED) 2005-12-09 10:03:47 0000 -------
the ebuild die without any message.
looking at portage logs I can see:

make[3]: Leaving directory
`/var/tmp/portage/tetex-3.0-r5/work/tetex-src-3.0/texk/xdvik/gui'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c browser.c -o browser.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c dvi-draw.c -o dvi-draw.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c dvi-init.c -o dvi-init.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c dvisel.c -o dvisel.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c encodings.c -o encodings.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c events.c -o events.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c filehist.c -o filehist.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c font-open.c -o font-open.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c gf.c -o gf.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c hypertex.c -o hypertex.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c image-magick.c -o image-magick.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c mime.c -o mime.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c my-snprintf.c -o my-snprintf.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c my-vsnprintf.c -o my-vsnprintf.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c pagehist.c -o pagehist.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c pk.c -o pk.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c print-internal.c -o print-internal.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c psdps.c -o psdps.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c psgs.c -o psgs.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c squeeze.c
x86_64-pc-linux-gnu-gcc -o squeeze   squeeze.o
./squeeze ./psheader.txt psheader.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c psheader.c -o psheader.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c psnews.c -o psnews.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c read-mapfile.c -o read-mapfile.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c search-internal.c -o search-internal.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c special.c -o special.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c string-utils.c -o string-utils.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c tfmload.c -o tfmload.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c util.c -o util.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c vf.c -o vf.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c xdvi.c -o xdvi.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c xserver-info.c -o xserver-info.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c x_util.c -o x_util.o

So I've done:

cd /var/tmp/portage/tetex-3.0-r5/work/tetex-src-3.0/texk/xdvik
make

The result is:

cd gui; make  CC='x86_64-pc-linux-gnu-gcc' CFLAGS='-march=athlon64 -O2 '  libgui.a
make[1]: Entering directory
`/var/tmp/portage/tetex-3.0-r5/work/tetex-src-3.0/texk/xdvik/gui'
make[1]: `libgui.a' is up to date.
make[1]: Leaving directory
`/var/tmp/portage/tetex-3.0-r5/work/tetex-src-3.0/texk/xdvik/gui'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -W -Wall -Wunused
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS  -I./gui -I../../libs/t1lib/lib/t1lib
-I../kpathsea   -march=athlon64 -O2  -c x_util.c -o x_util.o
x_util.c: In function `get_window_id':
x_util.c:213: error: `wp' undeclared (first use in this function)
x_util.c:213: error: (Each undeclared identifier is reported only once
x_util.c:213: error: for each function it appears in.)
x_util.c: At top level:
x_util.c:200: warning: unused parameter 'window_p'
make: *** [x_util.o] Error 1

------- Comment #14 From Alexandre Buisse (RETIRED) 2006-01-06 04:34:18 0000 -------
Sorry for the delay.

Your compilation error comes from an AMD64 only code. I made a small patch to
(hopefully) correct it.

Can you test it, please ?

Thanks

------- Comment #15 From Alexandre Buisse (RETIRED) 2006-01-06 04:35:10 0000 -------
Created an attachment (id=76322) [edit]
Patch for amd64

------- Comment #16 From Alexandre Buisse (RETIRED) 2006-01-06 04:35:42 0000 -------
Created an attachment (id=76323) [edit]
ebuild for -r5 that applies the patch

------- Comment #17 From Sandro Bonazzola (RETIRED) 2006-01-07 11:02:39 0000 -------
http://dev.gentoo.org/~nattfodd/tetex/tetex-3.0-gentoo.tar.gz

is not there anymore. Assuming it is actually not required ant that the patch
name is tetex-3.0-amd64-xdvik-wp.patch, the result is:

 *
 * teTeX 3.0 ebuild will remove config files stored in /usr/share/texmf.
 * Please make a backup before upgrading if you changed anything.
 *
>>> Unpacking source...
>>> Unpacking tetex-src-3.0-r1.tar.gz to /var/tmp/portage/tetex-3.0-r5/work
>>> Unpacking tetex-3.0-gentoo.tar.gz to /var/tmp/portage/tetex-3.0-r5/work
>>> Unpacking tetex-texmf-3.0.tar.gz to /var/tmp/portage/tetex-3.0-r5/work/tetex-src-3.0/texmf
 * Applying tetex-3.0-fmtutil-in.diff ...

 * Failed Patch: tetex-3.0-fmtutil-in.diff !
 *  ( /var/tmp/portage/tetex-3.0-r5/work/patches/tetex-3.0-fmtutil-in.diff )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/tetex-3.0-r5/temp/tetex-3.0-fmtutil-in.diff-20262.out



the output is :

***** tetex-3.0-fmtutil-in.diff *****

=====================================

PATCH COMMAND:  patch -p0 -g0 --no-backup-if-mismatch <
/var/tmp/portage/tetex-3.0-r5/work/patches/tetex-3.0-fmtutil-in.diff

=====================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN tetex-src-3.0.ORIG/texk/web2c/fmtutil.in
tetex-src-3.0/texk/web2c/fmtutil.in
|--- tetex-src-3.0.ORIG/texk/web2c/fmtutil.in   2005-02-06 09:27:46.000000000
+0900
|+++ tetex-src-3.0/texk/web2c/fmtutil.in        2005-02-08 22:55:55.000000000
+0900
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
=====================================

PATCH COMMAND:  patch -p1 -g0 --no-backup-if-mismatch <
/var/tmp/portage/tetex-3.0-r5/work/patches/tetex-3.0-fmtutil-in.diff

=====================================
patching file texk/web2c/fmtutil.in
Hunk #1 FAILED at 38.
Hunk #2 FAILED at 55.
Hunk #3 FAILED at 97.
3 out of 3 hunks FAILED -- saving rejects to file texk/web2c/fmtutil.in.rej
=====================================

PATCH COMMAND:  patch -p2 -g0 --no-backup-if-mismatch <
/var/tmp/portage/tetex-3.0-r5/work/patches/tetex-3.0-fmtutil-in.diff

=====================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN tetex-src-3.0.ORIG/texk/web2c/fmtutil.in
tetex-src-3.0/texk/web2c/fmtutil.in
|--- tetex-src-3.0.ORIG/texk/web2c/fmtutil.in   2005-02-06 09:27:46.000000000
+0900
|+++ tetex-src-3.0/texk/web2c/fmtutil.in        2005-02-08 22:55:55.000000000
+0900
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
=====================================

PATCH COMMAND:  patch -p3 -g0 --no-backup-if-mismatch <
/var/tmp/portage/tetex-3.0-r5/work/patches/tetex-3.0-fmtutil-in.diff

=====================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN tetex-src-3.0.ORIG/texk/web2c/fmtutil.in
tetex-src-3.0/texk/web2c/fmtutil.in
|--- tetex-src-3.0.ORIG/texk/web2c/fmtutil.in   2005-02-06 09:27:46.000000000
+0900
|+++ tetex-src-3.0/texk/web2c/fmtutil.in        2005-02-08 22:55:55.000000000
+0900
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
=====================================

PATCH COMMAND:  patch -p4 -g0 --no-backup-if-mismatch <
/var/tmp/portage/tetex-3.0-r5/work/patches/tetex-3.0-fmtutil-in.diff

=====================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN tetex-src-3.0.ORIG/texk/web2c/fmtutil.in
tetex-src-3.0/texk/web2c/fmtutil.in
|--- tetex-src-3.0.ORIG/texk/web2c/fmtutil.in   2005-02-06 09:27:46.000000000
+0900
|+++ tetex-src-3.0/texk/web2c/fmtutil.in        2005-02-08 22:55:55.000000000
+0900
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored

------- Comment #18 From Alexandre Buisse (RETIRED) 2006-01-07 11:48:16 0000 -------
Stupid me! I had reports of success on amd64, so I cleaned the ebuild and
numbered it correctly (-r5 becoming _p1). And without thinking, I changed the
names accordingly on my webpage...

They should be back again if you want to give it another try.

Sorry :s

------- Comment #19 From Tupone Alfredo 2006-01-07 11:57:08 0000 -------
emerging tetex-3.0-r4 does build ok on my amd64. Possibly fixed by new version
of autotools (?)

Here is my emerge --info

Portage 2.0.53 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon 64 Processor 3400+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks nostrip sandbox sfperms strict"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LC_ALL="it_IT.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://desktop/gentoo-portage"
USE="amd64 3dnowex X Xaw3d a52 acl acpi alsa ares audiofile avi bash-completion
berkdb bitmap-fonts blas bonobo boundschecking bzip2 bzlib caps cdparanoia cdr
cjk crypt cscope cups curl dbus directfb divx4linux djbfft doc dv dvd dvdr
dvdread edl eds emacs emboss encode examples exif expat fam fbcon ffmpeg
firefox flac foomaticdb fortran gcj gd gdbm gif ginac glitz glut gmp gnome
gnutls gpm gstreamer gtk gtk2 hal howl idn ieee1394 imagemagick imlib irda java
javascript jikes jpeg junit justify lapack lcms ldap libwww live lzo lzw
lzw-tiff mad mikmod mng mozilla mozsvg mozxmlterm mp3 mpeg mpi mplayer ncurses
nethack network new-login nls nntp nptl nvidia oav offensive ogg oggvorbis
openal opengl pam pcmcia pcre pdflib perl plotutils png profile pwdb python
qhull qt quicktime readline real rtc ruby samba sdl slang sms sndfile socks5
speex spell ssl tcltk tcpd tetex tga theora threads tiff tomcat truetype
truetype-fonts type1-fonts ucs2 udev unicode usb userlocales vim-with-x vorbis
xanim xchatdccserver xine xml xml2 xmms xpm xv xvid xvmc zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS

------- Comment #20 From Alexandre Buisse (RETIRED) 2006-01-07 12:41:28 0000 -------
No, -r4 still uses old version. The weird thing is that it seems to sometimes
fail with the libtool error but go on and merge successfully.

However, -r5/_p1 should fix all of those, as it uses the new autotools version.

------- Comment #21 From Sandro Bonazzola (RETIRED) 2006-01-08 11:51:44 0000 -------
I've tried the ebuild, actually it fails test phase. I've not searched for
error during compile time, I'll attach the complete log file in plain text.

------- Comment #22 From Sandro Bonazzola (RETIRED) 2006-01-08 11:54:54 0000 -------
Created an attachment (id=76544) [edit]
full log file for tetex-3.0-r5

------- Comment #23 From Joshua Jackson 2006-01-11 14:37:06 0000 -------
I can confirm that it does fail during the test phase. Builds fine without it
for the -r5 ebuild with the proper gentoo .gz.

------- Comment #24 From Alexandre Buisse (RETIRED) 2006-01-13 17:59:17 0000 -------
It seems that this was caused by a buggy test, as it works after making a full
"make check" (skipping it at first). For now, we'll just skip it, though it
would be nice to know where it does come from.

I added tetex-3.0_p1 to the tree a few hours ago. It is basically the attached
ebuild with the "skip test" fix and some more clean up.

As all issues in this bug should be solved by this new ebuild, I am closing it,
but don't hesitate to reopen...

Alexandre

------- Comment #25 From Sandro Bonazzola (RETIRED) 2006-01-14 05:34:19 0000 -------
tetex-3.0_p1 solve the libtool issue. Closing.

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