Package Details: scantool 2.1-1

Git Clone URL: https://aur.archlinux.org/scantool.git (read-only, click to copy)
Package Base: scantool
Description: OBD-II vehicle diagnostic scanner
Upstream URL: https://github.com/kees/scantool
Licenses: GPL
Submitter: xantares
Maintainer: xantares
Last Packager: xantares
Votes: 8
Popularity: 0.20
First Submitted: 2015-05-26 16:15
Last Updated: 2020-05-28 07:31

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

Energ0block commented on 2020-05-30 15:00

Xantares, thank you! You awesome!

xantares commented on 2020-05-28 18:38

see https://bugs.archlinux.org/task/66814

Energ0block commented on 2020-05-28 17:06

Xantares, thank you for fast patch and commit to this package.

But, I have segmentation fault (

[my@laptop ~]$ scantool
Thu May 28 23:07:40 2020
Version: 2.1 for POSIX

Initializing All Modules...
---------------------------
Initializing Allegro... OK
Segmentation fault (core dumped)

Energ0block commented on 2020-05-28 06:23

Version 2.0 and new version 2.1 doesn't compile on archlinux.

Errors:

gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Werror -DTERMIOS -o scantool main.o main_menu.o serial.o options.o sensors.o trouble_code_reader.o custom_gui.o error_handlers.o about.o reset.o -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -L/usr/lib -lalleg
/usr/bin/ld: main_menu.o:(.bss+0x0): multiple definition of `comport'; main.o:(.bss+0x0): first defined here
/usr/bin/ld: main_menu.o:(.bss+0x58): multiple definition of `is_not_genuine_scan_tool'; main.o:(.bss+0x168): first defined here
/usr/bin/ld: main_menu.o:(.bss+0x18): multiple definition of `datafile'; main.o:(.bss+0x120): first defined here
/usr/bin/ld: main_menu.o:(.bss+0xc): multiple definition of `serial_timer_running'; main.o:(.bss+0xc): first defined here
/usr/bin/ld: main_menu.o:(.bss+0x10): multiple definition of `serial_time_out'; main.o:(.bss+0x10): first defined here
/usr/bin/ld: main_menu.o:(.bss+0x20): multiple definition of `log_file_name'; main.o:(.bss+0x130): first defined here
/usr/bin/ld: main_menu.o:(.bss+0x38): multiple definition of `code_defs_file_name'; main.o:(.bss+0x148): first defined here
/usr/bin/ld: main_menu.o:(.bss+0x40): multiple definition of `data_file_name'; main.o:(.bss+0x150): first defined here
/usr/bin/ld: main_menu.o:(.bss+0x48): multiple definition of `options_file_name'; main.o:(.bss+0x158): first defined here
/usr/bin/ld: main_menu.o:(.bss+0x50): multiple definition of `display_mode'; main.o:(.bss+0x160): first defined here
/usr/bin/ld: main_menu.o:(.bss+0x54): multiple definition of `system_of_measurements'; main.o:(.bss+0x164): first defined here
/usr/bin/ld: serial.o:(.bss+0x10): multiple definition of `serial_time_out'; main.o:(.bss+0x10): first defined here
/usr/bin/ld: serial.o:(.bss+0xc): multiple definition of `serial_timer_running'; main.o:(.bss+0xc): first defined here
/usr/bin/ld: serial.o:(.bss+0x0): multiple definition of `comport'; main.o:(.bss+0x0): first defined here
/usr/bin/ld: serial.o:(.bss+0x18): multiple definition of `datafile'; main.o:(.bss+0x120): first defined here
/usr/bin/ld: serial.o:(.bss+0x20): multiple definition of `log_file_name'; main.o:(.bss+0x130): first defined here
/usr/bin/ld: serial.o:(.bss+0x38): multiple definition of `code_defs_file_name'; main.o:(.bss+0x148): first defined here
/usr/bin/ld: serial.o:(.bss+0x40): multiple definition of `data_file_name'; main.o:(.bss+0x150): first defined here
/usr/bin/ld: serial.o:(.bss+0x48): multiple definition of `options_file_name'; main.o:(.bss+0x158): first defined here
/usr/bin/ld: serial.o:(.bss+0x50): multiple definition of `display_mode'; main.o:(.bss+0x160): first defined here
/usr/bin/ld: serial.o:(.bss+0x54): multiple definition of `system_of_measurements'; main.o:(.bss+0x164): first defined here
/usr/bin/ld: serial.o:(.bss+0x58): multiple definition of `is_not_genuine_scan_tool'; main.o:(.bss+0x168): first defined here
/usr/bin/ld: options.o:(.bss+0x154): multiple definition of `system_of_measurements'; main.o:(.bss+0x164): first defined here
/usr/bin/ld: options.o:(.bss+0x150): multiple definition of `display_mode'; main.o:(.bss+0x160): first defined here
/usr/bin/ld: options.o:(.bss+0x100): multiple definition of `comport'; main.o:(.bss+0x0): first defined here
/usr/bin/ld: options.o:(.bss+0x148): multiple definition of `options_file_name'; main.o:(.bss+0x158): first defined here
/usr/bin/ld: options.o:(.bss+0x118): multiple definition of `datafile'; main.o:(.bss+0x120): first defined here
/usr/bin/ld: options.o:(.bss+0x0): multiple definition of `temp_error_buf'; main.o:(.bss+0x20): first defined here
/usr/bin/ld: options.o:(.bss+0x10c): multiple definition of `serial_timer_running'; main.o:(.bss+0xc): first defined here
/usr/bin/ld: options.o:(.bss+0x110): multiple definition of `serial_time_out'; main.o:(.bss+0x10): first defined here
/usr/bin/ld: options.o:(.bss+0x120): multiple definition of `log_file_name'; main.o:(.bss+0x130): first defined here
/usr/bin/ld: options.o:(.bss+0x138): multiple definition of `code_defs_file_name'; main.o:(.bss+0x148): first defined here
/usr/bin/ld: options.o:(.bss+0x140): multiple definition of `data_file_name'; main.o:(.bss+0x150): first defined here
/usr/bin/ld: options.o:(.bss+0x158): multiple definition of `is_not_genuine_scan_tool'; main.o:(.bss+0x168): first defined here
/usr/bin/ld: sensors.o:(.bss+0x154): multiple definition of `system_of_measurements'; main.o:(.bss+0x164): first defined here
/usr/bin/ld: sensors.o:(.bss+0x0): multiple definition of `temp_error_buf'; main.o:(.bss+0x20): first defined here
/usr/bin/ld: sensors.o:(.bss+0x100): multiple definition of `comport'; main.o:(.bss+0x0): first defined here
/usr/bin/ld: sensors.o:(.bss+0x158): multiple definition of `is_not_genuine_scan_tool'; main.o:(.bss+0x168): first defined here
/usr/bin/ld: sensors.o:(.bss+0x110): multiple definition of `serial_time_out'; main.o:(.bss+0x10): first defined here
/usr/bin/ld: sensors.o:(.bss+0x10c): multiple definition of `serial_timer_running'; main.o:(.bss+0xc): first defined here
/usr/bin/ld: sensors.o:(.bss+0x118): multiple definition of `datafile'; main.o:(.bss+0x120): first defined here
/usr/bin/ld: sensors.o:(.bss+0x120): multiple definition of `log_file_name'; main.o:(.bss+0x130): first defined here
/usr/bin/ld: sensors.o:(.bss+0x138): multiple definition of `code_defs_file_name'; main.o:(.bss+0x148): first defined here
/usr/bin/ld: sensors.o:(.bss+0x140): multiple definition of `data_file_name'; main.o:(.bss+0x150): first defined here
/usr/bin/ld: sensors.o:(.bss+0x148): multiple definition of `options_file_name'; main.o:(.bss+0x158): first defined here
/usr/bin/ld: sensors.o:(.bss+0x150): multiple definition of `display_mode'; main.o:(.bss+0x160): first defined here
/usr/bin/ld: trouble_code_reader.o:(.bss+0x118): multiple definition of `datafile'; main.o:(.bss+0x120): first defined here
/usr/bin/ld: trouble_code_reader.o:(.bss+0x138): multiple definition of `code_defs_file_name'; main.o:(.bss+0x148): first defined here
/usr/bin/ld: trouble_code_reader.o:(.bss+0x100): multiple definition of `comport'; main.o:(.bss+0x0): first defined here
/usr/bin/ld: trouble_code_reader.o:(.bss+0x0): multiple definition of `temp_error_buf'; main.o:(.bss+0x20): first defined here
/usr/bin/ld: trouble_code_reader.o:(.bss+0x110): multiple definition of `serial_time_out'; main.o:(.bss+0x10): first defined here
/usr/bin/ld: trouble_code_reader.o:(.bss+0x10c): multiple definition of `serial_timer_running'; main.o:(.bss+0xc): first defined here
/usr/bin/ld: trouble_code_reader.o:(.bss+0x120): multiple definition of `log_file_name'; main.o:(.bss+0x130): first defined here
/usr/bin/ld: trouble_code_reader.o:(.bss+0x140): multiple definition of `data_file_name'; main.o:(.bss+0x150): first defined here
/usr/bin/ld: trouble_code_reader.o:(.bss+0x148): multiple definition of `options_file_name'; main.o:(.bss+0x158): first defined here
/usr/bin/ld: trouble_code_reader.o:(.bss+0x150): multiple definition of `display_mode'; main.o:(.bss+0x160): first defined here
/usr/bin/ld: trouble_code_reader.o:(.bss+0x154): multiple definition of `system_of_measurements'; main.o:(.bss+0x164): first defined here
/usr/bin/ld: trouble_code_reader.o:(.bss+0x158): multiple definition of `is_not_genuine_scan_tool'; main.o:(.bss+0x168): first defined here
/usr/bin/ld: custom_gui.o:(.bss+0x0): multiple definition of `datafile'; main.o:(.bss+0x120): first defined here
/usr/bin/ld: custom_gui.o:(.bss+0x10): multiple definition of `log_file_name'; main.o:(.bss+0x130): first defined here
/usr/bin/ld: custom_gui.o:(.bss+0x28): multiple definition of `code_defs_file_name'; main.o:(.bss+0x148): first defined here
/usr/bin/ld: custom_gui.o:(.bss+0x30): multiple definition of `data_file_name'; main.o:(.bss+0x150): first defined here
/usr/bin/ld: custom_gui.o:(.bss+0x38): multiple definition of `options_file_name'; main.o:(.bss+0x158): first defined here
/usr/bin/ld: custom_gui.o:(.bss+0x40): multiple definition of `display_mode'; main.o:(.bss+0x160): first defined here
/usr/bin/ld: custom_gui.o:(.bss+0x44): multiple definition of `system_of_measurements'; main.o:(.bss+0x164): first defined here
/usr/bin/ld: custom_gui.o:(.bss+0x48): multiple definition of `is_not_genuine_scan_tool'; main.o:(.bss+0x168): first defined here
/usr/bin/ld: error_handlers.o:(.bss+0x100): multiple definition of `datafile'; main.o:(.bss+0x120): first defined here
/usr/bin/ld: error_handlers.o:(.bss+0x0): multiple definition of `temp_error_buf'; main.o:(.bss+0x20): first defined here
/usr/bin/ld: error_handlers.o:(.bss+0x110): multiple definition of `log_file_name'; main.o:(.bss+0x130): first defined here
/usr/bin/ld: error_handlers.o:(.bss+0x128): multiple definition of `code_defs_file_name'; main.o:(.bss+0x148): first defined here
/usr/bin/ld: error_handlers.o:(.bss+0x130): multiple definition of `data_file_name'; main.o:(.bss+0x150): first defined here
/usr/bin/ld: error_handlers.o:(.bss+0x138): multiple definition of `options_file_name'; main.o:(.bss+0x158): first defined here
/usr/bin/ld: error_handlers.o:(.bss+0x140): multiple definition of `display_mode'; main.o:(.bss+0x160): first defined here
/usr/bin/ld: error_handlers.o:(.bss+0x144): multiple definition of `system_of_measurements'; main.o:(.bss+0x164): first defined here
/usr/bin/ld: error_handlers.o:(.bss+0x148): multiple definition of `is_not_genuine_scan_tool'; main.o:(.bss+0x168): first defined here
/usr/bin/ld: about.o:(.bss+0x18): multiple definition of `datafile'; main.o:(.bss+0x120): first defined here
/usr/bin/ld: about.o:(.bss+0x0): multiple definition of `comport'; main.o:(.bss+0x0): first defined here
/usr/bin/ld: about.o:(.bss+0x10): multiple definition of `serial_time_out'; main.o:(.bss+0x10): first defined here
/usr/bin/ld: about.o:(.bss+0xc): multiple definition of `serial_timer_running'; main.o:(.bss+0xc): first defined here
/usr/bin/ld: about.o:(.bss+0x20): multiple definition of `log_file_name'; main.o:(.bss+0x130): first defined here
/usr/bin/ld: about.o:(.bss+0x38): multiple definition of `code_defs_file_name'; main.o:(.bss+0x148): first defined here
/usr/bin/ld: about.o:(.bss+0x40): multiple definition of `data_file_name'; main.o:(.bss+0x150): first defined here
/usr/bin/ld: about.o:(.bss+0x48): multiple definition of `options_file_name'; main.o:(.bss+0x158): first defined here
/usr/bin/ld: about.o:(.bss+0x50): multiple definition of `display_mode'; main.o:(.bss+0x160): first defined here
/usr/bin/ld: about.o:(.bss+0x54): multiple definition of `system_of_measurements'; main.o:(.bss+0x164): first defined here
/usr/bin/ld: about.o:(.bss+0x58): multiple definition of `is_not_genuine_scan_tool'; main.o:(.bss+0x168): first defined here
/usr/bin/ld: reset.o:(.bss+0xc): multiple definition of `serial_timer_running'; main.o:(.bss+0xc): first defined here
/usr/bin/ld: reset.o:(.bss+0x10): multiple definition of `serial_time_out'; main.o:(.bss+0x10): first defined here
/usr/bin/ld: reset.o:(.bss+0x58): multiple definition of `is_not_genuine_scan_tool'; main.o:(.bss+0x168): first defined here
/usr/bin/ld: reset.o:(.bss+0x0): multiple definition of `comport'; main.o:(.bss+0x0): first defined here
/usr/bin/ld: reset.o:(.bss+0x18): multiple definition of `datafile'; main.o:(.bss+0x120): first defined here
/usr/bin/ld: reset.o:(.bss+0x20): multiple definition of `log_file_name'; main.o:(.bss+0x130): first defined here
/usr/bin/ld: reset.o:(.bss+0x38): multiple definition of `code_defs_file_name'; main.o:(.bss+0x148): first defined here
/usr/bin/ld: reset.o:(.bss+0x40): multiple definition of `data_file_name'; main.o:(.bss+0x150): first defined here
/usr/bin/ld: reset.o:(.bss+0x48): multiple definition of `options_file_name'; main.o:(.bss+0x158): first defined here
/usr/bin/ld: reset.o:(.bss+0x50): multiple definition of `display_mode'; main.o:(.bss+0x160): first defined here
/usr/bin/ld: reset.o:(.bss+0x54): multiple definition of `system_of_measurements'; main.o:(.bss+0x164): first defined here
collect2: error: ld returned 1 exit status
make: *** [makefile:56: scantool] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
Error making: scantool

Energ0block commented on 2019-07-08 14:33

File scantool_1.21+dfsg-5.debian.tar.xz is no longer available.

To correct the error, change the file PKGBUILD:

String 12: 
- "http://http.debian.net/debian/pool/main/s/scantool/scantool_1.21+dfsg-5.debian.tar.xz")
+ "http://http.debian.net/debian/pool/main/s/scantool/scantool_1.21+dfsg-7.debian.tar.xz")

String 15: - '8ff409e7e83aebc8af66249e2eb30577') + '603a670dd2c3e57b5107a8fcf5e0f563')

In .SRCINFO:

String 14:
- source = http://http.debian.net/debian/pool/main/s/scantool/scantool_1.21+dfsg-5.debian.tar.xz
+ source = http://http.debian.net/debian/pool/main/s/scantool/scantool_1.21+dfsg-7.debian.tar.xz

String 17: - md5sums = 8ff409e7e83aebc8af66249e2eb30577 + md5sums = 603a670dd2c3e57b5107a8fcf5e0f563

xantares commented on 2019-01-28 18:59

hi dimytch, its fixed :)

dimytch commented on 2019-01-28 13:55

In file included from ../dz099i/include/dzcomm/dzucfg.h:32,
                 from ../dz099i/include/dzcomm/dzconfig.h:33,
                 from ../dz099i/include/dzcomm.h:29,
                 from serial.h:11,
                 from main.c:5:
/usr/include/bits/mathcalls-narrow.h:30:20: ошибка: несовместимые типы для «fmul»
 __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2);
                    ^~~~~~~~~~~~~~~
In file included from /usr/include/allegro/base.h:41,
                 from /usr/include/allegro.h:25,
                 from globals.h:6,
                 from main.c:1:
/usr/include/allegro/alcompat.h:46:7: замечание: здесь было предыдущее определение «fmul»
       AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y))
       ^~~~~~~~
In file included from ../dz099i/include/dzcomm/dzucfg.h:32,
                 from ../dz099i/include/dzcomm/dzconfig.h:33,
                 from ../dz099i/include/dzcomm.h:29,
                 from serial.h:11,
                 from main.c:5:
/usr/include/bits/mathcalls-narrow.h:33:20: ошибка: несовместимые типы для «fsub»
 __MATHCALL_NARROW (__MATHCALL_NAME (sub), __MATHCALL_REDIR_NAME (sub), 2);
                    ^~~~~~~~~~~~~~~
In file included from /usr/include/allegro/base.h:41,
                 from /usr/include/allegro.h:25,
                 from globals.h:6,
                 from main.c:1:
/usr/include/allegro/alcompat.h:45:7: замечание: здесь было предыдущее определение «fsub»
       AL_ALIAS(fixed fsub(fixed x, fixed y), fixsub(x, y))
       ^~~~~~~~
make: *** [makefile:77: main.o] Ошибка 1
make: *** Ожидание завершения заданий…
==> ОШИБКА: Произошел сбой в build().
    Прерывание...
==> ОШИБКА: Makepkg не смог собрать scantool.

sl1pkn07 commented on 2015-10-17 16:37

this is like a VAG-COM software?

grauschnabel commented on 2015-10-17 12:24

on my system this needed

makedepends=('dos2unix')

to make it build