Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 880225

Summary: sci-electronics/puff-20181104 - Error: Illegal parameter: -T
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Thomas Beierlein <tomjbe>
Status: RESOLVED FIXED    
Severity: normal CC: sci-electronics
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
sci-electronics:puff-20181104:20221107-163833.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-07 16:40:22 UTC
Target OS: Linux for x86-64
Compiling pfrw.pas
827 lines compiled, 0.0 sec
fpc -g -s -a -T puff.pas
Error: Illegal parameter: -T
Error: /usr/bin/ppcx64 returned an error exitcode
make: *** [Makefile:17: ppas.sh] Error 1 shuffle=4201536530

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20221106-070004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
  [1]   php7.4 *
  [2]   php8.0
  [3]   php8.1
GNU Make 4.4

  HEAD of ::gentoo
commit 3b4d8e6b31d49091be3e9b2203380a8432fca585
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 7 15:46:55 2022 +0000

    2022-11-07 15:46:55 UTC

emerge -qpvO sci-electronics/puff
[ebuild  N    ] sci-electronics/puff-20181104
Comment 1 Toralf Förster gentoo-dev 2022-11-07 16:40:23 UTC
Created attachment 828475 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-07 16:40:25 UTC
Created attachment 828477 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-07 16:40:26 UTC
Created attachment 828479 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-07 16:40:27 UTC
Created attachment 828481 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-07 16:40:28 UTC
Created attachment 828483 [details]
sci-electronics:puff-20181104:20221107-163833.log
Comment 6 Toralf Förster gentoo-dev 2022-11-07 16:40:29 UTC
Created attachment 828485 [details]
temp.tar.bz2
Comment 7 Thomas Beierlein gentoo-dev 2022-11-19 16:54:53 UTC
I can not reproduce it here.

Comparing the log with my own it looks like a parallel build problem. Here puff.pass gets compiled in another rule with only 'fpc -g puff.pas -Cn' before the rule to create ppas.sh gets triggered.

As MAKEOPTS is set to 1 that should not happen.

Looking into FPC's documentation it seems that '-T' is a long gone option. Actual '-Txxx' builds a executable for operating system 'xxx'. Default is system which runs the compiler so dropping it should be fine. See following commit.

Please retest and reopen if needed.
Comment 8 Larry the Git Cow gentoo-dev 2022-11-19 16:59:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b124c4ea8c9c6d2db1e61dae51962012e5d59da8

commit b124c4ea8c9c6d2db1e61dae51962012e5d59da8
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2022-11-19 16:56:53 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2022-11-19 16:58:30 +0000

    sci-electronics/puff: Drop illegal parameter
    
    Closes: https://bugs.gentoo.org/880225
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 sci-electronics/puff/puff-20181104.ebuild | 2 ++
 1 file changed, 2 insertions(+)