Skip to content

fails to build on Arch?? #466

@UNIcodeX

Description

@UNIcodeX

Distribution (run cat /etc/os-release):
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://www.archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
LOGO=archlinux

Related Application and/or Package Version (run apt policy pop-shell or provide the latest commit if building locally):
AUR gnome-shell-extension-pop-shell-git

Issue/Bug Description:
fails to build

Steps to reproduce (if you know):

:: (1/1) Parsing SRCINFO: gnome-shell-extension-pop-shell-git
==> Making package: gnome-shell-extension-pop-shell-git r192.e15786b-1 (Sun 26 Jul 2020 03:07:02 PM CDT)
==> Retrieving sources...
  -> Updating shell git repo...
Fetching origin
==> Validating source files with sha256sums...
    shell ... Skipped
==> Making package: gnome-shell-extension-pop-shell-git r192.e15786b-1 (Sun 26 Jul 2020 03:07:03 PM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating shell git repo...
Fetching origin
==> Validating source files with sha256sums...
    shell ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of shell git repo...
Cloning into 'shell'...
done.
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Updated version: gnome-shell-extension-pop-shell-git r469.9e8ab29-1
==> Sources are ready.
==> Making package: gnome-shell-extension-pop-shell-git r469.9e8ab29-1 (Sun 26 Jul 2020 03:07:05 PM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
UUID is "pop-shell@system76.com"
depcheck
tsc
src/extension.ts:24:15 - error TS2305: Module '"events"' has no exported member 'ExtEvent'.

24 import type { ExtEvent } from 'events';
                 ~~~~~~~~

src/extension.ts:31:9 - error TS2339: Property 'GlobalEvent' does not exist on type 'typeof EventEmitter'.

31 const { GlobalEvent, WindowEvent } = Events;
           ~~~~~~~~~~~

src/extension.ts:31:22 - error TS2339: Property 'WindowEvent' does not exist on type 'typeof EventEmitter'.

31 const { GlobalEvent, WindowEvent } = Events;
                        ~~~~~~~~~~~

src/extension.ts:185:38 - error TS2339: Property 'global' does not exist on type 'typeof EventEmitter'.

185                 this.register(Events.global(GlobalEvent.GtkThemeChanged));
                                         ~~~~~~

src/extension.ts:191:38 - error TS2339: Property 'global' does not exist on type 'typeof EventEmitter'.

191                 this.register(Events.global(GlobalEvent.GtkShellChanged));
                                         ~~~~~~

src/extension.ts:377:38 - error TS2339: Property 'window_event' does not exist on type 'typeof EventEmitter'.

377                 this.register(Events.window_event(win, WindowEvent.Size));
                                         ~~~~~~~~~~~~

src/extension.ts:380:38 - error TS2339: Property 'window_event' does not exist on type 'typeof EventEmitter'.

380                 this.register(Events.window_event(win, WindowEvent.Size));
                                         ~~~~~~~~~~~~

src/extension.ts:383:38 - error TS2339: Property 'window_event' does not exist on type 'typeof EventEmitter'.

383                 this.register(Events.window_event(win, WindowEvent.Workspace));
                                         ~~~~~~~~~~~~

src/extension.ts:386:38 - error TS2339: Property 'window_event' does not exist on type 'typeof EventEmitter'.

386                 this.register(Events.window_event(win, WindowEvent.Minimize));
                                         ~~~~~~~~~~~~

src/extension.ts:1007:42 - error TS2339: Property 'window_event' does not exist on type 'typeof EventEmitter'.

1007                     this.register(Events.window_event(win, WindowEvent.Maximize));
                                              ~~~~~~~~~~~~

src/extension.ts:1009:42 - error TS2339: Property 'window_event' does not exist on type 'typeof EventEmitter'.

1009                     this.register(Events.window_event(win, WindowEvent.Fullscreen));
                                              ~~~~~~~~~~~~

src/extension.ts:1033:38 - error TS2339: Property 'global' does not exist on type 'typeof EventEmitter'.

1033                 this.register(Events.global(GlobalEvent.MonitorsChanged));
                                          ~~~~~~

src/extension.ts:1038:34 - error TS2339: Property 'global' does not exist on type 'typeof EventEmitter'.

1038             this.register(Events.global(GlobalEvent.MonitorsChanged));
                                      ~~~~~~

src/extension.ts:1046:34 - error TS2339: Property 'global' does not exist on type 'typeof EventEmitter'.

1046             this.register(Events.global(GlobalEvent.OverviewShown));
                                      ~~~~~~

src/extension.ts:1050:34 - error TS2339: Property 'global' does not exist on type 'typeof EventEmitter'.

1050             this.register(Events.global(GlobalEvent.OverviewHidden));
                                      ~~~~~~

src/mod.d.ts:1:15 - error TS2451: Cannot redeclare block-scoped variable 'global'.

1 declare const global: any,
                ~~~~~~

  ../../../../../node_modules/@types/node/globals.d.ts:144:13
    144 declare var global: NodeJS.Global;
                    ~~~~~~
    'global' was also declared here.

../../../../../node_modules/@types/node/globals.d.ts:144:13 - error TS2451: Cannot redeclare block-scoped variable 'global'.

144 declare var global: NodeJS.Global;
                ~~~~~~

  src/mod.d.ts:1:15
    1 declare const global: any,
                    ~~~~~~
    'global' was also declared here.

../../../../../node_modules/@types/vfile/index.d.ts:11:31 - error TS2307: Cannot find module 'vfile-message' or its corresponding type declarations.

11 import * as vfileMessage from 'vfile-message';
                                 ~~~~~~~~~~~~~~~


Found 18 errors.

make: *** [Makefile:23: transpile] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: %!s(func() string=0x55ee1756ebb0)

Expected behavior:
successful build

Other Notes:

nativescript, make, gnome latest all installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions