<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>161857</bug_id>
          
          <creation_ts>2007-01-13 04:38 0000</creation_ts>
          <short_desc>x11-libs/xforms-1.0.90-r1 fails to compile</short_desc>
          <delta_ts>2007-02-20 17:45:47 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>2006.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>zlin@gentoo.org</reporter>
          <assigned_to>maintainer-needed@gentoo.org</assigned_to>
          <cc>cbm@m.fsf.org</cc>
    
    <cc>crinders@chem.uga.edu</cc>
    
    <cc>mmeier@uni-bielefeld.de</cc>
    
    <cc>phreak@gentoo.org</cc>
    
    <cc>r_a@lavabit.com</cc>

      

      
          <long_desc isprivate="0">
            <who>zlin@gentoo.org</who>
            <bug_when>2007-01-13 04:38:44 0000</bug_when>
            <thetext># 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=&quot;opengl&quot; 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]

&gt;&gt;&gt; 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 ]
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; 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 &apos;/var/tmp/portage/x11-libs/xforms-1.0.90-r1/work/xforms-1.0.90&apos; ...
 * 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 &apos;src_unpack&apos;
  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 &apos;automake&apos; &apos;--add-missing&apos; &apos;--copy&apos; &apos;--foreign&apos;
  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=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=pentium-m -Os -pipe -ggdb3&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c&quot;
CXXFLAGS=&quot;-march=pentium-m -Os -pipe -ggdb3&quot;
DISTDIR=&quot;/opt/distfiles&quot;
FEATURES=&quot;autoconfig buildpkg ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict test userfetch&quot;
GENTOO_MIRRORS=&quot;http://mirror.uni-c.dk/pub/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo&quot;
LANG=&quot;en_GB.utf8&quot;
LINGUAS=&quot;da en en_GB&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/opt/packages&quot;
PORTAGE_RSYNC_EXTRA_OPTS=&quot;--timeout=60&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/var/paludis/repositories/gentoo&quot;
PORTDIR_OVERLAY=&quot;/var/paludis/repositories/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot; ALSA_CARDS=&quot;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&quot; ALSA_PCM_PLUGINS=&quot;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&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;evdev keyboard mouse synaptics void&quot; KERNEL=&quot;linux&quot; LINGUAS=&quot;da en en_GB&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;fbdev fglrx i810 radeon vesa&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zlin@gentoo.org</who>
            <bug_when>2007-01-13 10:53:53 0000</bug_when>
            <thetext>Created an attachment (id=106777)
patch for the ebuild to sed out those trailing backspaces.

I don&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-01-19 20:53:32 0000</bug_when>
            <thetext>*** Bug 162809 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phreak@gentoo.org</who>
            <bug_when>2007-02-18 16:24:50 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cbm@m.fsf.org</who>
            <bug_when>2007-02-19 06:10:35 0000</bug_when>
            <thetext>Patch doesn&apos;t apply:

&gt;&gt;&gt; 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 &apos;src_unpack&apos;
  environment, line 3438:   Called src_unpack
  xforms-1.0.90-r1.ebuild, line 34:   Called epatch &apos;/usr/portage/x11-libs/xforms/files/xforms-1.0.90-Makefile.am.patch&apos;
  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 &apos;/var/log/portage/x11-libs:xforms-1.0.90-r1:20070219-050339.log&apos;.

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 &lt; /usr/portage/x11-libs/xforms/files/xforms-1.0.90-Makefile.am.patch

===========================================
can&apos;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&apos;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 &lt; /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 &lt; /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 &lt; /usr/portage/x11-libs/xforms/files/xforms-1.0.90-Makefile.am.patch

===========================================
missing header for unified diff at line 5 of patch
can&apos;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&apos;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 &lt; /usr/portage/x11-libs/xforms/files/xforms-1.0.90-Makefile.am.patch

===========================================
missing header for unified diff at line 5 of patch
can&apos;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&apos;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 # 
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cbm@m.fsf.org</who>
            <bug_when>2007-02-20 01:36:04 0000</bug_when>
            <thetext>fix posted in bug #167625.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zlin@gentoo.org</who>
            <bug_when>2007-02-20 11:07:56 0000</bug_when>
            <thetext>xforms-1.0.90-Makefile.am.patch is broken as shown in comment 4. Reopening.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zlin@gentoo.org</who>
            <bug_when>2007-02-20 11:08:40 0000</bug_when>
            <thetext>Created an attachment (id=110721)
replacing it with this works for me.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-02-20 11:20:24 0000</bug_when>
            <thetext>*** Bug 167625 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phreak@gentoo.org</who>
            <bug_when>2007-02-20 16:30:35 0000</bug_when>
            <thetext>(In reply to comment #6)
&gt; 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.
</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>106777</attachid>
            <date>2007-01-13 10:53 0000</date>
            <desc>patch for the ebuild to sed out those trailing backspaces.</desc>
            <filename>remove_trailing_backspaces.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHhmb3Jtcy0xLjAuOTAtcjEuZWJ1aWxkCTIwMDYtMTEtMjIgMTg6NDQ6MTQuMDAwMDAwMDAw
ICswMTAwCisrKyB4Zm9ybXMtMS4wLjkwLXIxLW5ldy5lYnVpbGQJMjAwNy0wMS0xMyAxMTozMjoz
NS4wMDAwMDAwMDAgKzAxMDAKQEAgLTMwLDYgKzMwLDkgQEAKIAl1bnBhY2sgJHtBfQogCWNkICR7
U30KIAllcGF0Y2ggJHtGSUxFU0RJUn0vJHtQfS1hcy1uZWVkZWQucGF0Y2gKKwlzZWQgLWkgLWUg
JyQgcy9cXCQvLycgXAorCQlmZGVzaWduL01ha2VmaWxlLmFtIFwKKwkJbGliL01ha2VmaWxlLmFt
IHx8IGRpZSAiRmFpbGVkIHRvIHJlbW92ZSB0cmFpbGluZyBcXCBhdCBsYXN0IGxpbmUuIgogCWVh
dXRvcmVjb25mIHx8IGRpZSAnZWF1dG9yZWNvbmYgZmFpbGVkJwogfQogCg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>110721</attachid>
            <date>2007-02-20 11:08 0000</date>
            <desc>replacing it with this works for me.</desc>
            <filename>xforms-1.0.90-Makefile.am.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">SW5kZXg6IHhmb3Jtcy0xLjAuOTAvZmRlc2lnbi9NYWtlZmlsZS5hbQo9PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSB4
Zm9ybXMtMS4wLjkwLm9yaWcvZmRlc2lnbi9NYWtlZmlsZS5hbQorKysgeGZvcm1zLTEuMC45MC9m
ZGVzaWduL01ha2VmaWxlLmFtCkBAIC01NCw3ICs1NCwzIEBACiAJc3BfdHdoZWVsLmMgXAogCXNw
X3h5cGxvdC5jIFwKIAl4cG0uaAotCi0jCXZpZXdmb3Jtcy5jIFwKLSMJdmlld2Zvcm1zLmggXAot
Iwl2aWV3Zm9ybXNfbWFpbi5jIFwKSW5kZXg6IHhmb3Jtcy0xLjAuOTAvbGliL01ha2VmaWxlLmFt
Cj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT0KLS0tIHhmb3Jtcy0xLjAuOTAub3JpZy9saWIvTWFrZWZpbGUuYW0KKysrIHhm
b3Jtcy0xLjAuOTAvbGliL01ha2VmaWxlLmFtCkBAIC0xMTksNiArMTE5LDMgQEAKIAl4c3VwcG9y
dC5jIFwKIAl4dGV4dC5jIFwKIAl4eXBsb3QuYwotCi0jCWRpcmVudF92bXMuaCBcCi0jCXZtc19y
ZWFkZGlyLmMgXAo=
</data>        

          </attachment>
    </bug>

</bugzilla>