<?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>148618</bug_id>
          
          <creation_ts>2006-09-22 01:45 0000</creation_ts>
          <short_desc>app-mobilephone/obexftp-0.21 fails to emerge on embedded</short_desc>
          <delta_ts>2007-01-25 07:59:05 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>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</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>natanael.copa@gmail.com</reporter>
          <assigned_to>mrness@gentoo.org</assigned_to>
          <cc>embedded@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>natanael.copa@gmail.com</who>
            <bug_when>2006-09-22 01:45:39 0000</bug_when>
            <thetext>&gt;&gt;&gt; Unpacking obexftp-0.21.tar.bz2 to /var/tmp/portage/obexftp-0.21/work
 * Applying obexftp-0.21-cobex_write.patch ...                            [ ok ] * Applying obexftp-0.21-sdp-detection.patch ...                          [ ok ] * Running eautoreconf in &apos;/var/tmp/portage/obexftp-0.21/work/obexftp-0.21&apos; ...
 * Running aclocal ...                                                    [ !! ]
 * Failed Running aclocal !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/obexftp-0.21/temp/aclocal-925.out

The mentioned aclocal-925.out looks like:
***** aclocal *****

aclocal: configure.in: 27: macro `AM_ICONV&apos; not found in library



 # emerge --info
Portage 2.1.1 (uclibc/x86/hardened, gcc-3.4.6, uclibc-0.9.28-r0, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 Intel(R) Pentium(R) D CPU 3.00GHz
Gentoo Base System version 1.12.5
Last Sync: Mon, 18 Sep 2006 01:53:01 +0000
distcc 2.18.3 i386-gentoo-linux-uclibc (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i386-gentoo-linux-uclibc&quot;
CFLAGS=&quot;-march=i386 -Os -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i386-gentoo-linux-uclibc&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo&quot;
CXXFLAGS=&quot;-Os -pipe&quot;
DISTDIR=&quot;/var/cache/distfiles&quot;
FEATURES=&quot;autoconfig buildpkg distlocks metadata-transfer nodoc noinfo noman sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo&quot;
LINGUAS=&quot;&quot;
MAKEOPTS=&quot;-j4&quot;
PKGDIR=&quot;/var/cache/packages/default&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/alpine-portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 X509 bitmap-fonts bri bzip2 cli cracklib dlloader dri elibc_uclibc encode expat extensions hardened input_devices_evdev input_devices_keyboard input_devices_mouse iproute2 ipv6 jpeg kernel_linux mad minimal ncurses netboot ogg oss pci pcmcia pic png pppd readline reflection rrdtool sensord session snmp speex spl ssl tdb truetype truetype-fonts type1-fonts uclibc uclibc++ udev usb userland_GNU userlocales video_cards_dummy video_cards_fbdev video_cards_v4l winbind wordexp xorg zlib&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mrness@gentoo.org</who>
            <bug_when>2006-09-22 02:09:34 0000</bug_when>
            <thetext>On my system I have /usr/share/aclocal/iconv.m4 which was installed by sys-devel/gettext-0.14.5. Do you have this installed on yours?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mrness@gentoo.org</who>
            <bug_when>2006-09-22 02:18:04 0000</bug_when>
            <thetext>If not, try to add a patch that comment the AM_ICONV line in configure.in and tell me if it works. 

If it does work, I think to fix it in the following manner:
 - add  nls? ( sys-lib/gettext ) to DEPEND
 - comment AM_ICONV when nls is disabled
What do you think?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>natanael.copa@gmail.com</who>
            <bug_when>2006-09-22 02:34:13 0000</bug_when>
            <thetext>Created an attachment (id=97731)
obexftp-0.21-no_iconv.patch

It works fine with the AM_ICONV disabled.

Applying the patch when nls is disabled sounds like a good solution.
Thanks!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mrness@gentoo.org</who>
            <bug_when>2006-09-22 02:34:42 0000</bug_when>
            <thetext>On a second thought, why not s/eautoreconf/eautoconf/ ? Please do this and tell me if it worked for ya.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>natanael.copa@gmail.com</who>
            <bug_when>2006-09-22 02:45:49 0000</bug_when>
            <thetext>Created an attachment (id=97732)
obexftp-0.21.ebuild.patch

Yes. s/eautoreconf/eautoconf/ works like a charm. Why is eautoconf to prefer over eautoreconf?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mrness@gentoo.org</who>
            <bug_when>2006-09-22 03:35:14 0000</bug_when>
            <thetext>Probably I was influenced by so many problems raised by openobex-1.2 update (bug 122262), mostly due to obsolete aclocal.m4.
Here however I changed only the configure.in file.

Fixed in cvs, without revision bump.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>natanael.copa@gmail.com</who>
            <bug_when>2007-01-24 13:04:15 0000</bug_when>
            <thetext>The patch was never commited to CVS. This is still a problem for uclibc users.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>natanael.copa@gmail.com</who>
            <bug_when>2007-01-24 13:13:52 0000</bug_when>
            <thetext>Created an attachment (id=108020)
obexftp-0.21.ebuild.patch (against current)

updated patch for ebuild. Please commit this and the obexftp-0.21-no_iconv.patch.

Thanks!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mrness@gentoo.org</who>
            <bug_when>2007-01-25 07:59:05 0000</bug_when>
            <thetext>I thought you confirmed my s/eautoreconf/eautoconf/ solution.

Fixed in cvs, without revision bump.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>97731</attachid>
            <date>2006-09-22 02:34 0000</date>
            <desc>obexftp-0.21-no_iconv.patch</desc>
            <filename>obexftp-0.21-no_iconv.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIG9iZXhmdHAtMC4yMS5vcmlnL2NvbmZpZ3VyZS5pbgkyMDA2LTA5LTIyIDA5OjIzOjMwICsw
MDAwCisrKyBvYmV4ZnRwLTAuMjEvY29uZmlndXJlLmluCTIwMDYtMDktMjIgMDk6MjM6NDcgKzAw
MDAKQEAgLTI0LDcgKzI0LDcgQEAKICMgQ2hlY2tzIGZvciBsaWJyYXJpZXMuCiBQS0dfQ0hFQ0tf
TU9EVUxFUyhPUEVOT0JFWCxvcGVub2JleCkKIAotQU1fSUNPTlYKK2RubCBBTV9JQ09OVgogZG5s
IElSREFfQ0hFQ0sKIEJMVUVUT09USF9DSEVDSwogaWYgdGVzdCAkYW1fY3ZfYmx1ZXRvb3RoX2Zv
dW5kID0geWVzOyB0aGVuCg==
</data>        

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>97732</attachid>
            <date>2006-09-22 02:45 0000</date>
            <desc>obexftp-0.21.ebuild.patch</desc>
            <filename>obexftp-0.21.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIG9iZXhmdHAtMC4yMS5lYnVpbGQub3JpZwkyMDA2LTA5LTIyIDA5OjQzOjUxICswMDAwCisr
KyBvYmV4ZnRwLTAuMjEuZWJ1aWxkCTIwMDYtMDktMjIgMDk6NDI6MDQgKzAwMDAKQEAgLTExLDEy
ICsxMSwxMyBAQAogU0xPVD0iMCIKIExJQ0VOU0U9IkdQTC0yIgogS0VZV09SRFM9In5hbWQ2NCB+
cHBjIHg4NiIKLUlVU0U9ImJsdWV0b290aCBkZWJ1ZyBwZXJsIHB5dGhvbiBzd2lnIHRjbHRrIgor
SVVTRT0iYmx1ZXRvb3RoIGRlYnVnIG5scyBwZXJsIHB5dGhvbiBzd2lnIHRjbHRrIgogCiBERVBF
TkQ9Ij49ZGV2LWxpYnMvb3Blbm9iZXgtMS4xCiAJYmx1ZXRvb3RoPyAoID49bmV0LXdpcmVsZXNz
L2JsdWV6LWxpYnMtMi4xOSApCiAJcGVybD8gKCA+PWRldi1sYW5nL3BlcmwtNS44LjYgKQogCXB5
dGhvbj8gKCA+PWRldi1sYW5nL3B5dGhvbi0yLjQuMiApCisJbmxzPyAoIHN5cy1saWIvZ2V0dGV4
dCApCiAJdGNsdGs/ICggPj1kZXYtbGFuZy90Y2wtOC40LjkgKQogCXN3aWc/ICggPj1kZXYtbGFu
Zy9zd2lnLTEuMy43ICkiCiAKQEAgLTI2LDggKzI3LDExIEBACiAJZXBhdGNoICIke0ZJTEVTRElS
fS8ke1B9LWNvYmV4X3dyaXRlLnBhdGNoIgogCWVwYXRjaCAiJHtGSUxFU0RJUn0vJHtQfS1zZHAt
ZGV0ZWN0aW9uLnBhdGNoIgogCisJdXNlIG5scyB8fCBcCisJCWVwYXRjaCAiJHtGSUxFU0RJUn0v
JHtQfS1ub19pY29udi5wYXRjaCIKKwogCWNkICIke1N9IgotCWVhdXRvcmVjb25mCisJZWF1dG9j
b25mCiB9CiAKIHNyY19jb21waWxlKCkgewo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>108020</attachid>
            <date>2007-01-24 13:13 0000</date>
            <desc>obexftp-0.21.ebuild.patch (against current)</desc>
            <filename>obexftp-0.21.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIG9iZXhmdHAtMC4yMS5lYnVpbGQub3JpZwkyMDA3LTAxLTI0IDEzOjExOjQ3ICswMDAwCisr
KyBvYmV4ZnRwLTAuMjEuZWJ1aWxkCTIwMDctMDEtMjQgMTM6MDk6MTcgKzAwMDAKQEAgLTI5LDYg
KzI5LDkgQEAKIAllcGF0Y2ggIiR7RklMRVNESVJ9LyR7UH0tY29iZXhfd3JpdGUucGF0Y2giCiAJ
ZXBhdGNoICIke0ZJTEVTRElSfS8ke1B9LXNkcC1kZXRlY3Rpb24ucGF0Y2giCiAKKwl1c2Ugbmxz
IHx8IFwKKwkJZXBhdGNoICIke0ZJTEVTRElSfS8ke1B9LW5vX2ljb252LnBhdGNoIgorCiAJY2Qg
IiR7U30iCiAJZWF1dG9jb25mCiB9Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>