Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stress-ng miss the dependency for libjpeg #19210

Closed
BKPepe opened this issue Aug 19, 2022 · 5 comments · Fixed by #19235
Closed

stress-ng miss the dependency for libjpeg #19210

BKPepe opened this issue Aug 19, 2022 · 5 comments · Fixed by #19235

Comments

@BKPepe
Copy link
Member

BKPepe commented Aug 19, 2022

Maintainer: @commodo
Environment: Turris MOX, mvebu/cortexa53, OpenWrt 22.03

Description:

While running full build, I noticed that the package stress-ng can not be compiled due to this error

Package stress-ng is missing dependencies for the following libraries:
libjpeg.so.62

I can provide more details if necessary.

@commodo
Copy link
Contributor

commodo commented Aug 19, 2022

wow, that got added in April (recently)

i guess we'll add libjpeg to the dep list of stress-ng

will try to do this in the next couple of thanks

thanks for reporting this :)

commodo added a commit to commodo/packages that referenced this issue Aug 23, 2022
Fixes: openwrt#19210

If libjpeg isn't selected by another package, all is fine.
But if it is selected, the stress-ng build will see it and try to build the
jpeg stressor. This would usually fail sometime and link-time.

In any case, it's better to just pick-up libjpeg as a dependency of
stress-ng. If people want to stress their system with this tool, they can
probably expect libjpeg as well.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
@commodo
Copy link
Contributor

commodo commented Aug 23, 2022

see #19235

jmarcet pushed a commit to jmarcet/packages that referenced this issue Aug 23, 2022
Fixes: openwrt#19210

If libjpeg isn't selected by another package, all is fine.
But if it is selected, the stress-ng build will see it and try to build the
jpeg stressor. This would usually fail sometime and link-time.

In any case, it's better to just pick-up libjpeg as a dependency of
stress-ng. If people want to stress their system with this tool, they can
probably expect libjpeg as well.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
@dreirund
Copy link

dreirund commented Aug 23, 2022

I see the same problem in branch 22.03, latest make targetclean; git pull && ./scripts/feeds update -a && ./scripts/feeds install -a 2022-08-23, ca. 08:15 UTC.

make -j1 V=sc package/feeds/packages/stress-ng/compile:

Package stress-ng is missing dependencies for the following libraries:
libjpeg.so.62

I used → this .config:

  • grep -i stress .config:
    CONFIG_PACKAGE_stress=m
    CONFIG_PACKAGE_stress-ng=m
    
  • grep -i libjpeg .config:
    CONFIG_PACKAGE_libjpeg-turbo=y
    CONFIG_PACKAGE_libjpeg-turbo-utils=m
    CONFIG_LCD4LINUX_CUSTOM_NEEDS_libjpeg=y
    

@commodo wrote:

see #19235

I can confirm that manually applying the change from this diff solves the reported problem for me.

BKPepe pushed a commit that referenced this issue Aug 23, 2022
Fixes: #19210

If libjpeg isn't selected by another package, all is fine.
But if it is selected, the stress-ng build will see it and try to build the
jpeg stressor. This would usually fail sometime and link-time.

In any case, it's better to just pick-up libjpeg as a dependency of
stress-ng. If people want to stress their system with this tool, they can
probably expect libjpeg as well.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
BKPepe pushed a commit that referenced this issue Aug 23, 2022
Fixes: #19210

If libjpeg isn't selected by another package, all is fine.
But if it is selected, the stress-ng build will see it and try to build the
jpeg stressor. This would usually fail sometime and link-time.

In any case, it's better to just pick-up libjpeg as a dependency of
stress-ng. If people want to stress their system with this tool, they can
probably expect libjpeg as well.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit fc6f44b)
@commodo
Copy link
Contributor

commodo commented Aug 24, 2022

Thanks @dreirund
Was not sure whether this needs to be in 22.03 as well.

Will backport.

@commodo
Copy link
Contributor

commodo commented Aug 24, 2022

Ah, nevermind. I see it was backported already

Thanks @BKPepe

1715173329 pushed a commit to immortalwrt/packages that referenced this issue Aug 30, 2022
Fixes: openwrt/packages#19210

If libjpeg isn't selected by another package, all is fine.
But if it is selected, the stress-ng build will see it and try to build the
jpeg stressor. This would usually fail sometime and link-time.

In any case, it's better to just pick-up libjpeg as a dependency of
stress-ng. If people want to stress their system with this tool, they can
probably expect libjpeg as well.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit fc6f44b)
1582130940 pushed a commit to 1582130940/OpenWrt-Lean-Packages that referenced this issue Nov 11, 2022
Fixes: openwrt/packages#19210

If libjpeg isn't selected by another package, all is fine.
But if it is selected, the stress-ng build will see it and try to build the
jpeg stressor. This would usually fail sometime and link-time.

In any case, it's better to just pick-up libjpeg as a dependency of
stress-ng. If people want to stress their system with this tool, they can
probably expect libjpeg as well.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
stokito pushed a commit to stokito/packages that referenced this issue Dec 6, 2022
Fixes: openwrt#19210

If libjpeg isn't selected by another package, all is fine.
But if it is selected, the stress-ng build will see it and try to build the
jpeg stressor. This would usually fail sometime and link-time.

In any case, it's better to just pick-up libjpeg as a dependency of
stress-ng. If people want to stress their system with this tool, they can
probably expect libjpeg as well.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
SibrenVasse pushed a commit to SibrenVasse/packages that referenced this issue Feb 26, 2023
Fixes: openwrt#19210

If libjpeg isn't selected by another package, all is fine.
But if it is selected, the stress-ng build will see it and try to build the
jpeg stressor. This would usually fail sometime and link-time.

In any case, it's better to just pick-up libjpeg as a dependency of
stress-ng. If people want to stress their system with this tool, they can
probably expect libjpeg as well.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit fc6f44b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants