Opened 7 years ago

Closed 7 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)

dmapd.install (109 bytes) - added by pdvsfh@… 7 years ago.
install command
dmapd.log (114.3 KB) - added by pdvsfh@… 7 years ago.
stdout+stderr
dmapd.main.log (120.3 KB) - added by pdvsfh@… 7 years ago.
port log
dmapd2.main.log (166.8 KB) - added by pdvsfh@… 7 years ago.
dmapd3.gestreamer.log (1.6 KB) - added by pdvsfh@… 7 years ago.
dmapd3.log (167.2 KB) - added by pdvsfh@… 7 years ago.
dmapd3.main.log (175.4 KB) - added by pdvsfh@… 7 years ago.
Portfile.patch (434 bytes) - added by mike@… 7 years ago.
Libdmapsharing requires gst-plugins-base to allow dmapd to build

Download all attachments as: .zip

Change History (21)

Changed 7 years ago by pdvsfh@…

Attachment: dmapd.install added

install command

Changed 7 years ago by pdvsfh@…

Attachment: dmapd.log added

stdout+stderr

Changed 7 years ago by pdvsfh@…

Attachment: dmapd.main.log added

port log

comment:1 Changed 7 years ago by ryandesign (Ryan 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.

comment:2 Changed 7 years ago by pdvsfh@…

Cc: pdvsfh@… added

Cc Me!

Changed 7 years ago by pdvsfh@…

Attachment: dmapd2.main.log added

comment:3 Changed 7 years ago by pdvsfh@…

Cc: pdvsfh@… removed

Cc Me!

comment:4 Changed 7 years ago by pdvsfh@…

Cc: pdvsfh@… added

Cc Me!

comment:5 in reply to:  1 Changed 7 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 Changed 7 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 in reply to:  6 Changed 7 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 7 years ago by pdvsfh@…

Attachment: dmapd3.gestreamer.log added

Changed 7 years ago by pdvsfh@…

Attachment: dmapd3.log added

Changed 7 years ago by pdvsfh@…

Attachment: dmapd3.main.log added

comment:8 Changed 7 years ago by ryandesign (Ryan 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 in reply to:  8 ; Changed 7 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 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 $?
# pkg-config --variable=systemdsystemunitdir systemd; echo $?
1

comment:10 in reply to:  9 Changed 7 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 Changed 7 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 7 years ago by mike@…

Attachment: Portfile.patch added

Libdmapsharing requires gst-plugins-base to allow dmapd to build

comment:12 in reply to:  11 Changed 7 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 7 years ago by mf2k (Frank Schima)

Cc: pdvsfh@… removed
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.