All of lore.kernel.org
 help / color / mirror / Atom feed
* failure building opkg-native on 64 bit Ubuntu
@ 2010-05-15  3:43 Steve Sakoman
  2010-05-15  6:17 ` Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Steve Sakoman @ 2010-05-15  3:43 UTC (permalink / raw)
  To: openembedded-devel

Building with oe.dev.  Works on 32 bit Ubuntu, but fails on the 64 bit version.

Any ideas?  Below is log.do_compile:

NOTE: make -j 4
Making all in libbb
  CC    gz_open.o
  CC    unarchive.o
  CC    unzip.o
  CC    wfopen.o
unarchive.c: In function 'extract_archive':
unarchive.c:139: warning: ignoring return value of 'fread', declared
with attribute warn_unused_result
unarchive.c:246: warning: ignoring return value of 'chown', declared
with attribute warn_unused_result
unarchive.c: In function 'get_header_ar':
unarchive.c:387: warning: ignoring return value of 'fread', declared
with attribute warn_unused_result
unarchive.c: In function 'deb_extract':
unarchive.c:664: warning: ignoring return value of 'fread', declared
with attribute warn_unused_result
unzip.c: In function 'unzip':
unzip.c:1002: warning: ignoring return value of 'fread', declared with
attribute warn_unused_result
  CC    copy_file_chunk.o
  CC    copy_file.o
  CC    xreadlink.o
  CC    concat_path_file.o
  CC    xfuncs.o
  CC    last_char_is.o
  CC    make_directory.o
  CC    safe_strncpy.o
  CC    parse_mode.o
  CC    all_read.o
  CC    time_string.o
  CC    mode_string.o
  LINK  libbb.la
Making all in libopkg
  CC    opkg.o
  CC    opkg_configure.o
  CC    opkg_download.o
  CC    opkg_cmd.o
  CC    opkg_install.o
  CC    opkg_upgrade.o
  CC    opkg_remove.o
  CC    opkg_conf.o
  CC    opkg_utils.o
  CC    pkg.o
  CC    pkg_depends.o
  CC    pkg_extract.o
  CC    hash_table.o
  CC    pkg_hash.o
  CC    pkg_parse.o
  CC    pkg_vec.o
  CC    file_util.o
  CC    md5.o
  CC    opkg_message.o
  CC    xsystem.o
  CC    xregex.o
  CC    sprintf_alloc.o
  CC    conffile.o
  CC    conffile_list.o
  CC    nv_pair.o
  CC    sha256.o
  CC    nv_pair_list.o
  CC    pkg_dest.o
  CC    pkg_dest_list.o
  CC    pkg_src.o
  CC    pkg_src_list.o
  CC    void_list.o
  CC    str_list.o
  CC    active_list.o
  LINK  libopkg.la
x86_64-linux-libtool: link: cannot find the library `' or unhandled
argument `/..//lib'
make[2]: *** [libopkg.la] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
FATAL: oe_runmake failed



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: failure building opkg-native on 64 bit Ubuntu
  2010-05-15  3:43 failure building opkg-native on 64 bit Ubuntu Steve Sakoman
@ 2010-05-15  6:17 ` Khem Raj
  2010-05-15 13:41   ` Steve Sakoman
  0 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2010-05-15  6:17 UTC (permalink / raw)
  To: openembedded-devel

On Fri, May 14, 2010 at 8:43 PM, Steve Sakoman <sakoman@gmail.com> wrote:
> Building with oe.dev.  Works on 32 bit Ubuntu, but fails on the 64 bit version.
>
> Any ideas?  Below is log.do_compile:

hmmm I have 10.04 running on 64bit I dont see this error. Can you also
post your local.conf
and anything you have in ASSUME_PROVIDED list.

>
> NOTE: make -j 4
> Making all in libbb
>  CC    gz_open.o
>  CC    unarchive.o
>  CC    unzip.o
>  CC    wfopen.o
> unarchive.c: In function 'extract_archive':
> unarchive.c:139: warning: ignoring return value of 'fread', declared
> with attribute warn_unused_result
> unarchive.c:246: warning: ignoring return value of 'chown', declared
> with attribute warn_unused_result
> unarchive.c: In function 'get_header_ar':
> unarchive.c:387: warning: ignoring return value of 'fread', declared
> with attribute warn_unused_result
> unarchive.c: In function 'deb_extract':
> unarchive.c:664: warning: ignoring return value of 'fread', declared
> with attribute warn_unused_result
> unzip.c: In function 'unzip':
> unzip.c:1002: warning: ignoring return value of 'fread', declared with
> attribute warn_unused_result
>  CC    copy_file_chunk.o
>  CC    copy_file.o
>  CC    xreadlink.o
>  CC    concat_path_file.o
>  CC    xfuncs.o
>  CC    last_char_is.o
>  CC    make_directory.o
>  CC    safe_strncpy.o
>  CC    parse_mode.o
>  CC    all_read.o
>  CC    time_string.o
>  CC    mode_string.o
>  LINK  libbb.la
> Making all in libopkg
>  CC    opkg.o
>  CC    opkg_configure.o
>  CC    opkg_download.o
>  CC    opkg_cmd.o
>  CC    opkg_install.o
>  CC    opkg_upgrade.o
>  CC    opkg_remove.o
>  CC    opkg_conf.o
>  CC    opkg_utils.o
>  CC    pkg.o
>  CC    pkg_depends.o
>  CC    pkg_extract.o
>  CC    hash_table.o
>  CC    pkg_hash.o
>  CC    pkg_parse.o
>  CC    pkg_vec.o
>  CC    file_util.o
>  CC    md5.o
>  CC    opkg_message.o
>  CC    xsystem.o
>  CC    xregex.o
>  CC    sprintf_alloc.o
>  CC    conffile.o
>  CC    conffile_list.o
>  CC    nv_pair.o
>  CC    sha256.o
>  CC    nv_pair_list.o
>  CC    pkg_dest.o
>  CC    pkg_dest_list.o
>  CC    pkg_src.o
>  CC    pkg_src_list.o
>  CC    void_list.o
>  CC    str_list.o
>  CC    active_list.o
>  LINK  libopkg.la
> x86_64-linux-libtool: link: cannot find the library `' or unhandled
> argument `/..//lib'
> make[2]: *** [libopkg.la] Error 1
> make[1]: *** [all] Error 2
> make: *** [all-recursive] Error 1
> FATAL: oe_runmake failed
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: failure building opkg-native on 64 bit Ubuntu
  2010-05-15  6:17 ` Khem Raj
@ 2010-05-15 13:41   ` Steve Sakoman
  2010-05-15 14:38     ` Koen Kooi
  0 siblings, 1 reply; 6+ messages in thread
From: Steve Sakoman @ 2010-05-15 13:41 UTC (permalink / raw)
  To: openembedded-devel

On Fri, May 14, 2010 at 11:17 PM, Khem Raj <raj.khem@gmail.com> wrote:

> hmmm I have 10.04 running on 64bit I dont see this error.

I'm running 9.04 64 bit server.

> Can you also post your local.conf
> and anything you have in ASSUME_PROVIDED list.

Local conf is:

DISTRO = "angstrom-2008.1"
DISTRO_TYPE = "debug"

ENABLE_BINARY_LOCALE_GENERATION=0

INHERIT += "rm_work"

I currently have nothing in ASSUME_PROVIDED.

Steve

>
>>
>> NOTE: make -j 4
>> Making all in libbb
>>  CC    gz_open.o
>>  CC    unarchive.o
>>  CC    unzip.o
>>  CC    wfopen.o
>> unarchive.c: In function 'extract_archive':
>> unarchive.c:139: warning: ignoring return value of 'fread', declared
>> with attribute warn_unused_result
>> unarchive.c:246: warning: ignoring return value of 'chown', declared
>> with attribute warn_unused_result
>> unarchive.c: In function 'get_header_ar':
>> unarchive.c:387: warning: ignoring return value of 'fread', declared
>> with attribute warn_unused_result
>> unarchive.c: In function 'deb_extract':
>> unarchive.c:664: warning: ignoring return value of 'fread', declared
>> with attribute warn_unused_result
>> unzip.c: In function 'unzip':
>> unzip.c:1002: warning: ignoring return value of 'fread', declared with
>> attribute warn_unused_result
>>  CC    copy_file_chunk.o
>>  CC    copy_file.o
>>  CC    xreadlink.o
>>  CC    concat_path_file.o
>>  CC    xfuncs.o
>>  CC    last_char_is.o
>>  CC    make_directory.o
>>  CC    safe_strncpy.o
>>  CC    parse_mode.o
>>  CC    all_read.o
>>  CC    time_string.o
>>  CC    mode_string.o
>>  LINK  libbb.la
>> Making all in libopkg
>>  CC    opkg.o
>>  CC    opkg_configure.o
>>  CC    opkg_download.o
>>  CC    opkg_cmd.o
>>  CC    opkg_install.o
>>  CC    opkg_upgrade.o
>>  CC    opkg_remove.o
>>  CC    opkg_conf.o
>>  CC    opkg_utils.o
>>  CC    pkg.o
>>  CC    pkg_depends.o
>>  CC    pkg_extract.o
>>  CC    hash_table.o
>>  CC    pkg_hash.o
>>  CC    pkg_parse.o
>>  CC    pkg_vec.o
>>  CC    file_util.o
>>  CC    md5.o
>>  CC    opkg_message.o
>>  CC    xsystem.o
>>  CC    xregex.o
>>  CC    sprintf_alloc.o
>>  CC    conffile.o
>>  CC    conffile_list.o
>>  CC    nv_pair.o
>>  CC    sha256.o
>>  CC    nv_pair_list.o
>>  CC    pkg_dest.o
>>  CC    pkg_dest_list.o
>>  CC    pkg_src.o
>>  CC    pkg_src_list.o
>>  CC    void_list.o
>>  CC    str_list.o
>>  CC    active_list.o
>>  LINK  libopkg.la
>> x86_64-linux-libtool: link: cannot find the library `' or unhandled
>> argument `/..//lib'
>> make[2]: *** [libopkg.la] Error 1
>> make[1]: *** [all] Error 2
>> make: *** [all-recursive] Error 1
>> FATAL: oe_runmake failed
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: failure building opkg-native on 64 bit Ubuntu
  2010-05-15 13:41   ` Steve Sakoman
@ 2010-05-15 14:38     ` Koen Kooi
  2010-05-15 15:09       ` Steve Sakoman
  0 siblings, 1 reply; 6+ messages in thread
From: Koen Kooi @ 2010-05-15 14:38 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 15-05-10 15:41, Steve Sakoman wrote:

>>> x86_64-linux-libtool: link: cannot find the library `' or unhandled
>>> argument `/..//lib'
>>> make[2]: *** [libopkg.la] Error 1

Could you have a look at libcurl.la in your x86_64 sysroots dir? I
suspect that has the offending '/..//lib' in it.

After removing that things build again for me. I suspect the curl-native
recipe installs a broken .la file.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFL7rHLMkyGM64RGpERAgx7AJ96P9ZhaTX8yfrU0EC7TalIgIiMswCfcK2t
4rsf2YsXJEIYcxVAGV347Yk=
=jvcK
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: failure building opkg-native on 64 bit Ubuntu
  2010-05-15 14:38     ` Koen Kooi
@ 2010-05-15 15:09       ` Steve Sakoman
  2010-05-15 15:40         ` Koen Kooi
  0 siblings, 1 reply; 6+ messages in thread
From: Steve Sakoman @ 2010-05-15 15:09 UTC (permalink / raw)
  To: openembedded-devel

On Sat, May 15, 2010 at 7:38 AM, Koen Kooi <k.kooi@student.utwente.nl> wrote:

> On 15-05-10 15:41, Steve Sakoman wrote:
>
>>>> x86_64-linux-libtool: link: cannot find the library `' or unhandled
>>>> argument `/..//lib'
>>>> make[2]: *** [libopkg.la] Error 1
>
> Could you have a look at libcurl.la in your x86_64 sysroots dir? I
> suspect that has the offending '/..//lib' in it.

Yes, libcurl.la did contain the offending '/..//lib'

> After removing that things build again for me. I suspect the curl-native
> recipe installs a broken .la file.

That worked for me too.  Seems that we are plagued by broken .la files!

Steve

> regards,
>
> Koen
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFL7rHLMkyGM64RGpERAgx7AJ96P9ZhaTX8yfrU0EC7TalIgIiMswCfcK2t
> 4rsf2YsXJEIYcxVAGV347Yk=
> =jvcK
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: failure building opkg-native on 64 bit Ubuntu
  2010-05-15 15:09       ` Steve Sakoman
@ 2010-05-15 15:40         ` Koen Kooi
  0 siblings, 0 replies; 6+ messages in thread
From: Koen Kooi @ 2010-05-15 15:40 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 15-05-10 17:09, Steve Sakoman wrote:
> On Sat, May 15, 2010 at 7:38 AM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
> 
>> On 15-05-10 15:41, Steve Sakoman wrote:
>>
>>>>> x86_64-linux-libtool: link: cannot find the library `' or unhandled
>>>>> argument `/..//lib'
>>>>> make[2]: *** [libopkg.la] Error 1
>>
>> Could you have a look at libcurl.la in your x86_64 sysroots dir? I
>> suspect that has the offending '/..//lib' in it.
> 
> Yes, libcurl.la did contain the offending '/..//lib'
> 
>> After removing that things build again for me. I suspect the curl-native
>> recipe installs a broken .la file.
> 
> That worked for me too.  Seems that we are plagued by broken .la files!

Indeed, luckily it was lib*c*url.la instead of libzurl.la, it happened
to be the 3rd one I checked :)

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFL7sB/MkyGM64RGpERAjtgAKChAzQs1dJvcRbIhmuAVzl7kjGKYwCfSJcE
7PwgjTs238QFouPpw2Y1A3w=
=Xjrl
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-05-15 15:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-15  3:43 failure building opkg-native on 64 bit Ubuntu Steve Sakoman
2010-05-15  6:17 ` Khem Raj
2010-05-15 13:41   ` Steve Sakoman
2010-05-15 14:38     ` Koen Kooi
2010-05-15 15:09       ` Steve Sakoman
2010-05-15 15:40         ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.