Bug 225747

Summary: net-p2p/transmission-remote-gui fails after update of lazarus to compile (update to 5.14.0)
Product: Ports & Packages Reporter: Walter Schwarzenfeld <w.schwarzenfeld>
Component: Individual Port(s)Assignee: Jose Alonso Cardenas Marquez <acm>
Status: Closed FIXED    
Severity: Affects Only Me CC: ojiu4, rigoletto
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
transgui_5.0.1-5.debian.tar.xz
none
svn-diff-transmission_remot_gui
none
try-svn-diff-transgui_v2-update
none
try-svn-diff-transgui_v3-update
none
@qt5 | testport: OK (poudriere: 3.2.6_1, AMD64 tested)
none
@qt4 | testport: OK (poudriere: 3.2.6_1, AMD64 tested) none

Description Walter Schwarzenfeld freebsd_triage 2018-02-08 06:18:43 UTC
Free Pascal Compiler version 3.0.4 [2018/02/01] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Warning: (11053) The selected debug format is not supported on the
current target, not changing the current setting
(1002) Target OS: FreeBSD for x86-64
(3104) Compiling transgui.lpr
(3104) Compiling baseform.pas
(3104) Compiling vargrid.pas
(3104) Compiling varlist.pas
/usr/ports/net-p2p/transmission-remote-gui/work/TransGUI/vargrid.pas(543,7)
Error: (5000) Identifier not found "UTF8UpperCase"
/usr/ports/net-p2p/transmission-remote-gui/work/TransGUI/vargrid.pas(549,10)
Error: (5000) Identifier not found "UTF8UpperCase"
vargrid.pas(1460) Fatal: (10026) There were 2 errors compiling module,
stopping
Fatal: (1018) Compilation aborted
Error: /usr/local/bin/ppcx64 returned an error exitcode
Error: (lazarus) Compile Project, Target: units/transgui: stopped with
exit code 256
Error: (lazbuild) failed compiling of project
/usr/ports/net-p2p/transmission-remote-gui/work/TransGUI/transgui.lpi
*** Error code 2

Stop.
make[1]: stopped in /usr/ports/net-p2p/transmission-remote-gui
*** Error code 1

Stop.
make: stopped in /usr/ports/net-p2p/transmission-remote-gui

===>>> make build failed for net-p2p/transmission-remote-gui
===>>> Aborting update

===>>> Update for net-p2p/transmission-remote-gui failed
===>>> Aborting update
-- 


see

https://lists.freebsd.org/pipermail/freebsd-ports/2018-February/112481.html
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-02-08 07:47:16 UTC
Created attachment 190416 [details]
transgui_5.0.1-5.debian.tar.xz
Comment 2 Walter Schwarzenfeld freebsd_triage 2018-02-08 07:47:42 UTC
Found patches from debian.
Comment 3 Walter Schwarzenfeld freebsd_triage 2018-02-08 07:49:00 UTC
Created attachment 190417 [details]
svn-diff-transmission_remot_gui

Adapted the debian patches.
Comment 4 Walter Schwarzenfeld freebsd_triage 2018-02-08 07:52:33 UTC
Only use fix_compile.patch (Don't know if the two other patches also useful).
Comment 5 Walter Schwarzenfeld freebsd_triage 2018-03-05 11:10:25 UTC
https://svnweb.freebsd.org/ports?view=revision&revision=463622
marked as broken, but the patch works.
Comment 6 Kira 2018-03-05 20:29:59 UTC
version 5.14.0(https://github.com/transmission-remote-gui/transgui/archive/v5.14.0.tar.gz) successfully compiling without patch.
Add to Makefile chm and fcl-json for units FastHtmlParser and fpjson(USE_FPC+=chm fcl-json)
Comment 7 Walter Schwarzenfeld freebsd_triage 2018-03-05 21:12:52 UTC
Can you provide a patch (I have always problems with github in the Makefile).
Comment 8 Walter Schwarzenfeld freebsd_triage 2018-03-06 01:20:05 UTC
Created attachment 191241 [details]
try-svn-diff-transgui_v2-update

>our change work.
portlint complains about order. But how I ordered it it is not to silence.
Comment 9 Walter Schwarzenfeld freebsd_triage 2018-03-06 01:43:38 UTC
Created attachment 191242 [details]
try-svn-diff-transgui_v3-update

Silenced portlint.
Comment 10 Alexandre C. Guimarães freebsd_committer freebsd_triage 2018-03-13 03:44:30 UTC
In the phab:

https://reviews.freebsd.org/D14675

Thanks! :)
Comment 11 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2018-03-13 13:08:07 UTC
I'm waiting for the approval of following reviews

https://reviews.freebsd.org/D14617
https://reviews.freebsd.org/D14661

net-p2p/transmision-remote-gui will be updated the other way using new Uses/lazarus.mk and Uses/fpc.mk files. Please be patient
Comment 12 Alexandre C. Guimarães freebsd_committer freebsd_triage 2018-05-30 21:28:17 UTC
Created attachment 193852 [details]
@qt5 | testport: OK (poudriere: 3.2.6_1, AMD64 tested)
Comment 13 Alexandre C. Guimarães freebsd_committer freebsd_triage 2018-05-30 21:48:37 UTC
Created attachment 193854 [details]
@qt4 | testport: OK (poudriere: 3.2.6_1, AMD64 tested)
Comment 14 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2018-05-31 00:18:31 UTC
This port was updated to 5.14.0

https://svnweb.freebsd.org/ports/head/net-p2p/transmission-remote-gui/Makefile?revision=470851&view=markup
Comment 15 Alexandre C. Guimarães freebsd_committer freebsd_triage 2018-05-31 02:20:58 UTC
Sorry, I attached the log to the wrong PR.