Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows/MSYS2] OpenSLES install fails, symlink error #211

Closed
StarWolf3000 opened this issue Jul 1, 2022 · 3 comments · Fixed by frangarcj/opensles#5
Closed

[Windows/MSYS2] OpenSLES install fails, symlink error #211

StarWolf3000 opened this issue Jul 1, 2022 · 3 comments · Fixed by frangarcj/opensles#5

Comments

@StarWolf3000
Copy link

Running latest MSYS2 environment on Windows 10.

When updating Vita SDK with vitasdk-update, tar errors out on include/SLES/OpenSLESUT.h during installation/update of OpenSLES:

find: ‘/tmp/vdpm_install_opensles’: No such file or directory
Installing opensles...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 44424  100 44424    0     0  79557      0 --:--:-- --:--:-- --:--:-- 79557
include/
include/SLES/
include/OpenSLES.h
include/OpenSLES_Platform.h
include/SLES/OpenSLES.h
include/SLES/OpenSLES_Android.h
include/SLES/OpenSLES_AndroidConfiguration.h
include/SLES/OpenSLESUT.h
include/SLES/OpenSLES_Platform.h
lib/
lib/libOpenSLES.a
tar: include/SLES/OpenSLESUT.h: Cannot create symlink to ‘../../libopensles/OpenSLESUT.h’: No such file or directory
tar: Exiting with failure status due to previous errors

Failed to install, the package probably does not exist.

Also happens when trying to install the package manually with vdpm opensles command.

This used to install fine back in April 2022, when I installed Vita SDK for the first time. The fact that /tmp/vdpm_install_opensles doesn't exist is due to me cleaning the /tmp directory from time to time.

Variables:
VITASDK=/usr/local/vitasdk
PATH=$VITASDK/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:$PATH:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl

Terminal used: MinTTY

@StarWolf3000
Copy link
Author

After your PR:

$ vdpm opensles
find: ‘/tmp/vdpm_install_opensles’: No such file or directory
Installing opensles...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 44644  100 44644    0     0  72268      0 --:--:-- --:--:-- --:--:-- 72268
include/
include/OpenSLES.h
include/SLES/
include/OpenSLES_Platform.h
include/SLES/OpenSLES.h
include/SLES/OpenSLESUT.h
include/SLES/OpenSLES_Android.h
include/SLES/OpenSLES_Platform.h
include/SLES/OpenSLES_AndroidConfiguration.h
lib/
lib/libOpenSLES.a
tar: include/SLES/OpenSLESUT.h: Cannot create symlink to ‘/*\n * Copyright (C) 2010 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** \\file OpenSLESUT.h OpenSL ES Utility Toolkit */\n\n/** \\brief Maximum result return code */\n\n#define SLESUT_RESULT_MAX (SL_RESULT_CONTROL_LOST + 1)\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\nextern const char * const slesutResultStrings[SLESUT_RESULT_MAX];\nextern void slesutPrintIID(SLInterfaceID iid);\nextern const char *slesutResultToString(SLresult result);\nextern const char *slesutObjectIDToString(SLuint32 objectID);\n\n#ifdef __cplusplus\n}\n#endif\n’: File name too long
tar: Exiting with failure status due to previous errors

Failed to install, the package probably does not exist.

@Rinnegatamante
Copy link
Member

Seems to be a git issue that when merged PR, it still kept OpenSLESUT as if it was a symlink despite being a regular file.

@isage
Copy link
Contributor

isage commented Jul 25, 2022

Seems to work fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants