René's URL Explorer Experiment


Title: Ubuntu VM on Apple Silicon fails to load or compile devIocStats · Issue #183 · DiamondLightSource/pythonSoftIOC · GitHub

Open Graph Title: Ubuntu VM on Apple Silicon fails to load or compile devIocStats · Issue #183 · DiamondLightSource/pythonSoftIOC

X Title: Ubuntu VM on Apple Silicon fails to load or compile devIocStats · Issue #183 · DiamondLightSource/pythonSoftIOC

Description: I have softIOC code developed on other systems that is failing to run on my Apple Silicon Macbook Pro M2 (in a Parallels virtual machine running Ubuntu), and it appears to be due to the devIocStats feature causing a buffer overflow and t...

Open Graph Description: I have softIOC code developed on other systems that is failing to run on my Apple Silicon Macbook Pro M2 (in a Parallels virtual machine running Ubuntu), and it appears to be due to the devIocStats...

X Description: I have softIOC code developed on other systems that is failing to run on my Apple Silicon Macbook Pro M2 (in a Parallels virtual machine running Ubuntu), and it appears to be due to the devIocStats...

Opengraph URL: https://github.com/DiamondLightSource/pythonSoftIOC/issues/183

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Ubuntu VM on Apple Silicon fails to load or compile devIocStats","articleBody":"I have softIOC code developed on other systems that is failing to run on my Apple Silicon Macbook Pro M2 (in a Parallels virtual machine running Ubuntu), and it appears to be due to the devIocStats feature causing a buffer overflow and then core dump.\n\nMy machine:\n\n```vm-ubuntu24 13:28 ~ $ uname -a\nLinux vm-ubuntu24 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec  5 13:32:09 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux\n```\n\nThe easiest way to demonstrate the error; this is on a machine installed last July.  I wasn't running devIocStats on it until now.\n\n```vm-ubuntu24 13:27 ~ $ /usr/local/anaconda/bin/python3\nPython 3.12.4 | packaged by Anaconda, Inc. | (main, Jun 18 2024, 15:03:55) [GCC 11.2.0] on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n>>> from softioc import softioc\nINFO: PVXS QSRV2 is loaded, permitted, and ENABLED.\n>>> softioc.devIocStats('test')\n*** buffer overflow detected ***: terminated\nAborted (core dumped)\n```\n\n\nI also tried to reproduce the problem on a freshly installed Ubuntu 24.04 machine I just made for a test.  It fails to compile.\n\n```# ./pip install softioc\nCollecting softioc\n  Downloading softioc-4.5.0.tar.gz (82 kB)\n  Installing build dependencies ... done\n  Getting requirements to build wheel ... done\n  Preparing metadata (pyproject.toml) ... done\nCollecting epicscorelibs\u003c7.0.7.99.2,>=7.0.7.99.1.1 (from softioc)\n  Using cached epicscorelibs-7.0.7.99.1.1-cp312-cp312-linux_aarch64.whl\nCollecting pvxslibs>=1.2.2 (from softioc)\n  Downloading pvxslibs-1.3.2.tar.gz (660 kB)\n     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 660.7/660.7 kB 411.8 kB/s eta 0:00:00\n  Installing build dependencies ... done\n  Getting requirements to build wheel ... done\n  Preparing metadata (pyproject.toml) ... done\nRequirement already satisfied: numpy in /usr/local/Anaconda3-2024.10-1/lib/python3.12/site-packages (from softioc) (1.26.4)\nCollecting epicsdbbuilder>=1.4 (from softioc)\n  Downloading epicsdbbuilder-1.5-py3-none-any.whl.metadata (2.8 kB)\nRequirement already satisfied: setuptools in /usr/local/Anaconda3-2024.10-1/lib/python3.12/site-packages (from epicscorelibs\u003c7.0.7.99.2,>=7.0.7.99.1.1->softioc) (75.1.0)\nCollecting setuptools-dso>=2.11a2 (from epicscorelibs\u003c7.0.7.99.2,>=7.0.7.99.1.1->softioc)\n  Using cached setuptools_dso-2.11-py2.py3-none-any.whl.metadata (1.6 kB)\nDownloading epicsdbbuilder-1.5-py3-none-any.whl (23 kB)\nUsing cached setuptools_dso-2.11-py2.py3-none-any.whl (23 kB)\nBuilding wheels for collected packages: softioc, pvxslibs\n  Building wheel for softioc (pyproject.toml) ... error\n  error: subprocess-exited-with-error\n  \n  × Building wheel for softioc (pyproject.toml) did not run successfully.\n  │ exit code: 1\n  ╰─> [149 lines of output]\n      running bdist_wheel\n      running build\n      running build_py\n      creating build/lib.linux-aarch64-cpython-312/softioc\n      copying softioc/__init__.py -> build/lib.linux-aarch64-cpython-312/softioc\n      copying softioc/__main__.py -> build/lib.linux-aarch64-cpython-312/softioc\n      copying softioc/_version_git.py -> build/lib.linux-aarch64-cpython-312/softioc\n      copying softioc/alarm.py -> build/lib.linux-aarch64-cpython-312/softioc\n      copying softioc/asyncio_dispatcher.py -> build/lib.linux-aarch64-cpython-312/softioc\n      copying softioc/builder.py -> build/lib.linux-aarch64-cpython-312/softioc\n      copying softioc/cothread_dispatcher.py -> build/lib.linux-aarch64-cpython-312/softioc\n      copying softioc/device.py -> build/lib.linux-aarch64-cpython-312/softioc\n      copying softioc/device_core.py -> build/lib.linux-aarch64-cpython-312/softioc\n      copying softioc/fields.py -> build/lib.linux-aarch64-cpython-312/softioc\n      copying softioc/imports.py -> build/lib.linux-aarch64-cpython-312/softioc\n      copying softioc/pvlog.py -> build/lib.linux-aarch64-cpython-312/softioc\n      copying softioc/pythonSoftIoc.py -> build/lib.linux-aarch64-cpython-312/softioc\n      copying softioc/softioc.py -> build/lib.linux-aarch64-cpython-312/softioc\n      copying softioc/access.acf -> build/lib.linux-aarch64-cpython-312/softioc\n      copying softioc/device.dbd -> build/lib.linux-aarch64-cpython-312/softioc\n      creating build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats\n      copying softioc/iocStats/devIocStats/Makefile -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats\n      copying softioc/iocStats/devIocStats/devIocStats.dbd -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats\n      copying softioc/iocStats/devIocStats/devIocStats.h -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats\n      copying softioc/iocStats/devIocStats/devIocStatsAnalog.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats\n      copying softioc/iocStats/devIocStats/devIocStatsString.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats\n      copying softioc/iocStats/devIocStats/devIocStatsSub.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats\n      copying softioc/iocStats/devIocStats/devIocStatsTest.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats\n      copying softioc/iocStats/devIocStats/devIocStatsWaveform.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats\n      copying softioc/iocStats/devIocStats/devVxStats.dbd -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats\n      creating build/lib.linux-aarch64-cpython-312/softioc/iocStats/iocAdmin/Db\n      copying softioc/iocStats/iocAdmin/Db/Makefile -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/iocAdmin/Db\n      copying softioc/iocStats/iocAdmin/Db/access.db -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/iocAdmin/Db\n      copying softioc/iocStats/iocAdmin/Db/access.doc -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/iocAdmin/Db\n      copying softioc/iocStats/iocAdmin/Db/ioc.template -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/iocAdmin/Db\n      copying softioc/iocStats/iocAdmin/Db/iocAdminRTEMS.substitutions -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/iocAdmin/Db\n      copying softioc/iocStats/iocAdmin/Db/iocAdminScanMon.substitutions -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/iocAdmin/Db\n      copying softioc/iocStats/iocAdmin/Db/iocAdminSoft.substitutions -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/iocAdmin/Db\n      copying softioc/iocStats/iocAdmin/Db/iocAdminVxWorks.substitutions -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/iocAdmin/Db\n      copying softioc/iocStats/iocAdmin/Db/iocCluster.template -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/iocAdmin/Db\n      copying softioc/iocStats/iocAdmin/Db/iocEnvVar.template -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/iocAdmin/Db\n      copying softioc/iocStats/iocAdmin/Db/iocGeneralTime.template -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/iocAdmin/Db\n      copying softioc/iocStats/iocAdmin/Db/iocQueue.db -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/iocAdmin/Db\n      copying softioc/iocStats/iocAdmin/Db/iocRTEMSOnly.template -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/iocAdmin/Db\n      copying softioc/iocStats/iocAdmin/Db/iocRTOS.template -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/iocAdmin/Db\n      copying softioc/iocStats/iocAdmin/Db/iocScanMon.template -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/iocAdmin/Db\n      copying softioc/iocStats/iocAdmin/Db/iocScanMonSum.template -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/iocAdmin/Db\n      copying softioc/iocStats/iocAdmin/Db/iocVxWorksOnly.template -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/iocAdmin/Db\n      creating build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/default\n      copying softioc/iocStats/devIocStats/os/default/devIocStatsOSD.h -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/default\n      copying softioc/iocStats/devIocStats/os/default/osdBootInfo.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/default\n      copying softioc/iocStats/devIocStats/os/default/osdClustInfo.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/default\n      copying softioc/iocStats/devIocStats/os/default/osdCpuUsage.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/default\n      copying softioc/iocStats/devIocStats/os/default/osdCpuUtilization.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/default\n      copying softioc/iocStats/devIocStats/os/default/osdFdUsage.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/default\n      copying softioc/iocStats/devIocStats/os/default/osdHostInfo.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/default\n      copying softioc/iocStats/devIocStats/os/default/osdIFErrors.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/default\n      copying softioc/iocStats/devIocStats/os/default/osdMemUsage.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/default\n      copying softioc/iocStats/devIocStats/os/default/osdPIDInfo.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/default\n      copying softioc/iocStats/devIocStats/os/default/osdPwdInfo.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/default\n      copying softioc/iocStats/devIocStats/os/default/osdSuspTasks.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/default\n      copying softioc/iocStats/devIocStats/os/default/osdSystemInfo.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/default\n      copying softioc/iocStats/devIocStats/os/default/osdWorkspaceUsage.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/default\n      creating build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/Darwin\n      copying softioc/iocStats/devIocStats/os/Darwin/devIocStatsOSD.h -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/Darwin\n      creating build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/WIN32\n      copying softioc/iocStats/devIocStats/os/WIN32/devIocStatsOSD.h -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/WIN32\n      copying softioc/iocStats/devIocStats/os/WIN32/osdBootInfo.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/WIN32\n      copying softioc/iocStats/devIocStats/os/WIN32/osdCpuUtilization.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/WIN32\n      copying softioc/iocStats/devIocStats/os/WIN32/osdFdUsage.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/WIN32\n      copying softioc/iocStats/devIocStats/os/WIN32/osdHostInfo.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/WIN32\n      copying softioc/iocStats/devIocStats/os/WIN32/osdMemUsage.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/WIN32\n      copying softioc/iocStats/devIocStats/os/WIN32/osdSystemInfo.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/WIN32\n      creating build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/Linux\n      copying softioc/iocStats/devIocStats/os/Linux/osdCpuUsage.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/Linux\n      copying softioc/iocStats/devIocStats/os/Linux/osdCpuUtilization.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/Linux\n      copying softioc/iocStats/devIocStats/os/Linux/osdFdUsage.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/Linux\n      copying softioc/iocStats/devIocStats/os/Linux/osdMemUsage.c -> build/lib.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/Linux\n      running build_ext\n      building 'softioc._extension' extension\n      creating build/temp.linux-aarch64-cpython-312/softioc\n      creating build/temp.linux-aarch64-cpython-312/softioc/iocStats/devIocStats\n      creating build/temp.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/Linux\n      creating build/temp.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/os/default\n      gcc -pthread -B /usr/local/Anaconda3-2024.10-1/compiler_compat -fno-strict-overflow -Wsign-compare -DNDEBUG -O3 -Wall -fPIC -O3 -isystem /usr/local/Anaconda3-2024.10-1/include -fPIC -O3 -isystem /usr/local/Anaconda3-2024.10-1/include -fPIC -D_GNU_SOURCE -D_DEFAULT_SOURCE -Dlinux -DUNIX -D_GLIBCXX_USE_CXX11_ABI=1 -I/tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include -Isoftioc/iocStats/devIocStats -Isoftioc/iocStats/devIocStats/os/Linux -Isoftioc/iocStats/devIocStats/os/default -I/usr/local/Anaconda3-2024.10-1/include/python3.12 -c softioc/extension.c -o build/temp.linux-aarch64-cpython-312/softioc/extension.o -g0 -std=c99\n      In file included from /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/dbAccess.h:20,\n                       from softioc/extension.c:7:\n      /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/dbBase.h:164:5: warning: ‘rset’ is deprecated [-Wdeprecated-declarations]\n        164 |     rset            *prset;\n            |     ^~~~\n      In file included from /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/dbBase.h:22:\n      /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/recSup.h:68:8: note: declared here\n         68 | struct rset {   /* record support entry table */\n            |        ^~~~\n      In file included from /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/dbAccess.h:24:\n      /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/dbAccessDefs.h:210:42: warning: ‘rset’ is deprecated [-Wdeprecated-declarations]\n        210 | DBCORE_API rset * dbGetRset(const struct dbAddr *paddr);\n            |                                          ^~~~~~\n      /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/recSup.h:68:8: note: declared here\n         68 | struct rset {   /* record support entry table */\n            |        ^~~~\n      gcc -pthread -B /usr/local/Anaconda3-2024.10-1/compiler_compat -fno-strict-overflow -Wsign-compare -DNDEBUG -O3 -Wall -fPIC -O3 -isystem /usr/local/Anaconda3-2024.10-1/include -fPIC -O3 -isystem /usr/local/Anaconda3-2024.10-1/include -fPIC -D_GNU_SOURCE -D_DEFAULT_SOURCE -Dlinux -DUNIX -D_GLIBCXX_USE_CXX11_ABI=1 -I/tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include -Isoftioc/iocStats/devIocStats -Isoftioc/iocStats/devIocStats/os/Linux -Isoftioc/iocStats/devIocStats/os/default -I/usr/local/Anaconda3-2024.10-1/include/python3.12 -c softioc/iocStats/devIocStats/devIocStatsAnalog.c -o build/temp.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/devIocStatsAnalog.o -g0 -std=c99\n      In file included from /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/dbAccess.h:20,\n                       from softioc/iocStats/devIocStats/devIocStatsAnalog.c:118:\n      /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/dbBase.h:164:5: warning: ‘rset’ is deprecated [-Wdeprecated-declarations]\n        164 |     rset            *prset;\n            |     ^~~~\n      In file included from /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/dbBase.h:22:\n      /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/recSup.h:68:8: note: declared here\n         68 | struct rset {   /* record support entry table */\n            |        ^~~~\n      In file included from /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/dbAccess.h:24:\n      /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/dbAccessDefs.h:210:42: warning: ‘rset’ is deprecated [-Wdeprecated-declarations]\n        210 | DBCORE_API rset * dbGetRset(const struct dbAddr *paddr);\n            |                                          ^~~~~~\n      /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/recSup.h:68:8: note: declared here\n         68 | struct rset {   /* record support entry table */\n            |        ^~~~\n      gcc -pthread -B /usr/local/Anaconda3-2024.10-1/compiler_compat -fno-strict-overflow -Wsign-compare -DNDEBUG -O3 -Wall -fPIC -O3 -isystem /usr/local/Anaconda3-2024.10-1/include -fPIC -O3 -isystem /usr/local/Anaconda3-2024.10-1/include -fPIC -D_GNU_SOURCE -D_DEFAULT_SOURCE -Dlinux -DUNIX -D_GLIBCXX_USE_CXX11_ABI=1 -I/tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include -Isoftioc/iocStats/devIocStats -Isoftioc/iocStats/devIocStats/os/Linux -Isoftioc/iocStats/devIocStats/os/default -I/usr/local/Anaconda3-2024.10-1/include/python3.12 -c softioc/iocStats/devIocStats/devIocStatsString.c -o build/temp.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/devIocStatsString.o -g0 -std=c99\n      In file included from /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/dbAccess.h:20,\n                       from softioc/iocStats/devIocStats/devIocStatsString.c:93:\n      /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/dbBase.h:164:5: warning: ‘rset’ is deprecated [-Wdeprecated-declarations]\n        164 |     rset            *prset;\n            |     ^~~~\n      In file included from /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/dbBase.h:22:\n      /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/recSup.h:68:8: note: declared here\n         68 | struct rset {   /* record support entry table */\n            |        ^~~~\n      In file included from /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/dbAccess.h:24:\n      /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/dbAccessDefs.h:210:42: warning: ‘rset’ is deprecated [-Wdeprecated-declarations]\n        210 | DBCORE_API rset * dbGetRset(const struct dbAddr *paddr);\n            |                                          ^~~~~~\n      /tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include/recSup.h:68:8: note: declared here\n         68 | struct rset {   /* record support entry table */\n            |        ^~~~\n      gcc -pthread -B /usr/local/Anaconda3-2024.10-1/compiler_compat -fno-strict-overflow -Wsign-compare -DNDEBUG -O3 -Wall -fPIC -O3 -isystem /usr/local/Anaconda3-2024.10-1/include -fPIC -O3 -isystem /usr/local/Anaconda3-2024.10-1/include -fPIC -D_GNU_SOURCE -D_DEFAULT_SOURCE -Dlinux -DUNIX -D_GLIBCXX_USE_CXX11_ABI=1 -I/tmp/pip-build-env-f4dm2sp3/overlay/lib/python3.12/site-packages/epicscorelibs/include -Isoftioc/iocStats/devIocStats -Isoftioc/iocStats/devIocStats/os/Linux -Isoftioc/iocStats/devIocStats/os/default -I/usr/local/Anaconda3-2024.10-1/include/python3.12 -c softioc/iocStats/devIocStats/devIocStatsSub.c -o build/temp.linux-aarch64-cpython-312/softioc/iocStats/devIocStats/devIocStatsSub.o -g0 -std=c99\n      softioc/iocStats/devIocStats/devIocStatsSub.c: In function ‘scanMonInit’:\n      softioc/iocStats/devIocStats/devIocStatsSub.c:91:16: error: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]\n         91 |   psub->dpvt = malloc(sizeof(epicsTimeStamp));\n            |                ^~~~~~\n      softioc/iocStats/devIocStats/devIocStatsSub.c:26:1: note: include ‘\u003cstdlib.h>’ or provide a declaration of ‘malloc’\n         25 | #include \"devIocStats.h\"\n        +++ |+#include \u003cstdlib.h>\n         26 |\n      softioc/iocStats/devIocStats/devIocStatsSub.c:91:16: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch]\n         91 |   psub->dpvt = malloc(sizeof(epicsTimeStamp));\n            |                ^~~~~~\n      softioc/iocStats/devIocStats/devIocStatsSub.c:91:16: note: include ‘\u003cstdlib.h>’ or provide a declaration of ‘malloc’\n      error: command '/usr/bin/gcc' failed with exit code 1\n      [end of output]\n  \n  note: This error originates from a subprocess, and is likely not a problem with pip.\n  ERROR: Failed building wheel for softioc\n  Building wheel for pvxslibs (pyproject.toml) ... done\n  Created wheel for pvxslibs: filename=pvxslibs-1.3.2-cp312-cp312-linux_aarch64.whl size=1947218 sha256=4d61814d8b17ea04a967b5889969140bac7584c0299ea5937933f3e18586de4b\n  Stored in directory: /root/.cache/pip/wheels/cb/b2/4e/5385924e571775421b6050a485cc1960c26227e972b21026c8\nSuccessfully built pvxslibs\nFailed to build softioc\nERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (softioc)\n```\n\n\n\n","author":{"url":"https://github.com/prichards-wmko","@type":"Person","name":"prichards-wmko"},"datePublished":"2025-01-29T00:11:19Z","url":"https://github.com/DiamondLightSource/pythonSoftIOC/issues/183"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:87b03ed6-22c3-12d8-8976-40731af51ab7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD90E:2AA566:68D9E0:934F22:6B044A80
html-safe-nonce310d09613a9e54157ca48b8aa262e2ef1434d1e4909252e2526e6170a9474625
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTBFOjJBQTU2Njo2OEQ5RTA6OTM0RjIyOjZCMDQ0QTgwIiwidmlzaXRvcl9pZCI6IjM0NTU2ODIwNDIzMzY1Njk2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc60441a14a26049f11289786d7265b51bea0a50c967bd9c372bc2f5788d5756a
hovercard-subject-tagissue:2816957519
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/DiamondLightSource/pythonSoftIOC/183/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5d241229fcc9f5150171f45db4626db407260dbafafcb1e70f284587a2c5873a/DiamondLightSource/pythonSoftIOC/issues/183
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5d241229fcc9f5150171f45db4626db407260dbafafcb1e70f284587a2c5873a/DiamondLightSource/pythonSoftIOC/issues/183
og:image:altI have softIOC code developed on other systems that is failing to run on my Apple Silicon Macbook Pro M2 (in a Parallels virtual machine running Ubuntu), and it appears to be due to the devIocStats...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameprichards-wmko
hostnamegithub.com
expected-hostnamegithub.com
Noned4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46
turbo-cache-controlno-preview
go-importgithub.com/DiamondLightSource/pythonSoftIOC git https://github.com/DiamondLightSource/pythonSoftIOC.git
octolytics-dimension-user_id1233618
octolytics-dimension-user_loginDiamondLightSource
octolytics-dimension-repository_id20049394
octolytics-dimension-repository_nwoDiamondLightSource/pythonSoftIOC
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20049394
octolytics-dimension-repository_network_root_nwoDiamondLightSource/pythonSoftIOC
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/DiamondLightSource/pythonSoftIOC/issues/183#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FDiamondLightSource%2FpythonSoftIOC%2Fissues%2F183
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FDiamondLightSource%2FpythonSoftIOC%2Fissues%2F183
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=DiamondLightSource%2FpythonSoftIOC
Reloadhttps://github.com/DiamondLightSource/pythonSoftIOC/issues/183
Reloadhttps://github.com/DiamondLightSource/pythonSoftIOC/issues/183
Reloadhttps://github.com/DiamondLightSource/pythonSoftIOC/issues/183
DiamondLightSourcehttps://github.com/DiamondLightSource
pythonSoftIOChttps://github.com/DiamondLightSource/pythonSoftIOC
Codehttps://github.com/DiamondLightSource/pythonSoftIOC
Issues13 (13)https://github.com/DiamondLightSource/pythonSoftIOC/issues
Pull requests4 (4)https://github.com/DiamondLightSource/pythonSoftIOC/pulls
Discussionshttps://github.com/DiamondLightSource/pythonSoftIOC/discussions
Actionshttps://github.com/DiamondLightSource/pythonSoftIOC/actions
Projectshttps://github.com/DiamondLightSource/pythonSoftIOC/projects
Wikihttps://github.com/DiamondLightSource/pythonSoftIOC/wiki
Security and qualityhttps://github.com/DiamondLightSource/pythonSoftIOC/security
Insightshttps://github.com/DiamondLightSource/pythonSoftIOC/insights
https://github.com/DiamondLightSource/pythonSoftIOC
New issuehttps://github.com/login?return_to=https://github.com/DiamondLightSource/pythonSoftIOC/issues/183
New issuehttps://github.com/login?return_to=https://github.com/DiamondLightSource/pythonSoftIOC/issues/183
Ubuntu VM on Apple Silicon fails to load or compile devIocStatshttps://github.com/DiamondLightSource/pythonSoftIOC/issues/183#top
https://github.com/prichards-wmko
prichards-wmkohttps://github.com/prichards-wmko
on Jan 29, 2025https://github.com/DiamondLightSource/pythonSoftIOC/issues/183#issue-2816957519
AlexanderWells-diamondhttps://github.com/AlexanderWells-diamond
on Jan 29, 2025https://github.com/DiamondLightSource/pythonSoftIOC/issues/183#event-16105446296
Update iocStats to latest versionhttps://github.com/DiamondLightSource/pythonSoftIOC/commit/2c7308fa4151f7dd0673439e7f0a14f5418bcc35
2c7308fhttps://github.com/DiamondLightSource/pythonSoftIOC/commit/2c7308fa4151f7dd0673439e7f0a14f5418bcc35
https://github.com/AlexanderWells-diamond
AlexanderWells-diamondhttps://github.com/AlexanderWells-diamond
on Jan 29, 2025https://github.com/DiamondLightSource/pythonSoftIOC/issues/183#issuecomment-2621206999
does not currently support arm64https://github.com/DiamondLightSource/cothread/issues/68
https://github.com/prichards-wmko
prichards-wmkohttps://github.com/prichards-wmko
on Jan 29, 2025https://github.com/DiamondLightSource/pythonSoftIOC/issues/183#issuecomment-2622841488
https://github.com/AlexanderWells-diamond
AlexanderWells-diamondhttps://github.com/AlexanderWells-diamond
on Jan 30, 2025https://github.com/DiamondLightSource/pythonSoftIOC/issues/183#issuecomment-2624124406
epics-base/epicscorelibs#32https://github.com/epics-base/epicscorelibs/issues/32
https://github.com/AlexanderWells-diamond
AlexanderWells-diamondhttps://github.com/AlexanderWells-diamond
on Feb 5, 2025https://github.com/DiamondLightSource/pythonSoftIOC/issues/183#issuecomment-2636890334
AlexanderWells-diamondhttps://github.com/AlexanderWells-diamond
completedhttps://github.com/DiamondLightSource/pythonSoftIOC/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Feb 5, 2025https://github.com/DiamondLightSource/pythonSoftIOC/issues/183#event-16194951500
https://github.com/prichards-wmko
prichards-wmkohttps://github.com/prichards-wmko
on Feb 7, 2025https://github.com/DiamondLightSource/pythonSoftIOC/issues/183#issuecomment-2644265988
Sign up for freehttps://github.com/signup?return_to=https://github.com/DiamondLightSource/pythonSoftIOC/issues/183
Sign in to commenthttps://github.com/login?return_to=https://github.com/DiamondLightSource/pythonSoftIOC/issues/183
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.