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

app-misc/font-manager-0.8.8: build failure due to multiple buildtype directives #323

Closed
scottfurry opened this issue Mar 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@scottfurry
Copy link

Rebuilding world as part of transition to new profiles. Package app-misc/font-manager-0.8.8 failed to build during process. Emerge reported:

ERROR: Got argument buildtype as both -Dbuildtype and --buildtype. Pick one.
 * ERROR: app-misc/font-manager-0.8.8::pf4public failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 3269:  Called meson_src_configure '-Dmanager=true' '-Dviewer=true' '-Dreproducible=false' '-Dnautilus=false' '-Dnemo=false' '-Dthunar=false' '-Dsearch-provider=false' '-Dwebkit=false' '-Denable-nls=true' '-Dyelp-doc=false' '-Dgtk-doc=false' '--buildtype=release'
 *   environment, line 2539:  Called die
 * The specific snippet of code:
 *       meson setup "${MESONARGS[@]}" ) || die
 * 

Review of ebuild file shows only one buildtype directive used for compile phase. Suspect some upstream change is inserting another directive in the process.

Also from logfile:

 * Package:    app-misc/font-manager-0.8.8:0
 * Repository: pf4public
 * Maintainer: PF4Public@users.noreply.github.com
 * Upstream:   https://github.com/FontManager/font-manager/issues
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux manager nls viewer
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking font-manager-0.8.8.tar.gz to /var/tmp/portage/app-misc/font-manager-0.8.8/work
>>> Source unpacked in /var/tmp/portage/app-misc/font-manager-0.8.8/work
>>> Preparing source in /var/tmp/portage/app-misc/font-manager-0.8.8/work/font-manager-0.8.8 ...
 * Disabling deprecation warnings ...                                                                                                          [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-misc/font-manager-0.8.8/work/font-manager-0.8.8 ...
meson setup -Db_lto=false --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /var/tmp/portage/app-misc/font-manager-0.8.8/temp/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/usr/share/pkgconfig --pkg-config-path /var/tmp/portage/app-misc/font-manager-0.8.8/temp/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/app-misc/font-manager-0.8.8/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false -Dbuildtype=plain -Dmanager=true -Dviewer=true -Dreproducible=false -Dnautilus=false -Dnemo=false -Dthunar=false -Dsearch-provider=false -Dwebkit=false -Denable-nls=true -Dyelp-doc=false -Dgtk-doc=false --buildtype=release /var/tmp/portage/app-misc/font-manager-0.8.8/work/font-manager-0.8.8 /var/tmp/portage/app-misc/font-manager-0.8.8/work/font-manager-0.8.8-build

... error shown above after this point
@scottfurry scottfurry added the bug Something isn't working label Mar 24, 2024
@PF4Public
Copy link
Owner

Perhaps EMESON_BUILDTYPE should be defined https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/meson.eclass#n66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants