Add the mailing list. Have any of you seen this similar issue before?
Thanks, Lijun Pan
________________________________________ From: Lijun Pan Sent: Tuesday, April 5, 2016 10:09:16 AM To: Jim Perrin Subject: rpmbuild report newoptions error
Hi Jim,
When I enabled CONFIG_USB_DWC3=m in config-centos-sig
rpmbuild has following errors ====== + '[' -s .newoptions ']' + cat .newoptions CONFIG_USB_DWC3_ULPI CONFIG_USB_DWC3_PCI CONFIG_USB_DWC3_DEBUG + exit 1 error: Bad exit status from /var/tmp/rpm-tmp.7mSfnd (%prep) =====
While looking at my USB driver code, I did not enable or add those 3 configuration. Do you think it is a bug in the kernel-aarch64.spec? Can we fix it somehow?
Thanks, Lijun
Lijun,
It is how it's supposed to work. You will need to add those "new" and undecided config's CONFIG_USB_DWC3_ULPI CONFIG_USB_DWC3_PCI CONFIG_USB_DWC3_DEBUG
either as =m, =y, or for example, # CONFIG_USB_DWC3_ULPI is not set in the config-centos-sig also.
-Phong
-----Original Message----- From: arm-dev-bounces@centos.org [mailto:arm-dev-bounces@centos.org] On Behalf Of Lijun Pan Sent: Tuesday, April 5, 2016 10:52 PM To: arm-dev@centos.org Subject: [Arm-dev] Fw: rpmbuild report newoptions error
Add the mailing list. Have any of you seen this similar issue before?
Thanks, Lijun Pan
________________________________________ From: Lijun Pan Sent: Tuesday, April 5, 2016 10:09:16 AM To: Jim Perrin Subject: rpmbuild report newoptions error
Hi Jim,
When I enabled CONFIG_USB_DWC3=m in config-centos-sig
rpmbuild has following errors ====== + '[' -s .newoptions ']' + cat .newoptions CONFIG_USB_DWC3_ULPI CONFIG_USB_DWC3_PCI CONFIG_USB_DWC3_DEBUG + exit 1 error: Bad exit status from /var/tmp/rpm-tmp.7mSfnd (%prep) =====
While looking at my USB driver code, I did not enable or add those 3 configuration. Do you think it is a bug in the kernel-aarch64.spec? Can we fix it somehow?
Thanks, Lijun _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Hi Lijun,
Make the prep build first to have .config in BUILD/<kernel>/<linux> (let's say config.org)
Then, add CONFIG_USB_DWC3=m in config-centos-sig, run rpmbuild again. The error will occur as you said.
Compare error item CONFIG_USB_DWC3_ULPI to config.org.
If CONFIG_USB_DWC3_ULPI does not exist, add "#CONFIG_USB_DWC3_ULPI is not set" to config-centos-sig If CONFIG_USB_DWC3_ULPI=m, add "CONFIG_USB_DWC3_ULPI=m" to config-centos-sig If CONFIG_USB_DWC3_ULPI=y, add "CONFIG_USB_DWC3_ULPI=y" to config-centos-sig
Do the same to the others.
Best regards,
Chuong.
On Tue, Apr 5, 2016 at 10:51 PM, Lijun Pan lijun.pan@nxp.com wrote:
Add the mailing list. Have any of you seen this similar issue before?
Thanks, Lijun Pan
From: Lijun Pan Sent: Tuesday, April 5, 2016 10:09:16 AM To: Jim Perrin Subject: rpmbuild report newoptions error
Hi Jim,
When I enabled CONFIG_USB_DWC3=m in config-centos-sig
rpmbuild has following errors
- '[' -s .newoptions ']'
- cat .newoptions
CONFIG_USB_DWC3_ULPI CONFIG_USB_DWC3_PCI CONFIG_USB_DWC3_DEBUG
- exit 1
error: Bad exit status from /var/tmp/rpm-tmp.7mSfnd (%prep)
While looking at my USB driver code, I did not enable or add those 3 configuration. Do you think it is a bug in the kernel-aarch64.spec? Can we fix it somehow?
Thanks, Lijun _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Thanks, Chong. It works.
Lijun
From: arm-dev-bounces@centos.org [mailto:arm-dev-bounces@centos.org] On Behalf Of Chuong Tran Sent: Tuesday, April 05, 2016 11:03 AM To: Conversations around CentOS on ARM hardware arm-dev@centos.org Subject: Re: [Arm-dev] Fw: rpmbuild report newoptions error
Hi Lijun,
Make the prep build first to have .config in BUILD/<kernel>/<linux> (let's say config.orghttp://config.org)
Then, add CONFIG_USB_DWC3=m in config-centos-sig, run rpmbuild again. The error will occur as you said.
Compare error item CONFIG_USB_DWC3_ULPI to config.orghttp://config.org.
If CONFIG_USB_DWC3_ULPI does not exist, add "#CONFIG_USB_DWC3_ULPI is not set" to config-centos-sig If CONFIG_USB_DWC3_ULPI=m, add "CONFIG_USB_DWC3_ULPI=m" to config-centos-sig If CONFIG_USB_DWC3_ULPI=y, add "CONFIG_USB_DWC3_ULPI=y" to config-centos-sig
Do the same to the others.
Best regards,
Chuong.
On Tue, Apr 5, 2016 at 10:51 PM, Lijun Pan <lijun.pan@nxp.commailto:lijun.pan@nxp.com> wrote: Add the mailing list. Have any of you seen this similar issue before?
Thanks, Lijun Pan
________________________________________ From: Lijun Pan Sent: Tuesday, April 5, 2016 10:09:16 AM To: Jim Perrin Subject: rpmbuild report newoptions error
Hi Jim,
When I enabled CONFIG_USB_DWC3=m in config-centos-sig
rpmbuild has following errors ====== + '[' -s .newoptions ']' + cat .newoptions CONFIG_USB_DWC3_ULPI CONFIG_USB_DWC3_PCI CONFIG_USB_DWC3_DEBUG + exit 1 error: Bad exit status from /var/tmp/rpm-tmp.7mSfnd (%prep) =====
While looking at my USB driver code, I did not enable or add those 3 configuration. Do you think it is a bug in the kernel-aarch64.spec? Can we fix it somehow?
Thanks, Lijun _______________________________________________ Arm-dev mailing list Arm-dev@centos.orgmailto:Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev