Package Details: qtspim 9.1.24-1

Git Clone URL: https://aur.archlinux.org/qtspim.git (read-only, click to copy)
Package Base: qtspim
Description: New user interface for spim, a MIPS simulator.
Upstream URL: http://spimsimulator.sourceforge.net/
Licenses: BSD
Submitter: arojas
Maintainer: thomasqueirozb (wael, OctopusET)
Last Packager: OctopusET
Votes: 5
Popularity: 0.000027
First Submitted: 2020-05-01 19:35 (UTC)
Last Updated: 2024-04-13 18:31 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

northoftopeka commented on 2024-05-09 06:07 (UTC) (edited on 2024-05-09 06:26 (UTC) by northoftopeka)

Hmm not sure if I am doing something wrong but having issues building on Manjaro machine. Getting this output:

g++ -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -Wno-write-strings -flto -fno-fat-lto-objects -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib/qt/mkspecs/features/data/dummy.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -Wno-write-strings -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../CPU -I../QtSpim -I/usr/include/qt -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o parser_yacc.o parser_yacc.cpp
flex -I -8 --outfile=lex.scanner.c -Pyy --nounistd -o scanner_lex.cpp ../CPU/scanner.l
make: flex: No such file or directory
make: *** [Makefile:1055: scanner_lex.cpp] Error 127
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
Aborting...

Was able to install fine on other Manjaro machine with no problem. I am fairly new to installing from AUR, I could just be messing something up but Idk how much more involved it is to install other than git clone "url", cd and then makepkg -si. Any pointers?
Nvm, was able to build it using -s and then install with pacman. Moving from ubuntu so still learning lol.

stanm commented on 2023-04-14 15:02 (UTC)

It does compile for me, no warnings. What you have pasted are just warnings. Does compilation actually fail?

lorber13 commented on 2021-03-30 13:24 (UTC)

package fails to compile... ../CPU/parser.y: In function ‘int yyparse()’: ../CPU/parser.y:2118:17: warning: cast between incompatible function types from ‘void ()(int)’ to ‘void ()(void)’ [-Wcast-function-type] 2118 | { | ^
../CPU/parser.y:2234:16: warning: cast between incompatible function types from ‘void (
)(int)’ to ‘void ()(void)’ [-Wcast-function-type] 2234 | | ^
../CPU/parser.y:2374:16: warning: cast between incompatible function types from ‘void ()(int)’ to ‘void ()(void*)’ [-Wcast-function-type] 2374 | | ^

thomasqueirozb commented on 2020-12-02 18:47 (UTC)

Hey @redfox sorry for the delay. As any arch user would say... take a look at the wiki. Also take a look at the related articles, especially the Creating packages, makepkg, PKGBUILD and .SRCINFO articles. The amount of information can be a bit overwhelming at first so I recommend you watch DistroTube's video with bigpod where they create an AUR package YouTube link|LBRY link

redfox commented on 2020-11-12 07:36 (UTC)

@thomasqueirozb thanq very much you saved my day, the only option I had was to install windows then, and BTW any idea about where I can learn to package for aur?

thomasqueirozb commented on 2020-11-05 05:37 (UTC)

@redfox should work now

redfox commented on 2020-11-04 18:22 (UTC)

The build is still broken.....

thomasqueirozb commented on 2020-10-24 02:25 (UTC) (edited on 2020-10-26 04:53 (UTC) by thomasqueirozb)

This fails to build for multiple reasons. The following is the diff I made to the PKGBUILD to build it successfully:

diff --git a/PKGBUILD b/PKGBUILD
index 3bc752d..453b816 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,21 +15,17 @@ sha256sums=('SKIP')

 prepare() {
   cd spimsimulator/QtSpim
-  sed -r \
-    -e 's/-Wno-write-strings/& -fpermissive/' \
-    -i QtSpim.pro
-  rm parser_yacc.* scanner_lex.*
+  sed -i 's/zero_imm/is_zero_imm/g' parser_yacc.cpp
+  sed -i 's/^int data_dir/bool data_dir/g' parser_yacc.cpp
+  sed -i 's/^int text_dir/bool text_dir/g' parser_yacc.cpp
+  sed -i 's/^int parse_error_occurred/bool parse_error_occurred/g' parser_yacc.cpp
 }

 build() {
   cd spimsimulator/QtSpim

   qmake
-
-  # Fix Makefile generated by qmake.
-  sed -i 's#$(MOVE) help/qtspim.qhc help/qtspim.qhc;##' Makefile
-
-  make -j1
+  make
 }