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

Bug 875737

Summary: media-libs/libpano13-2.9.21-r2 - /.../ColourBrightness.c: error: implicit declaration of function htons [-Werror=implicit-function-de
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Markus Meier <maekke>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: fixed in 2.9.22
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt.bz2
environment
etc.portage.tar.bz2
logs.tar.bz2
media-libs:libpano13-2.9.21:20221006-085728.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-06 20:15:31 UTC
too long lines were shrinked:

[6/152] /usr/bin/x86_64-pc-linux-gnu-gcc -DUSE_SPARSE_LEVENBERG_MARQUARDT -D__Ansi__ -I/var/tmp/portage/media-libs/libpano13-2.9.21/work/libpano13-2.9.21  -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-diagnostics-color -MD -MT CMakeFil
FAILED: CMakeFiles/pano13a.dir/ColourBrightness.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DUSE_SPARSE_LEVENBERG_MARQUARDT -D__Ansi__ -I/var/tmp/portage/media-libs/libpano13-2.9.21/work/libpano13-2.9.21  -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-diagnostics-color -MD -MT CMakeFiles/pano1
/var/tmp/portage/media-libs/libpano13-2.9.21/work/libpano13-2.9.21/ColourBrightness.c: In function OutputPhotoshopCurve:
/var/tmp/portage/media-libs/libpano13-2.9.21/work/libpano13-2.9.21/ColourBrightness.c:406:27: error: implicit declaration of function htons [-Werror=implicit-function-declaration]
  406 |   shortValue = (uint16_t) htons(14);
      |                           ^~~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
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.2
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	OpenJDK 11.0.16.1_p1 [openjdk-11]
3)	OpenJDK 17.0.5_p5 [openjdk-17]
4)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
6)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-11 
  [3]   openjdk-17 
  [4]   openjdk-bin-8 
  [5]   openjdk-bin-11 
  [6]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 23c872de4e7b11f4652bf9f910cd9691ec160796
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Oct 6 07:48:04 2022 +0000

    2022-10-06 07:48:03 UTC

emerge -qpvO media-libs/libpano13
[ebuild  N    ] media-libs/libpano13-2.9.21  USE="suitesparse -java"
Comment 1 Toralf Förster gentoo-dev 2022-10-06 20:15:32 UTC
Created attachment 822415 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-06 20:15:33 UTC
Created attachment 822418 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-06 20:15:34 UTC
Created attachment 822421 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-06 20:15:36 UTC
Created attachment 822424 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-06 20:15:36 UTC
Created attachment 822427 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-06 20:15:37 UTC
Created attachment 822430 [details]
media-libs:libpano13-2.9.21:20221006-085728.log
Comment 7 Toralf Förster gentoo-dev 2022-10-06 20:15:39 UTC
Created attachment 822433 [details]
temp.tar.bz2
Comment 8 Agostino Sarubbo gentoo-dev 2023-02-24 09:09:35 UTC
tinderbox_musl has reproduced this issue with version 2.9.21-r2 - Updating summary.
Comment 9 Markus Meier gentoo-dev 2023-09-18 16:19:18 UTC
is this still an issue with 2.9.22?
Comment 10 Toralf Förster gentoo-dev 2023-09-19 17:00:36 UTC
(In reply to Markus Meier from comment #9)
> is this still an issue with 2.9.22?

no