Bug 222754 - mail/thunderbird: Doesn't upgrade to 52.4.0
Summary: mail/thunderbird: Doesn't upgrade to 52.4.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gecko (Nobody)
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2017-10-03 12:17 UTC by Vladimir Omelchuk
Modified: 2017-10-03 13:56 UTC (History)
1 user (show)

See Also:
jbeich: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Omelchuk 2017-10-03 12:17:42 UTC
Part of log:
[…]
     Running `/usr/local/bin/rustc --crate-name libc /usr/ports/mail/thunderbird/work/thunderbird-52.4.0/mozilla/third_party/rust/libc/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=2 -C panic=abort -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=5fe2ea889eb51117 -C extra-filename=-5fe2ea889eb51117 --out-dir /usr/ports/mail/thunderbird/work/thunderbird-52.4.0/obj-x86_64-unknown-freebsd11.1/toolkit/library/rust/./x86_64-unknown-freebsd/release/deps --target x86_64-unknown-freebsd -L dependency=/usr/ports/mail/thunderbird/work/thunderbird-52.4.0/obj-x86_64-unknown-freebsd11.1/toolkit/library/rust/./x86_64-unknown-freebsd/release/deps -L dependency=/usr/ports/mail/thunderbird/work/thunderbird-52.4.0/obj-x86_64-unknown-freebsd11.1/toolkit/library/rust/./release/deps --cap-lints allow`
error[E0463]: can't find crate for `cheddar`
 --> /usr/ports/mail/thunderbird/work/thunderbird-52.4.0/mozilla/media/libstagefright/binding/mp4parse_capi/build.rs:1:1
  |
1 | extern crate cheddar;
  | ^^^^^^^^^^^^^^^^^^^^^ can't find crate

error: aborting due to previous error(s)

error: Could not compile `mp4parse_capi`.

Caused by:
  process didn't exit successfully: `/usr/local/bin/rustc --crate-name build_script_build /usr/ports/mail/thunderbird/work/thunderbird-52.4.0/mozilla/media/libstagefright/binding/mp4parse_capi/build.rs --crate-type bin --emit=dep-info,link -C opt-level=2 -C debuginfo=2 -C metadata=7ba433bd2d866b4c -C extra-filename=-7ba433bd2d866b4c --out-dir /usr/ports/mail/thunderbird/work/thunderbird-52.4.0/obj-x86_64-unknown-freebsd11.1/toolkit/library/rust/./release/build/mp4parse_capi-7ba433bd2d866b4c -L dependency=/usr/ports/mail/thunderbird/work/thunderbird-52.4.0/obj-x86_64-unknown-freebsd11.1/toolkit/library/rust/./release/deps` (exit code: 101)
Build failed, waiting for other jobs to finish...
error: build failed
gmake[6]: *** [/usr/ports/mail/thunderbird/work/thunderbird-52.4.0/mozilla/config/rules.mk:940: force-cargo-build] Error 101
gmake[6]: Leaving directory '/usr/ports/mail/thunderbird/work/thunderbird-52.4.0/obj-x86_64-unknown-freebsd11.1/toolkit/library/rust'
gmake[5]: *** [/usr/ports/mail/thunderbird/work/thunderbird-52.4.0/mozilla/config/recurse.mk:71: toolkit/library/rust/target] Error 2
gmake[5]: Leaving directory '/usr/ports/mail/thunderbird/work/thunderbird-52.4.0/obj-x86_64-unknown-freebsd11.1'
gmake[4]: *** [/usr/ports/mail/thunderbird/work/thunderbird-52.4.0/mozilla/config/recurse.mk:33: compile] Error 2
gmake[4]: Leaving directory '/usr/ports/mail/thunderbird/work/thunderbird-52.4.0/obj-x86_64-unknown-freebsd11.1'
gmake[3]: *** [/usr/ports/mail/thunderbird/work/thunderbird-52.4.0/mozilla/config/rules.mk:523: default] Error 2
gmake[3]: Leaving directory '/usr/ports/mail/thunderbird/work/thunderbird-52.4.0/obj-x86_64-unknown-freebsd11.1'
gmake[2]: *** [/usr/ports/mail/thunderbird/work/thunderbird-52.4.0/client.mk:397: build] Error 2
gmake[2]: Leaving directory '/usr/ports/mail/thunderbird/work/thunderbird-52.4.0'
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/mail/thunderbird
*** Error code 1

Stop.
make: stopped in /usr/ports/mail/thunderbird
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20171003-43256-maj1tz env UPGRADE_TOOL=portupgrade UPGRADE_PORT=thunderbird-52.3.0_4 UPGRADE_PORT_VER=52.3.0_4 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! mail/thunderbird (thunderbird-52.3.0_4)	(new compiler error)

<uname>
FreeBSD 11.1-RELEASE-p1 amd64

<make.conf>
MAKE_JOBS_UNSAFE=yes
DISABLE_VULNERABILITIES=YES
OPTIONS_SET=CUPS
WITHOUT_LPR=YES
DEFAULT_VERSIONS+= apache=2.4 mysql=5.7 ssl=openssl pgsql=9.6
QT4_OPTIONS=CUPS NAS QGTKSTYLE
LOCALIZED_LANG=ru
.if ${.CURDIR:M*/ports/devel/ccache}
NO_CCACHE=yes
.endif
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-10-03 13:02:17 UTC
A commit references this bug:

Author: jbeich
Date: Tue Oct  3 13:02:07 UTC 2017
New revision: 451127
URL: https://svnweb.freebsd.org/changeset/ports/451127

Log:
  mail/thunderbird: unbreak RUST=on

  error[E0463]: can't find crate for `cheddar`
   --> mozilla/media/libstagefright/binding/mp4parse_capi/build.rs:1:1
    |
  1 | extern crate cheddar;
    | ^^^^^^^^^^^^^^^^^^^^^ can't find crate

  error: aborting due to previous error(s)

  error: Could not compile `mp4parse_capi`.

  PR:		222754
  Reported by:	Vladimir Omelchuk

Changes:
  head/mail/thunderbird/files/patch-bug1338655
Comment 2 Jan Beich freebsd_committer freebsd_triage 2017-10-03 13:03:49 UTC
Thanks. Landed. See also ports r439925 and ports r446546.
Comment 3 Jan Beich freebsd_committer freebsd_triage 2017-10-03 13:14:06 UTC
So confusing. ports r448277 removed the patch because it was applied upstream but the new version didn't.
Comment 4 Vladimir Omelchuk 2017-10-03 13:56:25 UTC
(In reply to Jan Beich from comment #2)

Now the port is build without any errors.
Thanks!