#49881 closed defect (fixed)
doxygen 1.8.9.1 build error with flex 2.6.0
Reported by: | sxcurry@… | Owned by: | cssdev |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | haspatch | Cc: | mndavidoff (Monte Davidoff), don@…, dw@…, Dmole (Tim), anirban.polley@…, konrad@…, bl@…, e.schrama@…, hapaguy (Brian Kurt Fujikawa), philljef@…, shawn.d.douglass@…, gmenie@… |
Port: | doxygen |
Description
Mac OSX 10.11.1 - Latest Xcode Building doxygen returns Error: org.macports.build for port doxygen returned: command execution failed I have tried selfupdate and port clean doxygen See attached build log file for various errors
Attachments (3)
Change History (34)
Changed 9 years ago by sxcurry@…
comment:1 Changed 9 years ago by mf2k (Frank Schima)
Cc: | css@… removed |
---|---|
Owner: | changed from macports-tickets@… to css@… |
Port: | doxygen added |
In the future, please fill in the Port field.
comment:2 Changed 9 years ago by mndavidoff (Monte Davidoff)
This problem seems to have appeared after the upgrade to flex @2.6.0_0. It appears a fix for the problem has been committed upstream:
https://github.com/doxygen/doxygen/commit/8c51120ad55b440b738ef0b96f8169d84a7ae88a
comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | doxygen 1.8.9.1 Build Error → doxygen 1.8.9.1 build error with flex 2.6.0 |
---|
That commit contains a typo which was fixed here:
https://github.com/doxygen/doxygen/commit/a8c73cdbe37cc53c398002d20e94037552a8fb55
comment:5 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | don@… added |
---|
Has duplicate #49896.
comment:6 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Those diffs don't apply cleanly to 1.8.9.1; we should update to 1.8.10 first.
comment:7 follow-up: 20 Changed 9 years ago by don@…
sorry to sound like a noob here - but could you point me in the right direction to instructions on how to use the patch files to upgrade doxygen to 1.8.10?
Much appreciated.
comment:8 Changed 9 years ago by dw@…
Given that the 1.8.10 ticket looks to be a while off:
I've implemented a very simple patch that make the patches referred to in the doxygen commits to the 1.8.9.1 source as part of the port install. It's my first submission so I'm expecting it to be wrong somehow. I've built doxygen and several packages that depend on it without issue.
The diff I've attached contains both the diffs to the doxygen source and the diff to the Portfile.
Changed 9 years ago by dw@…
Attachment: | doxygen_flex2_6_0.diff added |
---|
updated to actually include the patch to the src.
comment:11 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | anirban.polley@… added |
---|---|
Keywords: | haspatch added |
Has duplicate #49939.
comment:13 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | bl@… added |
---|
Has duplicate #49949.
comment:18 Changed 9 years ago by ivangeloff@…
Applying the patch fixed the problem for me. Thanks!
(OS X 10.11, XCode 7.2, flex 2.6.0)
comment:20 Changed 9 years ago by m.rick@…
Replying to don@…:
sorry to sound like a noob here - but could you point me in the right direction to instructions on how to use the patch files to upgrade doxygen to 1.8.10?
Much appreciated.
Does like described here. http://nerdwin15.com/2013/12/fixing-mod_jk-macport-on-osx-mavericks/
comment:21 Changed 9 years ago by m.rick@…
The patch doesn't work for me, where is patch-flex_2_6_0.diff ?
---> Computing dependencies for doxygen ---> Fetching distfiles for doxygen ---> Attempting to fetch patch-flex_2_6_0.diff from http://lil.fr.distfiles.macports.org/doxygen ---> Attempting to fetch patch-flex_2_6_0.diff from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/doxygen ---> Attempting to fetch patch-flex_2_6_0.diff from http://nue.de.distfiles.macports.org/macports/distfiles/doxygen ---> Attempting to fetch patch-flex_2_6_0.diff from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/doxygen ---> Attempting to fetch patch-flex_2_6_0.diff from http://osl.no.distfiles.macports.org/doxygen ---> Attempting to fetch patch-flex_2_6_0.diff from http://distfiles.macports.org/doxygen ---> Attempting to fetch patch-flex_2_6_0.diff from http://sea.us.distfiles.macports.org/macports/distfiles/doxygen ---> Attempting to fetch patch-flex_2_6_0.diff from http://cjj.kr.distfiles.macports.org/doxygen ---> Attempting to fetch patch-flex_2_6_0.diff from http://jog.id.distfiles.macports.org/macports/mpdistfiles/doxygen ---> Attempting to fetch patch-flex_2_6_0.diff from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/doxygen ---> Attempting to fetch patch-flex_2_6_0.diff from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/doxygen ---> Attempting to fetch patch-flex_2_6_0.diff from http://ftp.stack.nl/pub/users/dimitri/ ---> Attempting to fetch patch-flex_2_6_0.diff from ftp://ftp.stack.nl/pub/users/dimitri/ ---> Attempting to fetch patch-flex_2_6_0.diff from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/doxygen ---> Attempting to fetch patch-flex_2_6_0.diff from http://svn.macports.org/repository/macports/distfiles/doxygen Error: org.macports.fetch for port doxygen returned: fetch failed
comment:22 Changed 9 years ago by dw@…
Please clean your tree then try reapplying the patch. patch-flex_2_6_0.diff should've been created when applying the patch I submitted.
Assuming you have the patch in your home directory try:
$ sudo su - # cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/doxygen/ # patch -s -p0 < /Users/<username>/doxygen_flex2_6_0.diff
Replace "<username>" with your actual username.
You should then find that the file patch-flex_2_6_0.diff is in the "files" subdirectory. I'm sure you can probably do it in one line but the above works reliably for me.
Then retry your port install.
comment:23 Changed 9 years ago by m.rick@…
Thank you, it did the work with su and copying doxygen_flex2_6_0.diff to /var/root
I cleaned with port clean -all doxygen I had to reapply the patch and it created a new folder …/doxygen/files/doxygen containing the file patch-flex_2_6_0
but the build didn't work while it seems to have applied the patches.
---> Computing dependencies for doxygen ---> Fetching distfiles for doxygen ---> Attempting to fetch doxygen-1.8.9.1.src.tar.gz from http://lil.fr.distfiles.macports.org/doxygen ---> Verifying checksums for doxygen ---> Extracting doxygen ---> Applying patches to doxygen ---> Configuring doxygen ---> Building doxygen Error: org.macports.build for port doxygen returned: command execution failed Please see the log file for port doxygen for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port doxygen failed
Changed 9 years ago by m.rick@…
Attachment: | main.2.log added |
---|
comment:24 follow-up: 26 Changed 9 years ago by m.rick@…
I got it to work.
- port clean -all doxygen
- port selfupdate
- sudo su -
- cp ~/desktop/doxygen_flex2_6_0.diff /var/root
- cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/doxygen/
- patch -s -p0 < ~/doxygen_flex2_6_0.diff
- Portfile
- logout
- sudo cp ~/doxygen_flex2_6_0.diff /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/doxygen/files
- sudo cp /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/doxygen/doxygen/files/patch-flex_2_6_0.diff /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/doxygen/files
- port -f install doxygen
---> Computing dependencies for doxygen ---> Fetching distfiles for doxygen ---> Attempting to fetch doxygen-1.8.9.1.src.tar.gz from http://lil.fr.distfiles.macports.org/doxygen ---> Verifying checksums for doxygen ---> Extracting doxygen ---> Applying patches to doxygen ---> Configuring doxygen ---> Building doxygen ---> Staging doxygen into destroot ---> Installing doxygen @1.8.9.1_0 ---> Activating doxygen @1.8.9.1_0 ---> Cleaning doxygen ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found.
comment:25 follow-up: 29 Changed 9 years ago by dw@…
Updated my instructions in comment 22, I was already root when I'd made the patch and instructions.
What are steps 9 & 10 doing? Looks like they're copying the file back over itself? Or am I missing something?
comment:26 Changed 9 years ago by e.schrama@…
Replying to m.rick@…:
I got it to work.
Confirmed, this works, thanks.
- port clean -all doxygen
- port selfupdate
- sudo su -
- cp ~/desktop/doxygen_flex2_6_0.diff /var/root
- cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/doxygen/
- patch -s -p0 < ~/doxygen_flex2_6_0.diff
- Portfile
- logout
- sudo cp /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/doxygen/doxygen/files/patch-flex_2_6_0.diff /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/doxygen/files
- sudo cp /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/doxygen/doxygen/files/patch-flex_2_6_0.diff /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/doxygen/files
- port -f install doxygen
---> Computing dependencies for doxygen ---> Fetching distfiles for doxygen ---> Attempting to fetch doxygen-1.8.9.1.src.tar.gz from http://lil.fr.distfiles.macports.org/doxygen ---> Verifying checksums for doxygen ---> Extracting doxygen ---> Applying patches to doxygen ---> Configuring doxygen ---> Building doxygen ---> Staging doxygen into destroot ---> Installing doxygen @1.8.9.1_0 ---> Activating doxygen @1.8.9.1_0 ---> Cleaning doxygen ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found.
comment:27 Changed 9 years ago by dbevans (David B. Evans)
Cc: | philljef@… shawn.d.douglass@… gmenie@… added |
---|
comment:28 Changed 9 years ago by neverpanic (Clemens Lang)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:29 Changed 9 years ago by m.rick@…
Replying to dw@…:
Updated my instructions in comment 22, I was already root when I'd made the patch and instructions.
What are steps 9 & 10 doing? Looks like they're copying the file back over itself? Or am I missing something?
Yes I mistaken I copied/pasted twice the same. I corrected thank you. The path file if copied one level over because for some reasons, the patch creates a new /doxygen/files directory.
You can use the move command as well, but I used copy to make a copy of the original file instead.
doxygen build log file