org.oe.dev Fix horribly broken util-linux-ng 2.14 for uclibc. It also needs a new config option in .config of uclibc to enable
Hi Khem,
Quoted 17 lines · khem commit
Fix horribly broken util-linux-ng 2.14 for uclibc. It also needs a new config option in .config of uclibc to enable UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y
UCLIBC_HAS___PROGNAME=yThese should be enabled in uclibc.distro files. I will seek permission to add those if not we can always fix util-linux-ng to define
__progname.Author: [email protected]
Branch: org.openembedded.dev
Revision:b86db14f5edd4f268d21ba089697b479d09548ce
ViewMTN: http://monotone.openembedded.org/revision/info/b86db14f5edd4f268d21ba089697b479d09548ce
Files:
1
packages/util-linux-ng/util-linux-ng-2.14packages/util-linux-ng/util-linux-ng-2.14/util-linux-ng-uclibc-versionsort.patchpackages/util-linux-ng/util-linux-ng_2.14.bb
Diffs:
Quoted 2 lines
#
# mt diff -r91a47e622b5c8c28247219a17c0f4fe751e9a7cd -rb86db14f5edd4f268d21ba089697b479d09548ce
As said this commit alone does not make util-linux-ng compile against uclibc (0.9.29). While UCLIBC_HAS___PROGNAME=y is already set UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not. After doing so util-linux-ng compiles nicely.
Would the attached patch be accepted?
Regards
Robert
#
# old_revision [3409bc1c06c4e7b69c7d0d59afa555dac069ccfa] # # patch "packages/uclibc/uclibc-0.9.29/uClibc.distro" # from [cf89107fd4379acbf2713de1b289276ce66783d2] # to [5ab6fa024000a05eedaae60094004a19f23b49cd] # ============================================================ --- packages/uclibc/uclibc-0.9.29/uClibc.distro cf89107fd4379acbf2713de1b289276ce66783d2 +++ packages/uclibc/uclibc-0.9.29/uClibc.distro 5ab6fa024000a05eedaae60094004a19f23b49cd @@ -28,7 +28,7 @@ UCLIBC_HAS_SHADOW=y UCLIBC_SUSV3_LEGACY=y UCLIBC_SUSV3_LEGACY_MACROS=y UCLIBC_HAS_SHADOW=y -# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set +UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y UCLIBC_HAS___PROGNAME=y UNIX98PTY_ONLY=y ASSUME_DEVPTS=y