Opened 8 years ago

Closed 8 years ago

#53242 closed defect (fixed)

libftdi1: *** [doc/xml/ftdi_8c.xml] Segmentation fault: 11

Reported by: sanchezelton (Elton Sanchez) Owned by: snc@…
Priority: Normal Milestone:
Component: ports Version: 2.3.5
Keywords: sierra Cc: cssdev, michaelld (Michael Dickens)
Port: libftdi1

Description

I am first time poster and new Mac acolyte but with decent (Ubuntu and CentOS) exposure. Loved using Audacious in lieu of WinAmp pushing digital flowers. Building a MacBook Pro running Sierra 10.12.2.

Followed instructions here for installation of Xcode, MacPorts, X server and command line tools to permit system to use port for building: https://lifeforms.nl/20140303/building-audacious-os-x-mavericks (Note: Link targets Mavericks, but was able get /opt/local/bin on my PATH to locate port by adding it to /etc/hosts)

Currently using zsh, and attempted to install: sudo port install audacious

Initially had issue building doxygen, but I ran 'port clean oxygen' and rebuilt and the build continued. The same approach is not working with libftdi1.

Output:

➜  ~ sudo port install audacious audacious-plugins
--->  Computing dependencies for audacious
--->  Dependencies to be installed: audacious-plugins lirc libftdi1 py34-gobject3 py34-cairo py34-yaml libyaml vte gnome-themes-standard adwaita-icon-theme librsvg libcroco vala gnome-backgrounds gnome-common autoconf-archive intltool p5.24-getopt-long p5.24-pathtools p5.24-scalar-list-utils p5.24-xml-parser p5.24-libwww-perl p5.24-encode-locale p5.24-file-listing p5.24-http-date p5.24-html-form p5.24-html-parser p5.24-html-tagset p5.24-http-message p5.24-io-html p5.24-lwp-mediatypes p5.24-uri p5.24-mime-base64 p5.24-http-cookies p5.24-http-daemon p5.24-http-negotiate p5.24-lwp-protocol-https p5.24-io-socket-ssl p5.24-mozilla-ca p5.24-net-libidn p5.24-net-ssleay p5.24-test-exception p5.24-sub-uplevel p5.24-test-nowarnings p5.24-test-warn p5.24-net-http p5.24-www-robotrules pcre2 mpg123 neon kerberos5 libcomerr libproxy unzip wavpack
--->  Building libftdi1
Error: org.macports.build for port libftdi1 returned: command execution failed
Error: Failed to install libftdi1
Please see the log file for port libftdi1 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/main.log
Error: The following dependencies were not installed: audacious-plugins lirc libftdi1 py34-gobject3 py34-cairo py34-yaml libyaml vte gnome-themes-standard adwaita-icon-theme librsvg libcroco vala gnome-backgrounds gnome-common autoconf-archive intltool p5.24-getopt-long p5.24-pathtools p5.24-scalar-list-utils p5.24-xml-parser p5.24-libwww-perl p5.24-encode-locale p5.24-file-listing p5.24-http-date p5.24-html-form p5.24-html-parser p5.24-html-tagset p5.24-http-message p5.24-io-html p5.24-lwp-mediatypes p5.24-uri p5.24-mime-base64 p5.24-http-cookies p5.24-http-daemon p5.24-http-negotiate p5.24-lwp-protocol-https p5.24-io-socket-ssl p5.24-mozilla-ca p5.24-net-libidn p5.24-net-ssleay p5.24-test-exception p5.24-sub-uplevel p5.24-test-nowarnings p5.24-test-warn p5.24-net-http p5.24-www-robotrules pcre2 mpg123 neon kerberos5 libcomerr libproxy unzip wavpack
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port audacious failed

I looked at the main.log file referred to above and noted the like where things broke (see attached). What I saw relevant was at line 210:

: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_devel_libftdi/libftdi1/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/build" && /usr/bin/make -j8 -w all VERBOSE=ON 
:info:build Exit code: 2

I tried running make myself and got a permissions issue. I tried running the same make with sudo and the build was not successful. The location of cmake (used which cmake) agrees with the Makefile script, at /opt/local/bin/cmake). Error from make:

Built target test_libftdi1
make[2]: *** [doc/xml/ftdi_8c.xml] Segmentation fault: 11
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/build'
make[1]: *** [python/CMakeFiles/doc_i.dir/all] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/build'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/work/build'

Thinking there was an XML formatting issue, I looked for but could not locate the ftdi_8c.xml file (used a recursive find from the /opt/local/var/macports directory), so it is either not present at all or elsewhere in my filesystem.

Attachments (2)

main.log (45.1 KB) - added by sanchezelton (Elton Sanchez) 8 years ago.
main.log with report of dependency build failure
main.2.log (39.1 KB) - added by sanchezelton (Elton Sanchez) 8 years ago.
latest output to /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/main.log

Download all attachments as: .zip

Change History (10)

Changed 8 years ago by sanchezelton (Elton Sanchez)

Attachment: main.log added

main.log with report of dependency build failure

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ionic@… removed
Owner: set to snc@…
Port: audacious removed
Status: newassigned
Summary: audacious@3.8: Failed to install libftdi1 dependency, failed build on test_libftdi1 target; either bad or missing XMLlibftdi1: *** [doc/xml/ftdi_8c.xml] Segmentation fault: 11

This was not a clean build attempt. Please clean and try again.

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: css@… added

I guess doxygen is crashing here.

comment:3 Changed 8 years ago by sanchezelton (Elton Sanchez)

Did port clean on following ports:

libftdi1 doxygen audacious

Then attempted install of audacious again, no joy.

Changed 8 years ago by sanchezelton (Elton Sanchez)

Attachment: main.2.log added

latest output to /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libftdi/libftdi1/main.log

comment:4 Changed 8 years ago by michaelld (Michael Dickens)

Cc: michaelld added

comment:5 Changed 8 years ago by michaelld (Michael Dickens)

Chances are this is fixed by https://github.com/doxygen/doxygen/commit/381d9d286dd27ce0ba14989b51011070d8583d62 . I'll be committing this change shortly. It's in the doxygen GIT master already, just a commit post the release. Critical fix in the XML generation code.

comment:6 Changed 8 years ago by michaelld (Michael Dickens)

In a723b5a8/macports-ports:

doxygen: add critical patch that's already in the GIT master; probably addresses ticket #53242 .

comment:7 Changed 8 years ago by sanchezelton (Elton Sanchez)

Seems to have built audacious-core correctly, so this should close this ticket.

comment:8 Changed 8 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed

Great; thanks for the quick feedback!

Note: See TracTickets for help on using tickets.