This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
    This widget could not be displayed.
This widget could not be displayed.

Issue with Hotplug Package in LTIB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issue with Hotplug Package in LTIB

3,043 Views
narreddisivapra
Contributor II

Hello,

         I am using LTIB for Kernel image building for the bsp "MPC8323E-RDB" and I am using ubuntu 8.10 loaded PC. I built LTIB successfully. Now, I selected the package "udev" in LTIB configure menu and it automatically selected "hotplug" package too. Here, I am facing issue with building "hotplug" package and the kenel log is as follows..

Processing: hotplug
=====================
rpmbuild --dbpath /home/rnd/Desktop/8323/ltib-mpc832x_rdb-20081112/rootfs//var/lib/rpm --target ppc --define '_unpackaged_files_terminate_build 0' --define '_target_cpu ppc' --define '__strip strip' --define '_topdir /home/rnd/Desktop/8323/ltib-mpc832x_rdb-20081112/rpm' --define '_prefix /usr' --define '_tmppath /home/rnd/Desktop/8323/ltib-mpc832x_rdb-20081112/tmp' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bb --clean --rmsource /home/rnd/Desktop/8323/ltib-mpc832x_rdb-20081112/dist/lfs-5.1/hotplug/hotplug.spec
Building target platforms: ppc
Building for target ppc
Executing(%prep): /bin/sh -e /home/rnd/Desktop/8323/ltib-mpc832x_rdb-20081112/tmp/rpm-tmp.41971
+ umask 022
+ cd /home/rnd/Desktop/8323/ltib-mpc832x_rdb-20081112/rpm/BUILD
+ cd /home/rnd/Desktop/8323/ltib-mpc832x_rdb-20081112/rpm/BUILD
+ rm -rf hotplug-2004_03_29
+ /bin/gzip -dc /home/rnd/Desktop/8323/ltib-mpc832x_rdb-20081112/rpm/SOURCES/hotplug-2004_03_29.tar.gz
+ tar -xvvf -
drwxrwxr-x greg/greg 0 2004-03-30 04:29 hotplug-2004_03_29/
drwxrwxr-x greg/greg 0 2004-03-30 04:29 hotplug-2004_03_29/debian/
drwxrwxr-x greg/greg 0 2004-03-30 04:29 hotplug-2004_03_29/etc/
drwxrwxr-x greg/greg 0 2004-03-30 04:29 hotplug-2004_03_29/etc/hotplug/
drwxrwxr-x greg/greg 0 2004-03-30 04:29 hotplug-2004_03_29/etc/hotplug/pci/
drwxrwxr-x greg/greg 0 2004-03-30 04:29 hotplug-2004_03_29/etc/hotplug/usb/
-rw-r--r-- greg/greg 5194 2004-03-30 00:55 hotplug-2004_03_29/etc/hotplug/hotplug.functions
-rw-r--r-- greg/greg 702 2004-03-12 05:02 hotplug-2004_03_29/etc/hotplug/blacklist
-rwxr-xr-x greg/greg 1129 2004-03-27 04:04 hotplug-2004_03_29/etc/hotplug/firmware.agent
-rwxr-xr-x greg/greg 2873 2004-03-27 04:04 hotplug-2004_03_29/etc/hotplug/ieee1394.agent
-rwxr-xr-x greg/greg 2188 2004-03-30 03:53 hotplug-2004_03_29/etc/hotplug/net.agent
-rwxr-xr-x greg/greg 3746 2004-03-27 04:06 hotplug-2004_03_29/etc/hotplug/pci.agent
-rwxr-xr-x greg/greg 2254 2004-03-27 04:04 hotplug-2004_03_29/etc/hotplug/pci.rc
-rwxr-xr-x greg/greg 1455 2004-03-27 04:38 hotplug-2004_03_29/etc/hotplug/scsi.agent
-rwxr-xr-x greg/greg 13249 2004-03-27 04:06 hotplug-2004_03_29/etc/hotplug/usb.agent
-rw-rw-r-- greg/greg 39129 2004-03-27 04:26 hotplug-2004_03_29/etc/hotplug/usb.distmap
-rw-r--r-- greg/greg 4364 2003-10-08 01:21 hotplug-2004_03_29/etc/hotplug/usb.handmap
-rwxr-xr-x greg/greg 12887 2004-03-30 01:04 hotplug-2004_03_29/etc/hotplug/usb.rc
-rwxr-xr-x greg/greg 3227 2004-03-27 04:04 hotplug-2004_03_29/etc/hotplug/input.rc
-rw-rw-r-- greg/greg 189 2001-01-17 00:52 hotplug-2004_03_29/etc/hotplug/usb.usermap
-rwxr-xr-x greg/greg 6369 2002-08-08 15:35 hotplug-2004_03_29/etc/hotplug/dasd.agent
-rwxr-xr-x greg/greg 685 2002-08-08 15:23 hotplug-2004_03_29/etc/hotplug/dasd.permissions
-rwxr-xr-x greg/greg 6967 2002-10-10 19:13 hotplug-2004_03_29/etc/hotplug/tape.agent
-rwxr-xr-x greg/greg 491 2002-10-08 16:39 hotplug-2004_03_29/etc/hotplug/tape.permissions
-rwxr-xr-x greg/greg 6546 2004-03-27 04:16 hotplug-2004_03_29/etc/hotplug/input.agent
drwxrwxr-x greg/greg 0 2004-03-30 04:29 hotplug-2004_03_29/etc/hotplug.d/
drwxrwxr-x greg/greg 0 2004-03-30 04:29 hotplug-2004_03_29/etc/hotplug.d/default/
-rwxr-xr-x greg/greg 2924 2004-03-27 04:04 hotplug-2004_03_29/etc/hotplug.d/default/default.hotplug
drwxrwxr-x greg/greg 0 2004-03-30 04:29 hotplug-2004_03_29/etc/rc.d/
drwxrwxr-x greg/greg 0 2004-03-30 04:29 hotplug-2004_03_29/etc/rc.d/init.d/
-rwxr-xr-x greg/greg 1160 2003-03-28 05:55 hotplug-2004_03_29/etc/rc.d/init.d/hotplug
drwxrwxr-x greg/greg 0 2004-03-30 04:29 hotplug-2004_03_29/sbin/
-rwxr-xr-x greg/greg 1160 2003-09-25 01:57 hotplug-2004_03_29/sbin/hotplug
-rwxrwxr-x greg/greg 736 2001-06-12 05:30 hotplug-2004_03_29/mkinstalldirs
-rw-r--r-- greg/greg 14351 2004-03-30 04:28 hotplug-2004_03_29/ChangeLog
-rw-r--r-- greg/greg 2591 2003-06-28 05:43 hotplug-2004_03_29/Makefile
-rw-r--r-- greg/greg 8693 2003-03-28 05:55 hotplug-2004_03_29/README
-rw-r--r-- greg/greg 3802 2004-03-12 05:00 hotplug-2004_03_29/hotplug.8
-rw-r--r-- greg/greg 2878 2004-03-30 04:28 hotplug-2004_03_29/hotplug.spec
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd hotplug-2004_03_29
+ exit 0
Executing(%build): /bin/sh -e /home/rnd/Desktop/8323/ltib-mpc832x_rdb-20081112/tmp/rpm-tmp.41971
+ umask 022
+ cd /home/rnd/Desktop/8323/ltib-mpc832x_rdb-20081112/rpm/BUILD
+ cd hotplug-2004_03_29
+ make
Built hotplug-2017_05_29.tar.gz
+ exit 0
Executing(%install): /bin/sh -e /home/rnd/Desktop/8323/ltib-mpc832x_rdb-20081112/tmp/rpm-tmp.41971
+ umask 022
+ cd /home/rnd/Desktop/8323/ltib-mpc832x_rdb-20081112/rpm/BUILD
+ cd hotplug-2004_03_29
+ rm -rf /home/rnd/Desktop/8323/ltib-mpc832x_rdb-20081112/tmp/hotplug
+ make install prefix=/home/rnd/Desktop/8323/ltib-mpc832x_rdb-20081112/tmp/hotplug//opt/freescale/rootfs/ppc
/usr/bin/install -c -D sbin/hotplug /home/rnd/Desktop/8323/ltib-mpc832x_rdb-20081112/tmp/hotplug//opt/freescale/rootfs/ppc/sbin/hotplug
/usr/bin/install -c -d /home/rnd/Desktop/8323/ltib-mpc832x_rdb-20081112/tmp/hotplug//opt/freescale/rootfs/ppc/etc/hotplug/{usb,pci}
/usr/bin/install -c -D etc/hotplug.d/default/default.hotplug /home/rnd/Desktop/8323/ltib-mpc832x_rdb-20081112/tmp/hotplug//opt/freescale/rootfs/ppc/etc/hotplug.d/default/default.hotplug
for F in etc/hotplug/{*.{agent,rc},hotplug.functions} ; do \
/usr/bin/install -c $F /home/rnd/Desktop/8323/ltib-mpc832x_rdb-20081112/tmp/hotplug//opt/freescale/rootfs/ppc/etc/hotplug ; \
done
/usr/bin/install: cannot stat `etc/hotplug/{*.{agent,rc},hotplug.functions}': No such file or directory
make: *** [install] Error 1
error: Bad exit status from /home/rnd/Desktop/8323/ltib-mpc832x_rdb-20081112/tmp/rpm-tmp.41971 (%install)


RPM build errors:
Bad exit status from /home/rnd/Desktop/8323/ltib-mpc832x_rdb-20081112/tmp/rpm-tmp.41971 (%install)
Build time for hotplug: 0 seconds

Failed building hotplug


f_buildrpms() returned an error, exiting
traceback:
main:491


Started: Mon May 29 14:30:23 2017
Ended: Mon May 29 14:30:29 2017
Elapsed: 6 seconds

These packages failed to build:
hotplug
Build Failed

Exiting on error or interrupt
rnd@rnd3:~/Desktop/8323/ltib-mpc832x_rdb-20081112$

Please, clear this issue as soon as possible.

Thanks and Regards,

Siva Prakash Reddy Narreddi

Tags (2)
0 Kudos
Reply
2 Replies

2,850 Views
Pavel
NXP Employee
NXP Employee

I have tested NXP LTIB Linux BSP for the MPC823ERDB board: MPC8323E-RDB-20081112.iso

There is no problem for building if "hotplug" is enabled. See attachment.

This LTIB was tested under Ubuntu 10.04.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

2,850 Views
narreddisivapra
Contributor II

Sorry, I couldn't find any attachment here. Can you gone through the log what I hand send in first query.? I didn't understood what errors are there in that script.?

0 Kudos
Reply