You are not logged in.
My goal is to build a copy of the poppler package so that I can test a patch/bugfix.
First, I read the Arch_Build_System wiki page.
Before modifying things, I decided to try and build the stock package.
So then installed asp and ran
asp export poppler
and then in the poppler directory that was produced I ran
makepkg -s
The build process went for a while and then stopped with
WARNING:root:Running scanner failed: [Errno 2] No such file or directory: 'LD_LIBRARY_PATH=/tmp/poppler/src/build/glib': 'LD_LIBRARY_PATH=/tmp/poppler/src/build/glib', command: LD_LIBRARY_PATH=/tmp/poppler/src/build/glib ./poppler-scan
Traceback (most recent call last):
File "/tmp/poppler/src/poppler-0.61.1/make-glib-api-docs", line 66, in <module>
gtkdoc.generate(not args.skip_html)
File "/tmp/poppler/src/poppler-0.61.1/gtkdoc.py", line 143, in generate
self._run_gtkdoc_scangobj()
File "/tmp/poppler/src/poppler-0.61.1/gtkdoc.py", line 338, in _run_gtkdoc_scangobj
env=env, cwd=self.output_dir)
File "/tmp/poppler/src/poppler-0.61.1/gtkdoc.py", line 209, in _run_command
% (args[0], process.returncode))
Exception: gtkdoc-scangobj produced a non-zero return code 1
make[2]: *** [glib/reference/CMakeFiles/glib-docs.dir/build.make:61: glib/reference/glib-docs-build.stamp] Error 1
make[1]: *** [CMakeFiles/Makefile2:794: glib/reference/CMakeFiles/glib-docs.dir/all] Error 2
I did a Google search for this error but failed to find any apparently relevant results. I also searched the Arch bug tracker and the poppler bug tracker and didn't see anything.
Is there something else that I need to do to be able build the package myself?
Offline
It looks like you are building on /tmp .
That is usually a tmpfs in your ram memory .
fast, but limited in size .
Does the build work if you do it on a hdd or ssd ?
In case that also fails, try building in a clean chroot.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Thank you for your response.
It looks like you are building on /tmp .
That is usually a tmpfs in your ram memory .
fast, but limited in size .Does the build work if you do it on a hdd or ssd ?
No, I tried this and received the same message.
In case that also fails, try building in a clean chroot.
I did so following the instructions from here and also received the same error message.
Offline
gtkdoc is emitting confusing errors. I cannot build this in a clean chroot either, and https://tests.reproducible-builds.org/archlinux/ marks it as a package failing to build as well (logs are HERE).
This is a clear case of failing to build from source. You can file a bug if you like.
Last edited by eschwartz (2017-12-12 22:30:26)
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
I cannot build this in a clean chroot either, and https://tests.reproducible-builds.org/archlinux/ marks it as a package failing to build as well (logs are HERE).
Great. The linked logs shows exactly what I am seeing.
This is a clear case of failing to build from source. You can file a bug if you like.
Done. Thanks for your help.
Offline
For the record, "fails to build from source" is not a high-severity bug as the package itself works fine.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
For the record, "fails to build from source" is not a high-severity bug as the package itself works fine.
Thanks for the correction. I didn't really understand how to match this case to the severity list. Now I know.
Edit: Oh, and thank you for correcting the summary as well. I will try to do that right next time too.
Last edited by wesphys (2017-12-13 02:26:57)
Offline