Re: armv7hl: Lazarus installed buy lazbuild not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/14/2017 05:31 PM, Richard Shaw wrote:
I'm trying to build a new version of cqrlog for rawhide and only the arm
build failed:

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.F7VXBm
+ umask 022
+ cd /builddir/build/BUILD
+ cd cqrlog-2.1.0
+ make -j4
lazbuild --ws=gtk2 --pcp=/tmp/.lazarus src/cqrlog.lpi
make: lazbuild: Command not found
make: *** [Makefile:9: cqrlog] Error 127

Checking root.log just in case I see that lazarus was indeed installed...

What's up with that?

This is probably my fault:

-# Horrible hack, never to be upstreamed.  Can go away once the world
-# has been rebuilt to use the new ld.so path.
-Patch0006: glibc-arm-hardfloat-3.patch

-# This is a short term need until everything is rebuilt in the ARM world
-# to use the new dynamic linker path
-%ifarch armv7hl armv7hnl
-Provides: ld-linux.so.3
-Provides: ld-linux.so.3(GLIBC_2.4)
-%endif

-# Leave a compatibility symlink for the dynamic loader on armhfp targets,
-# at least until the world gets rebuilt
-%ifarch armv7hl armv7hnl
-ln -sf /lib/ld-linux-armhf.so.3 $RPM_BUILD_ROOT/lib/ld-linux.so.3
-%endif

Looks like FPC and thus lazarus was never updated to actually follow the armhfp ABI. 8-{

SELECT interp, COUNT(*)
  FROM symboldb.elf_file
  JOIN symboldb.file USING (contents_id)
  JOIN symboldb.package_set_member USING (package_id)
  WHERE set_id = symboldb.package_set ('Fedora/rawhide/armhfp')
    AND interp IS NOT NULL
  GROUP BY interp
  ORDER BY interp;

                   interp                   | count
--------------------------------------------+-------
                                            |     1
 /lib/ld-linux-armhf.so.3                   | 27190
 /lib/ld-linux.so.2                         |     2
 /lib/ld-linux.so.3                         |    26
 /lib/ld64.so.1                             |     2
 /lib64/ld-linux-x86-64.so.2                |     6
 /libexec/ld-elf.so.1                       |     1
 /usr/arm-linux-gnu/lib/ld-linux-armhf.so.3 |     2
(8 rows)

/lib/ld-linux.so.2 appear to be Ecplipse test files.

/lib/ld-linux.so.3 affects installed binaries:

SELECT symboldb.nevra (package), file.name
  FROM symboldb.elf_file
  JOIN symboldb.file USING (contents_id)
  JOIN symboldb.package_set_member USING (package_id)
  JOIN symboldb.package USING (package_id)
  WHERE set_id = symboldb.package_set ('Fedora/rawhide/armhfp')
    AND interp = '/lib/ld-linux.so.3'
  ORDER BY 1, 2;

nevra | name
----------------------------------------+-------------------------------------------------
 ccdciel-0.9.0-1.428svn.fc28.armv7hl    | /usr/bin/ccdciel
 colorful-1.3-4.fc27.armv7hl            | /usr/bin/colorful
 cqrlog-2.0.5-1.fc27.armv7hl            | /usr/bin/cqrlog
 fpc-3.0.2-1.fc27.armv7hl               | /usr/bin/chmcmd
 fpc-3.0.2-1.fc27.armv7hl               | /usr/bin/fpcmkcfg
 fpc-3.0.2-1.fc27.armv7hl               | /usr/bin/fpdoc
 fpc-3.0.2-1.fc27.armv7hl               | /usr/bin/fppkg
 fpc-3.0.2-1.fc27.armv7hl               | /usr/bin/rstconv
 hedgewars-0.9.22-8.fc27.armv7hl        | /usr/bin/hwengine
 indistarter-0.9.2-1.69svn.fc28.armv7hl | /usr/bin/indistarter
lazarus-1.6.4-3.fc27.armv7hl | /usr/lib/lazarus/components/chmhelp/lhelp/lhelp
 lazarus-1.6.4-3.fc27.armv7hl           | /usr/lib/lazarus/lazarus
 lazarus-1.6.4-3.fc27.armv7hl           | /usr/lib/lazarus/lazbuild
 lazarus-1.6.4-3.fc27.armv7hl           | /usr/lib/lazarus/startlazarus
 lazarus-1.6.4-3.fc27.armv7hl           | /usr/lib/lazarus/tools/lazres
 lazarus-1.6.4-3.fc27.armv7hl           | /usr/lib/lazarus/tools/lrstolfm
lazarus-1.6.4-3.fc27.armv7hl | /usr/lib/lazarus/tools/svn2revisioninc lazarus-1.6.4-3.fc27.armv7hl | /usr/lib/lazarus/tools/updatepofiles
 nbc-1.2.1.r3-15.fc27.armv7hl           | /usr/bin/nbc
 skychart-4.0-5.fc27.armv7hl            | /usr/bin/cdcicon
 skychart-4.0-5.fc27.armv7hl            | /usr/bin/skychart
 skychart-4.0-5.fc27.armv7hl            | /usr/bin/varobs
 skychart-4.0-5.fc27.armv7hl            | /usr/bin/varobs_lpv_bulletin
 transgui-5.0.1-7.fc24.armv7hl          | /usr/bin/transgui
 tuxcmd-0.6.70-18.fc24.armv7hl          | /usr/bin/tuxcmd
 virtualplanet-2.0-6.fc27.armv7hl       | /usr/bin/virtualplanet
(26 rows)

(I hope the formatting is okay.)

These binaries are invalid and they need to be fixed.

I'm willing to put back in the ABI workaround for F27, and temporarily for rawhide, but this time we mean it—this hack will go away. This was intended for the armhfp bootstrap only and should have been removed five years ago.
Thanks,
Florian
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux