#61674 closed defect (fixed)
dsd: No rule to make target `/opt/local/lib/libportaudio', needed by `dsd'. Stop
Reported by: | alex1platon | Owned by: | ra1nb0w |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | bigsur | Cc: | |
Port: | dsd |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
using command line tools for xcode 12.2
:info:build make[2]: *** No rule to make target `/opt/local/lib/libportaudio', needed by `dsd'. Stop. :info:build make[2]: *** Waiting for unfinished jobs.... :info:build [ 94%] Building C object CMakeFiles/dsd.dir/src/x2tdma_voice.c.o :info:build /usr/bin/clang -DUSE_PORTAUDIO -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_dsd/dsd/work/dsd-f175834e45a1a190171dff4597165b27d6b0157b/include -isystem /opt/local/include -pipe -Os -DNDEBUG -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -mmacosx-version-min=11.0 -o CMakeFiles/dsd.dir/src/x2tdma_voice.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_dsd/dsd/work/dsd-f175834e45a1a190171dff4597165b27d6b0157b/src/x2tdma_voice.c :info:build [ 97%] Building C object CMakeFiles/dsd.dir/git_ver.c.o :info:build /usr/bin/clang -DUSE_PORTAUDIO -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_dsd/dsd/work/dsd-f175834e45a1a190171dff4597165b27d6b0157b/include -isystem /opt/local/include -pipe -Os -DNDEBUG -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -mmacosx-version-min=11.0 -o CMakeFiles/dsd.dir/git_ver.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_dsd/dsd/work/build/git_ver.c :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_dsd/dsd/work/build' :info:build make[1]: *** [CMakeFiles/dsd.dir/all] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_dsd/dsd/work/build' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_dsd/dsd/work/build' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_dsd/dsd/work/build" && /usr/bin/make -j8 -w all VERBOSE=ON :info:build Exit code: 2 :error:build Failed to build dsd: command execution failed
Attachments (2)
Change History (11)
Changed 4 years ago by alex1platon
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | bigsur added; dsd big sur big_sur removed |
Owner: | set to ra1nb0w |
Status: | new → assigned |
Summary: | dsd fails to build on Big Sur → dsd: No rule to make target `/opt/local/lib/libportaudio', needed by `dsd'. Stop |
comment:2 follow-ups: 3 4 Changed 4 years ago by ra1nb0w
Changed 4 years ago by alex1platon
Attachment: | CMakeCache.txt added |
---|
comment:3 Changed 4 years ago by alex1platon
just added attachment. sorry for the delay, the macports emails went straight to my spam folder, only today noticed them.
Replying to ra1nb0w:
Unfortunately, I can't test directly the build with XCode 12.2.
Can you post the CMakeCache.txt? seems some error on getting the right dylib.
Can you also try to build manually the source using the trunk https://github.com/szechyjs/dsd?
comment:4 Changed 4 years ago by alex1platon
As for the separate build from the github source,it still fails with an identical error. However, when I unhide my homebrew libraries in /usr/local it does build correctly. It seems to be missing/not checking for a dependency. I will hold on to the two builds described above, let me know if you want any other log files pulled from either to compare side by side. Thanks!
Replying to ra1nb0w:
Unfortunately, I can't test directly the build with XCode 12.2.
Can you post the CMakeCache.txt? seems some error on getting the right dylib.
Can you also try to build manually the source using the trunk https://github.com/szechyjs/dsd?
comment:5 Changed 4 years ago by Davide Gerhard <ra1nb0w@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:7 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Did you make this patch or get it from upstream? If you made it, please report it to the developers, and either way add the URL to the patch. That can help people in the future knowing when it is safe to remove the patch.
comment:8 Changed 4 years ago by ra1nb0w
Did my self. Generally, I wait a confirm from alex1platon then I send it to upstream. At this point I add a note to the port file.
comment:9 Changed 4 years ago by alex1platon
between the new cmake @3.19.1_0 and your changes it now triggers the dependencies below and builds correctly. thank you!
docbook-xml docbook-xml-4.1.2 docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl-nons doxygen findutils fop getopt grep gsed harfbuzz-icu help2man itpp libzzip mbelib mpfr p5.28-locale-gettext portaudio potrace texlive-basic texlive-bin texlive-common texlive-latex xmlcatmgr xmlto xorg-libXp
Unfortunately, I can't test directly the build with XCode 12.2.
Can you post the CMakeCache.txt? seems some error on getting the right dylib.
Can you also try to build manually the source using the trunk https://github.com/szechyjs/dsd?