Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

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 truatpasteurdotfr/c8370f3b8afe86203a129bae6b7b46b6 to your computer and use it in GitHub Desktop.
Save truatpasteurdotfr/c8370f3b8afe86203a129bae6b7b46b6 to your computer and use it in GitHub Desktop.
guix inside a c7 singularity
Singularity> guix pull -n
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
guix https://git.savannah.gnu.org/git/guix.git c42db89
substitute: Backtrace:
substitute: 6 (apply-smob/1 #<catch-closure 132a300>)
substitute: In ice-9/boot-9.scm:
substitute: 705:2 5 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
substitute: In ice-9/eval.scm:
substitute: 619:8 4 (_ #(#(#<directory (guile-user) 13f0140>)))
substitute: In guix/ui.scm:
substitute: 1747:12 3 (run-guix-command _ . _)
substitute: In guix/scripts/substitute.scm:
substitute: 1100:2 2 (guix-substitute "--query")
substitute: 1026:13 1 (check-acl-initialized)
substitute: In unknown file:
substitute: 0 (scm-error misc-error #f "~A ~S" ("invalid access-c?" ?) ?)
substitute:
substitute: ERROR: In procedure scm-error:
substitute: invalid access-control list (public-key (rsa (n #vu8(0 219 22 52 227 217 223 172 151 174 71 52 218 233 104 204 177 94 228 129 92 130 189 194 84 136 61 187 73 254 30 243 34 104 232 45 75 190 14 53 41 140 72 28 157 161 85 22 66 250 255 5 174 193 166 7 18 241 187 75 231 210 93 126 255 122 79 137 112 74 90 154 194 50 135 12 185 242 71 108 59 83 138 14 153 10 136 37 222 183 48 129 211 23 0 31 184 161 136 96 15 47 239 95 95 87 14 133 127 62 228 53 80 119 163 195 145 142 215 39 35 165 107 165 92 70 109 64 6 88 151 77 125 173 31 107 123 99 193 146 185 194 112 77 152 187 255 28 59 213 184 239 17 168 173 200 58 203 143 216 233 241 231 146 253 173 38 36 21 209 63 45 238 85 243 48 144 140 253 169 195 200 195 43 100 247 221 8 132 87 211 79 68 94 46 44 131 198 214 128 84 157 201 182 230 87 59 137 73 101 103 32 78 210 133 230 122 39 159 47 102 112 128 186 148 29 128 208 21 206 135 176 251 106 145 169 156 236 199 217 29 45 33 11 0 228 182 230 17 218 81 219 0 143 29 254 63 202 198 178 115 147 250 120 29 69 249 161 95 199 184 120 90 62 134 186 101 146 178 145 108 162 44 241 228 15 200 95 133 202 202 89 4 97 21 79 88 243 88 11 22 57 137 8 239 50 7 111 65 18 153 194 135 39 201 77 136 182 166 24 248 77 215 58 235 237 130 112 188 182 105 9 40 203 27 242 80 195 94 31 107 243 177 179 13 5 186 36 110 206 143 105 217 6 93 226 111 75 62 13 129 77 112 169 194 124 181 183 176 80 201 9 5 144 211 169 239 131 55 79 38 67 229 68 111 189 57 221 177 36 219 246 223 218 166 209 142 37 96 173 12 191 161 28 149 156 155 115 22 191 25 150 58 25 25 103 5 78 159 217 125 193 77 113 8 43 48 177 201 10 70 232 153 102 130 71 76 59 203 81 186 8 130 149 136 151 182 221 53 228 27 81 116 208 166 188 222 151 184 144 67 233 91 209 183 13 230 29 166 102 137 59 65 113 150 161 128 0 84 102 188 58 116 47 223 4 232 155 4 70 14 62 107 199 46 127 27 95 234 91 48 146 254 229 81 163 196 71 193 46 16 78 101)) (e #vu8(1 0 1))) (tag (guix import)))
guix pull: error: substituter `substitute' died unexpectedly
Singularity>
@truatpasteurdotfr
Copy link
Author

Singularity> guix pull    
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git	c42db89
substitute: Backtrace:
substitute:            6 (apply-smob/1 #<catch-closure 1bb3600>)
substitute: In ice-9/boot-9.scm:
substitute:     705:2  5 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
substitute: In ice-9/eval.scm:
substitute:     619:8  4 (_ #(#(#<directory (guile-user) 1cdd140>)))
substitute: In guix/ui.scm:
substitute:   1747:12  3 (run-guix-command _ . _)
substitute: In guix/scripts/substitute.scm:
substitute:    1100:2  2 (guix-substitute "--query")
substitute:   1026:13  1 (check-acl-initialized)
substitute: In unknown file:
substitute:            0 (scm-error misc-error #f "~A ~S" ("invalid access-c?" ?) ?)
substitute: 
substitute: ERROR: In procedure scm-error:
substitute: invalid access-control list (public-key (rsa (n #vu8(0 219 22 52 227 217 223 172 151 174 71 52 218 233 104 204 177 94 228 129 92 130 189 194 84 136 61 187 73 254 30 243 34 104 232 45 75 190 14 53 41 140 72 28 157 161 85 22 66 250 255 5 174 193 166 7 18 241 187 75 231 210 93 126 255 122 79 137 112 74 90 154 194 50 135 12 185 242 71 108 59 83 138 14 153 10 136 37 222 183 48 129 211 23 0 31 184 161 136 96 15 47 239 95 95 87 14 133 127 62 228 53 80 119 163 195 145 142 215 39 35 165 107 165 92 70 109 64 6 88 151 77 125 173 31 107 123 99 193 146 185 194 112 77 152 187 255 28 59 213 184 239 17 168 173 200 58 203 143 216 233 241 231 146 253 173 38 36 21 209 63 45 238 85 243 48 144 140 253 169 195 200 195 43 100 247 221 8 132 87 211 79 68 94 46 44 131 198 214 128 84 157 201 182 230 87 59 137 73 101 103 32 78 210 133 230 122 39 159 47 102 112 128 186 148 29 128 208 21 206 135 176 251 106 145 169 156 236 199 217 29 45 33 11 0 228 182 230 17 218 81 219 0 143 29 254 63 202 198 178 115 147 250 120 29 69 249 161 95 199 184 120 90 62 134 186 101 146 178 145 108 162 44 241 228 15 200 95 133 202 202 89 4 97 21 79 88 243 88 11 22 57 137 8 239 50 7 111 65 18 153 194 135 39 201 77 136 182 166 24 248 77 215 58 235 237 130 112 188 182 105 9 40 203 27 242 80 195 94 31 107 243 177 179 13 5 186 36 110 206 143 105 217 6 93 226 111 75 62 13 129 77 112 169 194 124 181 183 176 80 201 9 5 144 211 169 239 131 55 79 38 67 229 68 111 189 57 221 177 36 219 246 223 218 166 209 142 37 96 173 12 191 161 28 149 156 155 115 22 191 25 150 58 25 25 103 5 78 159 217 125 193 77 113 8 43 48 177 201 10 70 232 153 102 130 71 76 59 203 81 186 8 130 149 136 151 182 221 53 228 27 81 116 208 166 188 222 151 184 144 67 233 91 209 183 13 230 29 166 102 137 59 65 113 150 161 128 0 84 102 188 58 116 47 223 4 232 155 4 70 14 62 107 199 46 127 27 95 234 91 48 146 254 229 81 163 196 71 193 46 16 78 101)) (e #vu8(1 0 1))) (tag (guix import)))
building /gnu/store/mp1bgj8j704yhvy2b5h3ih5dicch7hb7-gcc-5.5.0.drv...
/ 'build' phasebuilder for `/gnu/store/mp1bgj8j704yhvy2b5h3ih5dicch7hb7-gcc-5.5.0.drv' failed with exit code 1
build of /gnu/store/mp1bgj8j704yhvy2b5h3ih5dicch7hb7-gcc-5.5.0.drv failed
View build log at '/var/log/guix/drvs/mp/1bgj8j704yhvy2b5h3ih5dicch7hb7-gcc-5.5.0.drv.bz2'.
cannot build derivation `/gnu/store/63lk2gzdb4f9n4dbja5ik0d77mfgcch9-openssl-1.0.2p.drv': 1 dependencies couldn't be built
guix pull: error: build of `/gnu/store/63lk2gzdb4f9n4dbja5ik0d77mfgcch9-openssl-1.0.2p.drv' failed
Singularity> 

@truatpasteurdotfr
Copy link
Author

log:

...
g++   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE -Wl,-rpath=/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib -Wl,-dynamic-linker -Wl,/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib/ld-linux-x86-64.so.2 -L/gnu/store/y4wgh76h3yswckqvk65441yyk5nkplzg-libstdc++-5.5.0/lib -L/gnu/store/pmrn3q8lxbya7hq3rx9qpsclp8q7gv2v-zlib-1.2.11/lib -Wl,-rpath=/gnu/store/pmrn3q8lxbya7hq3rx9qpsclp8q7gv2v-zlib-1.2.11/lib -o build/genhooks \
    build/genhooks.o build/errors.o ../build-x86_64-unknown-linux-gnu/libiberty/libiberty.a
x86_64-guix-linux-gnu-ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:2615: build/genhooks] Error 1
make[3]: *** Waiting for unfinished jobs....
rm gcc.pod
make[3]: Leaving directory '/tmp/guix-build-gcc-5.5.0.drv-0/build/gcc'
make[2]: *** [Makefile:4378: all-stage1-gcc] Error 2
make[2]: Leaving directory '/tmp/guix-build-gcc-5.5.0.drv-0/build'
make[1]: *** [Makefile:21771: stage1-bubble] Error 2
make[1]: Leaving directory '/tmp/guix-build-gcc-5.5.0.drv-0/build'
make: *** [Makefile:909: all] Error 2
Backtrace:
In ice-9/boot-9.scm:
 157: 12 [catch #t #<catch-closure c900a0> ...]
In unknown file:
   ?: 11 [apply-smob/1 #<catch-closure c900a0>]
In ice-9/boot-9.scm:
  63: 10 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 9 [eval # #]
In ice-9/boot-9.scm:
2320: 8 [save-module-excursion #<procedure cc1b80 at ice-9/boot-9.scm:3961:3 ()>]
3966: 7 [#<procedure cc1b80 at ice-9/boot-9.scm:3961:3 ()>]
1645: 6 [%start-stack load-stack #<procedure cbd2c0 at ice-9/boot-9.scm:3957:10 ()>]
1650: 5 [#<procedure cc3060 ()>]
In unknown file:
   ?: 4 [primitive-load "/gnu/store/wvbl6sb6b6r17a39ilnn5mly7scnkvkg-gcc-5.5.0-guile-builder"]
In ice-9/eval.scm:
 387: 3 [eval # ()]
In srfi/srfi-1.scm:
 830: 2 [every1 #<procedure 145f460 at /gnu/store/lpals6qq7ccbdldzamis7x9mv2p7g4sb-module-import/guix/build/gnu-build-system.scm:795:9 (expr)> ...]
In /gnu/store/lpals6qq7ccbdldzamis7x9mv2p7g4sb-module-import/guix/build/gnu-build-system.scm:
 799: 1 [#<procedure 145f460 at /gnu/store/lpals6qq7ccbdldzamis7x9mv2p7g4sb-module-import/guix/build/gnu-build-system.scm:795:9 (expr)> #]
In /gnu/store/lpals6qq7ccbdldzamis7x9mv2p7g4sb-module-import/guix/build/utils.scm:
 616: 0 [invoke "make" "-j" ...]

/gnu/store/lpals6qq7ccbdldzamis7x9mv2p7g4sb-module-import/guix/build/utils.scm:616:6: In procedure invoke:
/gnu/store/lpals6qq7ccbdldzamis7x9mv2p7g4sb-module-import/guix/build/utils.scm:616:6: Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "make" arguments: ("-j" "4" "LDFLAGS_FOR_TARGET=-B/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib -Wl,-dynamic-linker -Wl,/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib/ld-linux-x86-64.so.2" "LDFLAGS=-Wl,-rpath=/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib -Wl,-dynamic-linker -Wl,/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib/ld-linux-x86-64.so.2 -L/gnu/store/y4wgh76h3yswckqvk65441yyk5nkplzg-libstdc++-5.5.0/lib -L/gnu/store/pmrn3q8lxbya7hq3rx9qpsclp8q7gv2v-zlib-1.2.11/lib -Wl,-rpath=/gnu/store/pmrn3q8lxbya7hq3rx9qpsclp8q7gv2v-zlib-1.2.11/lib" "BOOT_CFLAGS=-O2 -g0") exit-status: 2 term-signal: #f stop-signal: #f] 3391bc0>)'.
Singularity> 

@truatpasteurdotfr
Copy link
Author

Singularity> find /gnu/store/y4wgh76h3yswckqvk65441yyk5nkplzg-libstdc++-5.5.0/lib
/gnu/store/y4wgh76h3yswckqvk65441yyk5nkplzg-libstdc++-5.5.0/lib
Singularity> find /gnu/store/y4wgh76h3yswckqvk65441yyk5nkplzg-libstdc++-5.5.0/lib64
/gnu/store/y4wgh76h3yswckqvk65441yyk5nkplzg-libstdc++-5.5.0/lib64
/gnu/store/y4wgh76h3yswckqvk65441yyk5nkplzg-libstdc++-5.5.0/lib64/libstdc++.a-gdb.py
/gnu/store/y4wgh76h3yswckqvk65441yyk5nkplzg-libstdc++-5.5.0/lib64/libstdc++.la
/gnu/store/y4wgh76h3yswckqvk65441yyk5nkplzg-libstdc++-5.5.0/lib64/libstdc++.a
/gnu/store/y4wgh76h3yswckqvk65441yyk5nkplzg-libstdc++-5.5.0/lib64/libsupc++.a
/gnu/store/y4wgh76h3yswckqvk65441yyk5nkplzg-libstdc++-5.5.0/lib64/libstdc++fs.a
/gnu/store/y4wgh76h3yswckqvk65441yyk5nkplzg-libstdc++-5.5.0/lib64/libsupc++.la
/gnu/store/y4wgh76h3yswckqvk65441yyk5nkplzg-libstdc++-5.5.0/lib64/libstdc++fs.la

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment