dev-libs/protobuf-24 not available, patch needed #2208

Closed
opened 2023-10-23 01:24:28 +02:00 by onkelbeh · 17 comments
Owner

HA wants protobuf-python-4.24.3,
the matching dev-libs/protobuf-24.3 is not (yet) available.

package_constraints has to be patched in the meatime

HA wants protobuf-python-4.24.3, the matching dev-libs/protobuf-24.3 is not (yet) available. package_constraints has to be patched in the meatime
onkelbeh added this to the 2023.10.5 milestone 2023-10-23 01:24:52 +02:00
onkelbeh added the
Bug
requirement
labels 2023-10-23 01:25:09 +02:00
Author
Owner

If anybody has abseil or c++ skills, please take a look at https://bugs.gentoo.org/912819, we need the new protobof very bad.

If anybody has abseil or c++ skills, please take a look at https://bugs.gentoo.org/912819, we need the new protobof very bad.

I've had a look at the errors in the gentoo bugzilla, and they are all related to other packages that uses abseil etc...
So, I tried to add the dev-libs/protobuf-24.3.ebuild, removed the patches and updated dev-python/protobuf-python SLOT to 24.3... It emerged fine. I haven't tried to run it yet, but I don't see any blocking for homeassistant at least.

I've had a look at the errors in the gentoo bugzilla, and they are all related to other packages that uses abseil etc... So, I tried to add the dev-libs/protobuf-24.3.ebuild, removed the patches and updated dev-python/protobuf-python SLOT to 24.3... It emerged fine. I haven't tried to run it yet, but I don't see any blocking for homeassistant at least.

ok, I have a running system with protobuf-24... I will play with it a bit more before going production

ok, I have a running system with protobuf-24... I will play with it a bit more before going production

I confirm, protobuf-24.3 is working for me in my production server

I confirm, protobuf-24.3 is working for me in my production server
Author
Owner

could you add the good Ebuild for dev-libs/protobuf-24.3, I still fail to compile it.
Still I am trying to avoid a patch to the core constraints.

could you add the good Ebuild for `dev-libs/protobuf-24.3`, I still fail to compile it. Still I am trying to avoid a patch to the core constraints.

As @fariouche I've emerged fine dev-libs/protobuf-24.3 the same way:

  • protobuf-24.3.ebuild as a copy of protobuf-23.3-r2 without PATCHES
  • update SLOT of protobuf-python-4.24.3

It is in use on production box too. No problem so far.

I've checked as @fariouche have done gentoo bugs and confirm that all bugs are related to specific other ebuild problems.

On my main gentoo desktop box with 2024 packages installed I got only android-tools package that depends on dev-libs/protobuf and only lutris package that depends on protobuf-python.

So there is not so much packages that depends on them and I have compiled as a test android-tools with the fresh protobuf-24.3 without any problem.

Note: by mistake i make first a protobuf-24.4 version and it was working too.

As @fariouche I've emerged fine dev-libs/protobuf-24.3 the same way: - protobuf-24.3.ebuild as a copy of protobuf-23.3-r2 without PATCHES - update SLOT of protobuf-python-4.24.3 It is in use on production box too. No problem so far. I've checked as @fariouche have done gentoo bugs and confirm that all bugs are related to specific other ebuild problems. On my main gentoo desktop box with 2024 packages installed I got only android-tools package that depends on dev-libs/protobuf and only lutris package that depends on protobuf-python. So there is not so much packages that depends on them and I have compiled as a test android-tools with the fresh protobuf-24.3 without any problem. Note: by mistake i make first a protobuf-24.4 version and it was working too.

I can't add files here. I don't know why. I can drag'n'frop them but once I post message, there is no files linked.

FOUND: files need to be txt or archive. Ebuild is not accepted :)

I can't add files here. I don't know why. I can drag'n'frop them but once I post message, there is no files linked. FOUND: files need to be txt or archive. Ebuild is not accepted :)

yes, removing the patches is very important as they are not needed anymore

yes, removing the patches is very important as they are not needed anymore
Author
Owner

Doesn't work here, got a lot of complaints during cmake:

-- Configuring done (1.1s)
CMake Error at cmake/tests.cmake:98 (target_link_libraries):
  Target "tests" links to:

    absl::scoped_mock_log

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  CMakeLists.txt:345 (include)

Doesn't work here, got a lot of complaints during cmake: ``` -- Configuring done (1.1s) CMake Error at cmake/tests.cmake:98 (target_link_libraries): Target "tests" links to: absl::scoped_mock_log but the target was not found. Possible reasons include: * There is a typo in the target name. * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing. Call Stack (most recent call first): CMakeLists.txt:345 (include) ```
Author
Owner

perhaps it's related to my profile, I am building against 17.1/no-multilib

perhaps it's related to my profile, I am building against `17.1/no-multilib`
Author
Owner

I'm doomed, it builds on a multilib host :-(

I'm doomed, it builds on a multilib host :-(

Yes here no problem on default/linux/amd64/17.1/no-multilib (stable) profile

Yes here no problem on `default/linux/amd64/17.1/no-multilib (stable)` profile
Author
Owner

and it builds on a completly nake NOMULTILIB host :-(
but not on my test maschines and not on the production box.

But at least I have nox something to compare.

and it builds on a completly nake NOMULTILIB host :-( but not on my test maschines and not on the production box. But at least I have nox something to compare.

It's strange I can compile it without problem on a multilib host too.
Profile: default/linux/amd64/17.1/desktop (stable)

Which USE flag do you use ?

No multilib: zlib
Multilib: zlib abi_x86_32

Update: my multilib log as attachment if that can help you

It's strange I can compile it without problem on a multilib host too. Profile: default/linux/amd64/17.1/desktop (stable) Which USE flag do you use ? No multilib: zlib Multilib: zlib abi_x86_32 Update: my multilib log as attachment if that can help you

Doesn't work here, got a lot of complaints during cmake:

-- Configuring done (1.1s)
CMake Error at cmake/tests.cmake:98 (target_link_libraries):
  Target "tests" links to:

    absl::scoped_mock_log

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  CMakeLists.txt:345 (include)

I got accurately your problem with USE=test !!!

That doesn't work too with protobuf-24.3-r2 and USE=test ;)

> Doesn't work here, got a lot of complaints during cmake: > > ``` > -- Configuring done (1.1s) > CMake Error at cmake/tests.cmake:98 (target_link_libraries): > Target "tests" links to: > > absl::scoped_mock_log > > but the target was not found. Possible reasons include: > > * There is a typo in the target name. > * A find_package call is missing for an IMPORTED target. > * An ALIAS target is missing. > > Call Stack (most recent call first): > CMakeLists.txt:345 (include) > > ``` I got accurately your problem with USE=test !!! That doesn't work too with protobuf-24.3-r2 and USE=test ;)
Author
Owner

Yep got it! it builds without tests:

https://github.com/abseil/abseil-cpp/issues/1407

Yep got it! it builds without tests: https://github.com/abseil/abseil-cpp/issues/1407
Author
Owner

and looks like it works!

[master a693df234] dev-python/protobuf-python: new package, add 4.24.3
Author: Andreas Billmeier (@Home/mbp) b@edevau.net
5 files changed, 237 insertions(+), 3 deletions(-)
create mode 100644 dev-python/protobuf-python/Manifest
create mode 100644 dev-python/protobuf-python/files/protobuf-python-3.20.3-python311.patch
create mode 100644 dev-python/protobuf-python/metadata.xml
create mode 100644 dev-python/protobuf-python/protobuf-python-4.24.3.ebuild

and looks like it works! [master a693df234] dev-python/protobuf-python: new package, add 4.24.3 Author: Andreas Billmeier (@Home/mbp) <b@edevau.net> 5 files changed, 237 insertions(+), 3 deletions(-) create mode 100644 dev-python/protobuf-python/Manifest create mode 100644 dev-python/protobuf-python/files/protobuf-python-3.20.3-python311.patch create mode 100644 dev-python/protobuf-python/metadata.xml create mode 100644 dev-python/protobuf-python/protobuf-python-4.24.3.ebuild
Sign in to join this conversation.
No Label
Bug
Bump/Update
Cleanup
Dupe
Enhancement
File Collision
Forked
help wanted
Integration: accuweather
Integration: acmeda
Integration: acomax
Integration: adax
Integration: adguard
Integration: aemet
Integration: aep_ohio
Integration: aep_texas
Integration: airq
Integration: airthings
Integration: airthings_ble
Integration: airtouch5
Integration: airzone
Integration: airzone_cloud
Integration: amazon_polly
Integration: amberelectric
Integration: ambient_station
Integration: analytics_insights
Integration: anel_pwrctrl
Integration: aosmith
Integration: apache_kafka
Integration: apcupsd
Integration: appalachianpower
Integration: apprise
Integration: aprilaire
Integration: aranet
Integration: aseko_pool_live
Integration: asuswrt
Integration: august
Integration: aws
Integration: axis
Integration: backup
Integration: bang_olufsen
Integration: blebox
Integration: blink
Integration: bluetooth
Integration: blue_current
Integration: bmw_connected_drive
Integration: bosch_shc
Integration: bring
Integration: brother
Integration: brottsplatskartan
Integration: bsblan
Integration: bthome
Integration: caldav
Integration: cast
Integration: ccm15
Integration: cloud
Integration: cloudflare
Integration: co2signal
Integration: coautilities
Integration: comelit
Integration: conversation
Integration: debugpy
Integration: deconz
Integration: deluge
Integration: denonavr
Integration: devialet
Integration: devolo_home_control
Integration: dhcp
Integration: discord
Integration: discovergy
Integration: dlna_dmr
Integration: dlna_dms
Integration: doods
Integration: drop_connect
Integration: dsmr
Integration: duotecno
Integration: duquesne_light
Integration: dwd_weather_warnings
Integration: easyenergy
Integration: ecobee
Integration: ecoforest
Integration: ecovacs
Integration: ecowitt
Integration: elgato
Integration: elvia
Integration: energyzero
Integration: enigma2
Integration: enphase_envoy
Integration: epion
Integration: esphome
Integration: evohome
Integration: ffmpeg
Integration: fjaraskupan
Integration: flexit_bacnet
Integration: flipr
Integration: forecast_solar
Integration: foscam
Integration: fritzbox
Integration: fronius
Integration: frontend
Integration: fujitsu_anywair
Integration: fyta
Integration: garages_amsterdam
Integration: gardena_bluetooth
Integration: gdacs
Integration: generic
Integration: geonetnz_quakes
Integration: geonetnz_volcano
Integration: geo_json_events
Integration: geo_rss_events
Integration: gios
Integration: glances
Integration: goodwe
Integration: google
Integration: google_assistant_sdk
Integration: google_generative_ai_conversation
Integration: govee_ble
Integration: govee_light_local
Integration: hive
Integration: hko
Integration: holiday
Integration: homekit_controller
Integration: homematicip_cloud
Integration: homewizard
Integration: honeywell
Integration: hp_ilo
Integration: html5
Integration: http
Integration: hue
Integration: hunterdouglas_powerview
Integration: husqvarna_automower
Integration: huum
Integration: hydrawise
Integration: iammeter
Integration: ibeacon
Integration: idasen_desk
Integration: ign_sismologia
Integration: image_upload
Integration: indianamichiganpower
Integration: insteon
Integration: ipp
Integration: islamic_prayer_times
Integration: justnimbus
Integration: jvc_projector
Integration: kef
Integration: kentuckypower
Integration: keymitt_ble
Integration: knx
Integration: kostal_plenticore
Integration: krispol
Integration: lamarzocco
Integration: ld2410_ble
Integration: leaone
Integration: led_ble
Integration: life360
Integration: lifx
Integration: linear_garage_door
Integration: litejet
Integration: litterrobot
Integration: local_calendar
Integration: local_todo
Integration: loqed
Integration: luci
Integration: lupusec
Integration: lutron
Integration: lutron_caseta
Integration: madeco
Integration: mastodon
Integration: matrix
Integration: matter
Integration: media_extractor
Integration: melcloud
Integration: met
Integration: meteoclimatic
Integration: meteo_france
Integration: metoffice
Integration: microbees
Integration: mill
Integration: minecraft_server
Integration: modbus
Integration: mopeka
Integration: motionblinds_ble
Integration: motionmount
Integration: motion_blinds
Integration: myuplink
Integration: nam
Integration: neato
Integration: netatmo
Integration: nexia
Integration: nextbus
Integration: nextcloud
Integration: nextdns
Integration: nibe_heatpump
Integration: nmap_tracker
Integration: nobo_hub
Integration: norway_air
Integration: notion
Integration: nsw_rural_fire_service_feed
Integration: nuki
Integration: numato
Integration: nut
Integration: nws
Integration: ollama
Integration: oncue
Integration: ondilo_ico
Integration: openai_conversation
Integration: openerz
Integration: open_meteo
Integration: opower
Integration: orvibo
Integration: osoenergy
Integration: otbr
Integration: ourgroceries
Integration: overkiz
Integration: p1_monitor
Integration: pegel_online
Integration: permobil
Integration: plex
Integration: plugwise
Integration: powerwall
Integration: private_ble_device
Integration: proxy
Integration: prusalink
Integration: psoklahoma
Integration: pure_energie
Integration: pvoutput
Integration: qingping
Integration: qld_bushfire
Integration: qrcode
Integration: rabbitair
Integration: rachio
Integration: radio_browser
Integration: rainbird
Integration: rainforest_raven
Integration: rainmachine
Integration: rdw
Integration: recorder
Integration: refoss
Integration: renault
Integration: renson
Integration: reolink
Integration: rflink
Integration: rfxtrx
Integration: ridwell
Integration: ring
Integration: risco
Integration: roborock
Integration: roku
Integration: romy
Integration: roomba
Integration: roon
Integration: route53
Integration: rova
Integration: samsam
Integration: samsungtv
Integration: schlage
Integration: scl
Integration: screenlogic
Integration: sensibo
Integration: sensorpush
Integration: sentry
Integration: seven_segments
Integration: sfr_box
Integration: shelly
Integration: sighthound
Integration: signal_messenger
Integration: simplisafe
Integration: sleepiq
Integration: slimproto
Integration: smarttub
Integration: smud
Integration: snmp
Integration: songpal
Integration: sonos
Integration: sql
Integration: squeezebox
Integration: ssdp
Integration: subaru
Integration: suez_water
Integration: sunweg
Integration: surepetcare
Integration: swepco
Integration: swiss_public_transport
Integration: switchbot
Integration: switchbot_cloud
Integration: switcher_kis
Integration: system_bridge
Integration: tado
Integration: tailwind
Integration: tankerkoenig
Integration: tasmota
Integration: technove
Integration: tedee
Integration: telegram_bot
Integration: temper
Integration: tensorflow
Integration: teslemetry
Integration: tessie
Integration: thermobeacon
Integration: thermopro
Integration: thread
Integration: tile
Integration: tolo
Integration: tplink
Integration: tplink_omada
Integration: tplink_tapo
Integration: traccar
Integration: traccar_server
Integration: trafikverket_camera
Integration: trafikverket_ferry
Integration: trafikverket_train
Integration: trafikverket_weatherstation
Integration: transmission
Integration: tuya
Integration: twentemilieu
Integration: unifi
Integration: unifiprotect
Integration: unifi_direct
Integration: upnp
Integration: usgs_earthquakes_feed
Integration: utility_meter
Integration: v2c
Integration: vallox
Integration: valve
Integration: velbus
Integration: velux
Integration: vicare
Integration: vilfo
Integration: vodafone_station
Integration: vulcan
Integration: wallbox
Integration: waqi
Integration: waze_travel_time
Integration: weatherflow_cloud
Integration: weatherkit
Integration: webmin
Integration: webostv
Integration: wemo
Integration: whirlpool
Integration: withings
Integration: wolflink
Integration: workday
Integration: wyoming
Integration: xiaomi_ble
Integration: yalexs_ble
Integration: yeelight
Integration: yolink
Integration: zamg
Integration: zeroconf
Integration: zha
Integration: zhong_hong
Integration: zondergas
Integration: zoneminder
Integration: zwave_js
invalid
New Integration
Python 3.10
Python 3.11
question
requirement
Requirement vanished
slot-conflict
Source Incomplete
SrcDir ${S} mismatch
TopLevelViolation
Update required
virtual
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: onkelbeh/HomeAssistantRepository#2208
No description provided.