Re: [LEDE-DEV] Strange build error

2017-08-29 Thread Zoltan Gyarmati

Zoltan Gyarmati
https://zgyarmati.de

On 08/29/2017 02:33 AM, Philip Prindeville wrote:
>> On Aug 28, 2017, at 6:17 PM, Zoltan Gyarmati  
>> wrote:
>>
>> On 08/28/2017 01:52 PM, Zoltan Gyarmati wrote:
>>> Dear All,
>>>
>>> i'm fighting with an odd build error on my build server VPS, using
>>> current master and the RT5350F-OLINUXINO profile:
>>>
>>> When trying to re-build the LEDE tree (after a successful initial
>>> build), i get this error:
>>>
 make[5]: Entering directory
 '/home/zgyarmati/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_rt305x/linux-4.9.44'
  CHK include/config/kernel.release
  CHK include/generated/uapi/linux/version.h
  CHK include/generated/utsrelease.h
  CHK include/generated/bounds.h
  CHK include/generated/timeconst.h
  CHK include/generated/asm-offsets.h
  CALLscripts/checksyscalls.sh
  CHK include/generated/compile.h
  GEN usr/initramfs_data.cpio
  AS  usr/initramfs_data.o
  LD  usr/built-in.o
  AR  lib/lib.a
  EXPORTS lib/lib-ksyms.o
  LD  lib/built-in.o
  LD  vmlinux.o
  MODPOST vmlinux.o
  GEN .version
  CHK include/generated/compile.h
 lib/lib.a(decompress.o):(.init.rodata+0x2c): undefined reference to
 `unlzma'
 lib/lib.a(decompress.o):(.init.rodata+0x38): undefined reference to
 `unlzma'
 Makefile:972: recipe for target 'vmlinux' failed
>>> The odd thing is that the same config on my laptop (Debian
>>> testing/Buster) builds and rebuilds correctly, while on the VPS (Debian
>>> 9/Stretch) it fails with the error above.
>>> I've checked all the dependencies, digged into the environment to figure
>>> out what is the significant difference, but i couldn't hunt this down.
>>> My best guess it that is related to the fact that the build server runs
>>> on a VPS, but no solid evidence on this yet...
>>>
>>> Do you have maybe an idea where to look?
>>>
>> I've tried cross check with building and rebuilding Atheros
>> AR7xxx/AR9xxx/8devices Carambola2 profle,
>> and it builds and rebuilds without the error above in the same
>> environment...
>
> I’ll ask the obvious question… Are the .config files identical in both cases?
>
> -Philip
>

 Yes, and anyway, the problem persist if i just do a `make menuconfig`, and
select 'MediaTek Ralink MIPS -- RT3x5x/RT5350 based boards --
RT5350F-OLinuXino'
target profile, so it doesn't seem to be an issue with my own .config.
Since than i've ran a build without ccache, but got the same result...






signature.asc
Description: OpenPGP digital signature
___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] Strange build error

2017-08-28 Thread Philip Prindeville

> On Aug 28, 2017, at 6:17 PM, Zoltan Gyarmati  
> wrote:
> 
> On 08/28/2017 01:52 PM, Zoltan Gyarmati wrote:
>> Dear All,
>> 
>> i'm fighting with an odd build error on my build server VPS, using
>> current master and the RT5350F-OLINUXINO profile:
>> 
>> When trying to re-build the LEDE tree (after a successful initial
>> build), i get this error:
>> 
>>> make[5]: Entering directory
>>> '/home/zgyarmati/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_rt305x/linux-4.9.44'
>>>  CHK include/config/kernel.release
>>>  CHK include/generated/uapi/linux/version.h
>>>  CHK include/generated/utsrelease.h
>>>  CHK include/generated/bounds.h
>>>  CHK include/generated/timeconst.h
>>>  CHK include/generated/asm-offsets.h
>>>  CALLscripts/checksyscalls.sh
>>>  CHK include/generated/compile.h
>>>  GEN usr/initramfs_data.cpio
>>>  AS  usr/initramfs_data.o
>>>  LD  usr/built-in.o
>>>  AR  lib/lib.a
>>>  EXPORTS lib/lib-ksyms.o
>>>  LD  lib/built-in.o
>>>  LD  vmlinux.o
>>>  MODPOST vmlinux.o
>>>  GEN .version
>>>  CHK include/generated/compile.h
>>> lib/lib.a(decompress.o):(.init.rodata+0x2c): undefined reference to
>>> `unlzma'
>>> lib/lib.a(decompress.o):(.init.rodata+0x38): undefined reference to
>>> `unlzma'
>>> Makefile:972: recipe for target 'vmlinux' failed
>> The odd thing is that the same config on my laptop (Debian
>> testing/Buster) builds and rebuilds correctly, while on the VPS (Debian
>> 9/Stretch) it fails with the error above.
>> I've checked all the dependencies, digged into the environment to figure
>> out what is the significant difference, but i couldn't hunt this down.
>> My best guess it that is related to the fact that the build server runs
>> on a VPS, but no solid evidence on this yet...
>> 
>> Do you have maybe an idea where to look?
>> 
> 
> I've tried cross check with building and rebuilding Atheros
> AR7xxx/AR9xxx/8devices Carambola2 profle,
> and it builds and rebuilds without the error above in the same
> environment...


I’ll ask the obvious question… Are the .config files identical in both cases?

-Philip


___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] Strange build error

2017-08-28 Thread Zoltan Gyarmati
On 08/28/2017 01:52 PM, Zoltan Gyarmati wrote:
> Dear All,
>
> i'm fighting with an odd build error on my build server VPS, using
> current master and the RT5350F-OLINUXINO profile:
>
> When trying to re-build the LEDE tree (after a successful initial
> build), i get this error:
>
>> make[5]: Entering directory
>> '/home/zgyarmati/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_rt305x/linux-4.9.44'
>>   CHK include/config/kernel.release
>>   CHK include/generated/uapi/linux/version.h
>>   CHK include/generated/utsrelease.h
>>   CHK include/generated/bounds.h
>>   CHK include/generated/timeconst.h
>>   CHK include/generated/asm-offsets.h
>>   CALLscripts/checksyscalls.sh
>>   CHK include/generated/compile.h
>>   GEN usr/initramfs_data.cpio
>>   AS  usr/initramfs_data.o
>>   LD  usr/built-in.o
>>   AR  lib/lib.a
>>   EXPORTS lib/lib-ksyms.o
>>   LD  lib/built-in.o
>>   LD  vmlinux.o
>>   MODPOST vmlinux.o
>>   GEN .version
>>   CHK include/generated/compile.h
>> lib/lib.a(decompress.o):(.init.rodata+0x2c): undefined reference to
>> `unlzma'
>> lib/lib.a(decompress.o):(.init.rodata+0x38): undefined reference to
>> `unlzma'
>> Makefile:972: recipe for target 'vmlinux' failed
> The odd thing is that the same config on my laptop (Debian
> testing/Buster) builds and rebuilds correctly, while on the VPS (Debian
> 9/Stretch) it fails with the error above.
> I've checked all the dependencies, digged into the environment to figure
> out what is the significant difference, but i couldn't hunt this down.
> My best guess it that is related to the fact that the build server runs
> on a VPS, but no solid evidence on this yet...
>
> Do you have maybe an idea where to look?
>

I've tried cross check with building and rebuilding Atheros
AR7xxx/AR9xxx/8devices Carambola2 profle,
and it builds and rebuilds without the error above in the same
environment...



Zoltan Gyarmati
https://zgyarmati.de






signature.asc
Description: OpenPGP digital signature
___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


[LEDE-DEV] Strange build error

2017-08-28 Thread Zoltan Gyarmati
Dear All,

i'm fighting with an odd build error on my build server VPS, using
current master and the RT5350F-OLINUXINO profile:

When trying to re-build the LEDE tree (after a successful initial
build), i get this error:

> make[5]: Entering directory
> '/home/zgyarmati/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_rt305x/linux-4.9.44'
>   CHK include/config/kernel.release
>   CHK include/generated/uapi/linux/version.h
>   CHK include/generated/utsrelease.h
>   CHK include/generated/bounds.h
>   CHK include/generated/timeconst.h
>   CHK include/generated/asm-offsets.h
>   CALLscripts/checksyscalls.sh
>   CHK include/generated/compile.h
>   GEN usr/initramfs_data.cpio
>   AS  usr/initramfs_data.o
>   LD  usr/built-in.o
>   AR  lib/lib.a
>   EXPORTS lib/lib-ksyms.o
>   LD  lib/built-in.o
>   LD  vmlinux.o
>   MODPOST vmlinux.o
>   GEN .version
>   CHK include/generated/compile.h
> lib/lib.a(decompress.o):(.init.rodata+0x2c): undefined reference to
> `unlzma'
> lib/lib.a(decompress.o):(.init.rodata+0x38): undefined reference to
> `unlzma'
> Makefile:972: recipe for target 'vmlinux' failed

The odd thing is that the same config on my laptop (Debian
testing/Buster) builds and rebuilds correctly, while on the VPS (Debian
9/Stretch) it fails with the error above.
I've checked all the dependencies, digged into the environment to figure
out what is the significant difference, but i couldn't hunt this down.
My best guess it that is related to the fact that the build server runs
on a VPS, but no solid evidence on this yet...

Do you have maybe an idea where to look?

-- 
Zoltan Gyarmati
https://zgyarmati.de




signature.asc
Description: OpenPGP digital signature
___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev