Package Details: mspdebug 0.25-2

Git Clone URL: https://aur.archlinux.org/mspdebug.git (read-only)
Package Base: mspdebug
Description: A free debugger and firmware downloader for the MSP430/CC430 MCU family
Upstream URL: http://dlbeer.co.nz/mspdebug/
Licenses: GPL
Conflicts: mspdebug-git
Submitter: luk4s
Maintainer: luk4s
Last Packager: luk4s
Votes: 37
Popularity: 0.000139
First Submitted: 2010-05-30 00:07
Last Updated: 2017-09-10 17:55

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

alexei commented on 2017-08-09 17:42

Isn't the standard practice to install the rules into /usr/lib, so that user has the choice of overriding them via /etc? The systemd literature explains this well.

vonPalitroque commented on 2017-08-09 14:59

Greetings,

That is a valid and interesting point. I don't mind mspdebug not shipping udev rules at all. I believe providing those should be the role of the system administrator. However, users may be used to having a basic set of rules provided to them automatically, which could make the transition difficult for some [1]. If you decide to go that way, maybe making a release with a install file telling users of the imminent change in the next release? Or maybe adding a pre-install hook to automatically backup the file? Another alternative is to just do it silently while adding entries to the changelog, I guess.

Cheers,
Orlando.


[1] The libgloss backend for msp430 in newlib removed the nosys.specs file a while back. This removal affected at least one of the users of the msp430-elf toolchain.

luk4s commented on 2017-08-09 14:36

I'm not sure whether mspdebug should ship and install its own udev rules. Comparable packages such as avrdude and openocd don't ship udev rules at all or place them in /usr/share so the user has the choice to apply them or not.

What are your thoughts on that?

vonPalitroque commented on 2017-08-09 14:23

Greetings,

Could you add the following to the PKGBUILD?

backup=('etc/udev/rules.d/82-eZ430.rules')

I add custom rules to that file for all my programmers and at the moment they are lost on every update [unless I modify the PKGBUILD beforehand]. Thank you.

Cheers,
Orlando.

jck commented on 2015-07-12 10:40

Upstream has moved to github( http://dlbeer.co.nz/mspdebug/ )

jillsmitt commented on 2012-12-31 05:56

Targets (1): mspdebug-0.21-2
Total Installed Size: 0.33 MiB
Proceed with installation? [Y/n]
(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%
(1/1) installing mspdebug [######################] 100%

Thanks, luk4s

luk4s commented on 2012-12-30 23:47

preliminary patch included in 0.21-2, will report bug upstream

jillsmitt commented on 2012-12-30 22:20

==> Building and installing package
==> Making package: mspdebug 0.21-1 (Mon Dec 31 03:47:20 ALMT 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading mspdebug-0.21.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0
100 223k 100 223k 0 0 13260 0 0:00:17 0:00:17 --:--:-- 257k
-> Found 82-eZ430.rules
==> Validating source files with md5sums...
mspdebug-0.21.tar.gz ... Passed
82-eZ430.rules ... Passed
==> Extracting Sources...
-> Extracting mspdebug-0.21.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting build()...
rm -f */*.o
rm -f mspdebug
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DUSE_READLINE -O1 -Wall -Wno-char-subscripts -ggdb -I. -Isimio -Iformats -Itransport -Idrivers -Iutil -Iui -DLIB_DIR=\"/usr/lib/\" -o util/btree.o -c util/btree.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DUSE_READLINE -O1 -Wall -Wno-char-subscripts -ggdb -I. -Isimio -Iformats -Itransport -Idrivers -Iutil -Iui -DLIB_DIR=\"/usr/lib/\" -o util/expr.o -c util/expr.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DUSE_READLINE -O1 -Wall -Wno-char-subscripts -ggdb -I. -Isimio -Iformats -Itransport -Idrivers -Iutil -Iui -DLIB_DIR=\"/usr/lib/\" -o util/list.o -c util/list.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DUSE_READLINE -O1 -Wall -Wno-char-subscripts -ggdb -I. -Isimio -Iformats -Itransport -Idrivers -Iutil -Iui -DLIB_DIR=\"/usr/lib/\" -o util/sockets.o -c util/sockets.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DUSE_READLINE -O1 -Wall -Wno-char-subscripts -ggdb -I. -Isimio -Iformats -Itransport -Idrivers -Iutil -Iui -DLIB_DIR=\"/usr/lib/\" -o util/sport.o -c util/sport.c
util/sport.c: In function ‘sport_read’:
util/sport.c:162:10: error: variable ‘tv’ has initializer but incomplete type
util/sport.c:163:4: error: unknown field ‘tv_sec’ specified in initializer
util/sport.c:163:4: warning: excess elements in struct initializer [enabled by default]
util/sport.c:163:4: warning: (near initialization for ‘tv’) [enabled by default]
util/sport.c:164:4: error: unknown field ‘tv_usec’ specified in initializer
util/sport.c:165:3: warning: excess elements in struct initializer [enabled by default]
util/sport.c:165:3: warning: (near initialization for ‘tv’) [enabled by default]
util/sport.c:162:18: error: storage size of ‘tv’ isn’t known
util/sport.c:167:3: error: unknown type name ‘fd_set’
util/sport.c:169:3: warning: implicit declaration of function ‘FD_ZERO’ [-Wimplicit-function-declaration]
util/sport.c:170:3: warning: implicit declaration of function ‘FD_SET’ [-Wimplicit-function-declaration]
util/sport.c:172:3: warning: implicit declaration of function ‘select’ [-Wimplicit-function-declaration]
util/sport.c:162:18: warning: unused variable ‘tv’ [-Wunused-variable]
make: *** [util/sport.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build mspdebug.

jillsmitt commented on 2012-12-30 22:04

==> Building and installing package
==> Making package: mspdebug 0.21-1 (Mon Dec 31 03:47:20 ALMT 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading mspdebug-0.21.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0
100 223k 100 223k 0 0 13260 0 0:00:17 0:00:17 --:--:-- 257k
-> Found 82-eZ430.rules
==> Validating source files with md5sums...
mspdebug-0.21.tar.gz ... Passed
82-eZ430.rules ... Passed
==> Extracting Sources...
-> Extracting mspdebug-0.21.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting build()...
rm -f */*.o
rm -f mspdebug
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DUSE_READLINE -O1 -Wall -Wno-char-subscripts -ggdb -I. -Isimio -Iformats -Itransport -Idrivers -Iutil -Iui -DLIB_DIR=\"/usr/lib/\" -o util/btree.o -c util/btree.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DUSE_READLINE -O1 -Wall -Wno-char-subscripts -ggdb -I. -Isimio -Iformats -Itransport -Idrivers -Iutil -Iui -DLIB_DIR=\"/usr/lib/\" -o util/expr.o -c util/expr.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DUSE_READLINE -O1 -Wall -Wno-char-subscripts -ggdb -I. -Isimio -Iformats -Itransport -Idrivers -Iutil -Iui -DLIB_DIR=\"/usr/lib/\" -o util/list.o -c util/list.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DUSE_READLINE -O1 -Wall -Wno-char-subscripts -ggdb -I. -Isimio -Iformats -Itransport -Idrivers -Iutil -Iui -DLIB_DIR=\"/usr/lib/\" -o util/sockets.o -c util/sockets.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DUSE_READLINE -O1 -Wall -Wno-char-subscripts -ggdb -I. -Isimio -Iformats -Itransport -Idrivers -Iutil -Iui -DLIB_DIR=\"/usr/lib/\" -o util/sport.o -c util/sport.c
util/sport.c: In function ‘sport_read’:
util/sport.c:162:10: error: variable ‘tv’ has initializer but incomplete type
util/sport.c:163:4: error: unknown field ‘tv_sec’ specified in initializer
util/sport.c:163:4: warning: excess elements in struct initializer [enabled by default]
util/sport.c:163:4: warning: (near initialization for ‘tv’) [enabled by default]
util/sport.c:164:4: error: unknown field ‘tv_usec’ specified in initializer
util/sport.c:165:3: warning: excess elements in struct initializer [enabled by default]
util/sport.c:165:3: warning: (near initialization for ‘tv’) [enabled by default]
util/sport.c:162:18: error: storage size of ‘tv’ isn’t known
util/sport.c:167:3: error: unknown type name ‘fd_set’
util/sport.c:169:3: warning: implicit declaration of function ‘FD_ZERO’ [-Wimplicit-function-declaration]
util/sport.c:170:3: warning: implicit declaration of function ‘FD_SET’ [-Wimplicit-function-declaration]
util/sport.c:172:3: warning: implicit declaration of function ‘select’ [-Wimplicit-function-declaration]
util/sport.c:162:18: warning: unused variable ‘tv’ [-Wunused-variable]
make: *** [util/sport.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build mspdebug.

luk4s commented on 2012-05-19 09:24

fixed in 0.19-3

All comments