شما هنوز به سیستم وارد نشده اید.

#1 2016-07-29 01:08:50

enghamid
عضو
از : Tehran
ثبت شده: 2016-06-17
ارسال ها: 238
وب سایت

(حل شد)A failure occurred in build(). Aborting

با سلام و عرض ادب فراوان
این مشکل در سیستم عامل مانجارو اتفاق افتاده و چند باری بهش برخوردم و برای مورد اخر چاره ای جز مطرح کردنش نداشتم

[hamid@Hamid ~]$ yaourt synapt
1 extra/xf86-input-synaptics 1.8.99.1-0.1 (xorg-drivers xorg)
    Synaptics driver for notebook touchpads
2 community/libsynaptics 0.14.6c-7
    Library for accessing synaptics touchpads
3 aur/synaptics-led 4.6-2 (9) (0.00)
    Synaptics LED enabled psmouse kernel module
4 aur/touchpad-toggle 1-1 (0) (0.00)
    Script to toggle the touchpad; see 
    https://wiki.archlinux.org/index.php/Touchpad_Synaptics#Software_toggle. Use 
    desktop environment to set keyboard shortcut.
5 aur/xf86-input-synaptics-gesturesonly 1.8.2-1 (1) (0.00)
    Synaptics driver for notebook touchpads
6 aur/xf86-input-synaptics-git 1.8.0.r25.gfc9f490-1 (Out of Date) (9) (0.00)
    Synaptics driver for notebook touchpads
7 aur/xf86-input-synaptics-led 1.7.8-1 (0) (0.00)
    Synaptics driver for notebook touchpads (with LED disable support)
8 aur/xf86-input-synaptics-xswipe-git r1464.8cc57ce-2 (11) (0.35)
    Synaptics driver for notebook touchpads - Forked branch with -m flag forward 
    ported and 4/5 finger detectable
==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
==> -------------------------------------------------------
==> 7


==> Downloading xf86-input-synaptics-led PKGBUILD from AUR...
x .SRCINFO
x PKGBUILD
x led_support.patch
dhemaseka commented on 2016-02-13 11:22			 
hi vantu5z,
my touchpad's led still not working

xinput:
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ MOSART Semi. Wireless Mouse             	id=9	[slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad              	id=12	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
↳ Power Button                            	id=6	[slave  keyboard (3)]
↳ Video Bus                               	id=7	[slave  keyboard (3)]
↳ Power Button                            	id=8	[slave  keyboard (3)]
↳ HP Truevision HD                        	id=10	[slave  keyboard (3)]
↳ AT Translated Set 2 keyboard            	id=11	[slave  keyboard (3)]
↳ HP WMI hotkeys                          	id=13	[slave  keyboard (3)]
↳ HP Wireless hotkeys                     	id=14	[slave  keyboard (3)]

dmesg | grep pnp:
[    0.675031] pnp: PnP ACPI init
[    0.675203] pnp 00:01: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.675280] pnp 00:03: Plug and Play ACPI device, IDs HPQ8001 PNP0303 (active)
[    0.675307] pnp 00:04: Plug and Play ACPI device, IDs SYN1e6a SYN1e00 SYN0002 PNP0f13 (active)
[    0.675712] pnp: PnP ACPI: found 7 devices

cat /var/log/Xorg.0.log | grep syna:
[    17.623] (II) LoadModule: "synaptics"
[    17.623] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    17.642] (II) Module synaptics: vendor="X.Org Foundation"
[    17.642] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[    17.710] (II) synaptics: SynPS/2 Synaptics TouchPad: ignoring touch events for semi-multitouch device
[    17.710] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1234 - 5730 (res 47)
[    17.710] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 934 - 4966 (res 94)
[    17.710] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[    17.710] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[    17.710] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple
[    17.710] (II) synaptics: SynPS/2 Synaptics TouchPad: led: checking for access to /sys/class/leds/psmouse::synaptics/brightness
[    17.710] (II) synaptics: SynPS/2 Synaptics TouchPad: led: no access
[    17.710] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[    17.710] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    17.740] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[    17.740] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[    17.740] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.033
[    17.740] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found

and a question again, what exactly your driver do? Is it just make the led work or I can disable my touchpad with double-clicking top-left edge of my touchpad too? (I can do that in windows). Thanks anyway

vantu5z commented on 2016-02-28 02:38			 
Hi, dhemaseka!
Do you have only one kernel installed?
This command:
find /usr/lib/modules -name version | sed 's|\/usr\/lib\/modules\/||; s|\/version||'
have to give only one dir, if not, you have to edit "synaptics-led" PKGBUILD and set dir where to install "psmouse.ko.gz".

If somebody know how to make "psmouse.ko.gz" installed to every extramodules dir, it will be great.

That is not my driver, i just apply patch to newer version.
xf86-input-synaptics-led  work with  synaptics-led  and make possible the led work and can disable/enable touchpad with double-clicking top-left edge of touchpad.

dhemaseka commented on 2016-03-12 12:29			 
Sorry for a late reply,
Yes, I only have one kernel installed.
Here the output of that command:
extramodules-4.4-ARCH

And now I cant use my touchpad, it said no driver loaded. I really want this driver work but I dont know what to do

SubZ3r0 commented on 2016-03-15 16:43			 
Hi guys i tried to install these package in manjaro with kernel 4.4.5-1 and had this error:

make: Entering directory '/usr/lib/modules/4.4.5-1-MANJARO/build'
make: *** No rule to make target 'psmouse.ko'.  Stop.
make: Leaving directory '/usr/lib/modules/4.4.5-1-MANJARO/build'
== ERRO: Uma falha ocorreu em build().
A cancelar...
== ERROR: Makepkg was unable to build synaptics-led.
== Restart building synaptics-led ? [y/N]


Can you help me ?

Best Regards,

vantu5z commented on 2016-07-02 07:43			 
dhemaseka, please show: modinfo psmouse

And try to change line in led_support.patch, that force check of led support:
priv-synpara.has_led = !access(SYNAPTICS_LED_SYS_FILE, W_OK);
to
priv-synpara.has_led = 1;

xf86-input-synaptics-led 1.7.8-1  (2016-04-03 08:34)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> xf86-input-synaptics-led dependencies:
 - libxtst (already installed)
 - mtdev (already installed)
 - libxi (already installed) [makedepend]
 - libx11 (already installed) [makedepend]
 - synaptics-led (building from AUR)
 - xorg-server-devel (package found) [makedepend]
 - resourceproto (package found) [makedepend]


==> Continue building xf86-input-synaptics-led ? [Y/n]
==> --------------------------------------------------
==> y

==> Building and installing package
==> Install or build missing dependencies for xf86-input-synaptics-led:
[sudo] password for hamid: 
resolving dependencies...
looking for conflicting packages...

Packages (8) dri2proto-2.8-2  dri3proto-1.0-1  glproto-1.4.17-1  presentproto-1.0-1
             xf86driproto-2.1.1-3  xorg-util-macros-1.19.0-1  resourceproto-1.2.0-3
             xorg-server-devel-1.17.4-3.1

Total Download Size:   0.26 MiB
Total Installed Size:  1.69 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 xf86driproto-2.1.1-3-any     3.9 KiB  10.4K/s 00:00 [###########################] 100%
 glproto-1.4.17-1-any        16.1 KiB  20.7K/s 00:01 [###########################] 100%
 dri2proto-2.8-2-any          9.6 KiB  14.8K/s 00:01 [###########################] 100%
 dri3proto-1.0-1-any          5.2 KiB  16.5K/s 00:00 [###########################] 100%
 resourceproto-1.2.0-3-any    7.9 KiB  34.8K/s 00:00 [###########################] 100%
 presentproto-1.0-1-any       8.9 KiB  12.3K/s 00:01 [###########################] 100%
 xorg-util-macros-1.19...    21.4 KiB  21.0K/s 00:01 [###########################] 100%
 xorg-server-devel-1.1...   198.4 KiB  47.0K/s 00:04 [###########################] 100%
(8/8) checking keys in keyring                       [###########################] 100%
(8/8) checking package integrity                     [###########################] 100%
(8/8) loading package files                          [###########################] 100%
(8/8) checking for file conflicts                    [###########################] 100%
(8/8) checking available disk space                  [###########################] 100%
:: Processing package changes...
(1/8) installing xf86driproto                        [###########################] 100%
(2/8) installing glproto                             [###########################] 100%
(3/8) installing dri2proto                           [###########################] 100%
(4/8) installing dri3proto                           [###########################] 100%
(5/8) installing resourceproto                       [###########################] 100%
(6/8) installing presentproto                        [###########################] 100%
(7/8) installing xorg-util-macros                    [###########################] 100%
(8/8) installing xorg-server-devel                   [###########################] 100%

==> Downloading synaptics-led PKGBUILD from AUR...
x .SRCINFO
x 0003-patch_for_kernel_4.patch
x PKGBUILD
x SHA256SUMS_for_4
x SHA256SUMS_for_4.4
x synaptics-led.install
nbsp commented on 2015-04-02 23:09			 
Looks like that error is due to:
http://allanmcrae.com/2014/12/pacman-4-2-released/

I fixed this by changing:

make -C "/lib/modules/$_cur_kernel/build" M="$PWD" psmouse.ko
to
make -C "/usr/lib/modules/$_cur_kernel/build" M="$PWD" psmouse.ko

and

"$pkgdir/lib/modules/$_cur_kernel/extramodules/psmouse.ko.gz"
to
"$pkgdir/usr/lib/modules/extramodules-3.19-ARCH/psmouse.ko.gz"

I'm not sure about how extramodules line /should/ be done, but that works for me..

vantu5z commented on 2015-06-04 09:40			 
Get this error when try to install with kernel 4.0:

/tmp/yaourt-tmp-vantu5z/aur-synaptics-led/src/drivers/input/mouse/cypress_ps2.c: В функции «cypress_process_packet»:
/tmp/yaourt-tmp-vantu5z/aur-synaptics-led/src/drivers/input/mouse/cypress_ps2.c:552:2: ошибка: слишком мало аргументов в вызове функции «input_mt_assign_slots»
input_mt_assign_slots(input, slots, pos, n);

SubZ3r0 commented on 2016-03-15 16:26			 
Hi guys, i tried to install this package in kernel 4.4.5-1 in Manjaro and i get errors:

- Building psmouse.ko
make: Entering directory '/usr/lib/modules/4.4.5-1-MANJARO/build'
make: *** No rule to make target 'psmouse.ko'.  Stop.
make: Leaving directory '/usr/lib/modules/4.4.5-1-MANJARO/build'
== ERRO: Uma falha ocorreu em build().
A cancelar...
== ERROR: Makepkg was unable to build synaptics-led.
== Restart building synaptics-led ? [y/N]


Can you help ?


vantu5z commented on 2016-03-20 02:30			 
SubZ3r0, package updated, try it.

SubZ3r0 commented on 2016-06-10 21:14			 
Hi there vantu5z, still errors:

patching file Kconfig
patching file synaptics.c
Hunk #2 succeeded at 660 (offset 10 lines).
Hunk #3 succeeded at 1438 (offset 9 lines).
Hunk #4 succeeded at 1496 (offset 9 lines).
Hunk #5 succeeded at 1629 with fuzz 2 (offset -3 lines).
patching file synaptics.h
Hunk #2 succeeded at 199 (offset 1 line).
- Building psmouse.ko
make: Entering directory '/usr/lib/modules/4.4.12-1-MANJARO/build'
make: *** No rule to make target 'psmouse.ko'.  Stop.
make: Leaving directory '/usr/lib/modules/4.4.12-1-MANJARO/build'
== ERRO: Uma falha ocorreu em build().
A cancelar...
== ERRO: Makepkg não conseguiu compilar synaptics-led.
== Reiniciar a compilação de synaptics-led ? [s/N]


Manjaro 16.06 kernel 4.4.12-1-MANJARO

Best Regards,

SubZ3r0

synaptics-led 4.6-2  (2016-07-15 19:08)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> synaptics-led dependencies:
 - linux (already installed)
 - git (already installed) [makedepend]
 - linux-headers (package found) [makedepend]


==> Edit synaptics-led.install ? [Y/n] ("A" to abort)
==> -------------------------------------------------
==> n

==> Continue building synaptics-led ? [Y/n]
==> ---------------------------------------
==> y

==> Building and installing package
==> Install or build missing dependencies for synaptics-led:
resolving dependencies...
looking for conflicting packages...

Packages (1) linux310-headers-3.10.102-1

Total Download Size:    5.72 MiB
Total Installed Size:  39.97 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 linux310-headers-3.10...     5.7 MiB  14.8K/s 06:36 [###########################] 100%
(1/1) checking keys in keyring                       [###########################] 100%
(1/1) checking package integrity                     [###########################] 100%
(1/1) loading package files                          [###########################] 100%
(1/1) checking for file conflicts                    [###########################] 100%
(1/1) checking available disk space                  [###########################] 100%
:: Processing package changes...
(1/1) installing linux310-headers                    [###########################] 100%
==> Making package: synaptics-led 4.6-2 (Fri Jul 29 01:01:23 IRDT 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found SHA256SUMS_for_4
  -> Found synaptics-led.install
  -> Found 0003-patch_for_kernel_4.patch
==> Validating source files with sha256sums...
    SHA256SUMS_for_4 ... Passed
    synaptics-led.install ... Passed
    0003-patch_for_kernel_4.patch ... Passed
==> Extracting sources...
==> Starting build()...
  -> Getting source from git://repo.or.cz/linux.git
  -> Performing Integrity Check
  -> Patching source
patching file Kconfig
Hunk #1 succeeded at 88 (offset 10 lines).
patching file synaptics.c
Hunk #2 succeeded at 660 (offset 10 lines).
Hunk #3 succeeded at 1438 (offset 9 lines).
Hunk #4 succeeded at 1496 (offset 9 lines).
Hunk #5 succeeded at 1629 with fuzz 2 (offset -3 lines).
patching file synaptics.h
Hunk #2 succeeded at 199 (offset 1 line).
  -> Building psmouse.ko
make: Entering directory '/usr/lib/modules/4.4.15-3-MANJARO/build'
make: *** No rule to make target 'psmouse.ko'.  Stop.
make: Leaving directory '/usr/lib/modules/4.4.15-3-MANJARO/build'
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build synaptics-led.
==> Restart building synaptics-led ? [y/N]
==> --------------------------------------
==> 

نه تنها در نصب این برنامه بلکه تو جاهای دیگه هم بهش برخوردم

آخرین ویرایش توسط enghamid (2016-07-29 15:08:36)


وسعت دنیای هر کس به اندازه تفکر اوست
آدم های  بزرگ  دنیای  بزرگی  دارند
کسی را با کوتاه  فکری از خود نمی رنجانند
http://enghamid.ir

آفلاین

#2 2016-07-29 11:57:03

TUX
عضو
ثبت شده: 2016-01-31
ارسال ها: 83

پاسخ: (حل شد)A failure occurred in build(). Aborting

به احتمال زیاد مجموعه بسته های base-devel کامل نصب نیست رو سیستمتون

sudo pacman -S base-devel

آفلاین

#3 2016-07-30 00:18:20

Arcush
Moderator
ثبت شده: 2015-09-15
ارسال ها: 1,292

پاسخ: (حل شد)A failure occurred in build(). Aborting

حمید عزیز، خوشحالم که حل شده. لطفا خروجی این رو بذارید:

$ bacman synaptics-led

آفلاین

#4 2016-07-30 22:07:03

enghamid
عضو
از : Tehran
ثبت شده: 2016-06-17
ارسال ها: 238
وب سایت

پاسخ: (حل شد)A failure occurred in build(). Aborting

Arcush نوشته است که:

حمید عزیز، خوشحالم که حل شده. لطفا خروجی این رو بذارید:

$ bacman synaptics-led

این برنامه مشکل داشت بطور کامل حذف نموده ام


وسعت دنیای هر کس به اندازه تفکر اوست
آدم های  بزرگ  دنیای  بزرگی  دارند
کسی را با کوتاه  فکری از خود نمی رنجانند
http://enghamid.ir

آفلاین

#5 2016-08-02 02:43:26

Риал Краесис
عضو
از : تهران
ثبت شده: 2015-09-16
ارسال ها: 309

پاسخ: (حل شد)A failure occurred in build(). Aborting

enghamid نوشته است که:
Arcush نوشته است که:

حمید عزیز، خوشحالم که حل شده. لطفا خروجی این رو بذارید:

$ bacman synaptics-led

این برنامه مشکل داشت بطور کامل حذف نموده ام

من نصب دارم و بدون مشکل کار میکنه! 
احتمالش هست مشکل از ریپو مانجارو باشه.
اگه مایل باشی میتونم بسته کامپایل شده رو بهت بدم نصب کنی!


*** I FIGHT FOR USERS ***

آفلاین

#6 2016-08-02 10:32:55

Arcush
Moderator
ثبت شده: 2015-09-15
ارسال ها: 1,292

پاسخ: (حل شد)A failure occurred in build(). Aborting

بسته توی aurئه. در آرچ مشکلی نیست. به نظر، بخاطر عقب بودن کرنل پیشفرض مانجارو توی تاریخ تاپیک هست (اینجا هم مشکل نصب در مانجارو گزارش شده: https://aur.archlinux.org/pkgbase/synap … ments=all). چون حمید گفت حل شده، برای من جالب بود که چطوری نصب کرده و برای همین ازش خواستم روی سیستم خودش ریپرودیوس کنه بسته رو (3#) که مشخص بشه با چه کرنلی تونسته نصب کنه.

آفلاین

پانوشت انجمن

پشتیبانی توسط تیم آرچ لینوکس ایران و نیرو گرفته با FluxBB