You are not logged in.

#1 2020-05-08 18:22:34

quantumduck
Member
Registered: 2020-04-04
Posts: 7

[SOLVED] xviewer make

trying to install xviewer from AUR (no comments in almost 2 years)

makepkg -csi returns

(base) [artsq@Xbalanque xviewer]$ makepkg -csi
==> Making package: xviewer 2.4.3-1 (Fri 08 May 2020 11:49:20 AM MDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found xviewer-2.4.3-1.tar.gz
==> Validating source files with md5sums...
    xviewer-2.4.3-1.tar.gz ... Passed
==> Extracting sources...
  -> Extracting xviewer-2.4.3-1.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
***Warning*** $srcdir is not defined, out of dir autogen is broken!
configure.ac:32: warning: AC_PROG_CC was called before AX_CHECK_ENABLE_DEBUG
aclocal.m4:69: AX_CHECK_ENABLE_DEBUG is expanded from...
aclocal.m4:640: GNOME_DEBUG_CHECK is expanded from...
configure.ac:32: the top level
checking for automake >= 1.11.2...
  testing automake... found 1.16.2
checking for autoreconf >= 2.53...
  testing autoreconf... found 2.69
configure.ac:32: warning: AC_PROG_CC was called before AX_CHECK_ENABLE_DEBUG
aclocal.m4:69: AX_CHECK_ENABLE_DEBUG is expanded from...
aclocal.m4:640: GNOME_DEBUG_CHECK is expanded from...
configure.ac:32: the top level
checking for glib-gettext >= 2.2.0...
  testing glib-gettextize... found 2.63.1
checking for intltool >= 0.25...
  testing intltoolize... found 0.51.0
checking for pkg-config >= 0.14.0...
  testing pkg-config... found 1.6.3
checking for gtk-doc >= 1.0...
  testing gtkdocize... found 1.32.1
Checking for required M4 macros...
Processing ./configure.ac
configure.ac:32: warning: AC_PROG_CC was called before AX_CHECK_ENABLE_DEBUG
aclocal.m4:69: AX_CHECK_ENABLE_DEBUG is expanded from...
aclocal.m4:640: GNOME_DEBUG_CHECK is expanded from...
configure.ac:32: the top level
Running glib-gettextize... Ignore non-fatal messages.
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /home/artsq/anaconda3/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

Running gtkdocize...
Running intltoolize...
Running autoreconf...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force --warnings=no-portability -I m4 ${ACLOCAL_FLAGS}
configure.ac:32: warning: AC_PROG_CC was called before AX_CHECK_ENABLE_DEBUG
/usr/share/aclocal/ax_check_enable_debug.m4:47: AX_CHECK_ENABLE_DEBUG is expanded from...
/usr/share/aclocal/gnome-common.m4:6: GNOME_DEBUG_CHECK is expanded from...
configure.ac:32: the top level
configure.ac:32: warning: AC_PROG_CC was called before AX_CHECK_ENABLE_DEBUG
/usr/share/aclocal/ax_check_enable_debug.m4:47: AX_CHECK_ENABLE_DEBUG is expanded from...
/usr/share/aclocal/gnome-common.m4:6: GNOME_DEBUG_CHECK is expanded from...
configure.ac:32: the top level
autoreconf: configure.ac: tracing
configure.ac:32: warning: AC_PROG_CC was called before AX_CHECK_ENABLE_DEBUG
aclocal.m4:69: AX_CHECK_ENABLE_DEBUG is expanded from...
aclocal.m4:640: GNOME_DEBUG_CHECK is expanded from...
configure.ac:32: the top level
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:32: warning: AC_PROG_CC was called before AX_CHECK_ENABLE_DEBUG
/usr/share/aclocal/ax_check_enable_debug.m4:47: AX_CHECK_ENABLE_DEBUG is expanded from...
/usr/share/aclocal/gnome-common.m4:6: GNOME_DEBUG_CHECK is expanded from...
configure.ac:32: the top level
configure.ac:32: warning: AC_PROG_CC was called before AX_CHECK_ENABLE_DEBUG
/usr/share/aclocal/ax_check_enable_debug.m4:47: AX_CHECK_ENABLE_DEBUG is expanded from...
/usr/share/aclocal/gnome-common.m4:6: GNOME_DEBUG_CHECK is expanded from...
configure.ac:32: the top level
autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability
configure.ac:32: warning: AC_PROG_CC was called before AX_CHECK_ENABLE_DEBUG
aclocal.m4:69: AX_CHECK_ENABLE_DEBUG is expanded from...
aclocal.m4:640: GNOME_DEBUG_CHECK is expanded from...
configure.ac:32: the top level
autoreconf: running: /usr/bin/autoheader --force --warnings=no-portability
configure.ac:32: warning: AC_PROG_CC was called before AX_CHECK_ENABLE_DEBUG
aclocal.m4:69: AX_CHECK_ENABLE_DEBUG is expanded from...
aclocal.m4:640: GNOME_DEBUG_CHECK is expanded from...
configure.ac:32: the top level
autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability
configure.ac:32: warning: AC_PROG_CC was called before AX_CHECK_ENABLE_DEBUG
aclocal.m4:69: AX_CHECK_ENABLE_DEBUG is expanded from...
aclocal.m4:640: GNOME_DEBUG_CHECK is expanded from...
configure.ac:32: the top level
configure.ac:31: installing './compile'
configure.ac:9: installing './missing'
cut-n-paste/toolbar-editor/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
Running ./configure --enable-maintainer-mode --prefix=/usr --localstatedir=/var --libexecdir=/usr/lib/xviewer ...
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 whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports the include directive... yes (GNU style)
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 dependency style of gcc... gcc3
checking whether gcc understands -Wall... yes
checking whether gcc understands -Wstrict-prototypes... yes
checking whether gcc understands -Wnested-externs... yes
checking whether gcc understands -Werror=missing-prototypes... yes
checking whether gcc understands -Werror=implicit-function-declaration... yes
checking whether gcc understands -Werror=pointer-arith... yes
checking whether gcc understands -Werror=init-self... yes
checking whether gcc understands -Werror=format-security... no
checking whether gcc understands -Werror=format=2... yes
checking whether gcc understands -Werror=missing-include-dirs... yes
checking whether gcc understands -Werror=return-type... yes
checking what warning flags to pass to the C compiler...  -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -Werror=return-type
checking what language compliance flags to pass to the C compiler... 
checking whether to enable debugging... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for glib-compile-resources... /home/artsq/anaconda3/bin/glib-compile-resources
checking for glib-genmarshal... /home/artsq/anaconda3/bin/glib-genmarshal
checking for glib-mkenums... /home/artsq/anaconda3/bin/glib-mkenums
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtk-doc... yes
checking for gtkdoc-check... gtkdoc-check.test
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for GTKDOC_DEPS... yes
checking for strptime... yes
checking for _NL_MEASUREMENT_MEASUREMENT... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking whether NLS is requested... yes
checking for intltool >= 0.50.1... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.30.2
checking for XML::Parser... ok
checking for itstool... itstool
checking for xmllint... xmllint
checking for gobject-introspection... yes
checking for cos in -lm... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for inflate in -lz... yes
checking for crc32 in -lz... yes
checking for EXIF... yes
checking libexif/exif-data.h usability... yes
checking libexif/exif-data.h presence... yes
checking for libexif/exif-data.h... yes
checking for LCMS... yes
checking for EXEMPI... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... yes
checking for jpeg_simple_progression in -ljpeg... yes
checking libjpeg version is 8 or greater... yes
checking for LIBXML2... yes
checking for RSVG... yes
checking for XVIEWER... yes
checking for X11... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... 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 jpegutils/Makefile
config.status: creating cut-n-paste/Makefile
config.status: creating cut-n-paste/toolbar-editor/Makefile
config.status: creating help/Makefile
config.status: creating po/Makefile.in
config.status: creating data/Makefile
config.status: creating data/xviewer.pc
config.status: creating data/xviewer.desktop.in
config.status: creating data/org.x.viewer.gschema.xml
config.status: creating data/pixmaps/Makefile
config.status: creating data/icons/Makefile
config.status: creating data/icons/16x16/Makefile
config.status: creating data/icons/22x22/Makefile
config.status: creating data/icons/24x24/Makefile
config.status: creating data/icons/32x32/Makefile
config.status: creating data/icons/48x48/Makefile
config.status: creating data/icons/scalable/Makefile
config.status: creating doc/Makefile
config.status: creating doc/reference/Makefile
config.status: creating doc/reference/version.xml
config.status: creating doc/reference/xviewer-docs.xml
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands

Configure summary:

	Source code location .......:  .
	Compiler ...................:  gcc
	Extra Compiler Warnings ....:   -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -Werror=return-type 

	EXIF support ...............:  yes
	XMP support ................:  yes
	JPEG support ...............:  yes
	Colour management support ..:  yes
	GObject Introspection.......:  yes

Now type `make' to compile xviewer
make  all-recursive
make[1]: Entering directory '/home/artsq/AURbuilds/xviewer/src/xviewer-2.4.3'
Making all in jpegutils
make[2]: Entering directory '/home/artsq/AURbuilds/xviewer/src/xviewer-2.4.3/jpegutils'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/artsq/AURbuilds/xviewer/src/xviewer-2.4.3/jpegutils'
Making all in cut-n-paste
make[2]: Entering directory '/home/artsq/AURbuilds/xviewer/src/xviewer-2.4.3/cut-n-paste'
Making all in toolbar-editor
make[3]: Entering directory '/home/artsq/AURbuilds/xviewer/src/xviewer-2.4.3/cut-n-paste/toolbar-editor'
make  all-am
make[4]: Entering directory '/home/artsq/AURbuilds/xviewer/src/xviewer-2.4.3/cut-n-paste/toolbar-editor'
make[4]: Leaving directory '/home/artsq/AURbuilds/xviewer/src/xviewer-2.4.3/cut-n-paste/toolbar-editor'
make[3]: Leaving directory '/home/artsq/AURbuilds/xviewer/src/xviewer-2.4.3/cut-n-paste/toolbar-editor'
make[3]: Entering directory '/home/artsq/AURbuilds/xviewer/src/xviewer-2.4.3/cut-n-paste'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/artsq/AURbuilds/xviewer/src/xviewer-2.4.3/cut-n-paste'
make[2]: Leaving directory '/home/artsq/AURbuilds/xviewer/src/xviewer-2.4.3/cut-n-paste'
Making all in src
make[2]: Entering directory '/home/artsq/AURbuilds/xviewer/src/xviewer-2.4.3/src'
make  all-am
make[3]: Entering directory '/home/artsq/AURbuilds/xviewer/src/xviewer-2.4.3/src'
  GISCAN   Xviewer-3.0.gir
Traceback (most recent call last):
  File "/usr/bin/g-ir-scanner", line 103, in <module>
    from giscanner.scannermain import scanner_main
  File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 35, in <module>
    from giscanner.ast import Include, Namespace
  File "/usr/lib/gobject-introspection/giscanner/ast.py", line 29, in <module>
    from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF
  File "/usr/lib/gobject-introspection/giscanner/sourcescanner.py", line 35, in <module>
    from giscanner._giscanner import SourceScanner as CSourceScanner
ModuleNotFoundError: No module named 'giscanner._giscanner'
make[3]: *** [/usr/share/gobject-introspection-1.0/Makefile.introspection:156: Xviewer-3.0.gir] Error 1
make[3]: Leaving directory '/home/artsq/AURbuilds/xviewer/src/xviewer-2.4.3/src'
make[2]: *** [Makefile:694: all] Error 2
make[2]: Leaving directory '/home/artsq/AURbuilds/xviewer/src/xviewer-2.4.3/src'
make[1]: *** [Makefile:519: all-recursive] Error 1
make[1]: Leaving directory '/home/artsq/AURbuilds/xviewer/src/xviewer-2.4.3'
make: *** [Makefile:451: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
(base) [artsq@Xbalanque xviewer]$

while searching this error I saw a mention that python version came into play. System wide python 3.8 is installed, but my user profile uses 3.7 since that's what anaconda uses (conda puts the '(base)' before the terminal prompt), and I need anaconda for school. I don't know how to tell if python version is the problem here..... and if it is, how do i get around having 2 versions? should I just make another user for AUR builds? I'm reticent to downgrade the system to 3.7.

EDIT: upon further examination of the log, I noticed

make[3]: *** [/usr/share/gobject-introspection-1.0/Makefile.introspection:156: Xviewer-3.0.gir] Error 1

which looks like version 1.0 of GObject-introspection to me, however pacman -Q gobject-introspection returns

gobject-introspection 1.64.1-2

I don't know why make is using an old version of gobject.

Last edited by quantumduck (2020-05-08 21:15:01)

Offline

#2 2020-05-08 19:20:07

loqs
Member
Registered: 2014-03-06
Posts: 19,076

Re: [SOLVED] xviewer make

You can build in a clean chroot using the convenience functions provided by devtools.
So you would replace makepkg -csi with:

extra-x86_64-build
pacman -U xviewer-2.4.3-1-x86_64.pkg.tar.zst

Edit:

pacman -F /usr/share/gobject-introspection-1.0/Makefile.introspection
usr/share/gobject-introspection-1.0/Makefile.introspection is owned by extra/gobject-introspection 1.64.1-2

Also downgrading to python3.7 would not help as anaconda would still use its own paths for python packages which does not include the paths use by pacman install packages.

Last edited by loqs (2020-05-08 19:56:44)

Offline

#3 2020-05-08 19:53:54

quantumduck
Member
Registered: 2020-04-04
Posts: 7

Re: [SOLVED] xviewer make

That did it. Thank you for your help loqs.

Now I should have asked this before doing it, but to make sure I understood what I did, plus a few other questions.

extra-x86_64-build

created a fancy chroot with repositories core through extra available? and this can be run in any AUR git clone?
in the tips and tricks section of the linked wiki it mentions making the chroot in RAM with 20GB, what is the minimum amount of free ram necessary to acomplish this? Since it can be done in ram, I assume it cleans it self up after wards.

Finally, would pacman -S have done the same as -U if there were no previous installations of xviewer?

EDIT: marked thread solved

Last edited by quantumduck (2020-05-08 20:06:30)

Offline

#4 2020-05-08 20:13:53

loqs
Member
Registered: 2014-03-06
Posts: 19,076

Re: [SOLVED] xviewer make

quantumduck wrote:

That did it. Thank you for your help loqs.

Now I should have asked this before doing it, but to make sure I understood what I did, plus a few other questions.

extra-x86_64-build

created a fancy chroot with repositories core through extra available? and this can be run in any git clone?

Almost it includes core through community so you can use it for any AUR build provided the build does not require multilib and testing is not enabled on the system.
If the package need multilib you would use multilib-build.  If testing was enabled you would replace extra-x86_64-build with testing-x86_64-build and multilib-build with multilib-testing-build.

quantumduck wrote:

in the tips and tricks section of the linked wiki it mentions making the chroot in RAM with 20GB, what is the minimum amount of free ram necessary to acomplish this?

Never tried it.  The convenience functions have their chroots under /var/lib/archbuild/$commandname/$username after building xviewer

du -sh /var/lib/archbuild/extra-x86_64/builduser
1.7G	/var/lib/archbuild/extra-x86_64/builduser

Perhaps a build pulling in lots more dependencies would need 20GB.

quantumduck wrote:

Finally, would pacman -S have done the same as -U if there were no previous installations of xviewer?

Upgrade adds or updates packages supplied by path or url.  Sync adds or upgrades packages from repositories.  You can not use sync to install a locally built package without first adding it to a repository.

Offline

#5 2020-05-08 20:17:45

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] xviewer make

pacman -S installs packages from repositories, pacman -U installs packages from files.

Why have you made anaconda the default python? This breaks *any* program that tries to invoke 'python' and ends up with the anaconda version instead of the system one. You'd be better off explicitly invoking the anaconda python when you need it, for example by activating a virtualenv.

(Consider seeing if the modules you need can be installed on the system python, thus rendering anaconda unneeded.)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#6 2020-05-08 21:10:59

quantumduck
Member
Registered: 2020-04-04
Posts: 7

Re: [SOLVED] xviewer make

loqs wrote:
quantumduck wrote:

That did it. Thank you for your help loqs.

Now I should have asked this before doing it, but to make sure I understood what I did, plus a few other questions.

extra-x86_64-build

created a fancy chroot with repositories core through extra available? and this can be run in any git clone?

Almost it includes core through community so you can use it for any AUR build provided the build does not require multilib and testing is not enabled on the system.
If the package need multilib you would use multilib-build.  If testing was enabled you would replace extra-x86_64-build with testing-x86_64-build and multilib-build with multilib-testing-build.

quantumduck wrote:

in the tips and tricks section of the linked wiki it mentions making the chroot in RAM with 20GB, what is the minimum amount of free ram necessary to acomplish this?

Never tried it.  The convenience functions have their chroots under /var/lib/archbuild/$commandname/$username after building xviewer

du -sh /var/lib/archbuild/extra-x86_64/builduser
1.7G	/var/lib/archbuild/extra-x86_64/builduser

Perhaps a build pulling in lots more dependencies would need 20GB.

quantumduck wrote:

Finally, would pacman -S have done the same as -U if there were no previous installations of xviewer?

Upgrade adds or updates packages supplied by path or url.  Sync adds or upgrades packages from repositories.  You can not use sync to install a locally built package without first adding it to a repository.

Ok cool!

as for the python stuff

from 'my user'

python --version
Python 3.7.7

from root

python --version
Python 3.8.2

and I'd imagine that would be the same for any other user that's not 'my user.' I wanted anaconda installed locally since python 3.8 is used for a lot of packages. That way root pacman-S/-Syu still uses 3.8. However makepkg won't, unless I make anther user and do it there, according to my understanding. The rest of my class and my Instructor are using the vanilla anaconda package. For the sake of his grading my work, I'd like to be in the same environment as he expects, otherwise attempting to install anaconda piece wise might be a fun excersize.

still not sure if it was the python that was breaking my make or not, but the

extra-x86_64-build

did work.

Last edited by quantumduck (2020-05-08 21:14:14)

Offline

#7 2020-05-08 21:25:22

loqs
Member
Registered: 2014-03-06
Posts: 19,076

Re: [SOLVED] xviewer make

You can test if it was by running the following as both 'my user' and root

g-ir-scanner

Last edited by loqs (2020-05-08 21:46:10)

Offline

#8 2020-05-08 21:25:26

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] xviewer make

quantumduck wrote:

The rest of my class and my Instructor are using the vanilla anaconda package. For the sake of his grading my work, I'd like to be in the same environment as he expects, otherwise attempting to install anaconda piece wise might be a fun excersize.

Then I would recommend installing anaconda *without* adding it to your PATH, and only invoking it (explicitly) when needed.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB