Opened 13 years ago
Closed 13 years ago
#32350 closed defect (fixed)
dmapd @0.0 - build fails
Reported by: | pdvsfh@… | Owned by: | mike@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ||
Port: | dmapd |
Description
on Lion 10.7.2 i tried port build dmapd, it fails
- Xcode 4.1
port clean dmapd; port install dmapd configure.compiler=clang
port clean dmapd; port install dmapd configure.compiler=gcc-4.2
- Xcode 4.2.1
port clean dmapd; port install dmapd configure.compiler=llvm-gcc-4.2
port clean dmapd; port install apple-gcc42; port install dmapd configure.compiler=apple-gcc-4.2 configure.cxx=g++-apple-4.2
i attach the following:
- script for build
- output from build
- macports log
Attachments (8)
Change History (21)
Changed 13 years ago by pdvsfh@…
Attachment: | dmapd.install added |
---|
comment:1 follow-up: 5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | build fails removed |
---|---|
Owner: | changed from macports-tickets@… to mike@… |
Please remember to Cc the maintainer of the affected port.
The logs you've supplied show this was not a clean build (evidenced by the lines "Skipping completed"); please clean and try again and attach that new main.log so we can see a complete record of what happened.
Changed 13 years ago by pdvsfh@…
Attachment: | dmapd2.main.log added |
---|
comment:5 Changed 13 years ago by pdvsfh@…
Replying to ryandesign@…:
Please remember to Cc the maintainer of the affected port.
The logs you've supplied show this was not a clean build (evidenced by the lines "Skipping completed"); please clean and try again and attach that new main.log so we can see a complete record of what happened.
I did attach a new log without 'Skipping Completed'. What should I do next?
comment:6 follow-up: 7 Changed 13 years ago by mike@…
It looks like you need to install the gstreamer port before building dmapd. In the logs, see ":info:configure checking for GSTREAMER... no" and the later GStreamer-related symbol that is missing.
I am working on new Portfiles that will upgrade both dmapd and libdmapsharing; the new dmapd port will require gstreamer. Watch for them in Trac. But for now, you can install the gstreamer port by hand.
comment:7 Changed 13 years ago by pdvsfh@…
Replying to mike@…:
It looks like you need to install the gstreamer port before building dmapd. In the logs, see ":info:configure checking for GSTREAMER... no" and the later GStreamer-related symbol that is missing.
I am working on new Portfiles that will upgrade both dmapd and libdmapsharing; the new dmapd port will require gstreamer. Watch for them in Trac. But for now, you can install the gstreamer port by hand.
i did 'port install streamer', and then 'port install dmapd' but is see the same problems.
see attached files dmapd3.{gestreamer,log,main.log}
Changed 13 years ago by pdvsfh@…
Attachment: | dmapd3.gestreamer.log added |
---|
Changed 13 years ago by pdvsfh@…
Attachment: | dmapd3.log added |
---|
Changed 13 years ago by pdvsfh@…
Attachment: | dmapd3.main.log added |
---|
comment:8 follow-up: 9 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
dmapd has been updated with the gstreamer dependency added; see #32509.
The new log attached here shows this unusual message:
:info:configure ./configure: line 10889: systemdsystemunitdir: command not found :info:configure ./configure: line 10889: DISTCHECK_CONFIGURE_FLAGS: command not found
These lines do not appear in my output.
And then:
:info:configure checking for MAGICK... no :info:configure checking for VIPS... no
On my system these are "yes", as they should be, since the port declares a library dependency on vips, which has a library dependency on ImageMagick, so they should be there.
What does this command print on your system?
pkg-config --variable=systemdsystemunitdir systemd; echo $?
comment:9 follow-up: 10 Changed 13 years ago by pdvsfh@…
Replying to ryandesign@…:
dmapd has been updated with the gstreamer dependency added; see #32509.
The new log attached here shows this unusual message:
:info:configure ./configure: line 10889: systemdsystemunitdir: command not found :info:configure ./configure: line 10889: DISTCHECK_CONFIGURE_FLAGS: command not foundThese lines do not appear in my output.
And then:
:info:configure checking for MAGICK... no :info:configure checking for VIPS... noOn my system these are "yes", as they should be, since the port declares a library dependency on vips, which has a library dependency on ImageMagick, so they should be there.
What does this command print on your system?
pkg-config --variable=systemdsystemunitdir systemd; echo $?
# pkg-config --variable=systemdsystemunitdir systemd; echo $? 1
comment:10 Changed 13 years ago by pdvsfh@…
I took a brand new Mac mini, 10.7 pre-installed, did all software updates upto 10.7.2, installed Xcode 4.2.1, macports 2.0.3-10.7-lion, and tried again:
port -d -v install dmapd
and after manual force activate dbus, python27, gnome-keyring, it boiled down to the same point:
:info:build Undefined symbols for architecture x86_64: :info:build "_dmap_gst_input_stream_new", referenced from: :info:build _transcode_cache in dmapd.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[2]: *** [dmapd] Error 1
Transcode has no variants, but Gstreamer has many. could the problem be there? or with plugins?
again,
# pkg-config --variable=systemdsystemunitdir systemd; echo $? 1
comment:11 follow-up: 12 Changed 13 years ago by mike@…
Please see the attached patch which modifies libdmapsharing to require gst-plugins-base. This, in turn, provides libgstapp. Libgstapp is required while building libdmapsharing in order to get the dmap_gst_input_stream_new function.
Changed 13 years ago by mike@…
Attachment: | Portfile.patch added |
---|
Libdmapsharing requires gst-plugins-base to allow dmapd to build
comment:12 Changed 13 years ago by pdvsfh@…
Your patch was rejected, so I edited the port file manually. dmapd now builds fine. Thank you very much.
comment:13 Changed 13 years ago by mf2k (Frank Schima)
Cc: | pdvsfh@… removed |
---|---|
Resolution: | → fixed |
Status: | new → closed |
install command