[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239712

            Bug ID: 239712
           Summary: graphics/blender: Build fails during compilation -
                    Undefined references in libflite_cmu_us_kal.so.1 and
                    libflite_cmu_us_awb.so.1
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [hidden email]
          Reporter: [hidden email]
                CC: [hidden email]
             Flags: maintainer-feedback?([hidden email])
                CC: [hidden email]

Created attachment 206360
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206360&action=edit
poudriere testport log for blender-2.79b_14 (gzipped)

The build of graphics/blender fails during compilation on amd64
11.3-RELEASE-p2.

Reported errors:
/usr/local/lib/libflite_cmu_us_kal.so.1: undefined reference to `cmu_postlex'
/usr/local/lib/libflite_cmu_us_awb.so.1: undefined reference to
`usenglish_init'
/usr/local/lib/libflite_cmu_us_awb.so.1: undefined reference to `cmu_lex_init'
c++: error: linker command failed with exit code 1

I have attached the poudriere testport log with ccache disabled.  You will see
I use non-default options, though also experience the same build error with
default graphics/blender options.

Version 2.79b_13 previously built successfully.  Many thanks in advance for
investigating.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239712

Walter Schwarzenfeld <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.freebsd.org/bu
                   |                            |gzilla/show_bug.cgi?id=2395
                   |                            |89
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239712

--- Comment #1 from Walter Schwarzenfeld <[hidden email]> ---
A similar error happens here with ffmpeg bug #239567. Fixed on 1. August 2019.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239712

--- Comment #2 from Ross McKelvie <[hidden email]> ---
Created attachment 206362
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206362&action=edit
poudriere testport log for patched Makefile

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239712

--- Comment #3 from Ross McKelvie <[hidden email]> ---
Created attachment 206363
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206363&action=edit
Proposed Makefile patch

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239712

--- Comment #4 from Ross McKelvie <[hidden email]> ---
Many thanks for spotting that, Walter.

I have attached a proposed patch for the Makefile (to set LDFLAGS=
-fuse-ld=lld) and the poudriere testport log showing the build completing
successfully.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239712

Walter Schwarzenfeld <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
           Keywords|                            |easy, patch-ready

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239712

Ross McKelvie <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #206362|0                           |1
        is obsolete|                            |
 Attachment #206363|0                           |1
        is obsolete|                            |

--- Comment #5 from Ross McKelvie <[hidden email]> ---
Created attachment 206368
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206368&action=edit
Proposed Makefile patch v2

Having done some reading (also pointed out in bug #239567, comment #5) around
the transition to the LLVM linker and discovering that:
(a) It may already be the default linker (see WITH_LLD_IS_LD in src.conf(5))
and (b) The LLVM linker is not available on all architectures,

I propose to wrap the LDFLAGS in an if statement as per the workaround
suggested in bug #239567, comment #6.  Note this doesn't guarantee that linking
will work correctly but does at least mean that architectures without the LLVM
linker will not definitely be broken.

Updated proposed patch and poudriere testport log attached.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239712

--- Comment #6 from Ross McKelvie <[hidden email]> ---
Created attachment 206369
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206369&action=edit
poudriere testport log for patched Makefile v2

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239712

Kubilay Kocak <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|patch-ready                 |
           See Also|                            |https://bugs.freebsd.org/bu
                   |                            |gzilla/show_bug.cgi?id=2395
                   |                            |67

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239712

--- Comment #7 from Shane <[hidden email]> ---
If this is needed, it should be added to bug #239589 where this port is being
updated to 2.80

Does the 2.80 version make a difference?

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239712

--- Comment #8 from Ross McKelvie <[hidden email]> ---
(In reply to Shane from comment #7)
Shane, thanks for your reply.  Unfortunately I've not been able to successfully
apply your patch from bug 239589.  Having first tried to apply the patch to the
latest revision of the ports tree I saw the patch is for port revision 13, not
14.  I then attempted to apply it to revision 508215 of the ports tree (that
is, the commit just prior to the one for graphics/blender revision 14).

The patch check succeeds for all files except the Makefile.  Have I made an
error in my approach (below)?

% svnlite checkout https://svn.FreeBSD.org/ports/head@508215 ./blendertesting
% cd blendertesting
% patch -Cu < ~/blender28.patch                                                
Hmm...  Looks like a unified diff to me...                                      
The text leading up to this was:                                                
--------------------------      
|diff -Nru graphics/blender.orig/Makefile graphics/blender/Makefile            
|--- graphics/blender.orig/Makefile     2019-08-02 13:52:14.343159000 +0930    
|+++ graphics/blender/Makefile  2019-08-02 13:51:38.830466000 +0930            
--------------------------                                                      
Patching file Makefile using Plan A...                                          
Hunk #1 failed at 2.                                                            
Hunk #2 failed at 24.                                                          
Hunk #3 failed at 74.          
Hunk #4 failed at 92.                                                          
Hunk #5 failed at 125.                                                          
Hunk #6 failed at 161.                                                          
6 out of 6 hunks failed while patching Makefile

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239712

Ross McKelvie <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #206360|0                           |1
        is obsolete|                            |

--- Comment #9 from Ross McKelvie <[hidden email]> ---
Created attachment 206596
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206596&action=edit
poudriere testport log for blender-2.80 (gzipped)

The reported bug still exists for the new version of the port committed in bug
#239589.  I have attached the poudriere testport log.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239712

Ross McKelvie <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #206368|0                           |1
        is obsolete|                            |

--- Comment #10 from Ross McKelvie <[hidden email]> ---
Created attachment 206597
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206597&action=edit
Proposed patch (Subversion diff for blender-2.80_1)

I propose the attached patch to modify LDFLAGS to use the LLVM linker where it
is available.  I have also attached the poudriere testport log and portlint -C
output for my proposed blender-2.80_1 patch.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239712

Ross McKelvie <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #206369|0                           |1
        is obsolete|                            |

--- Comment #11 from Ross McKelvie <[hidden email]> ---
Created attachment 206598
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206598&action=edit
poudriere testport log for proposed blender-2.80_1 (gzipped)

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239712

--- Comment #12 from Ross McKelvie <[hidden email]> ---
Created attachment 206599
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206599&action=edit
portlint -C output for proposed patch blender-2.80_1

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239712

Shane <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|maintainer-feedback?(FreeBS |maintainer-feedback+
                   |[hidden email])            |

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239712

Kubilay Kocak <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|easy                        |needs-qa
              Flags|maintainer-feedback+        |maintainer-feedback?(FreeBS
                   |                            |[hidden email])

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239712

Kubilay Kocak <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #206597|                            |maintainer-approval?(FreeBS
              Flags|                            |[hidden email])

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 239712] graphics/blender: Build fails during compilation - Undefined references in libflite_cmu_us_kal.so.1 and libflite_cmu_us_awb.so.1

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239712

Kubilay Kocak <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Affects Only Me             |Affects Some People

--- Comment #13 from Kubilay Kocak <[hidden email]> ---
CC jbeich@, @emaste and @bdrewery as to whether the approach in attachment
206597 is the best/most appropriate one given their involvement/changes to the
Mk/bsd.port.mk section on LLD_* and its relevant checks

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
12