Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

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

main.log (148.1 KB) - added by sxcurry@… 8 years ago.
doxygen build log file
doxygen_flex2_6_0.diff (4.7 KB) - added by dw@… 8 years ago.
updated to actually include the patch to the src.
main.2.log (147.4 KB) - added by m.rick@… 8 years ago.

Download all attachments as: .zip

Change History (34)

Changed 8 years ago by sxcurry@…

Attachment: main.log added

doxygen build log file

comment:1 Changed 8 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 8 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:3 Changed 8 years ago by mndavidoff (Monte Davidoff)

Cc: md14-macports@… added

Cc Me!

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

Summary: doxygen 1.8.9.1 Build Errordoxygen 1.8.9.1 build error with flex 2.6.0

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

Cc: don@… added

Has duplicate #49896.

comment:6 Changed 8 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 Changed 8 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 8 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 amendments to the 1.8.9.1 source as per the doxygen commits above. 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.

Last edited 8 years ago by dw@… (previous) (diff)

comment:9 Changed 8 years ago by dw@…

Cc: dw@… added

Cc Me!

Changed 8 years ago by dw@…

Attachment: doxygen_flex2_6_0.diff added

updated to actually include the patch to the src.

comment:10 Changed 8 years ago by Dmole (Tim)

Cc: elatllat@… added

Cc Me!

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

Cc: anirban.polley@… added
Keywords: haspatch added

Has duplicate #49939.

comment:12 Changed 8 years ago by konrad@…

Cc: konrad@… added

Cc Me!

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

Cc: bl@… added

Has duplicate #49949.

comment:14 Changed 8 years ago by m.rick@…

Cc Me!

comment:15 Changed 8 years ago by e.schrama@…

Cc: e.schrama@… added

Cc Me!

comment:16 Changed 8 years ago by davidrobertwhite@…

Cc: davidrobertwhite@… added

Cc Me!

comment:17 Changed 8 years ago by ivangeloff@…

Cc: ivangeloff@… added

Cc Me!

comment:18 Changed 8 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:19 Changed 8 years ago by hapaguy (Brian Kurt Fujikawa)

Cc: brian.fujikawa@… added

Cc Me!

comment:20 in reply to:  7 Changed 8 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 8 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 8 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.

Last edited 8 years ago by dw@… (previous) (diff)

comment:23 Changed 8 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
Last edited 8 years ago by m.rick@… (previous) (diff)

Changed 8 years ago by m.rick@…

Attachment: main.2.log added

comment:24 Changed 8 years ago by m.rick@…

I got it to work.

  1. port clean -all doxygen
  2. port selfupdate
  3. sudo su -
  4. cp ~/desktop/doxygen_flex2_6_0.diff /var/root
  5. cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/doxygen/
  6. patch -s -p0 < ~/doxygen_flex2_6_0.diff
  7. Portfile
  8. logout
  9. sudo cp ~/doxygen_flex2_6_0.diff /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/doxygen/files
  10. 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
  11. 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.
Last edited 8 years ago by m.rick@… (previous) (diff)

comment:25 Changed 8 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?

Last edited 8 years ago by dw@… (previous) (diff)

comment:26 in reply to:  24 Changed 8 years ago by e.schrama@…

Replying to m.rick@…:

I got it to work.

Confirmed, this works, thanks.

  1. port clean -all doxygen
  2. port selfupdate
  3. sudo su -
  4. cp ~/desktop/doxygen_flex2_6_0.diff /var/root
  5. cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/doxygen/
  6. patch -s -p0 < ~/doxygen_flex2_6_0.diff
  7. Portfile
  8. logout
  9. 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
  10. 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
  11. 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 8 years ago by dbevans (David B. Evans)

Cc: philljef@… shawn.d.douglass@… gmenie@… added

Has further duplicates #49973, #49994, #50005, #50006.

comment:28 Changed 8 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

Fixed and updated to 1.8.10 in r143539, see also #48231.

comment:29 in reply to:  25 Changed 8 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.

comment:30 Changed 8 years ago by davidrobertwhite@…

Cc: davidrobertwhite@… removed

Cc Me!

comment:31 Changed 8 years ago by ivangeloff@…

Cc: ivangeloff@… removed

Cc Me!

Note: See TracTickets for help on using tickets.