• Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Packages → Packages: Build-list
  • Assigned To
    Andreas Baumann
  • Operating System
  • Severity Low
  • Priority Medium
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Archlinux32
Opened by Erich Eckner - 11.11.2017
Last edited by Andreas Baumann - 12.11.2017

FS#8 - [skia-sharp] [skia-sharp58] build fails

/startdir/PKGBUILD: line 63: bin/gn: No such file or directory

strange about this:
- works on x86_64
- bin/gn is there and executable

Closed by  Andreas Baumann
12.11.2017 14:19
Reason for closing:  Won't implement
Additional comments about closing:  

blacklist, no visible 32-bit support.

Admin
Andreas Baumann commented on 12.11.2017 12:29

When compiling on 64-bit I get several binaries:

src/depot_tools/gn
src/skia/gn
src/skia/buildtools/linux64/gn
src/skia/bin/gn

maybe one with linux32 is missing?

Admin
Andreas Baumann commented on 12.11.2017 12:30

Other things in PKGBUILD:

export PYTHON='/usr/bin/pyton2'

This hardly works. :-)

Admin
Andreas Baumann commented on 12.11.2017 12:31

The line with bin/gn is a little bit tricky. I'll try to put an absolute path there..

Admin
Andreas Baumann commented on 12.11.2017 12:32

I also don't like the ideas of pushd and popd everywhere..

Admin
Andreas Baumann commented on 12.11.2017 12:33

file bin/gn
bin/gn: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.26, BuildID[sha1]=6d551c57efec95b400b9890f89a18e407396c917, stripped

So the file not found means: it exists, but has not been compiled for the correct architecture.

Admin
Andreas Baumann commented on 12.11.2017 13:57

So, removing bin/gn and calling python2 tools/git-sync-deps fetches me a new copy.

Admin
Andreas Baumann commented on 12.11.2017 14:14

So tools/git-sync-deps does:

     subprocess.check_call(
    [sys.executable,
     os.path.join(os.path.dirname(deps_file_path), 'bin', 'fetch-gn')])

which has:

gn_path = 'buildtools/linux64/gn' if 'linux'  in sys.platform else \
        'buildtools/mac/gn'     if 'darwin' in sys.platform else \
        'buildtools/win/gn.exe'

fetching things from Chromium:

  f.write(urllib2.urlopen('https://chromium-gn.storage-download.googleapis.com/' + sha1).read())

Changing linux64 to linux32 in a naive approach didn't fetch a bin/gn.

So I would actually blacklist both packages.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing