On Thu, Dec 29, 2005, Doug Summers wrote:

> Using IBM's xlc 7.x compiler...
>
> For some reason the lsof binary is being creating with a weird name,
> causing the final build to fail:
>
> + cd lsof_4.76_src
> + /syscfg/opkg/lib/openpkg/shtool install -c -s lsof
> /syscfg/opkg/RPM/TMP/lsof-4.76-root/syscfg/opkg/bin/
> strip: /syscfg/opkg/RPM/TMP/lsof-4.76-root/syscfg/opkg/bin/[EMAIL PROTECTED]
> -- 0654-423
> /syscfg/opkg/RPM/TMP/lsof-4.76-root/syscfg/opkg/bin/[EMAIL PROTECTED] is not
> valid in the current object file mode.
>         Use the -X option to specify the desired object mode.
> + /syscfg/opkg/lib/openpkg/shtool install -c lsof.8
> /syscfg/opkg/RPM/TMP/lsof-4.76-root/syscfg/opkg/man/man8/
> + setgid=
> + case "powerpc-aix5.1" in
> + setgid=sys
> + /syscfg/opkg/lib/openpkg/rpmtool files -v -ofiles
> -r/syscfg/opkg/RPM/TMP/lsof-4.76-root '%defattr(-,opkg,opkg)'
> /syscfg/opkg '%not %dir
> {/syscfg/opkg,/syscfg/opkg/*,/syscfg/opkg/etc/rc.d,/syscfg/opkg/man/*}'
> '%attr(2755,opkg,sys) /syscfg/opkg/bin/lsof'
> rpmtool:files: pass 1 (preparation and syntactical expansions)
> rpmtool:files: pass 2 (filesystem-based expansions)
> rpmtool:files: pass 3 (duplication removal and cleanup)
> + exit 0
> Processing files: lsof-4.76-2.5.0
> error: File not found:
> /syscfg/opkg/RPM/TMP/lsof-4.76-root/syscfg/opkg/bin/lsof
>
> RPM build errors:
>     File not found:
> /syscfg/opkg/RPM/TMP/lsof-4.76-root/syscfg/opkg/bin/lsof
>
> The [EMAIL PROTECTED] is different on every build, but actually works if
> executed. I'm not sure where to tweak the lsof.spec file to rename this
> file to the proper name.

I guess it is a problem with strip(1): try to remove the "-s" from
the "install -c -s" command in lsof.spec and retry. I'm sure it then
works, although I do not understand what AIX' problem is here.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to