Code Monkey home page Code Monkey logo

linux-surface-overlay's Introduction

Hi there, I'm Parin! 👋🏽

I'm:

  • a self-taught full-stack developer and machine learning engineer with a passion for Natural Language Processing, Image Processing, Robotics, and Reinforcement Learning!
  • an outgoing highschool student
  • a passionate life-long learner in all things

I have consitently been building, learning, and competitng for several years now, always striving to keep up with the latest technology trends and methodologies!

🔭 My interests

I'm always excited to work on challenging projects that push me to learn and grow as a software engineer. I'm particularly interested in exploring the intersection of machine learning and robotics, with a focus on reinforcement learning algorithms. I am also passionate about building projects related to Natural Language Processing, Image Processing, and Computer Vision.

🛠  Tech Stack

Frameworks

React Native  Expo  Django  Fastapi 

Languages

Python  JavaScript  TypeScript  cpp  bash 

Technologies

Web Sockets  Postgres  Redis  SQL Alchemy 

Web

HTML  CSS  Styled Components 

Tools

Git  GitHub  Visual Studio Code  Vim  Emacs 

Operating Systems

Linux  Mac OS  Windows 

🕒  Experience

  • Python: 4 Years
  • Javascript: 3 Year
  • C++: ~6 Months
  • React: ~3 Years
  • React Native: ~2 Year

📫 How to reach me

I'm always eager to hear about new opportunities and projects, so please don't hesitate to reach out to me via email at [email protected].

Thank you for stopping by and I look forward to hearing from you!

@parinzee's Holopin board

linux-surface-overlay's People

Contributors

github-actions[bot] avatar leoalex0 avatar parinzee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jasisonee syah86

linux-surface-overlay's Issues

[BUG] surface-sources-5.12.9 emerge error

Describe the bug
When try to emerge surface-sources-5.12.9 ,
file /var/tmp/portage/sys-kernel/surface-sources-5.12.9/files/5.12/0007-surface-typecover.patch cannot be found.

To Reproduce

  1. Clean distfile storage
  2. Add =sys-kernel/surface-sources-5.12.9 ~amd64 to package.accept_keywords.
  3. Just emerge -avu surface-sources

Expected behavior
surface-sources-5.12.9 can be emerged successfully

Additional context

emerge output:

...

patching file arch/x86/kernel/acpi/boot.c
patching file drivers/platform/x86/amd-pmc.c                             [ ok ]
 * Applying 0007-surface-typecover.patch ...
/var/tmp/portage/sys-kernel/surface-sources-5.12.9/temp/environment: line 778: /var/tmp/portage/sys-kernel/surface-sources-5.12.9/files/5.12/0007-surface-typecover.patch: No such file or directory
/var/tmp/portage/sys-kernel/surface-sources-5.12.9/temp/environment: line 781: /var/tmp/portage/sys-kernel/surface-sources-5.12.9/files/5.12/0007-surface-typecover.patch: No such file or directory                                     [ !! ]
 * ERROR: sys-kernel/surface-sources-5.12.9::linux-surface failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/sys-kernel/surface-sources-5.12.9/files/5.12/0007-surface-typecover.patch
 * 
 * Call stack:
 *               ebuild.sh, line  127:  Called src_prepare
 *             environment, line 2688:  Called eapply '/var/tmp/portage/sys-kernel/surface-sources-5.12.9/files/5.12/0007-surface-typecover.patch'
 *             environment, line  846:  Called _eapply_patch '/var/tmp/portage/sys-kernel/surface-sources-5.12.9/files/5.12/0007-surface-typecover.patch'
 *             environment, line  784:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/sys-kernel/surface-sources-5.12.9/files/5.12/0007-surface-typecover.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=sys-kernel/surface-sources-5.12.9::linux-surface'`,
 * the complete build log and the output of `emerge -pqv '=sys-kernel/surface-sources-5.12.9::linux-surface'`.
 * The complete build log is located at '/var/tmp/portage/sys-kernel/surface-sources-5.12.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-kernel/surface-sources-5.12.9/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-kernel/surface-sources-5.12.9/work/linux-5.12.9-surface'
 * S: '/var/tmp/portage/sys-kernel/surface-sources-5.12.9/work/linux-5.12.9-surface'

>>> Failed to emerge sys-kernel/surface-sources-5.12.9, Log file:

...

Manifest of sys-kernel/surface-sources-5.11.16 may need to update

When emerging surface-sorces-5.11.16,

!!! Fetched file: 0001-surface3-oemb.patch VERIFY FAILED!
!!! Reason: Failed on BLAKE2B verification
!!! Got:      f18e96c88c074c9be8e748b3fd39a88170d5e8281b20ffd2321c85d979bbc902eae7341a0908b9f03cf0f065881bb866090e971c8e03bed31710aa089b32033a
!!! Expected: c4c8b8684e68f4380766aa9ed3f9478d04d846371d3bba6512ba8d78816605cad4495f71d11d115ff0e73741788af026ab2b77abf71eefae24bba08094863429
Refetching... File renamed to '/var/cache/distfiles/0001-surface3-oemb.patch._checksum_failure_.cpf30gcl'

!!! Couldn't download '0001-surface3-oemb.patch'. Aborting.
 * Fetch failed for 'sys-kernel/surface-sources-5.11.16', Log file:
 *  '/var/tmp/portage/sys-kernel/surface-sources-5.11.16/temp/build.log'

iptsd-0.4

this is the result if I try iptsd:

ninja -v -j7 -l0 -C /var/tmp/portage/sys-firmware/iptsd-0.4/work/iptsd-0.4-10:41:03
ninja: Entering directory `/var/tmp/portage/sys-firmware/iptsd-0.4/work/iptsd-0.4-build'
ninja: no work to do.

Source compiled.
Test phase [not enabled]: sys-firmware/iptsd-0.4

Install sys-firmware/iptsd-0.4 into /var/tmp/portage/sys-firmware/iptsd-0.4/image
ninja -v -j7 -l0 -C /var/tmp/portage/sys-firmware/iptsd-0.4/work/iptsd-0.4-build install DESTDIR=/var/tmp/portage/sys-firmware/iptsd-0.4/image
ninja: Entering directory `/var/tmp/portage/sys-firmware/iptsd-0.4/work/iptsd-0.4-build'
ninja: error: unknown target 'DESTDIR=/var/tmp/portage/sys-firmware/iptsd-0.4/image'

  • ERROR: sys-firmware/iptsd-0.4::linux-surface failed (install phase):
  • ninja -v -j7 -l0 -C /var/tmp/portage/sys-firmware/iptsd-0.4/work/iptsd-0.4-build install DESTDIR=/var/tmp/portage/sys-firmware/iptsd-0.4/image failed
  • Call stack:
  • ebuild.sh, line  125:  Called src_install
    
  • environment, line 2278: Called eninja '-C' '/var/tmp/portage/sys-firmware/iptsd-0.4/work/iptsd-0.4-build' 'install' 'DESTDIR=/var/tmp/portage/sys-firmware/iptsd-0.4/image'
  • environment, line 1105: Called die
  • The specific snippet of code:
  •   "$@" || die "${nonfatal_args[@]}" "${*} failed"
    
  • If you need support, post the output of emerge --info '=sys-firmware/iptsd-0.4::linux-surface',
  • the complete build log and the output of emerge -pqv '=sys-firmware/iptsd-0.4::linux-surface'.
  • The complete build log is located at '/var/tmp/portage/sys-firmware/iptsd-0.4/temp/build.log'.
  • The ebuild environment file is located at '/var/tmp/portage/sys-firmware/iptsd-0.4/temp/environment'.
  • Working directory: '/var/tmp/portage/sys-firmware/iptsd-0.4/work/iptsd-master'
  • S: '/var/tmp/portage/sys-firmware/iptsd-0.4/work/iptsd-master'

Failed to emerge sys-firmware/iptsd-0.4, Log file:

'/var/tmp/portage/sys-firmware/iptsd-0.4/temp/build.log'

  • Messages for package sys-firmware/iptsd-0.4:
    10:41:03
  • ERROR: sys-firmware/iptsd-0.4::linux-surface failed (install phase):
  • ninja -v -j7 -l0 -C /var/tmp/portage/sys-firmware/iptsd-0.4/work/iptsd-0.4-build install DESTDIR=/var/tmp/portage/sys-firmware/iptsd-0.4/image failed
  • Call stack:
  • ebuild.sh, line  125:  Called src_install
    
  • environment, line 2278: Called eninja '-C' '/var/tmp/portage/sys-firmware/iptsd-0.4/work/iptsd-0.4-build' 'install' 'DESTDIR=/var/tmp/portage/sys-firmware/iptsd-0.4/image'
  • environment, line 1105: Called die
  • The specific snippet of code:
  •   "$@" || die "${nonfatal_args[@]}" "${*} failed"
    
  • If you need support, post the output of emerge --info '=sys-firmware/iptsd-0.4::linux-surface',
  • the complete build log and the output of emerge -pqv '=sys-firmware/iptsd-0.4::linux-surface'.
  • The complete build log is located at '/var/tmp/portage/sys-firmware/iptsd-0.4/temp/build.log'.
  • The ebuild environment file is located at '/var/tmp/portage/sys-firmware/iptsd-0.4/temp/environment'.
  • Working directory: '/var/tmp/portage/sys-firmware/iptsd-0.4/work/iptsd-master'
  • S: '/var/tmp/portage/sys-firmware/iptsd-0.4/work/iptsd-master'

Emerging [BUG]

Describe the bug
I have trouble emerging iptsd1.2.0 and surface-control-9999
I have a Surface pro 7. I've gotten this all to work perfectly on an arch linux system. I would love to help if I can make this work, or maintain if needed.

To Reproduce
Steps to reproduce the behavior:
❯ sudo emerge -a iptsd surface-control

Expected behavior
A clear and concise description of what you expected to happen.

A complete build. But it stops with erros.

Additional context
Please provide ouput from the gentoo messages that come up when the build fails

❯ sudo emerge -a iptsd                

 * IMPORTANT: 1 news items need reading for repository 'gentoo-zh'.
 * IMPORTANT: 16 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 1.36 s (backtrack: 0/20).

[ebuild  N    ~] sys-firmware/iptsd-1.2.0 

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-firmware/iptsd-1.2.0::gentoo-linux-surface-overlay
>>> Unpacking source...
>>> Unpacking iptsd-1.2.0.tar.gz to /var/tmp/portage/sys-firmware/iptsd-1.2.0/work
>>> Source unpacked in /var/tmp/portage/sys-firmware/iptsd-1.2.0/work
>>> Preparing source in /var/tmp/portage/sys-firmware/iptsd-1.2.0/work/iptsd-1.2.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-firmware/iptsd-1.2.0/work/iptsd-1.2.0 ...
meson setup --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/tmp/portage/sys-firmware/iptsd-1.2.0/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false -Db_lto=false --buildtype plain /var/tmp/portage/sys-firmware/iptsd-1.2.0/work/iptsd-1.2.0 /var/tmp/portage/sys-firmware/iptsd-1.2.0/work/iptsd-1.2.0-build
The Meson build system
Version: 1.3.0
Source dir: /var/tmp/portage/sys-firmware/iptsd-1.2.0/work/iptsd-1.2.0
Build dir: /var/tmp/portage/sys-firmware/iptsd-1.2.0/work/iptsd-1.2.0-build
Build type: native build
Project name: iptsd
Project version: 1.2.0
C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 13.2.1 "x86_64-pc-linux-gnu-gcc (Gentoo 13.2.1_p20230826 p7) 13.2.1 20230826")
C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.41
C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ (gcc 13.2.1 "x86_64-pc-linux-gnu-g++ (Gentoo 13.2.1_p20230826 p7) 13.2.1 20230826")
C++ linker for the host machine: x86_64-pc-linux-gnu-g++ ld.bfd 2.41
Host machine cpu family: x86_64
Host machine cpu: x86_64
Configuring [email protected] using configuration
Configuring 50-iptsd.rules using configuration
Found pkg-config: YES (/usr/bin/x86_64-pc-linux-gnu-pkg-config) 1.8.1
Run-time dependency systemd found: YES 254
Run-time dependency udev found: YES 254
Configuring configure.h using configuration
Compiler for C++ supports arguments -Wlogical-op: YES 
Compiler for C++ supports arguments -Wmissing-include-dirs: YES 
Compiler for C++ supports arguments -Winit-self: YES 
Compiler for C++ supports arguments -Wimplicit-fallthrough: YES 
Compiler for C++ supports arguments -D_GLIBCXX_ASSERTIONS: YES 
Compiler for C++ supports arguments -DSPDLOG_FMT_EXTERNAL: YES 
Run-time dependency cli11 found: YES 2.3.2
Run-time dependency eigen3 found: YES 3.4.0
Run-time dependency fmt found: YES 9.1.0
Found CMake: /usr/bin/cmake (3.27.9)
Run-time dependency inireader found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency INIReader

src/meson.build:70:7: ERROR: Automatic wrap-based subproject downloading is disabled

A full log can be found at /var/tmp/portage/sys-firmware/iptsd-1.2.0/work/iptsd-1.2.0-build/meson-logs/meson-log.txt
 * ERROR: sys-firmware/iptsd-1.2.0::gentoo-linux-surface-overlay failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 2282:  Called meson_src_configure
 *   environment, line 1714:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 * 
 * If you need support, post the output of `emerge --info '=sys-firmware/iptsd-1.2.0::gentoo-linux-surface-overlay'`,
 * the complete build log and the output of `emerge -pqv '=sys-firmware/iptsd-1.2.0::gentoo-linux-surface-overlay'`.
 * The complete build log is located at '/var/tmp/portage/sys-firmware/iptsd-1.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-firmware/iptsd-1.2.0/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-firmware/iptsd-1.2.0/work/iptsd-1.2.0'
 * S: '/var/tmp/portage/sys-firmware/iptsd-1.2.0/work/iptsd-1.2.0'

>>> Failed to emerge sys-firmware/iptsd-1.2.0, Log file:

>>>  '/var/tmp/portage/sys-firmware/iptsd-1.2.0/temp/build.log'

 * Messages for package sys-firmware/iptsd-1.2.0:

 * ERROR: sys-firmware/iptsd-1.2.0::gentoo-linux-surface-overlay failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 2282:  Called meson_src_configure
 *   environment, line 1714:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 * 
 * If you need support, post the output of `emerge --info '=sys-firmware/iptsd-1.2.0::gentoo-linux-surface-overlay'`,
 * the complete build log and the output of `emerge -pqv '=sys-firmware/iptsd-1.2.0::gentoo-linux-surface-overlay'`.
 * The complete build log is located at '/var/tmp/portage/sys-firmware/iptsd-1.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-firmware/iptsd-1.2.0/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-firmware/iptsd-1.2.0/work/iptsd-1.2.0'
 * S: '/var/tmp/portage/sys-firmware/iptsd-1.2.0/work/iptsd-1.2.0'

~ took 8s 
❯ 

Here is the result of emerging surface-control:

❯ sudo emerge -a surface-control
...

>>> Install sys-apps/surface-control-9999 into /var/tmp/portage/sys-apps/surface-control-9999/image
 * cargo install --path ./ --root /var/tmp/portage/sys-apps/surface-control-9999/image/usr
  Installing surface v0.4.6 (/var/tmp/portage/sys-apps/surface-control-9999/work/surface-control-9999)
error: failed to compile `surface v0.4.6 (/var/tmp/portage/sys-apps/surface-control-9999/work/surface-control-9999)`, intermediate artifacts can be found at `/var/tmp/portage/sys-apps/surface-control-9999/work/surface-control-9999/target`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Caused by:
  failed to get `sdtx` as a dependency of package `surface v0.4.6 (/var/tmp/portage/sys-apps/surface-control-9999/work/surface-control-9999)`

Caused by:
  failed to load source for dependency `sdtx`

Caused by:
  Unable to update https://github.com/linux-surface/libsurfacedtx?tag=v0.1.4

Caused by:
  failed to lookup reference in preexisting repository, and can't check for updates in offline mode (--offline)

Caused by:
  failed to find tag `v0.1.4`

Caused by:
  reference 'refs/remotes/origin/tags/v0.1.4' not found; class=Reference (4); code=NotFound (-3)
 * ERROR: sys-apps/surface-control-9999::gentoo-linux-surface-overlay failed (install phase):
 *   cargo install failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_install
 *   environment, line 2504:  Called cargo_src_install
 *   environment, line 1065:  Called die
 * The specific snippet of code:
 *       "${@}" || die "cargo install failed";
 * 
 * If you need support, post the output of `emerge --info '=sys-apps/surface-control-9999::gentoo-linux-surface-overlay'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/surface-control-9999::gentoo-linux-surface-overlay'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/surface-control-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/surface-control-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/surface-control-9999/work/surface-control-9999'
 * S: '/var/tmp/portage/sys-apps/surface-control-9999/work/surface-control-9999'

>>> Failed to emerge sys-apps/surface-control-9999, Log file:

>>>  '/var/tmp/portage/sys-apps/surface-control-9999/temp/build.log'

 * Messages for package sys-apps/surface-control-9999:

 * ERROR: sys-apps/surface-control-9999::gentoo-linux-surface-overlay failed (install phase):
 *   cargo install failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_install
 *   environment, line 2504:  Called cargo_src_install
 *   environment, line 1065:  Called die
 * The specific snippet of code:
 *       "${@}" || die "cargo install failed";
 * 
 * If you need support, post the output of `emerge --info '=sys-apps/surface-control-9999::gentoo-linux-surface-overlay'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/surface-control-9999::gentoo-linux-surface-overlay'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/surface-control-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/surface-control-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/surface-control-9999/work/surface-control-9999'
 * S: '/var/tmp/portage/sys-apps/surface-control-9999/work/surface-control-9999'

~ took 27s 

[BUG] Failed to emerge sys-kernel/surface-sources-5.15.3

Describe the bug
I think I'm having a similar problem when I emerge --ask sys-kernel/surface-sources

I'm currently using surface-sources-5.13.13 and my device is surface book 2 (i7-8650u+GTX1060).

To Reproduce
emerge --ask sys-kernel/surface-sources

Expected behavior

 * ERROR: sys-kernel/surface-sources-5.15.3::linux-surface failed (prepare phase):
 *   patch -p1  failed with /tmp/portage/sys-kernel/surface-sources-5.15.3/files/5.15/0010-cameras.patch
 *
 * Call stack:
 *               ebuild.sh, line  127:  Called src_prepare
 *             environment, line 1812:  Called eapply '/tmp/portage/sys-kernel/surface-sources-5.15.3/files/5.15/0010-cameras.patch'
 *             environment, line  687:  Called _eapply_patch '/tmp/portage/sys-kernel/surface-sources-5.15.3/files/5.15/0010-cameras.patch'
 *             environment, line  625:  Called __helpers_die 'patch -p1  failed with /tmp/portage/sys-kernel/surface-sources-5.15.3/files/5.15/0010-cameras.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *   		die "$@"

Additional context
complete build log

 * Package:    sys-kernel/surface-sources-5.15.3
 * Repository: linux-surface
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * 
 * surface-sources is *not* supported by the Gentoo Kernel Project in any way.
 * If you need support, please contact the overlay developers directly.
 * Do *not* open bugs in Gentoo's bugzilla unless you have issues with
 * the ebuilds. Thank you.
 * 
 * Excluding Patch #5010_enable-additional-cpu-optimizations-for-gcc.patch ...
 [ ok ]
 * Excluding Patch #5010_enable-additional-cpu-optimizations-for-gcc-4.9.patch ...
 [ ok ]
 * Excluding Patch #5011_enable-cpu-optimizations-for-gcc8.patch ...
 [ ok ]
 * Excluding Patch #5012_enable-cpu-optimizations-for-gcc91.patch ...
 [ ok ]
 * Excluding Patch #5013_enable-cpu-optimizations-for-gcc10.patch ...
 [ ok ]
 * Excluding Patch #5010_enable-additional-cpu-optimizations-for-gcc.patch ...
 [ ok ]
 * Excluding Patch #5010_enable-additional-cpu-optimizations-for-gcc-4.9.patch ...
 [ ok ]
 * Excluding Patch #5011_enable-cpu-optimizations-for-gcc8.patch ...
 [ ok ]
 * Excluding Patch #5012_enable-cpu-optimizations-for-gcc91.patch ...
 [ ok ]
 * Excluding Patch #5013_enable-cpu-optimizations-for-gcc10.patch ...
 [ ok ]
 * Applying 1000_linux-5.15.1.patch (-p1) ...
 [ ok ]
 * Applying 1001_linux-5.15.2.patch (-p1) ...
 [ ok ]
 * Applying 1002_linux-5.15.3.patch (-p1) ...
 [ ok ]
 * Applying 1500_XATTR_USER_PREFIX.patch (-p1) ...
 [ ok ]
 * Applying 1510_fs-enable-link-security-restrictions-by-default.patch (-p1) ...
 [ ok ]
 * Applying 2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch (-p1) ...
 [ ok ]
 * Applying 2900_tmp513-Fix-build-issue-by-selecting-CONFIG_REG.patch (-p1) ...
 [ ok ]
 * Applying 2920_sign-file-patch-for-libressl.patch (-p1) ...
 [ ok ]
 * Applying 3000_Support-printing-firmware-info.patch (-p1) ...
 [ ok ]
 * Applying 4567_distro-Gentoo-Kconfig.patch (-p1) ...
 [ ok ]
 * Applying 0001-surface3-oemb.patch ...
 [ ok ]
 * Applying 0002-mwifiex.patch ...
patching file drivers/net/wireless/marvell/mwifiex/pcie.c
patching file drivers/net/wireless/marvell/mwifiex/pcie_quirks.c
patching file drivers/net/wireless/marvell/mwifiex/pcie_quirks.h
patching file drivers/net/wireless/marvell/mwifiex/pcie_quirks.c
patching file drivers/net/wireless/marvell/mwifiex/pcie.c
patching file drivers/net/wireless/marvell/mwifiex/pcie_quirks.c
patching file drivers/net/wireless/marvell/mwifiex/pcie_quirks.h
patching file drivers/net/wireless/marvell/mwifiex/pcie.c
patching file drivers/net/wireless/marvell/mwifiex/pcie_quirks.c
patching file drivers/net/wireless/marvell/mwifiex/pcie_quirks.h
patching file drivers/bluetooth/btusb.c
Hunk #3 succeeded at 3815 (offset -4 lines).
patching file drivers/net/wireless/marvell/mwifiex/cfg80211.c
patching file drivers/net/wireless/marvell/mwifiex/pcie.c
patching file drivers/net/wireless/marvell/mwifiex/cfg80211.c
patching file drivers/net/wireless/marvell/mwifiex/cfg80211.c
patching file drivers/net/wireless/marvell/mwifiex/cfg80211.c
patching file drivers/net/wireless/marvell/mwifiex/cfg80211.c
patching file drivers/net/wireless/marvell/mwifiex/cfg80211.c
patching file drivers/net/wireless/marvell/mwifiex/cfg80211.c
patching file drivers/net/wireless/marvell/mwifiex/cmdevt.c
patching file drivers/net/wireless/marvell/mwifiex/main.c
patching file drivers/net/wireless/marvell/mwifiex/main.h
patching file drivers/net/wireless/marvell/mwifiex/sta_cmd.c
patching file drivers/net/wireless/marvell/mwifiex/main.c
patching file drivers/net/wireless/marvell/mwifiex/main.h
patching file drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c
patching file drivers/net/wireless/marvell/mwifiex/cfg80211.c
patching file drivers/net/wireless/marvell/mwifiex/cfg80211.c
patching file drivers/net/wireless/marvell/mwifiex/11n.c
patching file drivers/net/wireless/marvell/mwifiex/sta_event.c
 [ ok ]
 * Applying 0003-ath10k.patch ...
 [ ok ]
 * Applying 0004-ipts.patch ...
 [ ok ]
 * Applying 0005-surface-sam.patch ...
patching file drivers/platform/surface/surface_aggregator_registry.c
patching file drivers/platform/surface/aggregator/bus.c
patching file drivers/platform/surface/aggregator/bus.h
patching file drivers/platform/surface/aggregator/core.c
patching file include/linux/surface_aggregator/device.h
patching file drivers/platform/surface/surface_aggregator_registry.c
patching file drivers/platform/surface/surface_aggregator_registry.c
patching file drivers/platform/surface/aggregator/bus.c
patching file include/linux/surface_aggregator/device.h
patching file Documentation/driver-api/surface_aggregator/client.rst
patching file drivers/platform/surface/aggregator/controller.c
patching file include/linux/surface_aggregator/controller.h
patching file include/linux/surface_aggregator/device.h
patching file drivers/platform/surface/surface_aggregator_registry.c
patching file drivers/power/supply/surface_charger.c
patching file drivers/power/supply/surface_battery.c
patching file drivers/hid/surface-hid/surface_hid_core.c
patching file include/linux/surface_aggregator/serial_hub.h
patching file drivers/platform/surface/surface_aggregator_registry.c
patching file drivers/platform/surface/surface_aggregator_registry.c
patching file MAINTAINERS
patching file drivers/platform/surface/Kconfig
patching file drivers/platform/surface/Makefile
patching file drivers/platform/surface/surface_kip_tablet_switch.c
patching file drivers/platform/surface/surface_aggregator_registry.c
 [ ok ]
 * Applying 0006-surface-sam-over-hid.patch ...
 [ ok ]
 * Applying 0007-surface-gpe.patch ...
 [ ok ]
 * Applying 0008-surface-button.patch ...
 [ ok ]
 * Applying 0009-surface-typecover.patch ...
 [ ok ]
 * Applying 0010-cameras.patch ...
patching file drivers/media/pci/intel/ipu3/ipu3-cio2-main.c
patching file MAINTAINERS
patching file drivers/media/i2c/Kconfig
patching file drivers/media/i2c/Makefile
patching file drivers/media/i2c/ov5693.c
patching file drivers/media/pci/intel/ipu3/cio2-bridge.c
patching file drivers/media/pci/intel/ipu3/cio2-bridge.h
patching file drivers/media/pci/intel/ipu3/cio2-bridge.c
patching file drivers/media/pci/intel/ipu3/cio2-bridge.h
patching file drivers/media/pci/intel/ipu3/cio2-bridge.h
patching file drivers/media/i2c/ov5693.c
patching file drivers/media/i2c/ov8865.c
patching file drivers/media/i2c/ov8865.c
patching file drivers/media/i2c/ov8865.c
patching file drivers/media/i2c/ov8865.c
patching file drivers/media/i2c/ov8865.c
patching file drivers/media/i2c/ov8865.c
patching file drivers/media/i2c/ov8865.c
patching file drivers/media/i2c/ov8865.c
patching file drivers/media/i2c/ov8865.c
patching file drivers/media/i2c/ov8865.c
patching file drivers/media/i2c/ov8865.c
patching file drivers/media/i2c/ov8865.c
patching file drivers/media/i2c/ov8865.c
patching file drivers/media/i2c/ov8865.c
patching file drivers/media/pci/intel/ipu3/cio2-bridge.c
patching file drivers/media/i2c/ov8865.c
patching file drivers/acpi/scan.c
patching file include/acpi/acpi_bus.h
patching file drivers/i2c/i2c-core-acpi.c
patching file include/linux/platform_data/tps68470.h
patching file drivers/regulator/Kconfig
patching file drivers/regulator/Makefile
patching file drivers/regulator/tps68470-regulator.c
patching file drivers/clk/Kconfig
patching file drivers/clk/Makefile
patching file drivers/clk/clk-tps68470.c
patching file include/linux/mfd/tps68470.h
patching file drivers/platform/x86/intel/int3472/intel_skl_int3472_tps68470.c
patching file drivers/platform/x86/intel/int3472/Makefile
patching file drivers/platform/x86/intel/int3472/clk_and_regulator.c (renamed from drivers/platform/x86/intel/int3472/intel_skl_int3472_clk_and_regulator.c)
patching file drivers/platform/x86/intel/int3472/common.c
patching file drivers/platform/x86/intel/int3472/common.h (renamed from drivers/platform/x86/intel/int3472/intel_skl_int3472_common.h)
patching file drivers/platform/x86/intel/int3472/discrete.c (renamed from drivers/platform/x86/intel/int3472/intel_skl_int3472_discrete.c)
patching file drivers/platform/x86/intel/int3472/tps68470.c (renamed from drivers/platform/x86/intel/int3472/intel_skl_int3472_tps68470.c)
Hunk #2 succeeded at 95 (offset -7 lines).
Hunk #3 succeeded at 135 (offset -7 lines).
patching file drivers/platform/x86/intel/int3472/common.c
can't find file to patch at input line 4668
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/drivers/platform/x86/intel/int3472/common.h b/drivers/platform/x86/intel/int3472/common.h
|index d14944ee8586..53270d19c73a 100644
|--- a/drivers/platform/x86/intel/int3472/common.h
|+++ b/drivers/platform/x86/intel/int3472/common.h
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 4682
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/drivers/platform/x86/intel/int3472/discrete.c b/drivers/platform/x86/intel/int3472/discrete.c
|index a19a1f5dbdd7..efd31a0c7a88 100644
|--- a/drivers/platform/x86/intel/int3472/discrete.c
|+++ b/drivers/platform/x86/intel/int3472/discrete.c
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 4740
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|-- 
|2.34.1
|
|From c2c331a5b417f82997b886919e334957b98ff44a Mon Sep 17 00:00:00 2001
|From: Hans de Goede <[email protected]>
|Date: Sun, 10 Oct 2021 20:57:05 +0200
|Subject: [PATCH] platform/x86: int3472: Pass tps68470_clk_platform_data to the
| tps68470-regulator MFD-cell
|
|Pass tps68470_clk_platform_data to the tps68470-clk MFD-cell,
|so that sensors which use the TPS68470 can find their clock.
|
|Signed-off-by: Hans de Goede <[email protected]>
|Patchset: cameras
|---
| drivers/platform/x86/intel/int3472/tps68470.c | 33 ++++++++++++++-----
| 1 file changed, 25 insertions(+), 8 deletions(-)
|
|diff --git a/drivers/platform/x86/intel/int3472/tps68470.c b/drivers/platform/x86/intel/int3472/tps68470.c
|index b94cf66ab61f..78e34e7b6969 100644
|--- a/drivers/platform/x86/intel/int3472/tps68470.c
|+++ b/drivers/platform/x86/intel/int3472/tps68470.c
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored
patching file drivers/platform/x86/intel/int3472/Makefile
patching file drivers/platform/x86/intel/int3472/tps68470.c
Hunk #1 succeeded at 8 (offset -1 lines).
Hunk #2 FAILED at 101.
Hunk #3 FAILED at 129.
Hunk #4 FAILED at 137.
Hunk #5 FAILED at 144.
Hunk #6 succeeded at 137 (offset -24 lines).
4 out of 6 hunks FAILED -- saving rejects to file drivers/platform/x86/intel/int3472/tps68470.c.rej
patching file drivers/platform/x86/intel/int3472/tps68470.h
patching file drivers/platform/x86/intel/int3472/tps68470_board_data.c
patching file drivers/platform/x86/intel/int3472/discrete.c
Hunk #1 succeeded at 182 with fuzz 1 (offset -198 lines).
patching file drivers/platform/x86/intel/int3472/tps68470.c
Hunk #1 succeeded at 134 (offset -39 lines).
Hunk #2 succeeded at 173 (offset -39 lines).
patching file drivers/media/i2c/ov8865.c
patching file drivers/media/i2c/ov8865.c
patching file drivers/mfd/intel-lpss-pci.c
patching file drivers/mfd/intel-lpss.c
patching file drivers/mfd/intel-lpss.h
patching file drivers/platform/x86/intel/int3472/tps68470_board_data.c
 [ !! ]
 * ERROR: sys-kernel/surface-sources-5.15.3::linux-surface failed (prepare phase):
 *   patch -p1  failed with /tmp/portage/sys-kernel/surface-sources-5.15.3/files/5.15/0010-cameras.patch
 * 
 * Call stack:
 *               ebuild.sh, line  127:  Called src_prepare
 *             environment, line 1812:  Called eapply '/tmp/portage/sys-kernel/surface-sources-5.15.3/files/5.15/0010-cameras.patch'
 *             environment, line  687:  Called _eapply_patch '/tmp/portage/sys-kernel/surface-sources-5.15.3/files/5.15/0010-cameras.patch'
 *             environment, line  625:  Called __helpers_die 'patch -p1  failed with /tmp/portage/sys-kernel/surface-sources-5.15.3/files/5.15/0010-cameras.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=sys-kernel/surface-sources-5.15.3::linux-surface'`,
 * the complete build log and the output of `emerge -pqv '=sys-kernel/surface-sources-5.15.3::linux-surface'`.
 * The complete build log is located at '/tmp/portage/sys-kernel/surface-sources-5.15.3/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/sys-kernel/surface-sources-5.15.3/temp/environment'.
 * Working directory: '/tmp/portage/sys-kernel/surface-sources-5.15.3/work/linux-5.15.3-surface'
 * S: '/tmp/portage/sys-kernel/surface-sources-5.15.3/work/linux-5.15.3-surface'

layman support

root@welle:~> layman -a linux-surface

  • Adding overlay...

  • Exception: Overlay "linux-surface" does not exist.

  • CLI: Errors occurred processing action add

  • Exception: Overlay "linux-surface" does not exist.

root@welle:~>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.