Today i spent some hours trying to install the gnuplotlanguage package with macports, with this result every time i tried
---> Computing dependencies for gnudatalanguage
---> Dependencies to be installed: pslib
---> Fetching archive for pslib
---> Attempting to fetch pslib-0.4.5_6.darwin_15.x86_64.tbz2 from http://fco.it.packages.macports.org/mirrors/macports-packages/pslib/pslib
---> Attempting to fetch pslib-0.4.5_6.darwin_15.x86_64.tbz2 from http://nue.de.packages.macports.org/pslib
---> Attempting to fetch pslib-0.4.5_6.darwin_15.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/pslib
---> Fetching distfiles for pslib
---> Attempting to fetch pslib-0.4.5.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/pslib
---> Verifying checksums for pslib
---> Extracting pslib
---> Applying patches to pslib
---> Configuring pslib
---> Building pslib
---> Staging pslib into destroot
Error: org.macports.destroot for port pslib returned: command execution failed
Error: Failed to install pslib
Please see the log file for port pslib for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_pslib/pslib/main.log
Error: The following dependencies were not installed: pslib
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port gnudatalanguage failed
I tried to follow solutions found googling some of the lines that i thought could be causing this problem.
From the log file, lines like:
Can't run fetch on this port without elevated privileges. Escalating privileges back to root.
Can't run destroot under sudo without elevated privileges (due to mtree)
org.macports.destroot for port pslib returned: command execution failed
Error code: CHILDSTATUS 54561 2
I unfortunately found that none of the proposed solutions worked.
Has anyone found the same issue, and solved it? I really need GDL for a project.
Related
I am newbie in docker and have been trying to run my react with docker using docker build.
`
Step 1/9 : FROM node:18.12.1-alpine
---> 6d7b7852bcd3
Step 2/9 : WORKDIR /app
---> Using cache
---> 52bdc49c2014
Step 3/9 : COPY package.json .
---> Using cache
---> 3920b54c5ec9
Step 4/9 : RUN yarn config set network-timeout 600000 -g
---> Running in 374a0b1cd0f9
yarn config v1.22.19
success Set "network-timeout" to "600000".
Done in 0.04s.
Removing intermediate container 374a0b1cd0f9
---> 00499f342961
Step 5/9 : RUN yarn install --verbose
---> Running in 223d0d40490c
yarn install v1.22.19
verbose 0.232714456 Checking for configuration file "/app/.npmrc".
verbose 0.233075334 Checking for configuration file "/usr/local/share/.npmrc".
verbose 0.23327504 Checking for configuration file "/usr/local/etc/npmrc".
verbose 0.233483662 Checking for configuration file "/root/.npmrc".
verbose 0.233677765 Checking for configuration file "/app/.npmrc".
verbose 0.234698832 Checking for configuration file "/app/.yarnrc".
verbose 0.235102797 Checking for configuration file "/usr/local/share/.yarnrc".
verbose 0.235299537 Found configuration file "/usr/local/share/.yarnrc".
verbose 0.235636309 Checking for configuration file "/usr/local/etc/yarnrc".
verbose 0.236023201 Checking for configuration file "/root/.yarnrc".
verbose 0.236307171 Checking for configuration file "/app/.yarnrc".
verbose 0.248050692 current time: 2022-12-18T19:09:37.677Z
info No lockfile found.
[1/4] Resolving packages...
verbose 0.304465887 Performing "GET" request to "https://registry.yarnpkg.com/#react-spring%2ftypes".
info There appears to be trouble with your network connection. Retrying...
verbose 134.153645027 Performing "GET" request to "https://registry.yarnpkg.com/#react-spring%2ftypes".
info There appears to be trouble with your network connection. Retrying...
verbose 267.268788936 Performing "GET" request to "https://registry.yarnpkg.com/#react-spring%2ftypes".
info There appears to be trouble with your network connection. Retrying...
verbose 400.388013951 Performing "GET" request to "https://registry.yarnpkg.com/#react-spring%2ftypes".
info There appears to be trouble with your network connection. Retrying...
verbose 533.508365167 Performing "GET" request to "https://registry.yarnpkg.com/#react-spring%2ftypes".
verbose 663.62858393 Error: connect ETIMEDOUT 2606:4700::6810:1923:443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1300:16)
error An unexpected error occurred: "https://registry.yarnpkg.com/#react-spring%2ftypes: connect ETIMEDOUT 2606:4700::6810:1923:443".
info If you think this is a bug, please open a bug report with the information provided in "/app/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
The command '/bin/sh -c yarn install --verbose' returned a non-zero code: 1
`
It gives me There appears to be trouble with your network connection. Retrying.
I tried setting network-timeout and clearing cache but still giving me the same error.
However, it is working on my WSL2 but not on my Ubuntu 22.04.1 LTS
I try to install mpeg4ip on macosx (Mojave) but failure:
sudo port install mpeg4ip
Error message:
---> Building db48
Error: Failed to build db48: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_distfiles.macports.org_ports_databases_db48/db48/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port mpeg4ip failed
Is this project (mpeg4ip) still active? If not, how can install it!
I can't containerize the sample application provided by Google, which means it's either a global issue or something really obvious I'm overlooking.
So. I'm working from the Google PHP Bookshelf Tutorial at https://cloud.google.com/php/tutorials/bookshelf-on-kubernetes-engine with the default Dockerfile, which is to say:
FROM gcr.io/google_appengine/php
# Add our NGINX and php.ini config
ENV DOCUMENT_ROOT=${APP_DIR}/web
# Workaround for AUFS-related permission issue:
# See https://github.com/docker/docker/issues/783#issuecomment-56013588
RUN cp -R ${APP_DIR} ${APP_DIR}-copy; rm -r ${APP_DIR}; mv ${APP_DIR}-copy ${APP_DIR}; chmod -R 550 ${APP_DIR}; chown -R root.www-data ${APP_DIR}
And when I run this command in the directory:
docker build -t gcr.io/{ID}/bookshelf .
I get the following error message that bombs out:
Get:19 http://packages.cloud.google.com/apt gcp-php-runtime-xenial-20181210-1/main amd64 gcp-php72-stackdriver-debugger amd64 0.2.0-7.2.13-1 [16.3 kB]
Fetched 13.1 MB in 3s (3762 kB/s)
W: http://packages.cloud.google.com/apt/pool/gcp-php72-cassandra_1.3.2-7.2.13-1_amd64_ada32d7a11b6c82aaa6b1ac862ef703f9b7fe1c16f640b695465a64457cd4aa4.deb: Automatically disabled Acquire::http::Pipeline-Depth due to incorrect response from server/proxy. (man 5 apt.conf)
E: Failed to fetch http://packages.cloud.google.com/apt/pool/gcp-php72-apcu_5.1.15-7.2.13-1_amd64_15fbd2c2e40acf5c27e025da6a2a91bae6c5d91474e2bc1d6701a38e1694b141.deb 400 Bad Request
E: Failed to fetch http://packages.cloud.google.com/apt/pool/gcp-php72-apcu-bc_1.0.4-7.2.13-1_amd64_2df44251c7d74210da6f81d5008759ae05c6a7508bd867641c3e2a5d09c37023.deb 405 Method Not Allowed
E: Failed to fetch http://packages.cloud.google.com/apt/pool/gcp-php72-cassandra_1.3.2-7.2.13-1_amd64_ada32d7a11b6c82aaa6b1ac862ef703f9b7fe1c16f640b695465a64457cd4aa4.deb Hash Sum mismatch
E: Failed to fetch http://packages.cloud.google.com/apt/pool/gcp-php72-ev_1.0.4-7.2.13-1_amd64_7070488b0e864419786e936ecb37a1db16b8da2ffe7bb6d477de6efd17fb6033.deb Hash Sum mismatch
E: Failed to fetch http://packages.cloud.google.com/apt/pool/gcp-php72-event_2.4.3-7.2.13-1_amd64_43ac00ba31d1d0ef2fb882ea1ea8e7734153e764a083547b4670febde058ec18.deb Hash Sum mismatch
E: Failed to fetch http://packages.cloud.google.com/apt/pool/gcp-php72-grpc_1.17.0-7.2.13-1_amd64_bdd2d379362ab3f30d1360059d73d216ba14e1602ee0e4dd57981da14a7fb08f.deb Hash Sum mismatch
E: Failed to fetch http://packages.cloud.google.com/apt/pool/gcp-php72-imagick_3.4.3-7.2.13-1_amd64_5ade1cea82cf4ac52e7c999e5a93239f12fba76ecf9865a7ad7e9f0fdbd142bd.deb Writing more data than expected (91276 > 85662)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
The command '/bin/sh -c /build-scripts/composer.sh' returned a non-zero code: 100
This error occurs whenever I try to run the build anywhere - even if I do a test on my local machine, it still bombs.
What gives?
The apt errors Hash Sum mismatch, 400 Bad Request, 405 Method Not Allowed, Writing more data than expected (91276 > 85662) suggest that something was wrong with the apt package repos at that time.
So I am assuming something was broken with the repo at that time (OR a partial response was received due to a blip in networking which might have caused APT to express these errors).
I have now built the Dockerfile of this tutorial successfully. So I think this was a transient issue.
I'm using GAE for a Laravel PHP site and using flex instances. I've always had no problem doing a "gcloud app deploy" to get my app deployed. However, for the last 24 hours or so when I attempt to deploy I get the following error:
Step #1: Package manifest generated successfully.
Step #1: > chmod -R 755 bootstrap/cache
Step #1: > php artisan cache:clear
Step #1:
Step #1: In AbstractConnection.php line 155:
Step #1:
Step #1: Connection timed out [tcp://1.2.3.4:6379]
Step #1:
Step #1:
Step #1: Script php artisan cache:clear handling the post-install-cmd event returned with error code 1
Step #1: The command '/bin/sh -c /build-scripts/composer.sh' returned a non-zero code: 1
Finished Step #1
ERROR
ERROR: build step 1 "gcr.io/cloud-builders/docker#sha256:12345" failed: exit status 1
Step #1:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ERROR: (gcloud.app.deploy) Cloud build failed. Check logs at https://console.cloud.google.com/gcr/builds/12345?project=1234 Failure status: UNKNOWN: Error Response: [2] Build failed; check build logs for details
I have a Memorystore (redis) instance I use since GAE memcache isn't available on flex instances yet. My app uses redis as a cache, so as you can see above, once the new code is deployed composer is configured to clear the cache, which is where it's timing out and failing.
If I SSH into an existing instance, I can run php artisan cache:clear no problem. However, it's failing on deploy. It's a pretty simple code change that's only UI tweaks (html/javascript) so none of the redis or connection code has changed.
Any ideas?
I'm trying to do this:
sudo port install nautilus
but it tells me
Error: Port nautilus not found
despite nautilus being clearly on MacPorts: http://rsync.macports.org/nautilus/. So, I attempt to do this:
sudo port -d selfupdate
and I get this:
DEBUG: Copying /Users/BL185083/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
---> Updating MacPorts base sources using rsync
rsync: failed to connect to rsync.macports.org: Operation timed out (60)
rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-45/rsync/clientserver.c(105) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
Exit code: 10
DEBUG: Error synchronizing MacPorts sources: command execution failed
while executing
"macports::selfupdate [array get global_options] base_updated"
Error: Error synchronizing MacPorts sources: command execution failed
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed
And I checked to make sure my firewall was off:
So... Why can't I use MacPorts?