Bug 161857 - x11-libs/xforms-1.0.90-r1 fails to compile
|
Bug#:
161857
|
Product: Gentoo Linux
|
Version: 2006.1
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: maintainer-needed@gentoo.org
|
Reported By: zlin@gentoo.org
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: x11-libs/xforms-1.0.90-r1 fails to compile
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-01-13 04:38 0000
|
# emerge -va1 xforms
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] x11-libs/xforms-1.0.90-r1 USE="opengl" 0 kB
Total: 1 package (1 new), Size of downloads: 0 kB
Would you like to merge these packages? [Yes/No]
>>> Emerging (1 of 1) x11-libs/xforms-1.0.90-r1 to /
* xforms-1.0.90.tar.gz MD5 ;-) ... [ ok ]
* xforms-1.0.90.tar.gz RMD160 ;-) ... [ ok ]
* xforms-1.0.90.tar.gz SHA1 ;-) ... [ ok ]
* xforms-1.0.90.tar.gz SHA256 ;-) ... [ ok ]
* xforms-1.0.90.tar.gz size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking xforms-1.0.90.tar.gz ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking xforms-1.0.90.tar.gz to /var/tmp/portage/x11-libs/xforms-1.0.90-r1/work
* Applying xforms-1.0.90-as-needed.patch ... [ ok ]
* Running eautoreconf in
'/var/tmp/portage/x11-libs/xforms-1.0.90-r1/work/xforms-1.0.90' ...
* Requested autoconf 2.5
* Using autoconf (GNU Autoconf) 2.61
* Using autoheader (GNU Autoconf) 2.61
* Requested automake latest: 1.10
* Using automake (GNU automake) 1.10
* Using aclocal (GNU automake) 1.10
* Running aclocal ... [ ok ]
* Running libtoolize --copy --force --automake ... [ ok ]
* Running aclocal ... [ ok ]
* Running autoconf ... [ ok ]
* Running autoheader ... [ ok ]
* Running automake --add-missing --copy --foreign ... [ !! ]
* Failed Running automake !
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/x11-libs/xforms-1.0.90-r1/temp/automake-17157.out
!!! ERROR: x11-libs/xforms-1.0.90-r1 failed.
Call stack:
ebuild.sh, line 1610: Called dyn_unpack
ebuild.sh, line 750: Called qa_call 'src_unpack'
environment, line 3394: Called src_unpack
xforms-1.0.90-r1.ebuild, line 33: Called eautoreconf
autotools.eclass, line 94: Called eautomake
autotools.eclass, line 195: Called autotools_run_tool 'automake'
'--add-missing' '--copy' '--foreign'
autotools.eclass, line 256: Called die
!!! Failed Running automake !
!!! If you need support, post the topmost build error, and the call stack if
relevant.
# cat /var/tmp/portage/x11-libs/xforms-1.0.90-r1/temp/automake-17157.out
***** automake *****
fdesign/Makefile.am:60: trailing backslash on last line
lib/Makefile.am:124: trailing backslash on last line
# emerge --info
Portage 2.1.2_rc4-r8 (default-linux/x86/2006.1/desktop, gcc-4.1.1,
glibc-2.5-r0, 2.6.19-suspend2-r1 i686)
=================================================================
System uname: 2.6.19-suspend2-r1 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.12.8
Last Sync: Sat, 13 Jan 2007 00:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python: 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r6
sys-apps/sandbox: 1.2.18.1
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.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.19
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -Os -pipe -ggdb3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/modules /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-march=pentium-m -Os -pipe -ggdb3"
DISTDIR="/opt/distfiles"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks fixpackages
metadata-transfer parallel-fetch sandbox sfperms splitdebug strict test
userfetch"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo"
LANG="en_GB.utf8"
LINGUAS="da en en_GB"
MAKEOPTS="-j2"
PKGDIR="/opt/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=60"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/paludis/repositories/gentoo"
PORTDIR_OVERLAY="/var/paludis/repositories/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi aiglx alsa asf avahi bash-completion berkdb bitmap-fonts
bluetooth branding bzip2 cairo cdr cli cracklib crypt css cups dlloader dri dvd
dvdr emboss encode fam fat fbcon ffmpeg firefox flac fortran gdbm gif gnokii
gphoto2 gpm hal i8x0 iconv ieee1394 imagemagick irda irmc isdnlog jfs jpeg kcal
kde kdehiddenvisibility lcd libg++ lm_sensors logitech-mouse mad mikmod mmx
mmxext mp3 mpeg mplayer msn musicbrainz ncurses network nls nptl nptlonly
nsplugin ntfs ogg opengl pam pcre pdf perl png ppds pppd python qt3 quicktime
rdesktop readline real reflection reiser4 reiserfs ruby scanner sdl session slp
sms spell spl sse sse2 ssl subversion svg svga syslog tcpd test tetex tiff
truetype truetype-fonts type1-fonts udev unicode usb vcd vim vim-syntax vorbis
wifi win32codecs x86 xcomposite xfs xine xml xorg xscreensaver xv xvid zlib"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x
ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3
trident usb-audio via82xx via82xx-modem ymfpci" 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="evdev keyboard mouse synaptics void"
KERNEL="linux" LINGUAS="da en en_GB" USERLAND="GNU" VIDEO_CARDS="fbdev fglrx
i810 radeon vesa"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS
Created an attachment (id=106777) [details]
patch for the ebuild to sed out those trailing backspaces.
I don't know if there is another way to solve this but it works for me. Those
two trailing backspaces are part of a comment btw.
*** Bug 162809 has been marked as a duplicate of this bug. ***
Thanks, I just commited a fix for this issue to CVS. Should be on your nearest
mirror in about an hour. If this is still an issue after the next sync, feel
free to reopen this bug.
Patch doesn't apply:
>>> Unpacking xforms-1.0.90.tar.gz to /var/tmp/portage/x11-libs/xforms-1.0.90-r1/work
* Applying xforms-1.0.90-as-needed.patch ...
[ ok ]
* Applying xforms-1.0.90-Makefile.am.patch ...
* Failed Patch: xforms-1.0.90-Makefile.am.patch !
* ( /usr/portage/x11-libs/xforms/files/xforms-1.0.90-Makefile.am.patch )
*
* Include in your bugreport the contents of:
*
*
/var/tmp/portage/x11-libs/xforms-1.0.90-r1/temp/xforms-1.0.90-Makefile.am.patch-25479.out
!!! ERROR: x11-libs/xforms-1.0.90-r1 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_unpack
ebuild.sh, line 751: Called qa_call 'src_unpack'
environment, line 3438: Called src_unpack
xforms-1.0.90-r1.ebuild, line 34: Called epatch
'/usr/portage/x11-libs/xforms/files/xforms-1.0.90-Makefile.am.patch'
eutils.eclass, line 341: Called die
!!! Failed Patch: xforms-1.0.90-Makefile.am.patch!
!!! 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/x11-libs:xforms-1.0.90-r1:20070219-050339.log'.
aconite mayavi # less
/var/tmp/portage/x11-libs/xforms-1.0.90-r1/temp/xforms-1.0.90-Makefile.am.patch-25479.out
aconite mayavi # cat
/var/tmp/portage/x11-libs/xforms-1.0.90-r1/temp/xforms-1.0.90-Makefile.am.patch-25479.out
***** xforms-1.0.90-Makefile.am.patch *****
===========================================
PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch <
/usr/portage/x11-libs/xforms/files/xforms-1.0.90-Makefile.am.patch
===========================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: xforms-1.0.90/fdesign/Makefile.am
|===================================================================
|--- xforms-1.0.90.orig/fdesign/Makefile.am
|+++ xforms-1.0.90/fdesign/Makefile.am
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: xforms-1.0.90/lib/Makefile.am
|===================================================================
|--- xforms-1.0.90.orig/lib/Makefile.am
|+++ xforms-1.0.90/lib/Makefile.am
--------------------------
No file to patch. Skipping patch.
patch unexpectedly ends in middle of line
patch: **** malformed patch at line 22:
===========================================
PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch <
/usr/portage/x11-libs/xforms/files/xforms-1.0.90-Makefile.am.patch
===========================================
patching file fdesign/Makefile.am
patching file lib/Makefile.am
patch unexpectedly ends in middle of line
patch: **** malformed patch at line 22:
===========================================
PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch <
/usr/portage/x11-libs/xforms/files/xforms-1.0.90-Makefile.am.patch
===========================================
patching file Makefile.am
Hunk #1 FAILED at 54.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.am.rej
patching file Makefile.am
patch unexpectedly ends in middle of line
patch: **** malformed patch at line 22:
===========================================
PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch <
/usr/portage/x11-libs/xforms/files/xforms-1.0.90-Makefile.am.patch
===========================================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: xforms-1.0.90/fdesign/Makefile.am
|===================================================================
|--- xforms-1.0.90.orig/fdesign/Makefile.am
|+++ xforms-1.0.90/fdesign/Makefile.am
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 17 of patch
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: xforms-1.0.90/lib/Makefile.am
|===================================================================
|--- xforms-1.0.90.orig/lib/Makefile.am
|+++ xforms-1.0.90/lib/Makefile.am
--------------------------
No file to patch. Skipping patch.
patch unexpectedly ends in middle of line
patch: **** malformed patch at line 22:
===========================================
PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch <
/usr/portage/x11-libs/xforms/files/xforms-1.0.90-Makefile.am.patch
===========================================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: xforms-1.0.90/fdesign/Makefile.am
|===================================================================
|--- xforms-1.0.90.orig/fdesign/Makefile.am
|+++ xforms-1.0.90/fdesign/Makefile.am
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 17 of patch
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: xforms-1.0.90/lib/Makefile.am
|===================================================================
|--- xforms-1.0.90.orig/lib/Makefile.am
|+++ xforms-1.0.90/lib/Makefile.am
--------------------------
No file to patch. Skipping patch.
patch unexpectedly ends in middle of line
patch: **** malformed patch at line 22:
aconite mayavi #
xforms-1.0.90-Makefile.am.patch is broken as shown in comment 4. Reopening.
*** Bug 167625 has been marked as a duplicate of this bug. ***
(In reply to comment #6)
> xforms-1.0.90-Makefile.am.patch is broken as shown in comment 4. Reopening.
Thanks Bo, I should really check the order in which the patches are applied in
the ebuild, as that was the main bugger. Thanks for your patience.