raphael / linux-samus

Linux 4.16 on Chromebook Pixel 2015
GNU General Public License v2.0
181 stars 36 forks source link

v4.13-1 doesn't install in Arch (install: cannot stat 'Documentation/DocBook/Makefile': No such file or directory) #198

Closed colemickens closed 6 years ago

colemickens commented 6 years ago

I think I read that DocBook was removed from the tree for 4.13?

  INSTALL /tmp/yaourt-tmp-cole/aur-linux-samus4/pkg/linux-samus4/lib/firmware/kaweth/trigger_code_fix.bin
  INSTALL /tmp/yaourt-tmp-cole/aur-linux-samus4/pkg/linux-samus4/lib/firmware/ti_3410.fw
  INSTALL /tmp/yaourt-tmp-cole/aur-linux-samus4/pkg/linux-samus4/lib/firmware/ti_5052.fw
  INSTALL /tmp/yaourt-tmp-cole/aur-linux-samus4/pkg/linux-samus4/lib/firmware/mts_cdma.fw
  INSTALL /tmp/yaourt-tmp-cole/aur-linux-samus4/pkg/linux-samus4/lib/firmware/mts_gsm.fw
  INSTALL /tmp/yaourt-tmp-cole/aur-linux-samus4/pkg/linux-samus4/lib/firmware/edgeport/boot.fw
  INSTALL /tmp/yaourt-tmp-cole/aur-linux-samus4/pkg/linux-samus4/lib/firmware/mts_edge.fw
  INSTALL /tmp/yaourt-tmp-cole/aur-linux-samus4/pkg/linux-samus4/lib/firmware/edgeport/boot2.fw
  INSTALL /tmp/yaourt-tmp-cole/aur-linux-samus4/pkg/linux-samus4/lib/firmware/edgeport/down.fw
  INSTALL /tmp/yaourt-tmp-cole/aur-linux-samus4/pkg/linux-samus4/lib/firmware/whiteheat_loader.fw
  INSTALL /tmp/yaourt-tmp-cole/aur-linux-samus4/pkg/linux-samus4/lib/firmware/edgeport/down2.fw
  INSTALL /tmp/yaourt-tmp-cole/aur-linux-samus4/pkg/linux-samus4/lib/firmware/edgeport/down3.bin
  INSTALL /tmp/yaourt-tmp-cole/aur-linux-samus4/pkg/linux-samus4/lib/firmware/whiteheat.fw
  INSTALL /tmp/yaourt-tmp-cole/aur-linux-samus4/pkg/linux-samus4/lib/firmware/keyspan_pda/keyspan_pda.fw
  INSTALL /tmp/yaourt-tmp-cole/aur-linux-samus4/pkg/linux-samus4/lib/firmware/keyspan_pda/xircom_pgs.fw
  INSTALL /tmp/yaourt-tmp-cole/aur-linux-samus4/pkg/linux-samus4/lib/firmware/cpia2/stv0672_vp4.bin
  DEPMOD  4.13.0-1-ph
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "linux-samus4"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Starting package_linux-samus4-headers()...
install: cannot stat 'Documentation/DocBook/Makefile': No such file or directory
==> ERROR: A failure occurred in package_linux-samus4-headers().
    Aborting...
==> ERROR: Makepkg was unable to build linux-samus4.
==> Restart building linux-samus4 ? [y/N]
==> -------------------------------------
==> %                          
myf commented 6 years ago

same behavior, the relevant pkgbuild code is at https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=linux-samus4#n143

  # add docbook makefile
  install -D -m644 Documentation/DocBook/Makefile \
    "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/DocBook/Makefile"

this Makefile doesn't exist

raphael commented 6 years ago

ugh had forgotten to apply the fix to the AUR PKGBUILD. Should be good now, thanks for reporting!