Skip to content

Instantly share code, notes, and snippets.

@jaypeche
Created April 22, 2023 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaypeche/9f47971cdabc0f4ac6b466abaaaf8f82 to your computer and use it in GitHub Desktop.
Save jaypeche/9f47971cdabc0f4ac6b466abaaaf8f82 to your computer and use it in GitHub Desktop.
These are the packages that would be merged, in order:
Calculating dependencies
* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
..... done!
Dependency resolution took 4.90 s.
[ebuild N ~] dev-embedded/argononed-0.3.4_pre2::pingwho-overlay 0 KiB
Total: 1 package (1 new), Size of downloads: 0 KiB
>>> Verifying ebuild manifests
>>> Running pre-merge checks for dev-embedded/argononed-0.3.4_pre2
* Your boot partition was detected as being mounted at /boot.
* Files will be installed there for argononed to function correctly.
>>> Emerging (1 of 1) dev-embedded/argononed-0.3.4_pre2::pingwho-overlay
>>> Unpacking source...
* Repository id: DarkElvenAngel_argononed.git
* To override fetched repository properties, use:
* EGIT_OVERRIDE_REPO_DARKELVENANGEL_ARGONONED
* EGIT_OVERRIDE_BRANCH_DARKELVENANGEL_ARGONONED
* EGIT_OVERRIDE_COMMIT_DARKELVENANGEL_ARGONONED
* EGIT_OVERRIDE_COMMIT_DATE_DARKELVENANGEL_ARGONONED
*
* Fetching https://gitlab.com/DarkElvenAngel/argononed.git ...
git fetch https://gitlab.com/DarkElvenAngel/argononed.git +refs/heads/0.3.x:refs/heads/0.3.x
git update-ref --no-deref refs/git-r3/dev-embedded/argononed/0/__main__ 6302f1af0e65d6be5abf9855b8b1aeb12f5fe81d
* Checking out https://gitlab.com/DarkElvenAngel/argononed.git to /var/tmp/portage/dev-embedded/argononed-0.3.4_pre2/work/argononed-0.3.4_pre2 ...
git checkout --quiet 6302f1af0e65d6be5abf9855b8b1aeb12f5fe81d
GIT update -->
repository: https://gitlab.com/DarkElvenAngel/argononed.git
at the commit: 6302f1af0e65d6be5abf9855b8b1aeb12f5fe81d
>>> Source unpacked in /var/tmp/portage/dev-embedded/argononed-0.3.4_pre2/work
>>> Preparing source in /var/tmp/portage/dev-embedded/argononed-0.3.4_pre2/work/argononed-0.3.4_pre2 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-embedded/argononed-0.3.4_pre2/work/argononed-0.3.4_pre2 ...
make -j9 -l4 mrproper
makefile:59: Configuration missing or not correct
ARGON ONE DAEMON CONFIGURING ...
Distro check [gentoo] : OK
SYSTEM CHECK
gcc : OK
dtc : OK
make : OK
I2C Bus check : ENABLED
CHECKING OPTIONAL SYSTEMS
bash-autocomplete : OK
logrotate : INSTALLED
Dependency Check : Successful
Daemon will use /sys/class/hwmon/hwmon0/temp1_input for temperature sensor
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-embedded/argononed-0.3.4_pre2/work/argononed-0.3.4_pre2 ...
make -j9 -l4
Compile src/argononed.c
Compile src/event_timer.c
Build argonone-shutdown
gcc -c -o build/argononed.o src/argononed.c -Wall -s -O3 -DUSE_SYSFS_TEMP=/sys/class/hwmon/hwmon0/temp1_input -DLOG_LEVEL=5
gcc -c -o build/event_timer.o src/event_timer.c -Wall -s -O3 -DUSE_SYSFS_TEMP=/sys/class/hwmon/hwmon0/temp1_input -DLOG_LEVEL=5
Build argonone.dtbo
Build argonone-cli
gcc -o build/argonone-shutdown src/argonone-shutdown.c -Wall -s -O3 -DUSE_SYSFS_TEMP=/sys/class/hwmon/hwmon0/temp1_input
gcc -o build/argonone-cli src/argonone-cli.c -Wall -s -O3 -DUSE_SYSFS_TEMP=/sys/class/hwmon/hwmon0/temp1_input -DLOG_LEVEL=5 -lrt
dtc -@ -I dts -O dtb -o build/argonone.dtbo src/argonone.dts
distcc[33] (dcc_talk_to_include_server) Warning: INCLUDE_SERVER_PORT not set - did you forget to run under 'pump'?
distcc[33] (dcc_build_somewhere) Warning: failed to get includes from include server, preprocessing locally
distcc[34] (dcc_talk_to_include_server) Warning: INCLUDE_SERVER_PORT not set - did you forget to run under 'pump'?
distcc[34] (dcc_build_somewhere) Warning: failed to get includes from include server, preprocessing locally
MAKE: Overlay
src/argonone-cli.c: In function ‘main’:
src/argonone-cli.c:407:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
407 | ftruncate(shm_fd, SHM_SIZE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/argonone-cli.c:433:7: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;]
433 | fscanf (file, "%d", &d_pid);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
MAKE: CLI
src/argononed.c: Dans la fonction « TMR_Get_temp »:
src/argononed.c:387:5: attention: la valeur retournée par « fscanf » est ignorée alors qu'elle est déclarée avec l'attribut « warn_unused_result » [-Wunused-result]
src/argononed.c: Dans la fonction « daemonize »:
src/argononed.c:602:5: attention: la valeur retournée par « dup » est ignorée alors qu'elle est déclarée avec l'attribut « warn_unused_result » [-Wunused-result]
src/argononed.c:603:5: attention: la valeur retournée par « dup » est ignorée alors qu'elle est déclarée avec l'attribut « warn_unused_result » [-Wunused-result]
src/argononed.c:606:5: attention: la valeur retournée par « chdir » est ignorée alors qu'elle est déclarée avec l'attribut « warn_unused_result » [-Wunused-result]
src/argononed.c: Dans la fonction « main »:
src/argononed.c:709:9: attention: la valeur retournée par « fscanf » est ignorée alors qu'elle est déclarée avec l'attribut « warn_unused_result » [-Wunused-result]
src/argononed.c:755:2: attention: la valeur retournée par « ftruncate » est ignorée alors qu'elle est déclarée avec l'attribut « warn_unused_result » [-Wunused-result]
src/argononed.c:786:9: attention: la valeur retournée par « system » est ignorée alors qu'elle est déclarée avec l'attribut « warn_unused_result » [-Wunused-result]
src/argononed.c:792:9: attention: la valeur retournée par « system » est ignorée alors qu'elle est déclarée avec l'attribut « warn_unused_result » [-Wunused-result]
Build argononed
gcc -o build/argononed build/argononed.o build/event_timer.o -Wall -s -O3 -DUSE_SYSFS_TEMP=/sys/class/hwmon/hwmon0/temp1_input -lpthread -lrt
MAKE: Daemon
MAKE: Complete
>>> Source compiled.
>>> Test phase [not enabled]: dev-embedded/argononed-0.3.4_pre2
>>> Install dev-embedded/argononed-0.3.4_pre2 into /var/tmp/portage/dev-embedded/argononed-0.3.4_pre2/image/
make -j9 -l4 DESTDIR=/var/tmp/portage/dev-embedded/argononed-0.3.4_pre2/image/ install
Installing services
argononed.service ... * ACCESS DENIED: open_wr: /etc/init.d/argononed
Failed
argonone-shutdown ... Failed
Enable Service Failed
Starting Service Failed
shutdown service ... * ACCESS DENIED: open_wr: /etc/local.d/argononed.stop
Failed
Installing overlay * ACCESS DENIED: open_wr: /boot/overlays/argonone.dtbo
Failed
ERROR Cannot Write to /boot/config.txt unable to continue
make: *** [makefile:150: install-overlay] Error 1
* ERROR: dev-embedded/argononed-0.3.4_pre2::pingwho-overlay failed (install phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-embedded/argononed-0.3.4_pre2::pingwho-overlay'`,
* the complete build log and the output of `emerge -pqv '=dev-embedded/argononed-0.3.4_pre2::pingwho-overlay'`.
* The complete build log is located at '/var/tmp/portage/dev-embedded/argononed-0.3.4_pre2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-embedded/argononed-0.3.4_pre2/temp/environment'.
* Working directory: '/var/tmp/portage/dev-embedded/argononed-0.3.4_pre2/work/argononed-0.3.4_pre2'
* S: '/var/tmp/portage/dev-embedded/argononed-0.3.4_pre2/work/argononed-0.3.4_pre2'
* ----------------------- SANDBOX ACCESS VIOLATION SUMMARY -----------------------
* LOG FILE: "/var/tmp/portage/dev-embedded/argononed-0.3.4_pre2/temp/sandbox.log"
*
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line
F: open_wr
S: deny
P: /etc/init.d/argononed
A: /etc/init.d/argononed
R: /etc/init.d/argononed
C: /usr/bin/install -m 744 OS/gentoo/argononed /etc/init.d/argononed
F: open_wr
S: deny
P: /etc/local.d/argononed.stop
A: /etc/local.d/argononed.stop
R: /etc/local.d/argononed.stop
C: /usr/bin/install -m 744 OS/gentoo/argononed.stop /etc/local.d/argononed.stop
F: open_wr
S: deny
P: /boot/overlays/argonone.dtbo
A: /boot/overlays/argonone.dtbo
R: /boot/overlays/argonone.dtbo
C: /usr/bin/install build/argonone.dtbo /boot/overlays/argonone.dtbo
* --------------------------------------------------------------------------------
>>> Failed to emerge dev-embedded/argononed-0.3.4_pre2, Log file:
>>> '/var/tmp/portage/dev-embedded/argononed-0.3.4_pre2/temp/build.log'
* Messages for package dev-embedded/argononed-0.3.4_pre2:
* ERROR: dev-embedded/argononed-0.3.4_pre2::pingwho-overlay failed (install phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-embedded/argononed-0.3.4_pre2::pingwho-overlay'`,
* the complete build log and the output of `emerge -pqv '=dev-embedded/argononed-0.3.4_pre2::pingwho-overlay'`.
* The complete build log is located at '/var/tmp/portage/dev-embedded/argononed-0.3.4_pre2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-embedded/argononed-0.3.4_pre2/temp/environment'.
* Working directory: '/var/tmp/portage/dev-embedded/argononed-0.3.4_pre2/work/argononed-0.3.4_pre2'
* S: '/var/tmp/portage/dev-embedded/argononed-0.3.4_pre2/work/argononed-0.3.4_pre2'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment