The AUR (aur.archlinux.org) is essentially just a collection of PKGBUILDs like the one Br Elijah sent. It's all publicly accessible; by my own repo I just meant a github repo where I would store the files before uploading them to the AUR. Users generally install a helper program akin to aptitude that automatically finds the PKGBUILD and builds the package. Packages often have the option to install either a stable package (e.g. gregorio) or something that pulls directly from the source that's under development (gregorio-svn of old, and possibly gregorio-git now). Of course, the stable package is all that's really necessary, and that works fine if I build from a tarball. I've contacted the current maintainer of the AUR gregorio package, and I'll submit a pull request with the stable gregorio PKGBUILD if things work out.
Br Elijah: strangely enough, building develop with makepkg and your PKGBUILD works just fine for building gregorio, although following the steps directly doesn't (yylex error). But if that works, than okay. The fonts still don't work, though: Traceback (most recent call last): File "squarize.py", line 42, in <module> import fontforge, psMat ImportError: 'psMat' is not a built-in module Have you done anything in particular with fontforge? What sorts of fontforge- or psMat-related files do you have in /usr/lib/python[3.4|2.7]/site-packages? I only have fontforge.so and psMat.so in the 3.4 directory. 'Can you try removing lines 37 and 38 of src/gabc/gabc-score-determination.y?': I tried this on the develop branch, with slightly different results but still failure. develop-2.log attached. I also double checked, and on a clean Arch VM with only the base, base-devel, and git packages installed it fails with the original error (about yylex). As above, though, it does work fine if I build it via makepkg, which is good enough for me. Thanks for the help thus far. Br Anthony On Sat, Apr 4, 2015 at 4:45 PM, Br. Elijah Schwab, O.Carm < elijahsch...@gmail.com> wrote: > Henry is on the right track. Here is my method for building a gregorio > pkg: > > $ tar -pczf gregorio-dev.tar.gz path/to/gregorio-git-clone > $ makepkg > > Attached is my MAKEPKG, this is not a good -git makepkg since I already > have a git clone on my box. I tar up the clone to keep it as clean as > possible and not filled with the clutter from autoreconf and make. > > NB: I do not use the build.sh, MAKEPKG is the arch way. > > You may wish to change the command options for make. I hard coded -j4 > because this MAKEPKG is only intended for personal use. Feel free to > steal what you need to make something for the AUR. > > I had intended to ask the list if AUR packages would be of interest. If > there was interest, I was considering makeing two packages, gregorio and > gregrio-git. The first would build the current stable release > https://github.com/gregorio-project/gregorio/releases and the other > (gregorio-git) from the develop branch. If you want to maintain AUR > packages that is great. > > If you have any more problems, I'll be around. > > -Br. Elijah Schwab, O.Carm > > On Apr 04, 2015 14:36, Henry T. So Jr. wrote: > > To build using python 3 on Arch, I think you'll have to use: > > > > PYTHON=/path/to/python3 ./build.sh > > > > Put in your path to python 3. > > > > If that doesn't work, you'll have to: > > > > autoreconf -f -I > > ./configure > > make > > cd fonts > > make PYTHON=/path/to/python3 fonts > > cd .. > > > > instead of build.sh > > > > Henry > > > > > > > > _______________________________________________ > > Gregorio-users mailing list > > Gregorio-users@gna.org > > https://mail.gna.org/listinfo/gregorio-users > > _______________________________________________ > Gregorio-users mailing list > Gregorio-users@gna.org > https://mail.gna.org/listinfo/gregorio-users > >
Creating build files using Autotools configure.ac:31: installing 'build-aux/compile' configure.ac:29: installing 'build-aux/install-sh' configure.ac:29: installing 'build-aux/missing' src/Makefile.am: installing 'build-aux/depcomp' Configuring build files; options: checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking how to run the C preprocessor... gcc -std=gnu99 -E checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... bison -y checking for windres... no checking whether C compiler accepts -fstack-protector-strong... yes checking whether C compiler accepts -fPIE... yes checking whether C compiler accepts -Wformat... yes checking whether C compiler accepts -Werror=format-security... yes checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,now... yes checking whether the linker accepts -fPIE... yes checking whether the linker accepts -pie... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdint.h... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating examples/Makefile config.status: creating contrib/Makefile config.status: creating doc/Makefile config.status: creating tex/Makefile config.status: creating fonts/Makefile config.status: creating src/config_.h config.status: executing depfiles commands Building Gregorio; options: Making all in src make[1]: Entering directory '/home/avb/downloads/gregorio/src' make all-am make[2]: Entering directory '/home/avb/downloads/gregorio/src' depbase=`echo characters.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -DBRANCH_VERSION='"bdevelop-20150404_1643-43d961e"' -I. -I../src -I../src/gabc -I../src/dump -I../src/gregoriotex -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wdeclaration-after-statement -fstack-protector-strong -fPIE -Wformat -Werror=format-security -MT characters.o -MD -MP -MF $depbase.Tpo -c -o characters.o characters.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from /usr/include/stdio.h:27:0, from characters.c:29: /usr/include/features.h:328:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ depbase=`echo gregorio-utils.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -DBRANCH_VERSION='"bdevelop-20150404_1643-43d961e"' -I. -I../src -I../src/gabc -I../src/dump -I../src/gregoriotex -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wdeclaration-after-statement -fstack-protector-strong -fPIE -Wformat -Werror=format-security -MT gregorio-utils.o -MD -MP -MF $depbase.Tpo -c -o gregorio-utils.o gregorio-utils.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from /usr/include/stdio.h:27:0, from gregorio-utils.c:21: /usr/include/features.h:328:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ depbase=`echo messages.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -DBRANCH_VERSION='"bdevelop-20150404_1643-43d961e"' -I. -I../src -I../src/gabc -I../src/dump -I../src/gregoriotex -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wdeclaration-after-statement -fstack-protector-strong -fPIE -Wformat -Werror=format-security -MT messages.o -MD -MP -MF $depbase.Tpo -c -o messages.o messages.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from /usr/include/stdio.h:27:0, from messages.c:21: /usr/include/features.h:328:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ depbase=`echo struct.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -DBRANCH_VERSION='"bdevelop-20150404_1643-43d961e"' -I. -I../src -I../src/gabc -I../src/dump -I../src/gregoriotex -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wdeclaration-after-statement -fstack-protector-strong -fPIE -Wformat -Werror=format-security -MT struct.o -MD -MP -MF $depbase.Tpo -c -o struct.o struct.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from /usr/include/stdio.h:27:0, from struct.c:41: /usr/include/features.h:328:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ depbase=`echo unicode.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -DBRANCH_VERSION='"bdevelop-20150404_1643-43d961e"' -I. -I../src -I../src/gabc -I../src/dump -I../src/gregoriotex -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wdeclaration-after-statement -fstack-protector-strong -fPIE -Wformat -Werror=format-security -MT unicode.o -MD -MP -MF $depbase.Tpo -c -o unicode.o unicode.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from /usr/include/stdio.h:27:0, from unicode.c:21: /usr/include/features.h:328:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ depbase=`echo dump/dump.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -DBRANCH_VERSION='"bdevelop-20150404_1643-43d961e"' -I. -I../src -I../src/gabc -I../src/dump -I../src/gregoriotex -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wdeclaration-after-statement -fstack-protector-strong -fPIE -Wformat -Werror=format-security -MT dump/dump.o -MD -MP -MF $depbase.Tpo -c -o dump/dump.o dump/dump.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from /usr/include/stdio.h:27:0, from dump/dump.c:21: /usr/include/features.h:328:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ depbase=`echo gregoriotex/gregoriotex-write.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -DBRANCH_VERSION='"bdevelop-20150404_1643-43d961e"' -I. -I../src -I../src/gabc -I../src/dump -I../src/gregoriotex -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wdeclaration-after-statement -fstack-protector-strong -fPIE -Wformat -Werror=format-security -MT gregoriotex/gregoriotex-write.o -MD -MP -MF $depbase.Tpo -c -o gregoriotex/gregoriotex-write.o gregoriotex/gregoriotex-write.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from /usr/include/stdio.h:27:0, from gregoriotex/gregoriotex-write.c:25: /usr/include/features.h:328:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ depbase=`echo gabc/gabc-elements-determination.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -DBRANCH_VERSION='"bdevelop-20150404_1643-43d961e"' -I. -I../src -I../src/gabc -I../src/dump -I../src/gregoriotex -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wdeclaration-after-statement -fstack-protector-strong -fPIE -Wformat -Werror=format-security -MT gabc/gabc-elements-determination.o -MD -MP -MF $depbase.Tpo -c -o gabc/gabc-elements-determination.o gabc/gabc-elements-determination.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from /usr/include/stdio.h:27:0, from gabc/gabc-elements-determination.c:21: /usr/include/features.h:328:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ depbase=`echo gabc/gabc-write.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -DBRANCH_VERSION='"bdevelop-20150404_1643-43d961e"' -I. -I../src -I../src/gabc -I../src/dump -I../src/gregoriotex -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wdeclaration-after-statement -fstack-protector-strong -fPIE -Wformat -Werror=format-security -MT gabc/gabc-write.o -MD -MP -MF $depbase.Tpo -c -o gabc/gabc-write.o gabc/gabc-write.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from /usr/include/ctype.h:25:0, from gabc/gabc-write.c:24: /usr/include/features.h:328:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ depbase=`echo gabc/gabc-glyphs-determination.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -DBRANCH_VERSION='"bdevelop-20150404_1643-43d961e"' -I. -I../src -I../src/gabc -I../src/dump -I../src/gregoriotex -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wdeclaration-after-statement -fstack-protector-strong -fPIE -Wformat -Werror=format-security -MT gabc/gabc-glyphs-determination.o -MD -MP -MF $depbase.Tpo -c -o gabc/gabc-glyphs-determination.o gabc/gabc-glyphs-determination.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from /usr/include/stdio.h:27:0, from gabc/gabc-glyphs-determination.c:21: /usr/include/features.h:328:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ flex -o gabc/gabc-score-determination-l.c --header-file=gabc/gabc-score-determination-l.h gabc/gabc-score-determination.l bison -y -d -p "gabc_score_determination_" -o gabc/gabc-score-determination-y.c gabc/gabc-score-determination.y gabc/gabc-score-determination.y: warning: 3 shift/reduce conflicts [-Wconflicts-sr] depbase=`echo gabc/gabc-score-determination-l.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -DBRANCH_VERSION='"bdevelop-20150404_1643-43d961e"' -I. -I../src -I../src/gabc -I../src/dump -I../src/gregoriotex -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wdeclaration-after-statement -fstack-protector-strong -fPIE -Wformat -Werror=format-security -MT gabc/gabc-score-determination-l.o -MD -MP -MF $depbase.Tpo -c -o gabc/gabc-score-determination-l.o gabc/gabc-score-determination-l.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from /usr/include/stdio.h:27:0, from gabc/gabc-score-determination-l.c:39: /usr/include/features.h:328:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ flex -o gabc/gabc-notes-determination-l.c gabc/gabc-notes-determination.l depbase=`echo gabc/gabc-notes-determination-l.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -DBRANCH_VERSION='"bdevelop-20150404_1643-43d961e"' -I. -I../src -I../src/gabc -I../src/dump -I../src/gregoriotex -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wdeclaration-after-statement -fstack-protector-strong -fPIE -Wformat -Werror=format-security -MT gabc/gabc-notes-determination-l.o -MD -MP -MF $depbase.Tpo -c -o gabc/gabc-notes-determination-l.o gabc/gabc-notes-determination-l.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from /usr/include/stdio.h:27:0, from gabc/gabc-notes-determination-l.c:39: /usr/include/features.h:328:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ depbase=`echo gabc/gabc-score-determination-y.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -DBRANCH_VERSION='"bdevelop-20150404_1643-43d961e"' -I. -I../src -I../src/gabc -I../src/dump -I../src/gregoriotex -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wdeclaration-after-statement -fstack-protector-strong -fPIE -Wformat -Werror=format-security -MT gabc/gabc-score-determination-y.o -MD -MP -MF $depbase.Tpo -c -o gabc/gabc-score-determination-y.o gabc/gabc-score-determination-y.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from /usr/include/stdio.h:27:0, from gabc/gabc-score-determination.y:28: /usr/include/features.h:328:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ gabc/gabc-score-determination-y.c: In function ‘gabc_score_determination_parse’: gabc/gabc-score-determination-y.c:64:25: error: too few arguments to function ‘gabc_score_determination_lex’ #define yylex gabc_score_determination_lex ^ gabc/gabc-score-determination-y.c:2030:16: note: in expansion of macro ‘yylex’ yychar = yylex (); ^ In file included from gabc/gabc-score-determination.y:39:0: gabc/gabc-score-determination-l.h:310:12: note: declared here extern int gabc_score_determination_lex \ ^ Makefile:486: recipe for target 'gabc/gabc-score-determination-y.o' failed make[2]: *** [gabc/gabc-score-determination-y.o] Error 1 make[2]: Leaving directory '/home/avb/downloads/gregorio/src' Makefile:324: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/avb/downloads/gregorio/src' Makefile:365: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Failed to build Gregorio.
_______________________________________________ Gregorio-users mailing list Gregorio-users@gna.org https://mail.gna.org/listinfo/gregorio-users